After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 340698 - oggdemux does not support Ogg FLAC streams
oggdemux does not support Ogg FLAC streams
Status: RESOLVED DUPLICATE of bug 340492
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal major
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-05-05 03:40 UTC by Артём Попов
Modified: 2006-05-05 11:31 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Артём Попов 2006-05-05 03:40:33 UTC
The oggdemux element does not seem to support Ogg FLAC streams (when FLAC is using Ogg as transport layer; created with "flac --ogg file.wav" command).

To illustrate the correct behaviour, this is the output of gst-launch for an Ogg Vorbis file:

$ gst-launch-0.10 --gst-debug-level=3 filesrc location=credits.ogg ! oggdemux name=demux demux. ! vorbisdec ! audioconvert ! alsasink 2>&1 | grep "gst_element_add_pad:<demux>"

INFO  (0x810d558 - 0:00:00.235063000)     GST_ELEMENT_PADS(22173) gstelement.c(602):gst_element_add_pad:<demux> adding pad 'serial_00007d08'




This is the output of gst-launch for an Ogg Theora file:

$ gst-launch-0.10 --gst-debug-level=3 filesrc location=sabrina.ogg ! oggdemux name=demux demux. ! theoradec ! ffmpegcolorspace ! xvimagesink 2>&1 | grep "gst_element_add_pad:<demux>"

INFO  (0x810be18 - 0:00:00.302831000)     GST_ELEMENT_PADS(22424) gstelement.c(602):gst_element_add_pad:<demux> adding pad 'serial_7b00837e'
INFO  (0x810be18 - 0:00:00.303493000)     GST_ELEMENT_PADS(22424) gstelement.c(602):gst_element_add_pad:<demux> adding pad 'serial_59eeb9e4'




And the gst-launch command for an Ogg FLAC file:

$ gst-launch-0.10 --gst-debug-level=3 filesrc location=track02.cdda.ogg ! oggdemux name=demux demux. ! flacdec ! audioconvert ! alsasink 2>&1 | grep "gst_element_add_pad:<demux>"

Does not produce any output, what can only mean that the src (output) pad is not created.
Comment 1 Tim-Philipp Müller 2006-05-05 08:37:26 UTC
This won't work yet, because flacdec only works pull-based at the moment, but it needs to be made to work chain-based as well, which is bug #340492.


(If there is actually a problem in oggdemux as well I haven't checked)
Comment 2 Tim-Philipp Müller 2006-05-05 11:31:14 UTC
This pipeline works for me, so I don't think oggdemux fails to create the pad:

 $ gst-launch-0.10 filesrc location=~/samples/ogg-flac/Yesterday.ogg ! oggdemux name=d  d. ! audio/x-flac ! fakesink

There's a warning about the segment though and the buffers aren't timestamped, but that's because flacdec doesn't implement a query function on the sink pad yet, I believe.

Closing as duplicate of bug #340492


*** This bug has been marked as a duplicate of 340492 ***