Questions tagged [ffmpeg]
Media tool with support for multiple codecs, filters, and containers. Include your actual command and the complete console output when asking questions involving FFmpeg tools. An easy way to do this is by adding `-report` to your command and pasting the contents of the logfile generated. For help with CLI use only of ff* binaries - ffmpeg, ffprobe, ffplay. For help with API usage, post on Stack Overflow.
7,431 questions
2
votes
1
answer
33
views
FFmpeg audio fade-out not applied when generating video with image sequence + mp3 (audio cuts abruptly)
I’m generating a video in Android using FFmpeg (via FFmpegKit). The video is created from an image sequence, a GIF overlay and an MP3 audio file.
The problem: the audio always ends abruptly.
I’m ...
-4
votes
1
answer
52
views
How to update x86 FFmpeg executable used by MeGUI application?
I am using MeGUI x86 version 6.6.6.6 (20251116) on Windows 11 Pro. I am trying to update the internal FFmpeg version to 8.0, but MeGUI fails to utilize it.
The problem is, when I point the executable ...
5
votes
1
answer
473
views
How to add `.srt` subtitles to an `.mkv` container using `ffmpeg`?
When I want to add text-based (file extension .srt) subtitles to an .mp4 container, the following command works well:
ffmpeg -i input.mp4 -i subtitle-in.srt -c copy -c:s mov_text -metadata:s:s:0 ...
1
vote
0
answers
23
views
FFMPEG uses replace disposal instead of combine disposal for gifs
Discord compresses non-gifs and 1-framed gifs for emojis. I want to convert an image to a 2-framed gif. I tried-
ffmpeg -i "https://act-upload.hoyoverse.com/event-ugc-hoyowiki/2026/02/14/98205622/...
-1
votes
1
answer
91
views
How to prepare for the next ffmpeg (8.x and above) compilation?
I use vmaf and therefore had to compile ffmpeg. It seems Ubuntu-Mate 26.04 LTS will come with an updated ffmpeg version. This will lead to a necessary further compilation of ffmpeg.
There are a lot of ...
0
votes
0
answers
57
views
FFmpeg: how to use different source folders in a loop for a Windows-CMD?
Let say one has the following task: One has two source folders, let say video1 and video2. In this both folders are video files with the same names, for example video1\videoFile1.mp4 and video2\...
2
votes
0
answers
68
views
How to add chapters, name audio streams and related metadata in one go with FFmpeg?
The metadata format of FFmpeg lets me add chapters to a video file. I have to feed the input file to FFmpeg with the -map_metadata parameter, and all works as expected.
In the FFmpeg documentation, ...
0
votes
0
answers
37
views
How to add black borders with FFmpeg without losing quality?
I added black borders, but I’m not sure if I'm doing it right.
I'm trying to add black borders without re-encoding (lossless) without messing with image file quality or anything in this command:
...
6
votes
2
answers
680
views
How to find a corrupt frame in an MJPEG file?
I have a file I'm looking at for a friend that plays with some players but not others. Running it through ffmpeg, I get the following output:
$ ffmpeg -v warning -i ~/Downloads/untitled.mov -f null -
[...
0
votes
1
answer
44
views
Is there a way to report RGB statistics per frame with FFmpeg?
So far, the signalstats only report YUV, and it always converts RGB to YUV first.
Here I force R and G channels to be 0, and only give some B pixels slightly above 0:
ffmpeg -i input.mp4 -vf "...
3
votes
0
answers
45
views
Is it possible to interrupt ffmpeg encoding and then continue it later?
I use ffmpeg 8.0, Ubuntu Mate 24.03.
Is it possible to interrupt an encoding process, e.g. encoding to h.265 via libx265 and continue the encoding process.
The encoding process leads to a speedx of = ...
1
vote
0
answers
79
views
How to recover the original video from two edited versions with watermarks [closed]
I have two video files that have watermarks on them, which were produced from the same file. It looks obvious that by combining those files it should be possible to produce the video without ...
0
votes
0
answers
25
views
Deleted a file by FFmpeg (encoding -y) on an SSD. Is it possible to recover the file, Linux system? [duplicate]
As I know, on SSD deleted files will not be overwritten immediately, in respect to the health of SSD cells (max. 1000 times writeable).
I use the -y option of FFmpeg per default (delete without user ...
2
votes
1
answer
54
views
Copying audio stream from .caf to .m4a outputs empty file
I have a large number of files from an old phone recorder that stored all of my audio in caf files, and I would like to extract the audio streams from these files without re-encoding the audio. I have ...
1
vote
0
answers
261
views
How do I use ffmpeg to convert .vob to .mp4 including subtitles?
I am making backups of my DVDs. For this I use dvdbackup to rip the DVD. This creates a folder with the movie in several parts. I use cat to create a single .vob file with the entire movie.
I then use ...