Media tool with support for multiple codecs, filters, and containers. Include the full, uncut console output if you have problems with an FFmpeg command.

learn more… | top users | synonyms

2
votes
2answers
1k views

Can I make ffmpeg stop if integrity check encounters an error?

Is there a way to stop ffmpeg from processing if an error was encountered? I'm using ffmpeg to check video integrity by using: ffmpeg -v error -i file.avi -f null - 2>error.log However, I'd ...
3
votes
0answers
2k views

create video from jpg images using ffmpeg

I want to make short timelapse video using ffmpeg under ubuntu 12.04 LTS. I have a folder containing all images with names DSC_0000.jpg DSC_0001.jpg and so on. I found this question ffmpeg: create a ...
0
votes
1answer
46 views

how to join ts files together into mp4 with ffmpeg?

I download a lot of streams since the internet speed is too slow to watch high definition. When I download a stream I find the .m3u8 file which points to the TS files. Then I use the following ...
0
votes
0answers
11 views

How to sync splitted mkv + external srt with ffmpeg?

I want to convert MKV audio from DTS to MP3 and split the file at the same time. The problem is: I need an external .srt but when I split it, the second file is desynced from video. Example: ffmpeg ...
0
votes
0answers
30 views

ffmpeg through shell script is not running

I have to run a ffmpeg command . I am running the below command in command prompt and works fine. ffmpeg -v verbose -i rtsp://99.192.203.99:8091/test.sdp -i rtsp://99.192.203.99:8091/test.sdp ...
0
votes
2answers
36 views

How to combine WebM and Opus to generate MP4?

I am using following command but it is giving wrong output. ffmpeg -i video.webm -i audio.opus -c:v copy -c:a aac -strict experimental output.mp4 Output: ffmpeg version 1.2.6-7:1.2.6-1~trusty1 ...
0
votes
1answer
465 views

How to transform all the images from the current directory to a video in FFmpeg? [duplicate]

I’d like to use FFmpeg to transform all images from the current directory to a video. The image file name is not like, image1.jpg and image2.jpg.
0
votes
1answer
11 views

Avoid ffmpeg re encode using complex filter

I have a list of ts files that will be concatenated to being trim later and encode it in mp4. All of it is working ok... however the problem I have right now is the file is re-encoded... and that is ...
0
votes
1answer
20 views

Convert from avi to uncompressed tiff using ffmpeg

In Use ffmpeg for JPEG to TIFF conversion there is an answer how to convert to TIFF. So, I followed that process written on that answer: ffmpeg -i input.avi -pix_fmt rgb24 output.tiff ...
8
votes
3answers
470 views

How to convert .avi video that has 1 static image in the video (with sound) to mp4 video with ffmpeg to least possible size?

I've an .avi video (divx) that's at 25fps and it has mp3 audio at 64kbit/s. This video has just one image throughout the entire video. I'm trying to convert this video to mp4 but to make it as small ...
4
votes
1answer
1k views

How to replace an audio stream in a video file with multiple audio streams?

I want to replace the second audio stream (0:2) in a video file that has two audio streams and give it a label if possible. How would I go about this? All the ffmpeg commands I found won't let me keep ...
0
votes
1answer
21 views

Hardcoding FFMPEG subtitles on MP4 / MKV

I am using FFMPEG to hard code subs into a video. Having read many posts on the best approach, and whether to use mkv or mp4, but am still none the wiser. The code below uses an mp4 file. The ...
9
votes
3answers
24k views

Creating MP4 videos ready for HTTP streaming

How can I convert some.flv or some.avi or some.wmv with FFmpeg to be sure that this video will be playable and seekable in JW Player?
1
vote
1answer
18 views

run 2 different versions of ffmpeg form same server

I'm trying to run a second version of ffmpeg on a unix server without update or remove the old version. In the server it's installed version 1.0.1, can I compile latest version of ffmpeg (current ...
0
votes
0answers
17 views

ffmpeg on centos 5: Encoder not found for output stream #0.0 [closed]

I have just deployed my application to test server running Centos 5.5. FFMPEG version installed there is 0.6.1. While attempting to transcode mp4 file to webm, I get missing encoder error: FFmpeg ...
0
votes
1answer
23 views

Skipping a frame without re-encoding H.264 video

I have an mp4/h.264 video which only contains I-Frames. I want to skip one of those I-frame without re-encoding the entire video. I tried this: ffmpeg -i "file.mp4" -vf select='not(eq(n\,10))' ...
1
vote
1answer
59 views

Proper DVD rip for serving via UPnP

I am a happy user of minidlna (version 1.0.24) on an old Mac Mini G4. It does work quite well in my environment. Since minidlna does not allow transcoding, I would like to rip a set of DVDs (mostly ...
0
votes
1answer
17 views

How can I avoid a black background when fading in an overlay with ffmpeg?

I'm using ffmpeg to fade in an overlay from a non-transparent image (e.g. a JPEG or PNG without alpha channel): $ ffmpeg -i big_buck_bunny_480p_surround-fix.avi -loop 1 -i logo.png \ -filter_complex ...
3
votes
2answers
5k views

ffmpeg: How to place multiple overlays and fade out the topmost properly

I'm trying to place several overlays on top of each other and fade out the topmost after some frames. Therefore I'm using 2 .png files which should be placed on the final video in the following order: ...
0
votes
0answers
21 views

Crossfading Video AND Audio with ffmpeg

This Super User answer crossfade between 2 videos using ffmpeg has got me so far, but now that I have tried many solutions and seen every SO link out there, it's time to ask you all for help. I am ...
0
votes
0answers
22 views

ffmpeg: video is not creating for uneven pixel ratio images

I am using ffmpeg to create a video using images, its creating video for uniform images (ie all the images should be same pixel ratio). It doesn't work for images that vary in frame size: it is ...
5
votes
2answers
10k views

Converting images to video using FFMPEG on Windows

I'm trying to convert a series of JPEG images into a time lapse video. They're in the format IMGP0001.JPG, IMGP0002.JPG, etc. From the looks of things, this should match the pattern IMGP%04.JPG. I've ...
1
vote
3answers
994 views

reduce background noise and optimize the speech from an audio clip using ffmpeg

I extract audio clips from a video file for speech recognition. These videos come from mobile/other handmade devices and hence contain a lot of noise. I want to reduce background noise of the audio so ...
1
vote
2answers
6k views

Double deinterlace with full motion - ffmpeg + yadif 50i-50p 60i-60p

I'm trying to figure out how to use yadif / yadif-2x with ffmpeg to convert 50i source material into 50p output that preserves the motion of all fifty fields per second. Right now, I am using the ...
1
vote
2answers
998 views

Is it possible to autocrop black borders of a video with ffmpeg?

I think it has a "blackness" video filter, which can determine if a picture sequence is black. Maybe it also has a filter to determine crop values automatically to remove black borders form edges of a ...
0
votes
0answers
17 views

Extract frames from video and set timestamp on images

I want to extract frames every 10 seconds from a video and geotag these frames using a GPX track. On my Windows 8 computer I have tools to extract the frames (FFMPEG), set image timestamps (ExifTool) ...
1
vote
2answers
816 views

FFMPEG does not have fps filter. How to fix it?

I am trying to user fps filter to take thumbnails but it gives error: No such filter: 'fps' I checked the list of filters using ffmpeg -filters and fps was not there. How to install it or fix ...
0
votes
1answer
33 views

create video from single jpg and no audio

For a time lapse video project I want to create a header (with some title text). The header is just one still image which I give as jpg. I have seen other answers that produce still image video from a ...
1
vote
1answer
305 views

How to concat VOB files with ffmpeg using stream mapping?

I have 5 VOB files, I would like to concat them to a big mpegts file, and keeping only the video stream and the last (3rd) audio stream. Unfortunately the stream ordering is different in the VOBs: ...
1
vote
1answer
42 views

ffmpeg and iFrame output and quality of JPEG

I was looking for a solution to a problem and on my travels I cane across something linked to what I was doing which prompted a 2nd question. I bundled both these questions here. If I should not I ...
3
votes
1answer
34 views

using ffmpeg concat on slideshow videos

I am using ffmpeg to build time lapse animations from still images. The first image is repeated to create a header. Next steps is to concatenate header plus time lapse for final video. Both header and ...
2
votes
0answers
23 views

ffmpeg does not work but VLC does

I am trying to read a streaming (http://150.161.93.174:8080/stream) using ffmpeg The streaming works perfectly when I try it in VLC. But in ffmpeg I get an error: http://150.161.93.174:8080/stream: ...
0
votes
1answer
13 views

FFMpeg filters compilation on CentOS

I have compiled FFMPEG on CentOS 6.6 using this guide: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos But, whenever I issue command ffmpeg -filters The output is FFmpeg version 0.6.5, ...
0
votes
0answers
10 views

crosstool-NG can't retrieve cloog-ppl

I am trying to build a cross-compiler for my Raspberry Pi to ultimately compile ffmpeg for it and I am following this tutorial. After having configured ct-ng and upon calling nt-cg build it fails and ...
25
votes
1answer
25k views

How can I normalize audio using ffmpeg?

I want the loudest peak sound in a movie clip to be as loud as the codec allows, then have every other sound amplified accordingly. What's a practical example in order to accomplish this using ...
0
votes
1answer
26 views

Creating a log file for my ffmpeg output

I am trying to find out why my rtsp dos command using FFMPEG is 'freezing'. Ihave been told I would have more luck on SuperUser but I have been told to produce a log file 1st. I have looked and I ...
1
vote
0answers
27 views

My ffmpeg stops streaming after a few seconds

I am using ffmpeg. I type this in a DOS Prompt: ffmpeg.exe -i rtsp://admin:admin@192.168.0.8:554/video_1 -an -f image2pipe -vf fps=fps=6 -qscale 0 - It works but then just stops. So, I amended ...
9
votes
3answers
15k views

How to generate an MP4 with H.265 codec using FFmpeg?

I want to encode a video file to H.265. The last version of ffmpeg should be support H.265 (Source). However, I could not find any information about the exact command. I do not know, which library I ...
0
votes
1answer
25 views

ffmpeg atempo filter not working

When I run the following: ffmpeg -i input.mp3 -filter:a "atempo=2.0" -vn output.mp3 I expect output.mp3 to be twice as fast (and half the length) of input.mp3, but it is exactly the same speed and ...
0
votes
0answers
33 views

Streaming desktop with FFmpeg

I can stream in a file or to twitch.tv with stream2address() { INRES="1920x1080" # input resolution OUTRES="1920x1080" # output resolution FPS="15" # target FPS GOP="30" # i-frame ...
-1
votes
1answer
45 views

FFMPEG conversion from webm to mp4 intermittent on Ubuntu 14.04 [duplicate]

I am trying to convert .webm file that we get from google's screencastify to .mp4 file. I need it to be playable using Windows Media Player. I need it the file to be playing with all the WMP versions ...
0
votes
0answers
28 views

ffmpeg - slideshow image duration issue

I've created a video slideshow from images. From the docs it says: In this example each image will have a duration of 5 seconds (the inverse of 1/5 frames per second). ffmpeg -framerate 1/5 ...
0
votes
2answers
2k views

HTML5 video player stutters even after video is loaded

I am using jwplayer to display videos on my websites but cannot manage to make them running smoothly. They stutter, especially in full screen, although I wait for the video to fully load. I tried ...
0
votes
1answer
27 views

ffmpeg How to draw a box at the bottom of the video

From the docs it's pretty straight forward how to create a box at the top with the y=0 drawbox=x=10:y=0:w=200:h=60:color=red@0.5 But how can I draw the box at the bottom?
1
vote
1answer
34 views

Ffmpeg chain references to other parts of the command for dynamic watermark size

I have been reading the ffmpeg documents for a while now. But I can't seem to wrap my mind around how the filters, naming and backreferences work. Or whether what I want is even possible. I am ...
0
votes
1answer
46 views

ffmpeg dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib

I am getting this error when running ffmpeg on OSX Yosemite 10.10.2 ffmpeg dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib Referenced from: /usr/local/bin/ffmpeg Reason: image not ...
0
votes
0answers
15 views

Show multiple text using ffmpeg

I've created a video slideshow (http://humor15.com/media/out2.mp4) from images with a background image but I'm looking for a way to be able to change the text at the top in that case "Eterni-T" for ...
0
votes
1answer
34 views

How to remove words “Video” from a video with ffmpeg?

I use ffmpeg to make a movie with 100 images *.png, but in the produced movie video.mov, there's big word VIDEO.mov at the bottom of my movie and it covers some of my info within the images, how can I ...
1
vote
1answer
30 views

Show multiple images using ffmpeg

I've created a video slideshow from images with a background image but I want to be able to add another picture at the bottom left of the video. How can I make the -i "C:/test/logo.png" show at the ...
0
votes
1answer
55 views

Video takes long time to start

I use this command to convert video using ffmpeg on phpvibe: unfortunately the videos take a long time to start on firefox so I'm looking for a command to move the video's atom to the beginning so ...