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

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, ...
12
votes
3answers
14k 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
748 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
785 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
918 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
150 views

FFmpeg and reverb

How to FFmpeg can manage audio channels to create effects such as reverb?
0
votes
1answer
249 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?
3
votes
3answers
6k 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
8k 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
4k 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?
17
votes
1answer
32k 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
5k 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
1k 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
850 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
91 views

making ffmpeg recognise mp4

What should I install on ubuntu 10.04 to allow my ffmpeg convert files to MP4 ?
0
votes
2answers
904 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
353 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 ...
1
vote
1answer
769 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
674 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
487 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
673 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
1k 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
1k 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
1k 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 ...
1
vote
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
279 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
567 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
8k 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 ...
0
votes
2answers
4k views

How to rip AVI from VOB using ffmpeg

I am trying to convert a VOB to an AVI. I have ripped an AVI from this VOB before using ffmpeg, but for some reason it's not working this time. This is what I tried: ffmpeg -sameq -acodec copy -i ...
0
votes
1answer
116 views

How to install ffmpeg on turnkeylinux

I want to install ffmpeg: http://www.ffmpeg.org/ in my turnkeylinux. Please guide me how to install and enable it for PHP.
1
vote
1answer
1k views

Lossless VOB conversion with ffmpeg

Is there a way to convert a VOB to another video format using ffmpeg without sacrificing audio or video quality?
1
vote
2answers
712 views

How to use ffmpeg to rip part of a VOB file

I want to convert a VOB file to another video format using ffmpeg. The video that I'm interested in is found in the first half of the VOB file. Is there a way to convert only the part that I'm ...
4
votes
2answers
8k views

What's the difference between FFmpeg's “-vcodec copy” and “-sameq”?

What is the difference between using -vcodec copy and -sameq with FFmpeg? Do they do the same thing?
2
votes
2answers
2k views

ffmpeg - h264 to xvid creates large file

I'm trying to use ffmpeg to convert a h264/aac video file to an xvid/mp3 file so I can play it in my ultra-cheap media player. At the moment the converted video file is TWICE the size of the ...
12
votes
4answers
31k views

How to convert an MKV to AVI with minimal loss

To convert an MKV to AVI, I do two things. The first thing I do is this: ffmpeg -i filename.mkv -vcodec copy -acodec copy output.avi or this: ffmpeg -i filename.mkv -sameq -acodec copy output.avi ...
3
votes
0answers
3k views

How to convert a mpeg4-aac video to mpeg-ts using MEncoder?

I know this can be done using FFMpeg and I have done it. The only problem here was that FFMpeg actually tries to "encode" the file while converting to mpeg-ts which I don't want. i.e. I just want to ...
1
vote
0answers
552 views

FFMPEG: Convert into avi compatible with mpeg2 DVB-T tuner

I have mpeg DVB-T tuner which plays avi with codecs: xvid and mp3. But when i convert video with libxvid, libmp3lame tuner prints 'Don't support this type'. What the command which successfully ...
2
votes
1answer
5k views

convert decrypted .vobs to .avi with ffmpeg on ubuntu

I have a .vob file that has bee ripped from a dvd, when I watch the .vob its very good quality video and 5.1 english audio but when I use ffmpeg it has rubbish video and mono french audio. That was ...
3
votes
1answer
156 views

Is it possible to transcode SD and HD Resolution flash files (FLV) to DNxHD?

Can FFmpeg or FFmbc be used to do this and if so, what are the parameters? If not, is there any low cost or no cost transcoding software available to do this?
2
votes
1answer
2k views

How to install ffmpeg through yum

Anyone knows the trick? And how to install ffmpeg ? yum install mpeg only returns this: ======================================================================================== Matched: mpeg ...
1
vote
1answer
579 views

Reference on ffmpeg -i output

is there some site explaining in details what are the informations output by FFMPEG ? As an example, when displaying the result Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'chti_jug_maven_studio.mp4': ...
2
votes
1answer
664 views

What codec do I need in order to splice a mp4 file with ffmpeg?

I'm pretty sure I installed all necessary packages... here's my attempt at slicing out the first 14 mins of my video. meder@meder-desktop:/media/12dbbb01-4f96-433d-96a0-9b6c88598a51$ sudo ffmpeg -i ...
2
votes
3answers
4k views

Merge two audio channels (stereo) into one (mono) on GSM6.10 using FFMPEG

I would like to know if it is possible to merge stereo audio into mono on a GSM6.10 audio file using FFMPEG. If it is, please provide the command to achieve this. Otherwise, is it possible to convert ...