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 337183 - [matroska] "caps not real subset" when playing audio files
[matroska] "caps not real subset" when playing audio files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.2
Other All
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-04 13:13 UTC by noa
Modified: 2006-04-10 15:42 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
small (5sec) ogg vorbis in matroska (free license, redistributable) (61.03 KB, application/octet-stream)
2006-04-04 13:15 UTC, noa
Details

Description noa 2006-04-04 13:13:32 UTC
Please describe the problem:
Trying to playback matroska files with audio result in a warning and no sound in
totem and with the playbin. Video on the other hand works with the playbin (and
totem).

Steps to reproduce:
1. pull the attached test.mkv (5 second ogg vorbis stream in matroska)
2. play it with "gst-launch playbin uri=file:///home/noa/slask/test.mkv"



Actual results:
no audio, but instead this this message: 
(gst-launch-0.10:21350): GStreamer-WARNING **: pad matroskademux0:audio_00
returned caps that are not a real subset of its template caps


Expected results:
audio

Does this happen every time?
yup

Other information:
playing the .ogg file (before mkvmerge) works. The same problem is reproducible
with mp3 indata (raw .mp3 works, after merging the audio into .mkv the above
error message and no sound)

vanilla Fedora Core 5 system, gstreamer-0.10.4-1, gstreamer-plugins-good-0.10.2-1
Comment 1 noa 2006-04-04 13:15:47 UTC
Created attachment 62735 [details]
small (5sec) ogg vorbis in matroska (free license, redistributable)
Comment 2 Tim-Philipp Müller 2006-04-04 14:45:52 UTC
Confirmed, seen it before. I've got a patch for that somewhere locally (that needs some cleaning up).
Comment 3 noa 2006-04-04 20:12:40 UTC
Nice. I'm interested in testing anything you might have :)
Comment 4 Tim-Philipp Müller 2006-04-10 15:42:35 UTC
Should be fixed in -good CVS:

 2006-04-10  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/matroska/matroska-demux.c: (gst_matroska_demux_base_init),
        (gst_matroska_demux_handle_seek_event),
        (gst_matroska_demux_video_caps), (gst_matroska_demux_audio_caps),
        (gst_matroska_demux_subtitle_caps),
        (gst_matroska_demux_plugin_init):
          Use static pad templates with ANY caps for audio and video
          source pads and get rid of a lot of unnecessary (and partially
          broken) code for the template caps. Clean up caps finding
          functions. Fixes playback of audio files/streams that do not
          contain the sample rate and/or number of channels in the audio
          context (happens a lot with vorbis/mp3 .mka files it seems).
          Fixes #337183.
          Also add myself to copyright holders.