[MEncoder-users] Combining .flv files
Bill Crockett
wsc4 at optusnet.com.au
Thu Dec 22 04:09:00 CET 2011
On 22/12/2011 5:59 AM, Fatima Hussain wrote:
> Thank you very much for your reply.
>
> The length of each video is around 9 to 10 seconds: When i run them through
> VLC,
>
> 1.flv = 0.09 sec
> 2.flv = (0.09 sec) by now total of 0.18 sec
> 3 flv = (0.09 sec) by now total of 0.27 sec
> 4.flv = (0.10 sec) by now total of 0.37 sec
> 5 flv = (0.10 sec) by now total of 0.47 sec
> 6 flv = (0.09 sec) by now total of 0.56 sec
>
> I also tried using -ofps through this command:
>
> [root]# /usr/bin/mencoder -forceidx -of lavf -oac copy -ovc copy -o
> output4.flv 1.flv 2.flv 3.flv 4.flv 5.flv 6.flv -ofps 4
>
> But it did not work.
>
> I have uploaded my files at :
> https://github.com/fatimaohussain/CombineFLV
>
> Just in case if you would like to have a look.
>
> I really appreciate your help and will be very grateful for any more
> suggestions.
>
> Thanks a lot,
> Fatima
Correct me if I'm wrong, but I thought "only" MPEG and AVI files can be
concatenated into a single file. For AVI files, you can use MEncoder's
multiple file support like this:
mencoder -ovc copy -oac copy -o out.avi file1.avi file2.avi
This will only work if the files are of the same resolution and use the
same codec. You can also try avidemux and avimerge (part of the
transcode tool set).
More information about the MEncoder-users
mailing list