Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
0 answers
90 views

Trimming a video using FFmpeg leads to black screen

I try to figure out how to use FFmpeg to trim videos. I have created a 30 second .mov screen capture using Apple's QuickTime player, and then tried to trim it using three different ways: Using -...
jsx97's user avatar
  • 49
0 votes
0 answers
29 views

YUV: Change the Chroma Subsampling and Bit Depth Without Losing Quality

Let's say I have a short video with YUV 4:4:4 and 10bit depth, and I convert it to a FFV1 with YUV 4:2:0 and 8bit depth. Is the FFV1 lossless? Will the colors be the same? If so, how do I convert ...
David Pilling's user avatar
0 votes
0 answers
81 views

Pausing the video for 15 seconds

I have a video which is 40 seconds long, I want to make it 55 seconds long, I wanted that the video's first frame along with it's audio freezes (frame freezes) for the first 15 seconds and after the ...
AAB's user avatar
  • 21
0 votes
0 answers
60 views

Setting transfer characteristics for overlaying multiple videos

I just wanna know whether I can set unique values of transfer characteristics/gamma for each videos while overlaying it on top of a single video. For example :- FFmpeg command : ffmpeg -f lavfi -i ...
Prakkash's user avatar
0 votes
1 answer
79 views

Create a slideshow video with the date added as a text automatically

Is there a way to Create a slideshow with the date as a caption automatically? So basically, I want to create a slideshow video of family photos and as each image is displayed the date and time of the ...
prantik bizz's user avatar
1 vote
1 answer
112 views

ffmpeg, need help to make small thumbnail slideshow video from long video

With ffmpeg command, I am trying to create a small thumbnail slideshow video of a large video by selecting one frame every 60 seconds and then combining those frames to make a video in a way that each ...
Pankaj's user avatar
  • 11
0 votes
0 answers
425 views

Combing multiple videos and audio tracks for playback in VLC

I have multiple videos (about 5-10 minutes each) that I need to play together during a long presentation with an audio track (multiple files) over it. I created the separate videos for ease of editing ...
0pt1m1z3's user avatar
  • 111
0 votes
0 answers
400 views

Remove frames from a video depending on black pixel ratio

We have a surveillance camera recording taken at intervals of a month. It is necessary to remove the dark time of the day (night recordings) from the record or from the video file by deleting all ...
Evgenii_Ustyugov's user avatar
0 votes
0 answers
228 views

Change 50fps video into 25fps and keep the duration without reencoding

I have a 50fps video, where every second frame is a duplicate of the previous frame. I want to upload this video to youtube and I want youtube to think it's a 25fps video. Is this possible? For ...
DD3R's user avatar
  • 85
3 votes
1 answer
319 views

FFmpeg - Cut video from the beginning until a certain pixel is colored at a specific color

I am new to working with FFmpeg and would like to automate video trimming but can't find a way to do it. So, what I would like to achieve is this: I want to delete the beginning of a video file until ...
sitixa's user avatar
  • 31
0 votes
1 answer
190 views

Replace video track in MKV with track from .h264

I want to replace only the video part in my existing mkv file with the video.h264 file I created externally, I don't want to interfere with other parts or features in my mkv file such as audio or ...
sweetngx's user avatar
0 votes
0 answers
545 views

ffmpeg - How to interpolate frames at a single instance in a video?

I have a 5 second video with 60 fps. It is a single take shot except a minor cut at 00:00:02.208. I have found some resources that use interpolation in the entire video in order to increase frame rate ...
abhishek's user avatar
2 votes
0 answers
1k views

FFMPEG Concat Demuxer causes freeze between clips

I wrote a program that takes multiple clips from a video, then concats them into a single, shorter video, using FFMPEG. The issue that I have come across is that, in the output video, the clips freeze ...
Clause's user avatar
  • 21
1 vote
1 answer
609 views

Overlay video on top of Image - Do not resize Video, simply create a "larger" canvas around video

Is the following possible with ffmpeg? Basically I want to leave the original video size alone, just make the video centered over a larger image, so it creates a border effect, as per following: :
joedotnot's user avatar
  • 461
0 votes
1 answer
85 views

How do video editing programs process large files?

Imagine a video is 4 seconds long at 4k 25fps. An editing tool would process the compressed video file to raw pixels and frames i assume, because editing the compressed one is very complicated. But in ...
ihsan's user avatar
  • 113
3 votes
1 answer
344 views

How can a color blindness simulation in FFmpeg be done?

How a can color blindness simulation in FFmpeg be done? I am asking this question because I want to make a YouTube video with simulated color blindness.
marbens's user avatar
  • 203
0 votes
1 answer
2k views

Removal of select subtitle tracks and audio tracks from mkv file in batch

My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
Haadee Bin Hafees's user avatar
0 votes
1 answer
1k views

FFmpeg. Combine drawtext, fade and afade filters with filter_complex

I have these two codes that work fine, separately ffmpeg -i in.mp4 -filter_complex "drawtext=fontfile=Lato-Light.ttf:text='TEXT':fontsize=60:fontcolor=white:alpha='if(lt(t,2),0,if(lt(t,4),(t-2)/...
Pabda Jefe tyu's user avatar
1 vote
0 answers
307 views

How to display instant preview without exporting FFmpeg video?

I am using FFMPEG to generate video from images but the problem is that I can only show the preview of the video after executing FFMPEG command and it’s takes time to generate output. On terminal I ...
Virani Vivek's user avatar
0 votes
1 answer
130 views

Fade-in turns whole video stream to black

I've adapted the following crossfade from Gyan to create a video from an image and an audio file, and then crossfade it with an outro. This works fine, but I also want to have the first video stream ...
Hashim Aziz's user avatar
1 vote
1 answer
553 views

FFMPEG: Images are being loaded wrong at wrong FPS

On my video I am adding multiple overlays, 1 that will always be shown (Overlay/overlay.png) and I got a progress bar in PNGs named 0 to the last frame num. I tried ffmpeg -i 6875126077795372290.mp4 -...
Bas950's user avatar
  • 21
3 votes
2 answers
2k views

Replace part of a video (without replacing the audio) in ffmpeg

I have a video file that is divided into three different sections. I want to replace the middle part of this video with another clip. However, I still want to keep the audio of the original video. Can ...
Real Noob's user avatar
  • 277
2 votes
1 answer
1k views

FFmpeg lenscorrection filter creates bad moire patterns

I'm trying to create a barrel distortion effect using FFmpeg. The lenscorrection filter can do this, but depending on the source material the results can be pretty bad, with moire patterns / bad ...
CugelTC's user avatar
  • 71
1 vote
0 answers
136 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 ...
fitzmode's user avatar
  • 121
2 votes
2 answers
1k views

ffmpeg - video and audio out of sync

This seems to be a common problem, but the answers I found don't seem to apply to my situation. I'm merging 6 videos (one of them is a short background that loops) into 1 output video, and the audio ...
Betty Crokker's user avatar
0 votes
1 answer
2k views

Using mkvmerge to Merge Subtitle Tracks

I am looking for a way to merge two MKV files, each with an embedded subtitle track, into one where the subtitle tracks merge properly and in order. Right now I get two separate subtitle tracks, and ...
Benjamin Morrison's user avatar
1 vote
0 answers
77 views

FFMPEG complex_filter_script adds long trailing blank video

I generated a complex_function_script to concatenate certain clips of an input video at different speeds. When I start from the beginning of the input video, the output is mostly correct, but has a ...
evn's user avatar
  • 161
1 vote
1 answer
461 views

Where are GoPro Highlight Tags stored?

I want to extract the (manually set) highlights from my GoPro-footage (HERO6-Black). I want to do this to mark the highlights on vacation and can use them to edit in Premiere Pro later. I found that ...
icegoogles's user avatar
0 votes
1 answer
432 views

how can i add an additonal output to ffmpeg to also pull out a frame for an image after segmenting

this is my command. i need to add something to the end to pull out a vframe every second or specified seconds and save to file. i've see how to do that on its own but not as a second output. i keep ...
Tom Liberte's user avatar
0 votes
0 answers
103 views

Adobe Premiere choppy playback but games run smoothly

I have the following specs: CPU: Ryzen 3 3200G Mobo: MSI A320M-A Pro GPU: ASRock RX 570 RAM: 16 Gb (2x8) SSD: 240 Gb HDD: 1T I can play DOTA 2, Tekken 7, GTA V, Valorant, and PUBG in all ultra ...
Noob_Guy's user avatar
  • 139
0 votes
1 answer
2k views

batch remove first 30 seconds of video file with ffmpeg

There are a lot of examples of ffmpeg -ss [start] -i in.mp4 -t [duration] -c copy out.mp4 But if I want to use that command for a folder with multiple files (ffmpeg ... *.mp4 ...), how can I specify ...
RadOD's user avatar
  • 3
0 votes
1 answer
93 views

How can I split a video into segments of a certain width and height?

Say I have a 256x256 video that's 1 minute long, is there a way I can split it into, say, 16 separate 1m long 64x64 videos for each 64x64 segment of the video? Sorry if this is phrased weirdly.
mayanyaa's user avatar
0 votes
1 answer
62 views

Cross-Merge Many Videos

I have one folder with 30 videos, and another with 4. I want to merge the 30 first video as an intro to the 4, in order to create 120 different videos. In other words, imagine letters are intro videos ...
Don Bosco's user avatar
0 votes
2 answers
4k views

What is Variable Frame rate?

Variable frame rate (or VFR) is a term in video compression for a feature supported by some container formats which allows for the frame rate to change actively during video playback, or to drop ...
kite's user avatar
  • 187
12 votes
3 answers
16k views

How can I tell if a video has a variable frame rate?

How can I tell if a video has a variable frame rate? I don't need to be able to do it programmatically, I just don't want to have to install some program that's hundreds of megabytes; for example, if ...
Nathan Wailes's user avatar
0 votes
1 answer
95 views

ffmpeg: unexpected behavior during extraction of frames with specified interval

I need to obtain snapshots from a video with 30 seconds interval. It is recommended in the Internet to use the following command: ffmpeg -i <video_file_path> -vf fps=1/30 <directory>/%...
mSourire's user avatar
2 votes
1 answer
3k views

Remove first audio track from mkv file

I have an .mkv file with two audio tracks. I want to remove just the first one while keeping the second one, nothing else. I've tried looking around in VLC, but I can't see how this is done.
Gabriel's user avatar
  • 558
2 votes
4 answers
9k views

Extracting frame timestamp (PTS) and seting it as a file name

I have a video file that lasts 9.3s and was recorded at FPS=10. I would like to use FFMPEG in order to extract frames from this video at arbitrary FPS (e.g. FPS=3). Example command: ffmpeg -i input....
user avatar
0 votes
1 answer
753 views

When required to re-encode video multiple times, is it wisest to use fastest preset until very last re-encode?

If a video requires re-encoding it multiple times with ffmpeg because it needs multiple changes done to it such as crop, resize, convert, compile (concat), convert again, etc... then wouldn't it be ...
Anonymous's user avatar
  • 179
5 votes
7 answers
34k views

Change audio track order in MKV files

I have a bunch of MKV files, that were all made the same way: one video track audio track 1 is english audio track 2 is german Now I want to change the audio track order, so that german is track 1 ...
Martin's user avatar
  • 237
1 vote
1 answer
375 views

DaVinci resolve fails to load clips on Linux

I've just installed DaVinci resolve 16 on my Linux Mint 18 computer and cannot load any clips. They show up as -1 second long. I have tried .mkv, .mov, .mp4, .flv and a couple of other formats without ...
Jachdich's user avatar
  • 133
3 votes
1 answer
19k views

How to stretch a shorter audio track to fit longer video with Audacity

I've demuxed an audio commentary track from a DVD release of a movie. My plan is to mux this commentary track back into a Blu-Ray version of the movie. However, the problem is that the Blu-Ray is 4 ...
Hashim Aziz's user avatar
2 votes
1 answer
5k views

FFmpeg - How to zoom in a video

I want to zoom a video into its center using ffmpeg (command line). I tried by using the zoompan filter, but it's using the first frame of the video only. I want the video to be played while zooming ...
dy_'s user avatar
  • 123
0 votes
1 answer
288 views

How to properly diagnose computer shutdown when editing video, with no system logs?

This has been a problem for years. When I render or even just edit video (Specifically in DaVinci Resolve, no problem with Premiere) my computer will shut off. This is a Windows 10 machine, and ...
geekman's user avatar
0 votes
1 answer
104 views

How to combine these two ffmpeg commands into one with two outputs?

I have some tv series recorded and now I want to cut off the parts before and after the series, remove the corner logo and save it in original size as mkv and also in downscaled size for our mobile ...
Andy's user avatar
  • 13
1 vote
0 answers
1k views

Video editing software crashes in ntdll.dll

I have tried several different video editing applications, and they all crash either when scrubbing through the timeline or rendering the output video. I have tried many things to stop the crashes, ...
Ryan's user avatar
  • 21
1 vote
0 answers
623 views

Extend video without re-encoding/encoding/re-compressing/transcoding

I want to change the audio of a video but the audio is longer than the video, when I mux them (ffmpeg -i "audio.m4a" -i "video.webm" -acodec copy -vcodec copy "out.mkv") the video that comes out doesn'...
internet is for kittens's user avatar
0 votes
0 answers
4k views

How do I zoom in and save a video using VLC media player?

So I have a video, I click "Video" -> "Zoom" -> "Double", then try to convert it using the video magnify/zoom filter, but it just ends up zoomed in at the top corner, i.e not where it was when ...
Tarmiac's user avatar
  • 121
2 votes
1 answer
952 views

Use ffmpeg to trim off X seconds of a y4m video

I'm trying to trim the first second off some .y4m videos. Using the answer provided here, I am able to trim the first second off a .mp4 video and then play back the output video: ffmpeg -ss 1 -i ...
Tot Zam's user avatar
  • 127
0 votes
1 answer
76 views

What are available software to cut multiple clips out of a single video? [closed]

I'm looking for a software application to cut videos into multiple clips, typically by giving it the start and end time of the clip. Sometimes I need to cut about twenty clips from a single video, it ...
mshwf's user avatar
  • 505