[BUG] in MPEG player in 3.6

Ned Konz ned at bike-nomad.com
Wed Apr 14 18:47:23 UTC 2004


On Tuesday 13 April 2004 10:12 pm, Ned Konz wrote:
> On Tuesday 13 April 2004 9:32 pm, John M McIntosh wrote:
> > So which plugin (machine type) and plugin version is this with?
>
> Ah yes... it probably doesn't mean anything, but the percentage at which
> the video stopped (83.4%) happens to be equal to (25/29.97), or (PAL/NTSC).
> Most likely just an odd coincidence. No one would hard-code frame rates,
> right?

OK... it seems to be dependent on the audio sample rate. It works with 48000 
bps with either 23.976 or 29.97 frames per second, and doesn't work with 
44100 bps and 29.97 fps. I haven't tested other combinations.

I made a couple of test files. They both worked OK. They were:

$ tcprobe -i test24.mpg
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test24.mpg, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 29.970 [25.000] frc=4 (*)
                   PTS=0.8477, frame_time=33 ms, bitrate=1800 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   PTS=0.8477, bitrate=128 kbps
                   -D 0 --av_fine_ms 0 (frames & ms) [0] [0]


$ tcprobe -i test30.mpg
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for test30.mpg, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 29.970 [25.000] frc=4 (*)
                   PTS=0.1780, frame_time=33 ms, bitrate=1800 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   PTS=0.1780, bitrate=128 kbps
                   -D 0 --av_fine_ms 0 (frames & ms) [0] [0]


The one I reported above that stopped at 83.4% had a 44100 bps audio track:

import frame size: -g 352x240 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 29.970 [25.000] frc=4 (*)
                   PTS=14292.9438, frame_time=33 ms, bitrate=1152 kbps
      audio track: -a 0 [0] -e 44100,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   bitrate=224 kbps

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list