GNOME Bugzilla – Bug 561580
GStreamer does not play a specific WAV file
Last modified: 2009-01-23 08:36:45 UTC
Please describe the problem: This problem is evident using Brasero and Rhythmbox under Ubuntu Intrepid, recently updated and was reported as https://bugs.launchpad.net/ubuntu/+source/gst-plugins-good0.10/+bug/298939, initially against Brasero, then changed to gst-plugins-good0.10 The WAV file attached to that bug report (8s, 1.5 MBytes) does not play in Rhythmbox. Brasero cannot read the duration of the audio. However, Totem-xine and ffmpeg both process the file correctly. Steps to reproduce: 1. Create a new audio CD project using Brasero 2. Add the WAV file to the project Actual results: 3. Brasero reports 'Track will be padded at its end. the track is shorted than 6 seconds' Expected results: Brasero should add an 8s track to the project Does this happen every time? Yes Other information: Both ffmpeg and Totem-xine can process this WAV file correctly.
I tried to attach the file here, but bugzilla prevents a file of more than 1M. Please retrieve the faulty file from launchpad https://bugs.launchpad.net/ubuntu/+source/gst-plugins-good0.10/+bug/298939
* gst/wavparse/gstwavparse.c: (uint64_ceiling_scale_int), (uint64_ceiling_scale), (gst_wavparse_calculate_duration), (gst_wavparse_stream_headers): Fix the scaling code. Fix parsing of the INFO chunks, we were reading the wrong number of bytes. Fixes #561580.
*** Bug 565094 has been marked as a duplicate of this bug. ***
*** Bug 565734 has been marked as a duplicate of this bug. ***