mpeg2enc doesn't seem to work correctly when I use the -M option for multi-cpu
encoding.

I tired encoding a stream with these options:

-f 5 -B 299 -S 700 -K kvcd -a 2 -p -g 6 -G 25 -b 2500 -q 3 --dualprime-mpeg2

and then the same exact options with -M 2 added.

Without -M 2, mpeg2enc generates a stream of about 550 MB that mplex (with
options -f 5 -r 0 -V) will accept without trouble.  I can create a svcd with
vcdimager and watch it on my DVD player with no problems.

With -M 2, mpeg2enc doesn't have any trouble generate a mpeg2 stream.
However, when I try to mplex it, mplex complains there are multiple
sequences, and I need to put a %d in the filename:
   INFO: [lt-mplex] Scanned to end AU 1
++ WARN: [lt-mplex] No seq. header starting new sequence after seq. end!
   INFO: [lt-mplex] Scanned to end AU 5
++ WARN: [lt-mplex] No seq. header starting new sequence after seq. end!
[snip]
   INFO: [lt-mplex] Video e0: buf=  13783 frame=000001 sector=00000006
   INFO: [lt-mplex] New sequence commences...
   INFO: [lt-mplex] Video e0: buf= 186544 frame=000017 sector=00000103
++ WARN: [lt-mplex] Stream e0: data will arrive too late sent(SCR)=13644802 
required(DTS)=13629198
++ WARN: [lt-mplex] Video e0: buf= 214883 frame=003666 sector=00014608
++ WARN: [lt-mplex] Stream e0: data will arrive too late sent(SCR)=23705009 
required(DTS)=23689248
[snip]
++ WARN: [lt-mplex] Stream e0: data will arrive too late sent(SCR)=73429807 
required(DTS)=73036045
++ WARN: [lt-mplex] Video e0: buf=      0 frame=019483 sector=00081855
**ERROR: [lt-mplex] Too many frame drops -exiting

The first sequence results in an mpeg file that is only 238k.  I also get many
buffer overflow errors, and the stream won't multiplex.  If I try to make a
svcd, it skips like crazy on my dvd player.

Again, if I do everything exactly the same but omit the -M 2 flag, everything
works fine, but my CPUs are less utilized.



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to