Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Our Archives > General Archives > Digital Video & Audio Archives > Mplex fails (too many dropped frames), Sizzle/ffmpegX

 
Mplex fails (too many dropped frames), Sizzle/ffmpegX
Thread Tools
ism
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Feb 12, 2003, 03:44 PM
 
I'm trying to mplex a 1.73GB mpv file and a 47.7MB mp2 file using sizzle 0.02r or ffmpegX v0.06f. However it fails with the output below (from sizzle). Both audio and video files are created via Mediapipe from a 30 mins, 5.52GB, Quicktime Movie file that was exported from imovie2.

I've had a search on the forums at dvdrhelp.com, 3ivx.com and the mailing lists for mjpeg at sourceforge.net, not found the answer yet. Many people seem to have problems with file sizes over 2GB, but mine isn't, so I'm confused.

Any idea what it means by too many frame drops? Is it something to do with bit-rate? file size? Too slow a processor? I have successfully mplex-ed smaller test files (30 secs length, ~ 5MB mpv file size) using Sizzle at the same bit rate.

Code:
2003-02-10 18:51:25.012 Sizzle[12452] Starting mplex with args: <CFArray 0x1d5bc40 [0xa01303fc]>{type = immutable, count = 8, values = ( 0 : -f 1 : 8 2 : -s 3 : 2000 4 : -o 5 : /tmp/sizzle_tmp152232937/tempmuxedfile-1-%d.vob 6 : /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mpv 7 : /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mp2 )} INFO: [mplex] mplex version 2.2.1 ($Date: 2002/02/04 19:06:14 $) INFO: [mplex] File /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mpv looks like an MPEG Video stream. INFO: [mplex] File /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mp2 looks like an MPEG Audio stream. INFO: [mplex] Found 1 video streams 1 MPEG audio streams and 0 AC3 streams INFO: [mplex] Selecting DVD output profile (INCOMEPLETE!!!!) INFO: [mplex] Scanning for header info: Video stream e0 (/Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mpv) INFO: [mplex] VIDEO STREAM: e0 INFO: [mplex] Frame width : 720 INFO: [mplex] Frame height : 576 INFO: [mplex] Aspect ratio : 1:1 pixels INFO: [mplex] Picture rate : 25.000 frames/sec INFO: [mplex] Bit rate : 9800000 bits/sec INFO: [mplex] Vbv buffer size : 229376 bytes INFO: [mplex] CSPF : 0 INFO: [mplex] Scanning for header info: Audio stream c0 (/Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mp2) INFO: [mplex] AUDIO STREAM: INFO: [mplex] Audio version : 1.0 INFO: [mplex] Layer : 3 INFO: [mplex] CRC checksums : no INFO: [mplex] Bit rate : 32768 bytes/sec (256 kbit/sec) INFO: [mplex] Frequency : 48000 Hz INFO: [mplex] Mode : 0 stereo INFO: [mplex] Mode extension : 0 INFO: [mplex] Copyright bit : 0 no copyright INFO: [mplex] Original/Copy : 0 copy INFO: [mplex] Emphasis : 0 none INFO: [mplex] SYSTEMS/PROGRAM stream: INFO: [mplex] rough-guess multiplexed stream data rate : 10222800 INFO: [mplex] target data-rate specified : 10080000 ++ WARN: [mplex] Target data rate lower than computed requirement! ++ WARN: [mplex] N.b. a 20% or so discrepancy in variable bit-rate ++ WARN: [mplex] streams is common and harmless provided no time-outs will occur INFO: [mplex] Sectors = 89 Video delay = 13019 Audio delay = 13019 INFO: [mplex] New sequence commences... INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000 INFO: [mplex] Audio c0: buf= 4096 frame=000000 sector=00000000 ++ WARN: [mplex] Stream e0: data will arrive too late sent(SCR)=10978742 required(DTS)=0 ...etc **ERROR: [mplex] Too many frame drops -exiting
FFMpeg fails the same as sizzle (since they both use mjpeg tools, but does manage to half work, in that it creates a VIDEO_TS folder after exiting mplex of the incomplete mplex-ed file:

Code:
STAT: Processing /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mpv.mpg... STAT: VOBUS: 222, 135MB STAT: last time=127.79 sec INFO: Generating VTS with the following video attributes: INFO: TV standard: PAL INFO: Aspect ratio: 4:3 INFO: Resolution: 720x576 INFO: Audio format: mp2 STAT: fixing VOBU at 125MB (208/222, 93%) tocgen running scanning /Volumes/firewire/movies/Mias Christmas 2002/Mias Christmas 2002.mpv.mpg.DVD/VIDEO_TS/VTS_01_0.IFO 7.17% done, estimate finish Mon Feb 10 21:21:08 2003 14.31% done, estimate finish Mon Feb 10 21:21:15 2003 21.48% done, estimate finish Mon Feb 10 21:21:18 2003 28.62% done, estimate finish Mon Feb 10 21:21:19 2003 35.78% done, estimate finish Mon Feb 10 21:21:17 2003 42.93% done, estimate finish Mon Feb 10 21:21:18 2003 50.09% done, estimate finish Mon Feb 10 21:21:18 2003 57.24% done, estimate finish Mon Feb 10 21:21:19 2003 64.40% done, estimate finish Mon Feb 10 21:21:19 2003 71.54% done, estimate finish Mon Feb 10 21:21:20 2003 78.71% done, estimate finish Mon Feb 10 21:21:21 2003 85.85% done, estimate finish Mon Feb 10 21:21:22 2003 93.02% done, estimate finish Mon Feb 10 21:21:22 2003 Total translation table size: 0 Total rockridge attributes bytes: 0 Total directory bytes: 4096 Path table size(bytes): 42 Max brk space used 0 69888 extents written (136 Mb) Processing complete!
any help/suggestions greatly appreciated,

Regards,

Si.
imac G3 450MHz, 1GB RAM, OS X 10.2.3
     
ism  (op)
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Feb 12, 2003, 05:51 PM
 
Anyway, after a bit of playing about I've gone straight to the mplex command line tool in the Sizzle package (OS X is great for this), so I can try some of the options suggested here http://roguelife.org/~fujita/MJPEG/mplex.html

Currently playing about with the video buffer size after a suggestion from the author of Sizzle,

I'll feed back if I have any success
     
ism  (op)
Grizzled Veteran
Join Date: Sep 2001
Status: Offline
Feb 27, 2003, 05:22 PM
 
Well as suggested by a few people (on the mjpeg user list - http://mjpeg.sourceforge.net/) the problem I had was with the overall bitrate I was trying to mplex. I should have realised this, but the 9.8 Mbit/sec maximum (that is mentioned on the sizzle documentation pages) is a mplexed maximum, not the separate video stream. www.dvdrhelp.com lists dvd as having a video bitrate of 3000-8000 kbps and audio as 128-384kbps, which I'm guessing adds up to the 9800 kbps (Or maybe not).

So I re-encoded my video at 8000 kbps (took a day or so )and left my audio at 256 kbps. This worked. No problems at all with mplex or anything else.

Burnt a DVD and tested it on my computer, worked fine, apart from towards the end it would start to skip a bit. Perhaps because it's still on the high side of bitrate? (If I do a DVD again, I think I'll go a bit lower than 8000 kbps to be on the safe side) Checked on my friends dvd player, worked fine, but didn't get a chance to check the end. However, all was to no avail when it didn't work on my girlfriends dvd player though so now trying SVCD, and if that doesn't work, VCD.
     
 
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 04:23 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2