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

Re: Чем объеденить 2 mpg файла

Dmitry Astapov wrote:
> Evening, Vladislav. 
> Vladislav Nikitin <nikitin@sendmail.ru> 11:12 31/1/2003 wrote:
>  VN> Доброго времени суток,
>  VN> Есть два mpg-файла, чем в Linux'е их можно объеденить.
> mencoder -oac copy -ovc copy -o result.mpg source1.mpg source2.mpg (не
> проверял, но на avi у меня подобный фокус работал)
не работает
имменно с .avi (mplayer последний из CVS)

а работает вот это:

 <from DOCS/faq.html>

Q: How can I join two video files?

A: This has been discussed to no end on mplayer-users. Go search the
archives for a complete answer. This is a complicated topic and your mileage
may vary a lot depending on the kind of files you want to merge. MPEGs can
be concatenated into a single file with luck. For AVIs there are two tools,
avidemux and avimerge (part of the transcode tool set), available that might
do the job. You can also try MEncoder if you have two files sharing the same
dimensions and codec. Try

   cat file1 file2 > file3
   mencoder -ovc copy -oac copy -o out.avi -forceidx file3.avi


Reply to: