GNOME Bugzilla – Bug 542410
qtdemux not recognizing pcm 8bit streams correctly
Last modified: 2008-07-10 20:50:30 UTC
Please describe the problem: When streaming a qt file with 8bit pcm audio (signed=true and with audio fourcc code 'twos') through qtdemux, it recognizes it as pcm 16bits, messing the audio output Steps to reproduce: 1. Get an qt file with pcm signed 8bit audio and 'twos' fourcc code for audio (this can be done using qtmux element, for instance) 2. Try to demux and play the qt file 3. Actual results: The audio output is wrong Expected results: The qtdemux should recognize it as an 8bit pcm stream Does this happen every time? Yes Other information:
The same file plays on mplayer and vlc correctly. Also qtinfo from quicktime-utils package shows that it is a 8bit pcm audio.
Created attachment 114345 [details] [review] fixes it. This patch fixes it (according to qtff spec).
Thanks! 2008-07-10 Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Patch by: Thiago Sousa Santos <thiagoss at lcc dot ufcg dot edu dot br> * gst/qtdemux/qtdemux.c: (qtdemux_audio_caps): Correctly distinguish 8bit vs 16bit raw audio. Fixes #542410.