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

learn more… | top users | synonyms

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?
4
votes
2answers
2k views

Strange errors when using ffmpeg in a loop

I have a bash script looping through the results of a find and performing an ffmpeg encoding of some FLV files. Whilst the script is running the ffmpeg output seems to be interupted and is outputting ...
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 ...
8
votes
3answers
2k views

How to get near-perfect screen recording quality?

Someone suggested I direct a copy of the unmodified X display to a file and afterwards convert that file to a general purpose video file. What commands would I use to do this on a Kubuntu system? ...
3
votes
1answer
966 views

ffmpeg: error while loading shared libraries: libtheoraenc.so.1

When I want to run ffmpeg I get the following error: ffmpeg: error while loading shared libraries: libtheoraenc.so.1: cannot open shared object file: No such file or directory This is output of ls ...
7
votes
2answers
10k views

How get the best quality when converting from mp4 to avi with ffmpeg?

When I use this, the quality doesn't look bad. ffmpeg -same_quant -i video.mp4 video.avi In the ffmpeg documentation is written: "Note that this is NOT SAME QUALITY. Do not use this option unless ...
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 ...
1
vote
2answers
396 views

ffmpeg installation on Linux REHEL/CentOs 6.X

I had a static installation of ffmpeg but was running into trouble with config files not found so I have since just deleted it. Then I tried re-installing a more current static version just to see if ...
1
vote
0answers
577 views

Rotating a video (ubuntu 12.04)

I have a video, shot on my android phone, which I want to rotate 90 degrees clockwise for computer viewing. Here's what I expect should work: ffmpeg -i infile.mp4 -vf "transpose=1" -an -vcodec mpeg4 ...