Hallo > I have a VBR MPEG1 stream with, say 10000 frames. > > I want to get the same MPEG1 stream but minus the first, say, 100 frames. > > How can I do this? Do I need to demux the stream (dont know how), take the first 100 frames out (again, how?), do the same thing for the audio stream and mux them back together? Wont the A/V sync be messed up? > > Or is there a easier way? The correct version would be to rencode it again with dropping the first 100 frames: lav2yuv -o 100 ..... lav2wav -o 100 .....
Choping at gop boarders (gobchop.sf.net) should work well for videos that should be played back with SW players. And workes less (to not really) well for HW players (VCD/SVCD/DVD). You can demux a stream with bbdmux. From the bbtools package for linux (found at: http://www.nop.org/inkling/). In the mjpeg howto section: Transcoding of existing MPEG-2, you can find you how to do it. You should not encounter any problems with A/V sync. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: [EMAIL PROTECTED] www: http://www.lysator.liu.se/~gz/bernhard ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users