New answers tagged

0

Is the -stream_loop option actually repeating the input video clip frames to make the loop? Yes. Is there a way to tell ffmpeg to instance the input video frames when creating the loop? No. Is this actually a limitation with video formats (e.g. mp4, mkv, etc.)? For MP4s and MKVs, yes. If ffmpeg is not sufficient for this, is there some way to create a ...


0

Resolve has settings to compensate for playback audio latency. If there’s a difference between the sync offset you’re seeing while editing and the rendered output, you need to adjust the delay amount.


0

You should put -i in.mkv for the first place. Please try ffmpeg -i in.mkv -ss 1:00 -t 5 -ss 2:00 -t 5 I think your code have multiple "-i in.mkv" parts. Remove all but one "-i Edit: Then I think the easiest way is : ffmpeg -i in.mkv -ss 1:00 -t 5 -c copy clip1.mkv ffmpeg -i in.mkv -ss 2:00 -t 5 -c copy clip2.mkv echo file clip1.mkv >> ...


1

As shown below, ffmpeg -ss 00:01:00 -to 00:45:00 -i ORIGINAL.mxf -ss 00:01:00 -to 00:45:00 -itsoffset 0.200 -i ORIGINAL.mxf -map 0:v -map 1:a -c:v libx264 -preset slow -crf 22 -c:a aac ORIGINAL.mp4 -map 1:a -vn ORIGINAL.wav


2

The ttconv Python package will do it. It can be installed with pip.


0

Frame rate is Frame per second (FPS) 1 sec has 1000ms Each input frame (image) is 78.7ms such that is 12.7 FPS The video output is 24 FPS not 23.97 FPS Then the repetition of each frame will be calculated by ffmpeg if using command ffmpeg -r 12.7 -i image_%d.jpg -vf fps=24 out_video.mp4 which is 24/12.7 = 1.8897 which is quite irregular Hope I could help you ...


0

Its the order you pass the mappings. -map 0:3 becomes stream 0:0 -map 0:1 becomes stream 0:1 ffmpeg -i 2plp0.ts -map 0:3 -map 0:1 -c copy -y out.ts Stream mapping: Stream #0:3 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)


1

Convert 4k to 1080 (no change in codec) ffmpeg -i input4kvid.mp4 -vf scale=1920:1080 -c:a copy output1080vid.mp4 Convert h.264 to h.265 (no change in resolution) ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -c:a copy output.mp4 Convert 4k(h.264) to 1080(h.265) Downscaling + Change in compression codec ffmpeg -i input.mp4 -c:v libx265 -vtag hvc1 -vf scale=...


1

Ok, here's an answer that has worked well for me (as well as others: see link to helpful post below). As far as my knowledge goes, there are two main things that need to match up to make the videos reasonably playable after concatenation: The video timebase The audio sampling frequency Before you can match those though, you need to know where your videos ...


0

For the blur effect command, you needed to swap a few widths with heights then rescale it so the original video fits in properly above the blurred video: ffmpeg -i input.mp4 -vf 'split[original][copy];[copy]scale=-1:ih*(16/9)*(16/9),crop=w=ih*9/16,gblur=sigma=20[blurred];[blurred][original]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2' output.mp4 If you ...


Top 50 recent answers are included