[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to convert several .flv files to a real media file?



Hi Serena,

On Fri, Oct 24, 2008 at 3:05 AM, Serena Cantor <qipaishi2006@yahoo.com> wrote:

> I have etch and installed mplayer and mencoder from debian-multimedia. I can play .flv file and real media file.
> I have download a video clip from a video site like youtube. The clip has several .flv files. I want to convert them to a single real media file. Which command shall I use? Thanks!


I had the same problem a while ago.
After some googling I ended up with the following solution:


$: mencoder -oac copy  -ovc copy  -idx  -o out.avi  in1.flv  in2.flv
in3.flv  etc...

I used it to join some 12 .flv files into one single .avi file of
approx. the same size as all twelve added up. As I understood it well,
mencoder cannot output .flv format (but a lot of other formats
indeed).


For me there was no reason to convert the out.avi to out.flv, using
ffmpeg, as it only results in poorer quality. Besides that, I found
ffmpeg deleting some frames while converting.  So I stuck with the
.avi file. I use ffplay on the command line to watch the .avi video
(ffplay is part of the ffmpeg package):

$: ffplay -x 640 -y 480 out.avi


If you ensist on having a .flv file, you can use ffmpeg like this:

$: ffmpeg -i out.avi -sameq out.flv


Greetings, Manon.


Reply to: