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
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
667 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 ...
17
votes
5answers
33k 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
769 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
552 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
514 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
512 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 ...
0
votes
1answer
171 views

Youtube “failed to convert” using ffmpeg CLI

I'm using ffmpeg to split videos to comply with their length but whenever I upload them it says "failed to convert". I'm using this settings ffmpeg -i "${file}" -ar 22050 -vcodec libx264 -acodec ...
1
vote
1answer
3k views

X Error of failed request: BadMatch (invalid parameter attributes) ffmpeg error

I'm getting the following error message in ffmpeg: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 140 (MIT-SHM) Minor opcode of failed ...
2
votes
0answers
2k views

Convert compressed SWF to AVI (or MPEG etc) via FFmpeg

ffmpeg -i compressed.swf out.avi gives the error [swf @ 0x10180b000]Compressed SWF format not supported so I tried swfcombine -d compressed.swf -o decompressed.swf ffmpeg -i decompressed.swf ...
0
votes
2answers
920 views

Converting my DVD files to a single, smaller file with good quality

I want to start digitizing my DVD collection, and I have used AnyDVD and CloneDVD to rip my DVD's contents to my disk. At the moment all the films look like this on my hard drive: All I know at ...
1
vote
1answer
3k views

How to specify search folder for external library while building ffmpeg

I want to compile and build ffmpeg in my home folder since I don't have sudo privilege, but how to specify search directories for external libraries while running configure? I try to enable libx264, ...
1
vote
1answer
3k views

FFmpeg constant bitrate

I want to convert some videos with FFmpeg to make them streamable. So I want to convert to a video format with a constant bitrate. Can anyone help me? I have tried a lot of options, like -maxrate, ...
23
votes
3answers
25k views

Remove audio from video file with FFmpeg

How can I strip the audio track out of a video file with FFmpeg?
2
votes
1answer
778 views

change avi playback speed and sound (maybe using ffmpeg)

I have a video file of 5 FPS / 8000Hz that I want to speed up 6 times. I want the pitch and playback to increase - can I do this by simply adjusting the file header? I can't seem to figure out the ...
1
vote
1answer
830 views

Will ffmpeg encode faster if I have a Graphics Card?

Naive question perhaps ; I hae a bunch of videos on my phone in 3gp format. My intent is to save them to disc after converting them to AVI/FLV The amount of time required for such encoding is not ...
1
vote
0answers
974 views

ffserver, ffmpeg, flowplayer - stream delay

Good day to all I have a little problem with a stream. I configured a ffmpeg to get a stream from vlc and then stream it again over http with ffserver. Ok... the problem is this: if I configure ...
1
vote
1answer
162 views

FFmpeg and reverb

How to FFmpeg can manage audio channels to create effects such as reverb?
0
votes
1answer
255 views

How to convert ts files to avi in OSX

I have tried both mencoder and ffmpeg. With ffmpeg the sound was fine but there was no picture. With mencoder the video moved at half speed so the length was doubled. How can this be done right?
4
votes
3answers
8k views

Is it possible to use ffmpeg to trim off X seconds from the beginning of a video with an unspecified length?

I need to trim the just the first 1 or 2 seconds off of a series of FLV recordings of varying, unspecified lengths. I've found plenty of resources for extracting a specified duration from a video ...
2
votes
3answers
9k views

How can I convert AVI files into MPGs with ffmpeg?

I have this problem with some AVI files. The output of ffmpeg -i file.avi contains the line [NULL @ 0x97c4d40]Invalid and inefficient vfw-avi packed B frames detected. Someone advised me to ...
2
votes
1answer
5k views

Installing ffmpeg + dependencies on AWS Linux AMI (repo issues)

I'm installing ffmpeg to run on an Amazon linux AMI, and have added the rpmforge repo and the dag repo. Here are some guidelines I'm using for reference: TWoZaO and Razuna The rpmforge repo has ...
0
votes
1answer
1k views

Extract particular frames from a video without loading the whole video

I have a video encoded with H264, size 1.4 GB and I only need some part of the frames in the middle. Can I use ffmpeg to extract part of the frames from the middle of the video?
19
votes
1answer
36k views

Converting FLV to MP4 Using FFMPEG and Preserving the Quality

Im trying to use ffmpeg to convert my flv files to mp4 to play them on iOS devices but the converted video has a much worse quality than the original one. Here is the command i use: ffmpeg -i ...
8
votes
4answers
7k views

How to convert 1080@50i -> 720@50p using ffmpeg?

I really like 50fps video, but I cannot make ffmpeg convert it to 50fps for me. 720p resolution is absolutely fine with me, just need more FPS. 50i just looks much smoother in proper players (for ...
3
votes
1answer
3k views

Convert an MP3 from 48000 to 44100 Hz?

I have some MP3s that are in 48000 Hz sampling frequency. I'd like to burn them to CD, so I have to reduce the sampling frequency into 441000. How to do that using ffmpeg?
0
votes
2answers
2k views

Hardware optimization with ffmpeg

I have a Linux box and would like to encode some videos with ffmpeg. I have heard that my CPU (a second gen core i5 processor) has hardware support for h.264 encoding. Is it possible to get ffmpeg ...
0
votes
1answer
901 views

ffmpeg error while segmenting

I'm using ffmpeg and segmenter on Ubuntu 10.04 to create the transport stream from flv/h264 video files and then segment the ts segments for ipad streaming. Some ts files show an error with segmenter ...
0
votes
3answers
3k views

How do I capture sound on Windows XP with ffmpeg?

I'd like to capture the stereomix or line-in sound on Windows with the Windows build of ffmpeg. On linux I'd do something like this: ffmpeg -f alsa -ac 2 -ar 48000 -i front rec.flac This records ...
1
vote
2answers
2k views

ffmpeg hangs when creating a video

I am trying to insert an audio channel with a video: first of all I extract the audio from the original video for processing: ffmpeg -i lotr.mp4 lotr.wav I then extract all frames for later ...
1
vote
1answer
1k views

Send stream from VLC to ffserver

I want to send a stream from VLC on Windows to ffserver (as input stream for ffmpeg) on a CentOS virtual machine. How can I do this?
0
votes
1answer
93 views

making ffmpeg recognise mp4

What should I install on ubuntu 10.04 to allow my ffmpeg convert files to MP4 ?
0
votes
2answers
946 views

ffmpeg, vlc - Unable to find input stream

Good day to all... I have some "little" problems with ffserver and ffmpeg... What I need to do is to broadcast a live video. So I got the cam... used vlc and used send stream option. I sent it to ...
2
votes
1answer
358 views

ffmpeg lame mp3 problem

i wanted to install ffmpeg with lame mp3 support.its procedure is as follows: cd /usr/local/src/ffmpeg/ ./configure –enable-libmp3lame –enable-libogg –enable-libvorbis make && make install but i ...
2
votes
1answer
883 views

Troubleshooting “stream 0 codec frame rate differs from container frame rate” when splitting AVI in ffmpeg

I need to split video files and at the same time convert them to mp4 for a website. I have troubles splitting AVI files (flv and mp4 worked fine). Example: > ffmpeg -i original-1.avi -ss 00:03:00 ...
1
vote
2answers
703 views

commands for FFMPEG

what command use to convert avi MPEG to MP4 320x240 res, 24 fps? Do you have any good manual for this (WINFFmpeg is out of way)?
1
vote
0answers
502 views

Limit MJPEG stream bandwidth

I have a very simple webcam, but it supports MJPEG streaming. Webcam is in remote location, and that location internet connection has a very low upload speed. I can capture that MJPEG stream with ...
1
vote
0answers
702 views

How to provide multiple input to ffmpeg?

I'm using ffmpeg to create time-lapses and it's working great. As input I have images named 001.jpg, 002.jpg, etc. and then with the command ffmpeg -i %3d.jpg -sameq -s 1440x1080 video.mp4 I create ...
0
votes
2answers
2k views

Converting a .mp4 file throws “Resampling with input channels greater than 2 unsupported.” error

I am trying to convert a mp4 file into flv with 2 audio channels & sample rate of 44.1 Khz (because .flv does not allow higher than that). Here is the pastebin for the error. As seen from the ...
2
votes
3answers
2k views

How can I stitch 2 video files using ffmpeg?

I've created some time-lapse videos from photos, using this command: ffmpeg -i IMG_%03d.JPG -s 1440x1080 -sameq video.MP4 And it worked great. Now I want to join several of these time-lapse videos ...
2
votes
1answer
2k views

Making MTS video file smaller using FFMPEG

I have a Sony AVCHD camera that records to MTS video files. I want to be able to change the resolution of the video file from 1440x1080 to 640x480 and make the video file smaller, but retain as much ...
1
vote
2answers
2k views

Ffmpeg Webm Encoding Error

I am trying to convert various video file formats into .webm using ffmpeg v. 0.6.1 but am having a few troubles. It creates the file but is zero kb in size. I also get the following error: Encoder ...
1
vote
1answer
1k views

How to record from two audio sources simultaneously in ffmpeg?

I am recording a Let's Play using ffmpeg on Arch Linux. I would like to have it record both the game's audio, and my mic. I am using PulseAudio for sound. I can get it to record the mic, or the game's ...
2
votes
1answer
1k views

FFmpeg command line output documenation

I'm currently writing a regular expression for deciphering the output from FFmpeg, after using FFmpeg to determine the attributes from a file with the following command; ffmpeg.exe -i .\test.avi ...
1
vote
1answer
291 views

looping .mpeg dump

Need to dump an MPEG2 file in a loop, either to stdout or a named pipe. This works: $ { while : ; do cat myLoop.mpg; done; } | vlc - This works on a text file containing "1234\n": $ mkfifo ...
0
votes
1answer
582 views

Filename as text watermark, ffmpeg/mencoder

I have a bunch of photos (from ip cam) witch i pack into video using mencoder, is there a way to tell mencoder to put each filename on produced video? (file names, has the photo shot time)
5
votes
3answers
9k views

VOB conversion quality in FFmpeg

I am trying to convert a VOB file to mpeg like this: ./ffmpeg.exe -i VTS_01_2.VOB -r 24 out1.mpeg However, the quality is very poor. I tried ./ffmpeg.exe -i VTS_01_2.VOB -vcodec copy out1.mpeg ...