Questions tagged [video-encoding]

Specific issues with encoding video to a certain format, also related to [video-conversion]

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

How was this video made

ok guys I'm genuinely confused how this video was made and was wondering whether anyone could shed light on how this video might have been made or encoded or something. this video in discord is 51 ...
0
votes
0answers
19 views

how can I read all file in a folder and compute PSNR for them using ffmpeg command as a batch file?

I have some videos that I encode them to mp4 file using FFmpeg, now I need to write a batch file that read all the file in a folder and compute PSNR for them and save in separate text file for each ...
2
votes
2answers
46 views

How to cut video in multiple place and combine them without re-encoding using FFMPEG?

Let's say I have 10-minute video, I want to remove 1:00-2:00 and 4:00-5:00 Is that possible to do that on one FFmpeg command? (Other program also welcomed) Or maybe a command to cut the part that I ...
0
votes
1answer
41 views

m3u8 to mp4 lossless conversion with VLC or any other free software on Windows

I have read this and several other posts on this site; however, none has answered my question: I'm aware, that I can convert m3u8 streaming file to the mp4, and I only do this with VLC player on ...
0
votes
0answers
12 views

Sharper texts when encoding video to low-quality

I have this script that makes ffmpeg encode video files into MJPEG video format: echo off set arg1=%1 shift ffmpeg-bar -i %arg1% -vcodec mjpeg -vf scale=min'(960,iw)':-1 -acodec pcm_s16le -ar 22050 -...
0
votes
0answers
22 views

How can I reduce the file size of a video encoded with wmv2 in ffmpeg?

I have some videos of a slide presentation with audio and need to put them in a wmv container. These videos are intended to be viewed with Windows Media Player. I initially made the mistake to use the ...
0
votes
1answer
39 views

how do I read videos from a file and use ffmpeg to save each video with different bit rate?

I want to use the UGC dataset and after reading each video, save each video with a different bitrate and plot the R-D curve. for this aim, I want to use FFmpeg and automatically do the mentioned ...
0
votes
0answers
11 views

Does it make sense to use HEVC instead of H.264 for encoding motion graphics?

I can't seem to find a discussion on this, but would it make sense to encode professional video with HEVC, granted you have an Nvidia GPU? I know the format is usually used in situations where speed ...
0
votes
1answer
42 views

When does FFmpeg error “requested bitrate is too low” only when a second pass is specified?

I'm trying to encoding a file with mpeg4 using ffmpeg on Windows and this works fine: ffmpeg.exe -y -i input.avi -c:v mpeg4 -q:v 3 -s 640x448 output.avi Unless I try to encode using two passes: ...
1
vote
0answers
27 views

Screenshots to video using ffmpeg

I have screenshots that are taken .25 seconds apart, that I'm trying to combine into a video. No matter what I try it ends up too fast or too slow/choppy. I've tried the following commands. ffmpeg -...
0
votes
0answers
42 views

How to get AVFoundation devices to have a consistent playback rate (1.0x) W/ FFMPEG on MacOS

Some background: I've been recording my "camera" with QuickTime, but it only allows for two quality options, low quality (720p60fps), or high quality (1080p60fps encoded with ProRes422), as ...
0
votes
1answer
45 views

How to ffmpeg encode using same codecs and parameters as certain file has?

I need to merge two different video files and I am using LosslessCut for the task. Yet it says that the files need to have the same codecs, dimension, framerate. Source is mkv V_MPEG4/ISO/AVC with ...
0
votes
1answer
35 views

Replace section of audio in a video with FFmpeg

I have a Recording A (video and audio) with a length of about 42 minutes. I also have a separate Audio Stream B of the same event, which is identical to the audio in the video except it's a) much ...
0
votes
0answers
25 views

Can 9th gen Intel quicksync beat nvence on mid-range mobile GPU (GTX 1650 max-q)

I have one of these prosumer laptops with a quite nice CPU (i7-9750h) but only a mid-range GPU (GTX 1650 max-q). I often use it for video-editing. Not very long ago, Adobe made updates to Premiere Pro,...
0
votes
0answers
258 views

Improve FFmpeg and NVENC output quality

Is there a way to improve the quality of the output without increasing the bitrate? Also, is there a way to improve the quality of the code using tee? After reading everything I could find about ...
0
votes
0answers
55 views

how to overlay video onto another using ffmpeg?

i want to overlay overlay.mp4 on top of input.mp4 and have it at a specific size, for example 1/4 of the width but same aspect ratio. for example, in a 1920x1080 video, i want a video 480x270 in the ...
0
votes
1answer
42 views

Converting Videos To Same Resolution Then Joining Them

I have a bunch of clips that I'm trying to combine into one video. The problem is each clip has a different resolution and aspect ratio (different SAR and DAR sometimes too). I'm trying to get ...
0
votes
0answers
26 views

Replace parts of video with other videos without re-encoding using ffmpeg

I have a video Video1.mkv with audio and video stream. I have 3 other videos V1.mp4, V2.mp4 and V3.mp4 without audio. I would like to keep the audio stream from Video1.mkv and replace the beginning of ...
0
votes
1answer
45 views

Two files with apparently the same codecs, but one doesn't work on my TV

So, I have these two files. File 1 works perfectly on my TV, but file 2 doesn't (TV says file format not supported). But checking the MediaInfo, it appears that the codecs are the same. Am I missing ...
0
votes
0answers
15 views

Streaming to Double or copy RTMP servers with ffmpeg [duplicate]

my current code on windows :loop title test ffmpeg -re -i "http://iptv.ts" -c:v libx264 -s 1280x720 -preset veryfast -minrate 2100k -maxrate 3100k -bufsize 3100k -pix_fmt yuv420p -g 50 -c:a ...
0
votes
0answers
32 views

FFMpeg using the concat filter with the trim and scale filter

I'm trying to cut some video files into pieces and then concat them all together at the end. This was my initial command: ffmpeg -i bunny.mp4 -i small.mp4 -filter_complex "\ [0:v]scale=720:480,...
0
votes
0answers
31 views

Video Encoding uses 100% of iGPU and video lags extensively

When I play a video (youtube or local) it runs smooth until some time (seconds or minutes) were it starts to lag really heavy. At this time the GPU Usage goes up to 100% in Taskmanager caused by the ...
0
votes
0answers
29 views

FFmpeg command not working?

I want to convert mp4 file to hls format Is something wrong with this command Please Let me Know String exec = "-y -i "+mediaPath+ " -preset slow -g 48 ...
0
votes
1answer
268 views

Why is my ffmpeg performance much worse on AMD Ryzen 5600x vs Ryzen 1800x for nvenc encodes?

I upgraded my system from a Ryzen 1800x to a Ryzen 5600x, while at the same time upgrading from an NVidia 1060 (6GB) to an NVidia 3070. Before the upgrade I benchmarked some encodes - the first was ...
0
votes
0answers
114 views

What happens when concatenating videos with different frame rates using FFmpeg?

If for example, we take one video that has a frame rate of 25 and another with 29.970 FPS and merge them using FFmpeg. -f concat -safe 0 -i mylist.txt -c copy output.mkv Does the concatenated video ...
0
votes
0answers
33 views

How to ignore transparency when using ffmpeg with PNG files? [duplicate]

Every topic I find shows how to keep the transparency but I want to remove it without having to change the image format. Camtasia is crashing when I import the ffmpeg encoded MP4 file using the PNG ...
1
vote
0answers
22 views

Trim video into multiple sections ffmpeg

I need to trim a video into multiple sections of unequal duration and output them as separate files. For example a .mp4 100 seconds long and I need to extract and keep output0.mp4 from 5 - 10sec ...
2
votes
2answers
445 views

What are the differences between the HuffYUV and ffvhuff codecs in FFmpeg?

Doing ffmpeg -codecs | grep -i huffyuv shows that my FFmpeg build supports three different versions of the HuffYUV lossless video codec: DEVI.S ffvhuff Huffyuv FFmpeg variant DEVI.S ...
0
votes
0answers
99 views

How to determine the source of hardware damage when the hard disk drive is considered damaged and the battery capacity is 4x less?

I have Dell Inspiron with 1TB hard drive, 4gb RAM, intel i3 10th gen CPU, Windows 10 Home with MS Office Home and Student 2016 Few days ago I multi-booted with Ubuntu, Kali Linux and MX Linux. All the ...
1
vote
0answers
57 views

Is there a way to reduce the size of a video file to a specific size?

I'm trying to get a video file to be a specific number of bytes. Basically, I will have a video X of duration/fps/compression ratio x, which I will want to change the size of to be the exact same size ...
1
vote
1answer
286 views

How is FFmpeg's H.265 encoding so much more efficient than Adobe's?

I have a thirty seconds 1080p video file that was rendered from Premiere Pro/Media Encoder (target Bitrate 10) and is encoded in H.265. It has 36.6 MB. When i run the command ffmpeg -i input -c:v ...
1
vote
0answers
18 views

What are good OBS settings for recording still screen (lecture) with mouse cursor in low size and good quality?

How could I reproduce these settings with OBS ffmpeg recorder? Format : MPEG-4 Format profile : Base Media / Version 2 Codec ID : mp42 (isom/mp42) Format : AVC Format profile : High@L5.1 Format ...
0
votes
0answers
71 views

How to fix the difference between duration of ffmpeg input and output?

I am trying to generate a video from a bunch of png images and audio using the command: /usr/bin/ffmpeg -y -framerate 30 -pattern_type glob -i 'images/*.png' -i audio.wav -c:v libx264 -b:v 0 -crf 18 -...
1
vote
0answers
165 views

Missing Initial Key Frame Issue in VLC media player causes few second blank screen at the start of the video

I have videos which missing initial keyframe. Thus when I open the video file with VLC player, nothing happens on the screen until the first key frame. Example picture: https://i.stack.imgur.com/nBYrR....
0
votes
1answer
83 views

FFmpeg not recognizing any video files - cannot mux video and audio

I am new to ffmpeg to I'm sorry in advance for my lack of knowledge. All I'm trying to achieve is to mux a video (mp4) and audio (wav) file together to create an mov, which I thought should be simple ...
0
votes
0answers
97 views

MP4 / h265 supported resolutions in virtualdub2?

I'm using VirtualDub2 to crop a video and am using MP4 (MPEG-4 Part 14) as the type and FFMPEG / x265 as the compression algorithm and am getting this error: The output frame size is not compatible ...
3
votes
3answers
351 views

Converting DVD video to .mp4 - getting skipping video and audio

I'm using Handbrake to rip old DVDs to .mp4 video, and the result I am getting is a video file that skips every second or so and repeats a previous section of the audio and video. Incidentally I got a ...
0
votes
1answer
205 views

Loop video to audio without increasing it's file size

Does any modern codec/container support looping video for certain amount of time/cycles? What I'm trying to achieve, is I have a small 15 second video file and a 3 minute audio file, and I want to ...
0
votes
0answers
158 views

FFMPEG HLS encoding live streaming [av_interleaved_write_frame broken pipe]

Live streaming start in a correct way, but in a range of segments (from 10 to 35 segments already loaded), live streaming stops for few time, then restart from segment 0 and go on fine. When this ...
0
votes
1answer
890 views

Intel Quicksync vs Nvidia CUDA in ffmpeg - how big is the encoding quality difference?

I'm just asking this out of pure curiosity. I use FFMPEG a lot. Sometimes, I just opt to use the good old CPU encoding and decoding, because of how effectively it preserves the original video quality, ...
1
vote
1answer
293 views

VP9 encoding with FFmpeg: relation between -speed and -deadline options

I've read in different places about -speed and -deadline options for VP9 encoding with ffmpeg, they seem to control more or less the same aspect (compression efficiency to execution time ratio), but I ...
1
vote
1answer
35 views

Check if Videos are corrupted automatically

I have 100 videos and I would like to check if they are all fully downloaded and not cut at a certain point, due to the internet breakout. Is there a way for this to be done automatically and for the ...
0
votes
1answer
346 views

In ffmpeg, why won't this AVC video convert to H264?

C:\vids\aug2020\uploaded>mediainfo avideo.mp4 General Complete name : avideo.mp4 Format : MPEG-4 Format profile ...
0
votes
0answers
79 views

how to create new file without restarting?

I am using string ffmpeg64 -f decklink -i "DeckLink Studio 2@9" -f mp4 -movflags frag_keyframe -c:v mpeg2video -pix_fmt yuv422p -b:v 10M -vf fps=30 -s 1280x720 -g 30 -g 12 -mbd rd -trellis 1 ...
0
votes
0answers
51 views

Is there a way in ffmpeg to double up the frame rate without changing the runtime length of a video?

I have a video (B) that has 30 fps, and another video (A) that has 60 fps. I need to merge them at 60 fps but I don't want video B to be shorter. All videos are separate files, so I want to merge ...
0
votes
0answers
58 views

FFMPEG: cut clips from a long video with “fast seek” while maintaining accuracy

I have this 3 hour long video which consists of: < 1-5 seconds of black frames > -- < clip > -- < 1-5 seconds of black frames > -- < clip > -- ... I could successfully get the ...
0
votes
1answer
79 views

Convert videos to 1080p without re-encoding

I have a large amount of 1280x1024 videos and I want to archive them on YouTube. The issue is that YouTube doesn't offer any height between 1080 and 720 and so the video gets scaled down to 900x720, ...
1
vote
0answers
88 views

How to make old 4:3 video content into 16:9 with crop/zoom and slight stretch?

I have old video cam footage in 4:3 format that I'd like to have play better on modern 16:9 screens, specifically I'd like to: Crop/"Zoom" the video "a little" (cutting a tiny bit,...
0
votes
0answers
16 views

Linux fast high res audio + video recording

I am trying to record at least 1280X720 webcam plus its audio. ffmpeg is terribly slow with such resolution, even vlc get ~15FPS. CPU usage is low during these attempts. I know webcamera can give ...
1
vote
1answer
443 views

h264/hevc 1366x768 videos encoded by ffmpeg seem to be broken in Linux

I'm running Linux and have AMD CPU with integrated graphics. I want to capture my screen and encode it in mp4 format. Here's what I tried: 1. Capture screen and encode it directly to mp4; ffmpeg -y -f ...

1
2 3 4 5
7