[MPlayer-dev-eng] RE: sound being fastforwarded 3 times as fast as the fastforwarding of the video

Joris Beugnies joris.beugnies at pandora.be
Tue Nov 6 02:14:25 CET 2001


....

hmm. this vbr audio header is broken:

>/ ======= STREAM Header =======
/>/ Type: auds   FCC:  (0)
/>/ Flags: 0
/>/ Priority: 0   Language: 0
/>/ InitialFrames: 1
/>/ Rate: 48000/1152 = 41.667
/  ^^^^^^^^^^^^^^^^^ it is vbr mp3, ok

>/ Start: 0   Len: 72759
/>/ Suggested BufferSize: 6912
/>/ Quality -1
/>/ Sample size: 1152
/               ^^^^-- should be 0 to work...

this file is simply broken. very broken. hack with hexeditor...

-> i couldn't do the hexfix in the file since it was on readonly in my
case but I forced the value in the code to zero and it works :-)

just 2 small additional questions : 

1)  The rate line in the header tells you its vbr mp3, while
    the check in the code is on the sample size. Would it be a correct fix to 
    check for this rate iso the samplesize in the code ?

2) Any known header validation software or intents to implement this kind of logic 
   in the player.. at least some major warnings about header inconsitency before  
   attempting to play the file ? (something like the warning in configure about the gcc stuff ;-) )
   It could save you from people(like me) nagging about their files not being played
   correctly. (If you're to busy or have other priorities, maybe you could propose it to someone
   having the knowledge for doing it?)

  







More information about the MPlayer-dev-eng mailing list