On Thu, 30 Jun 2005, Dave Chapman wrote:

> [EMAIL PROTECTED] wrote:
> > 
> > $ sox -V
> > sox: Version 12.17.7
> 
> Checking the sox ChangeLog, I found this:
> 
> sox-12.17.8
> -----------
>   o "-x" option was being ignored since 12.17.7.
> 
> So it looks like a bug in 12.17.7 - you should upgrade to 12.17.8 and
> that should fix it.
Thanks for this information. 
> > I now swapped the bytes myself and now the mpeg file is ok. Any
> > suggestions for the best video rate with pcm audio?
> > At the moment I use this mpeg2enc options:
> > -M3 -a2 -q4 -f8 -b8192 -np -F3 -I1 -21 -41 -r16 -N1.0 -Khi-res -D10 -s -c -P
> > 
> > But the burned result skips some video frames when playing it on a
> > normal dvd player. Ton is ok.
> 
> Limiting the bitrate to about 8Mbit/s (which you have done) should be
> fine.  If the peak bitrate is less than that you should be fine.
> 
> Does mplex give you any error messages or warnings about buffer
> underflows?  What are the average and peak bitrates it displays when it
> finishes running?
$ mplex -S 0 -f 8 -V -o NAME.mpg NAME.lpcm NAME.m2v
   INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26
$)
   INFO: [mplex] File movie.lpcm looks like an LPCM Audio stream.
   INFO: [mplex] File movie.m2v looks like an MPEG Video stream.
   INFO: [mplex] Video stream 0: profile 8 selected - ignoring
non-standard opti
ons!
   INFO: [mplex] Found 1 audio streams and 1 video streams
   INFO: [mplex] Selecting dvdauthor DVD output profile
   INFO: [mplex] Multiplexing video program stream!
   INFO: [mplex] Scanning for header info: LPCM Audio stream 00
(movie.lpcm)
   INFO: [mplex] LPCM AUDIO STREAM:
   INFO: [mplex] Bit rate       :   192000 bytes/sec (1536000) bit/sec)
   INFO: [mplex] Channels       :     2
   INFO: [mplex] Bits per sample:     16
   INFO: [mplex] Frequency      :     48000 Hz
   INFO: [mplex] Scanning for header info: Video stream e0 (movie.m2v) 
   INFO: [mplex] VIDEO STREAM: e0
   INFO: [mplex] Frame width     : 720
   INFO: [mplex] Frame height    : 576
   INFO: [mplex] Aspect ratio    : 4:3 display
   INFO: [mplex] Picture rate    : 25.000 frames/sec
   INFO: [mplex] Bit rate        : 8192000 bits/sec
   INFO: [mplex] Vbv buffer size : 229376 bytes
   INFO: [mplex] CSPF            : 0
   INFO: [mplex] SYSTEMS/PROGRAM stream:
   INFO: [mplex] rough-guess multiplexed stream data rate    : 9928648
   INFO: [mplex] target data-rate specified               : 10080000
   INFO: [mplex] Setting specified specified data rate: 10080000
   INFO: [mplex] Run-in Sectors = 89 Video delay = 13019 Audio delay =
16619
   INFO: [mplex] New sequence commences...
   INFO: [mplex] Audio bd: buf=  59392 frame=000000 sector=00000000
   INFO: [mplex] Video e0: buf= 237568 frame=000000 sector=00000000
   INFO: [mplex] Scanned to end AU 72250
   INFO: [mplex] STREAM bd completed @ frame 1734023.
   INFO: [mplex] STREAM e0 completed @ frame 72250.
   INFO: [mplex] Multiplex completion at SCR=260095414.
   INFO: [mplex] Audio bd: buf=   6272 frame=1734023 sector=00276339
   INFO: [mplex] Video e0: buf=  38162 frame=072250 sector=01282262
   INFO: [mplex] AUDIO_STATISTICS: bd
   INFO: [mplex] Audio stream length 554887680 bytes.
   INFO: [mplex] Frames         :  1734023 
   INFO: [mplex] BUFFERING min 32 Buf max 23544
   INFO: [mplex] VIDEO_STATISTICS: e0
   INFO: [mplex] Video Stream length:  2591624407 bytes
   INFO: [mplex] Sequence headers:     4849
   INFO: [mplex] Sequence ends   :        1
   INFO: [mplex] No. Pictures    :    72250
   INFO: [mplex] No. Groups      :     4849
   INFO: [mplex] No. I Frames    :     4849 avg. size 55408 bytes
   INFO: [mplex] No. P Frames    :    67402 avg. size 34464 bytes
   INFO: [mplex] No. B Frames    :        0 avg. size     0 bytes
   INFO: [mplex] Average bit-rate :  7173600 bits/sec
   INFO: [mplex] Peak bit-rate    :  8804400  bits/sec
   INFO: [mplex] BUFFERING min 15 Buf max 139661
   INFO: [mplex] MUX STATUS: no under-runs detected.

So peak bit-rate is OK.

Oliver


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to