[MPlayer-users] Merging/manipulating video streams

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Tue Mar 18 23:47:06 CET 2003


Vladimir Niksic wrote:

>[Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>I have an Mpeg2 file from satellite broadcast. I'd like to remove the
>commercials and encode it to divx. I know I can use mencoder's -ss and
>-endpos to split the final AVI into several files and get rid of the
>commercial, but I don't know how to merge the pre- and post-commercial
>sections back into one AVI. I tried the recommended trick of using cat
>*.avi | mencoder -ovc copy -oac copy -o merged.avi -forceidx, but it
>didn't work -- there's a noticable A/V desync after the part where the
>second file begins. I also tried using transcode's avimerge, but with it
>the desync is even worse. Does anyone know of a utility that allows one
>to merge AVI files, or even better, to manipulate (dissect and merge)
>MPEG2 files?  Linux would be preferred, but Windows will also do if it
>can't be done under Linux.
>
For cutting AVIs, VirtualDub or Nandub run under wine is imho the best 
tool currently available.

-- 
Jindrich Makovicka




More information about the MPlayer-users mailing list