GNOME Bugzilla – Bug 311070
wavparse returns caps not in template
Last modified: 2005-07-22 13:34:35 UTC
Distribution/Version: Fedora Core/4 gst-launch filesrc location=test.wav ! wavparse ! audioconvert ! wavenc ! fakesrc Run the above command line where "test.wav" is a 24-bit WAV file and wavparse reports the caps correctly, but they are outside the { 8, 16 } allowed for depth and width in the caps template so it fails with an error.
Can you attach a sample for testing?
Created attachment 49520 [details] 1.5 seconds of 24-bit 48000Hz wav file The attached file orignally came from http://www.archive.org/audio/etree-details-db.php?id=27237 in FLAC. I decoded it using the standalone decoder as the FLAC plugin suffers from a similar 24-bit issue and then snipped it to a reasonable size for attaching. It's the first 1.5 seconds of the first track. I'll file a bug for the flacdec plugin as well.
2005-07-22 Ronald S. Bultje <rbultje@ronald.bitfreak.net> * gst-libs/gst/riff/riff-media.c: (gst_riff_create_audio_caps_with_data): * gst/wavparse/gstwavparse.c: (gst_wavparse_loop): Allow 24/32-bpp songs, too, and blockalign samples to the header-specified size (if any). Fixes #311070.