[MPlayer-users] How to correct samplerate of mp3 stream in avi?

Nico nsabbi at libero.it
Tue Oct 7 16:39:49 CEST 2003


you need to remove the first 4 bytes of the dump to obtain the *real* 
stream,
or you can apply a patch that I posted 1 or 2 months ago ("hopefully 
better dump...")
which was ignored

rgselk wrote:

>
>
>In the attached (edited) log I see a 'Samplerate: 48000' in the STREAM
>header / WAVE Format. mp3lib/sr1.c prints '32000 Hz'.
>I tried mplayer -dumpaudio, but that did not result in a mp3 file at
>all. The first 996 bytes of the resulting stream.dump are zero. :-(
>
>It seems the avi header is correct in this case and not the mp3
>header...
>
>BTW: I used the attached patch to mplayer.c to be able to really
>override the used samplerate. Maybe it is usefull for other people as
>well?
>Before I had to use '-fps 16 -speed 1.5' to get a watchable movie.
>
>Regards,
>  rgselk.
>
>  
>
>




More information about the MPlayer-users mailing list