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
1answer
543 views

Which ffmpeg options does ffmpegx use behind the scenes?

In ffmpegx, there's an option for "High Quality". How can I obtain the same effect by using the command line tool ffmpeg? More generally, is it possible to check which ffmpeg options are used behind ...
2
votes
2answers
8k views

How do I tell ffmpeg to transcode to a video codec supported by Windows Media player?

The command below executed without error. ffmpeg -i thevideo.mkv outvideo.avi Subsequent attempts to play outvideo.avi in Windows Media player threw this error You may need an additional video ...
5
votes
1answer
2k views

Two FFMPEG commands simultaneoulsy

I want to multicast two videos to two different ports of a multicast address. I am able to send one video to one port at a time. But I want a command where both the videos are sent to the ports at the ...
1
vote
2answers
7k views

how to combine or concatenate two video files with ffmpeg?

I have tried to concatenate 2 video files (avi) into one sigle video: cat input1.avi input2.avi | ffmpeg -f avi -i - -vcodec copy -acodec copy final.avi .. but this does not concatenate the videos. ...
4
votes
4answers
14k views

How to specify audio and video bitrate

I have a mov file with the following media information: Stream 0 Type: Video Codec: H264-MPEG-4 AVC (part 10)avc1 Language: English Resolution: 1280x720 Frame rate: 24 Stream 1 Type: Audio Codec: ...
1
vote
3answers
2k views

FFmpeg command to convert to DivX

I'm trying to use ffmpeg to convert video to DivX. Here is my current command line: -vtag DIVX -f avi -vcodec msmpeg4 -s 640x480 -b 345k -acodec libmp3lame -ab 256 -ac 2 -ar 48000 The problem with ...
3
votes
5answers
553 views

Downloading, Re-encoding, and Joining YouTube Videos

I've downloaded a set of Youtube Videos that are part of the same episode. Currently I've tried converting them into mp4 using ffmpeg and then joining with MP4Box. for f in *.flv; do ffmpeg -i "$f" ...
0
votes
1answer
1k views

FFMPEG: how to add watermark to video?

My Platform: Ubuntu 10.10 + FFMPEG 0.5.3(I installed ffmpeg from source) I try to add Watermark to a .MOV video with FFMPEG 0.5.3 imlib2.so (Please note FFMPEG 0.6+ dont support imlib2.so, so I use ...
1
vote
2answers
2k views

Using FFMpeg to cut a video into 2 minute clips

I have a video lasting 10 minutes which I want to cut into five 2-minute segments. I can use ffmpeg to cut a video to a specific time with the following: ffmpeg -sameq -ss [start_seconds] -t ...
1
vote
2answers
264 views

ffmpeg command not working

I am running this command in Ubuntu and windows but I get the full length instead of 10 mins. I want to split it in 10 minutes. ffmpeg -i 2000.flv -ss "00:00:00" -t "00:10:00" -vcodec copy -acodec ...
1
vote
1answer
126 views

Several movies to DVD at decent quality?

I want to put at least 3 or 4 movies, which are around 90 minutes, on DVD and still have good quality. So around 360 minutes to one DVD. What program and options should I choose to achieve best ...
2
votes
1answer
7k views

FFMPEG command to stream video to a Multicast address

I need to stream a video to a Multicast address. I heard using FFMPEG we can stream the content. I used the following command to stream to the multicast address ffmpeg.exe -i input -vcodec copy ...
2
votes
2answers
2k views

ffmpeg trimming video

I am having a problem using ffmpeg which is driving me a little mad, so I hope someone can help me out. I have a 13 MPEG-4 .mp4 video of which I am attempting to trim the first two seconds off using ...
0
votes
1answer
608 views

Static build ffmpeg 0.8

Is there anywhere an available static build of ffmpeg with all encoder/decoders libs for Linux (not a source tarball, but a binary) ? Although this question seems trivial, I spent the last half hour ...
3
votes
1answer
549 views

What is the best input format for ffmpeg?

My company takes in video files from film makers and compresses them via ffmpeg for streaming over the internet. Ffmpeg supports many video formats, but doesn't support some (e.g. Apple ProRes). Is ...
0
votes
2answers
434 views

Why does installing LAME fail?

I want to install ffmpeg with mp3lame enabled following this tutorial. In step 2, I get the error libfaac is not found and in step 5, installing lame is giving the error in the log below. Why ...
0
votes
0answers
179 views

How to make ffmpeg installer for OS X

I have followed this tutorial to download, compile and install ffmpeg on Mac OS X. This worked fine but I want to make an universal installer from compiled source for all Mac machines. Please help me ...
0
votes
0answers
941 views

What is the best method to use to convert my HD video files on Ubuntu 10.10?

Recently I bought a JVC GZ-HM650 HD video camera. The camera produces *.MTS files, which Ubuntu 10.10 can't play correctly by default. I would like to convert those files, so I can edit them in my ...
0
votes
1answer
1k views

ffmpeg multi convert videos and put them in the same path

I am using FFMPEG for converting from MOV to FLV on Ubuntu. My problem is I have 10 folders and sub folders that contains those videos, I want a command line or a way in WinFF GUI to convert them all ...
3
votes
2answers
2k views

newsubtitles line not working in FFmpeg

i'm trying to run the following line on FFmpeg that will basically "re-format" an MKV file to MP4 without doing any re-encoding and also embed SRT subtitles onto the MP4 output: ffmpeg -i test.mkv -i ...
1
vote
0answers
2k views

Recording Webcam and Audio with ffmpeg on Windows

I am trying to record video + audio with ffmpeg of my defualt webcam. This works with video: ffmpeg -f vfwcap -r 25 -i 0 -ab 64 -ar 22050 -ac 1 output.avi but no sound is recorded. Is it ...
2
votes
1answer
569 views

A seekable one-frame FLV video (with audio)?

Is it possible to generate an FLV out of an MP3 and a JPG, without uselessly looping the image and still be able to seek the audio ? This command generates a non-seekable video: ffmpeg -y -i ...
3
votes
1answer
1k views

Encode HD video to a good format for editing

I have a video that I would like to edit, but it's currently a mov (H.264) file, which makes frame by frame editing impossible. So, I'd like to re-encode it to a better format. I read that DV is a ...
1
vote
0answers
134 views

ffmpeg -t doesn't conversion section of WMV, converts whole video

I'm trying to run the command: ./ffmpeg -ss 0.0 -t 1 -y -i Wildlife.wmv output.mpg to convert the first second of the WMV video, but it converts the whole 30 seconds of the video. Am I doing ...
2
votes
0answers
951 views

Best video and audio format for small file size with very unnoticeable quality depreciation [closed]

I need to bring down disk space of my file-sharing website suggest me an audio codec and video codec which works with FFMPEG and can reduce file size with little or no loss in quality . Thanks.
6
votes
2answers
12k views

How to clip a movie from specified start time in ffmpeg?

I'm trying to clip some movie from time A to time B using ffmpeg. I can set how long the target video should be using the -t flag, but how should I tell it to start that time from time A? In other ...
3
votes
1answer
3k views

How to change audio frequency?

I want to change the frequency of an audio file. Meaning: the whole file should sound (say) one octave higher or lower. How to do it? Using ffmpeg or other command line open source tool would be ...
1
vote
0answers
495 views

Audio Video mixing out of sync with ffmpeg

I am trying to mix a wav file and video file using ffmpeg to get a mpg file. The files are getting mixed but the issue is that the audio runs ahead of video. Please suggest a way to get them in sync. ...
5
votes
2answers
10k views

ffmpeg encode subtitle

I know maybe it's not a right place to ask this question but I couldn't find more related Q/A site from StackExchange group so here it goes : I need to add subtitle to a movie, i already have avi ...
2
votes
0answers
305 views

Shoud I use ffmpeg to have videoCodecId = 2 or 7?

I am using ffmpeg to convert my video files to flv. My issue is that I want the converted flv files to have videoCodecId and audioCodecId = 2, because, I am injecting keyframes in the converted file ...
2
votes
0answers
303 views

FFmpeg libx264 Gamma Issue

I'm aware that the gamma issue exists for both Quicktime's native H264 format as well as ffmpeg's equivalent libx264 format. My question is has anyone figured out a fix for it that's more ...
0
votes
1answer
690 views

The audio of an FFmpeg converted mov file works in VLC but fails in Adobe Premiere cs5

I use this line to convert the mov file (Mark II 5D footage) to 720p: ffmpeg -i source.mov -s 1280x728 -vf crop=1280:720:0:0 -sameq -acodec copy dest_file.mov When I drag the result file to ...
2
votes
4answers
15k views

How to install FFmpeg on Debian?

I would like to know how to install FFmpeg on Debian.
1
vote
2answers
1k views

Avoid ffmpeg to lose the flv files keyframes

I use ffmpeg to convert my files, but when I do so, I lose the keyframes metadata from my flv files. The command I use right now is: $/usr/local/bin/ffmpeg -i %s -ab 96k -ar 44100 -b 500k -r 25 ...
3
votes
1answer
2k views

FFMPEG too slow audio and video merging

I am using java process builder to merge audio and video files on OS X (10.6.4) but it is working too slow, for a audio and video of around 15sec it is taking around 1 hour to merge which is tooooo... ...
1
vote
1answer
1k views

ffmpeg volume parameter format

ffmpeg's -vol parameter is confusing me. 256 => normal (i guess meaning same as input volume, no change) 512 => (double the volume - read this somewhere). So what to do for 3 times the ...
0
votes
0answers
679 views

FFMpeg command not working from java processbuilder on Mac

I am trying to merge two files through ffmpeg in mac(snow leopard 10.6.7). If I fire merge command through terminal it works fine, but if I fire same command through java process builder it give an ...
5
votes
2answers
4k views

How can I normalize the volume of a single video file?

I have a video file that was recorded from TV. During recording, we changed the volume levels in between multiple times. Is it possible to (approximately) normalize the volume of the video track? ...
0
votes
0answers
2k views

ffmpeg watermark: problem using movie filter

I want to overlay an image (preferably one with transparency, so only certail shape of it is overlayed) on a video. I came across this old method, which does not work for me (I can't find vhook ...
0
votes
0answers
121 views

Needing to stream video or audio, and manage it as a file

I am using ffserver to stream video from my webcam to over the net. I am looking to make these streams available as a file, so I can serve them over http and through an apache server uri scheme. I ...
0
votes
1answer
4k views

ffmpeg dropping frames?

I'm running this command C:\>ffmpeg -i file.flv -sameq file.mp4 It may take an hour, it says drop=27, and of course it's counting, increasing, that's after 4min. Now 35 drops after 19500 ...
3
votes
6answers
11k views

How do I enable LAME support for ffmpeg?

This isn't a duplicate. I am Debian 6 Squeeze and installed ffmpeg using apt-get. I didn't compile it from source. Later I installed lame from http://www.rarewares.org/. But when I try to use ffmpeg ...
0
votes
1answer
665 views

Is it possible to get ffmpeg to work on Debian with support for amr codec (libopencore-amrnb) ahd h264 encoder (libx264)?

I've never used Debian, but on my Ubuntu box I have installed ffmpeg from the repositories (just as it is, without any tweak or hack) and I can easily use it to transcode amr audio to (e.g.) mp3 and ...
1
vote
1answer
4k views

FFMPEG: AC3 to AAC conversion issues

Ok, this one has me scratching my head - and being a n00b isn't helping. In short, I had a script which I had perfected to covert MKV video to MP4. However, my Ubuntu 10.10 box bit the dust and ...
15
votes
5answers
32k views

How to merge audio and video file in ffmpeg

I want to merge an audio file (.wav or .au format) with a video file (.mp4 format). Please suggest me how to achieve this. I want to merge these file to new .mp4 video file. An ffmpeg command would ...
0
votes
1answer
760 views

How do I install ffmpeg for use with php on Windows Server 2008?

I have zend server running php on Windows Server 2008 64 bit. How do I install ffmpeg for use with php?
2
votes
0answers
551 views

Audio delay problem with ffmpeg and parec

I need to record desktop audio and video in an automated way. So I wrote a small multithreaded python script which basically does the following steps: # 1.) Grab desktop audio AUDIO_SRC=`LANG=c ...
0
votes
1answer
513 views

converting WMV to ASF using ffmpeg / expression encoder studio

I am trying to understand how to convert WMV to ASF file using either ffmpeg or Expression encoder application. Couldn't really figure out how to achieve that. Thank you in advance.
1
vote
1answer
1k views

FFMPEG video to FLV conversion optimization

I have a video site where users can upload videos which will be converted to FLV format and displayed. Those videos are shown at a size of 420x350. I'm using FFmpeg to convert then to FLV format ...
0
votes
1answer
510 views

What causes the frozen first frame of a WMV file created in FFMPEG?

When trimming a WMV file using the following syntax: ffmpeg -i 'INPUTFILE.wmv' -acodec copy -vcodec copy -ss 00:00:45 -t 00:00:15 'OUTPUTFILE.wmv' One frame of the OUTPUTFILE.wmv file is displayed ...