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

0
votes
0answers
10 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
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
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 ...
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
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 ...
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
22 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))' ...
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 ...
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 ...
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) ...
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 ...
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
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 ...
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, ...
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 ...
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 ...
0
votes
1answer
25 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 ...
0
votes
0answers
32 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
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 ...
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
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
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
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

Trying to connect windows named pipes to ffmpeg input pipes

I have the following input options in my ffmpeg command line: -i \\\\.\\pipe\\videopipe -i \\\\.\\pipe\\audiopipe The full command is this one: ffmpeg -r 24 -pix_fmt rgba -s 1280x720 -f rawvideo ...
1
vote
0answers
45 views

Video color is different in different programs. Which one is correct?

Someone on Reddit made a gif. I decided to try remaking the gif. My gif is not the same color as their gif. I opened the video source of the gif in VLC and MPC-HC, took snapshots using the program ...
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 ...
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
0answers
35 views

ffmpeg watermark with opacity

I can easily add a watermark on my video, but this watermark is on opacity 100%: ffmpeg -i aa.mov -i image.png -filter_complex 'overlay=10:10' bb.mp4 But how to make the image file have an opacity ...
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 ...
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
1answer
36 views

batch file for hardcoding subtitles in multiple videos with ffmpeg

My question at the top: What is the correct way to refer to a dynamic file name for the ass filter when using -filter_complex in ffmpeg? The story and my attempt: I have a folder that contains ...
1
vote
1answer
45 views

Insert background image using FFmpeg

I've just started using FFMpeg and I'm trying to create a video slideshow from images with a background image. The background would not change only the image. Similar to this: I have the following ...
0
votes
0answers
18 views

How to constrain/stretch a video to a fixed duration using ffmpeg or avconv?

So I have a few hundred clips of videos, about 1 to 5 seconds each, that I'd like to all play at 2 seconds each...this means for the 1 second videos, they get stretched out, and the 5 second videos, ...
-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
1answer
27 views

Connecting PAL camera to pc and working with the feed

I have an ancient analog camera which has the classic PAL analog output. I want to get this feed, display it on the computer's monitor and save the stream on the pc hard drive. I know that if it was ...
0
votes
0answers
33 views

how to generate multiple bitrate HLS content from live rtsp stream?

I am gerating single bitrate live hls content from live rtsp stream . I am using the following command ffmpeg -v verbose -i rtsp://127.0.0.1:8080/test.sdp -vcodec libx264 -acodec aac -ac 1 -strict -2 ...
1
vote
1answer
32 views

FFMPEG drawtext filter - get total width of text string so that it can start off stage

I have the following FFMPEG command which simply wipes text from left to right. What I am trying to do is determine the total width of the text string so I can subtract this amount from the x position ...
2
votes
1answer
29 views

Loop text that wipes left to right using FFMPEG drawtext filter

I have the following FFMPEG command which correctly wipes text across the bottom of a video. ffmpeg -y -i test_small.mov -acodec libmp3lame -vcodec libx264 -pix_fmt yuv420p -b:a 192k -b:v 1400k -ar ...
0
votes
0answers
14 views

FFMPEG drawText horizontal scroll start and end completely off stage [duplicate]

I have the following FFMPEG drawtext command which scrolls some text from left to right ffmpeg -y -i test.mov -acodec libmp3lame -vcodec libx264 -pix_fmt yuv420p -b:a 192k -b:v 1000k -ar 44100 -vf ...
0
votes
1answer
40 views

Creating video containing animated text using FFMPEG alone

I doubt this is possible, but am trying to find some way to 1 dynamically render text, and then 2 optionally animate it (simple left to right movement) and then 3 composite the result on top of ...
0
votes
1answer
36 views

Lossless H.264 MP4 file created from images cannot be played in QuickTime

I'm trying to find the optimum settings for creating a .mp4 file that will load easilly both on Mac and Windows. Right now with these settings f image2 -pattern_type glob -i '*.png' -vcodec libx264 ...
-1
votes
1answer
24 views

how to upgrade ffmpeg to latest version in centos 5.11?

I have CentoS 5.11 installed. and ffmpeg 0.10.2 [ [root@cs1590 ~]# ffmpeg ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers built on Jun 5 2012 08:51:26 with gcc 4.1.2 ...
0
votes
0answers
19 views

ffmpeg output video doubles duration time [duplicate]

So i modify an audio file and trim some parts from the beginning and end of it, but when i check the file duration MAC OS -> right click -> get info, its duration time went up to 07:09, its supposed ...
-2
votes
2answers
121 views

Conversion from WebM to MP4 in Ubuntu is slow and bad quality

I have used the command ffmpeg -i input.webm -q:v 10 -c:a copy out.mp4 I also tried using avconv instead of ffmpeg. The conversion is successful but the quality is bad. Also it takes a lot of ...
2
votes
0answers
31 views

Ffmpeg - How to zoomin a video from the center [duplicate]

I'm trying to make a video from an image and I want to add a zoom effect on the center. The input image is 640x360. The command I'm using is: ffmpeg -framerate 25 -loop 1 -i 46686405.jpg -vf ...
0
votes
0answers
18 views

Mix 2 audio files and adjust volume

I am trying to mix two wave files background.wav (10 sec) and message.wav (5 sec). I want the volume of background.wav to reduce to 0.5 when message.wav is playing, so that the message is clearly ...
0
votes
0answers
14 views

layering video with ffmpeg using black color as mask

I've got two videos (in.mp4 / layer.mp4). The layer.mp4 video contains stuff and pure black color. I wonder how I could use filter to remove the black and replace by alpha. I'm trying to use ...