Hallo

> I have 2 files, one videostream (m1v) and one audiostream (mp2).
> I want to multiplex these files to a VCD.
> The problem is that the movie is too long for one VCD, so I have to
> split it.
> When I transcoded the file (formerly an AVI file) I didn't notice the
> option -S 700 was set for mpeg2enc. So I have a a sequence header at
> this position.
> When I now use mplex to multiplex these files I get two files
> automatically. That should be ok, but for some reasons I want to have
> 50% of the movie on 1 CD.
That is not possible with the -S option. Because mpeg2enc does not know
the number of frames. 

So you have to do it a other way round like:
Make 2 Editlists where each list has the have number of frames. 

If you like to do some math (this only works if you have a CBR Stream)
you know the bitrate (1152kBit/sec), and the length. So you can easy
calculate how large the video will be and set the correct split point.
Don't forget to add the audio bitrate !!!

> So the sequence header should be set exactly in the middle of the movie.
> I don't want to retranscode the file so what can I do to manually split
> it?
You have sequence header every GOP !!!!

If you split it with the mplex -S option or with some tool like mpegtx
(=manual split). It won't work very likely with a HW-Player because
mpeg2enc marks the stream at a suitable point, where mplex can easy
create matching runin/runout header. 

> Notice that I need padding. I also tried tcmplex, but the VCD isn't
> padded as vcdimager says that it would be padded on the fly.
> Is there a way to tell mplex not to pay attention to sequence headers?
You need that sequence headers for seeking and other things when you
want to play it back on a HW-device (DVD-Player). mplex does not fill
any information into that spaces. That is done by vcdimager. 

If you are looking for differnet solutions to that problem take a look,
or search, the mailinglist archive. 

auf hoffentlich bald,

Berni the Chaos of Woodquarter

Email: [EMAIL PROTECTED] [EMAIL PROTECTED]
www: http://www.lysator.liu.se/~gz/bernhard


-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb: 
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! 
No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
Mjpeg-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to