On Sun, 1 Feb 2004 04:28:07 +0100
Maik Holtkamp
Hi,
[Wege, um mpeg aus kino-resultat händisch herauszubekommen, u.a.]
transcode -i <Verzeichnis> -x dv -V -j 0,8 -B 0,7 -E 44100,16,2 \ -I 1 -o film -y mpeg2enc,mp2enc --dv_yuy2_mod -F 4 "-S 10000"
Du bekommst dann eine .m2v und eine .mpa. Überleg Dir wo Du schneiden willst, wenn Du musst/willst, und multiplexe das dann mit:
mplex -f 4 -S <Schnittpunkt in MB> film%d.mpg film.m2v film.mpa
Hierzu lese ich in der Manpage von mplex: --- -S|--max-segment-size num This option specifies the maximum size of output files in MBytes (2^10) When the limit is reached a new file is started. The default is (0) unlimited. Note: This option is not for splitting a long video across multiple VCD's or SVCD's. ^^^^^^^^^^^^^^^ It simply splits a single long sequence into in a way that prevents bits of a video GOP(group of pictures) or audio frame being split between chunks. This is fine for formats like that used for DVDs where all stream parameters appear every GOP. However, for VCD / SVCD it won't work as the players expect each file to start a new MPEG sequence. For VCD / SVCD a different technique is used. If mplex encounters a sequence break (sequence end followed by start) in the input video stream it starts a new output stream and file at the sequence start. Thus to split a long video across VCD's/SVCD's you have to get the MPEG video encoder to introduce sequence splits at the right points (see mpeg2enc(1) for details of how to do this). --- Sieht also so aus, dass es mit mplex allein nicht richtig splittet? In man mpeg2enc(1) wird nun vorgeschlagen: --- -S|--sequence-length num This flag allows the target size of individual sequences in the final multiplexed stream to be set in MBytes. If set mpeg2enc keeps track of how large the eventual stream is getting and inserts a sequence split (actually: sequence end / sequence start) into the output stream each time it reaches the specified limit. The multiplexer mplex(1) can recognise these splits and start a new multiplexed output file each time it encounters one. In this way it is easy to automatically ensure each component sequence file can be burnt onto a CD-R and still be played as a stand-alone MPEG sequence. For the SVCD and VCD profiles the default target sequence length is 700M bytes. For other profiles the default is that sequence length is unlimited. --- Funktioniert das trotzdem (hat jemand schonmal den mplex-Aufruf so ausgeführt und die SVCDs spielen trotzdem gut ab)? Oder könnte mich da jemand aufklären, warum das -S beim mpec2enc hier nicht benötigt wird. Gruß -chris