`ffmpeg` is a free software project aimed at producing tools (libraries and programs) for handling multimedia data.

learn more… | top users | synonyms

2
votes
2answers
6k views

Mencoder with same quality output

I like mencoder for converting video files because it shows me how much time is remaining to the end of the conversion (in opposite to ffmpeg). mencoder file.wmv -ofps 23.976 -ovc lavc -oac copy -o ...
4
votes
3answers
17k views

How can I embed subtitles into videos with ffmpeg?

I'm told it's possible to embed subtitles (.srt) into video files (.avi) using ffmpeg, but I can't find any mention of it in the man page. Is this possible? What command do I use?
3
votes
1answer
2k views

Split video file into pieces with ffmpeg

When you want to extract two minutes of a video file from minute 2 to minute 4, you will use command ffmpeg -i input.mpg -sameq -ss 00:02:00 -t 00:02:00 output.mpg I'd like to split the video into ...
7
votes
3answers
975 views

Who is doing the job: ffmpeg or the shell?

First part of my question: I read on the ffmpeg documentation (section 3.2 How do I encode single pictures into movies?) the following: To encode single pictures into movies, run the command: ...
1
vote
3answers
1k views

Install ffmpeg 0.7.1-5 from debian package

I downloaded this package for ffmpeg. When I try to install it with command sudo dpkg -i ffmpeg_0.7.1-5_i386.deb it writes this error message: Unpacking ffmpeg (from ffmpeg_0.7.1-5_i386.deb) ... ...
6
votes
3answers
3k views

How can you trim mp3 files using `ffmpeg`?

Here is a Linux audio MP3 puzzle that has been bugging me for awhile: How to trim the beginning few seconds off an MP3 audio file? (I can't get ffmpeg -ss to work with either 00:01 or 1.000 format) ...
1
vote
1answer
380 views

ffmpeg could not open file.mpg

When I want to convert a video with the following command: ffmpeg -i file.wmv -sameq file.mpg it ends with this error message: FFmpeg version SVN-r0.5.1-4:0.5.1-1ubuntu1.1, Copyright (c) 2000-2009 ...
11
votes
2answers
4k views

How to record my full screen with audio?

If I want to record my desktop, I use: ffmpeg -f x11grab -s `xdpyinfo | grep -i dimensions: | sed 's/[^0-9]*pixels.*(.*).*//' | sed 's/[^0-9x]*//'` -r 25 -i :0.0 -sameq valami.avi But it doesn't ...
3
votes
1answer
915 views

FFMPEG video to FLV conversion optimization

Would anyone have any tips on optimizing video to FLV conversion using ffmpeg so I would get a medium quality video which is not very large? I have a video site where users can upload videos which ...
2
votes
1answer
3k views

ffmpeg and libmp3lame produces bad audio quality?

when I get a flash video from YouTube, why is the quality of the audio much worse than the origin video on YouTube? When I downloaded the flash movie, I convert it to avi like this: ffmpeg -i ...
3
votes
1answer
666 views

How to get lilbmp3lame encoding to work with ffmpeg?

When I am converting an FLV to an AVI one, I always get: Unknown encoder 'libmp3lame' But I've installed it with Ubuntu Software Center. I am using this command: ffmpeg -i video.flv -acodec ...
2
votes
2answers
455 views

No output produced when using winFF

I am using winFF in Ubuntu 10.04. WinFF is a graphical frontend to ffmpeg. Typically, after selecting a file in WinFF, setting my conversion settings and pressing the "Convert" button, a console ...
2
votes
3answers
2k views

installing ffmpeg-php on centos

With the help of this guide, I am trying to install ffmpeg using these commands: # cd ffmpeg-php/branches/ffmpeg-php/ffmpeg-php-0.6.1/ # replace 'PIX_FMT_RGBA32' 'PIX_FMT_RGB32' -- * # phpize # ...
26
votes
7answers
17k views

How to grep standard error stream (stderr)?

I am using ffmpeg to get the meta info of an audio clip. But I am unable to grep it. $ ffmpeg -i 01-Daemon.mp3 |grep -i Duration FFmpeg version SVN-r15261, Copyright (c) 2000-2008 Fabrice ...
11
votes
4answers
6k views

How do I merge two *.avi files into one

I have two *.avi files: sequence1.avi sequence2.avi How do I merge these two files using a command-line or GUI?
16
votes
3answers
17k views

How can I use ffmpeg to split MPEG video into 10 minute chunks for YouTube upload?

There is often a need in the open source or active developer community to publish large video segments online. (Meet-up videos, campouts, tech talks...) Being that I am a developer and not a ...
4
votes
3answers
2k views

Transcoding MJPEG Stream to FLV or MP4

I want to transcode MJPEG stream that comes from IP camera (http://xx.yy.zz.tt:8080/video.cgi) to FLV or MP4 stream under Linux OS so that users can play the file using a web based Flash player such ...