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 343763 - [asfdemux] broken audio and unrecognised 2nd audio stream
[asfdemux] broken audio and unrecognised 2nd audio stream
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.x
Other All
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-03 12:10 UTC by Young-Ho Cha
Modified: 2006-07-14 13:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Young-Ho Cha 2006-06-03 12:10:31 UTC
Please describe the problem:
when play some wmv file, occurs frame-drop so much.

I'll link sample media file.

Steps to reproduce:
1. play with "gst-launch playbin uri=file://$PWD/sample.wmv"


Actual results:
play with much frame-drop and broken sound.

Expected results:
run smoothly.

Does this happen every time?
yes.

Other information:
When play with mplayer, It can run smoothly.

and with mplayer -v option, file has two audio streams, but it seems gstreamer asfdemux element can't detect
Comment 1 Young-Ho Cha 2006-06-03 12:11:33 UTC
You can sample media at http://ftp.mizi.com/~ganadist/sample.wmv
Comment 2 Tim-Philipp Müller 2006-07-08 20:32:26 UTC
Broken sound fixed in CVS:

 2006-07-08  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_process_chunk):
          Skip chunks for unknown streams properly. Fixes broken sound
          and/or video for files that have additional streams that
          we don't recognise yet (e.g. if they are embedded in extended
          stream properties). Partly fixes #343763.


We still don't recognise the second 'hidden' audio stream that's only announced in the extended streams properties object though. Keeping bug open for that.
Comment 3 Tim-Philipp Müller 2006-07-14 13:12:37 UTC
The second audio stream shuold be recognised now as well:

 2006-07-14  Tim-Philipp Müller  <tim at centricular dot net>

        * gst/asfdemux/asfheaders.h:
        * gst/asfdemux/gstasfdemux.c: (gst_asf_demux_get_obj_stream),
        (gst_asf_demux_process_stream),
        (gst_asf_demux_process_language_list),
        (gst_asf_demux_process_ext_stream_props),
        (gst_asf_demux_process_queued_extended_stream_objects),
        (gst_asf_demux_process_object), (gst_asf_demux_change_state):
        * gst/asfdemux/gstasfdemux.h:
          Parse extended stream properties objects and stream objects
          hidden inside them (but delay creation of the appropriate
          pads until after all the 'normal' stream objects have been
          dealt with) (#343763). Also parse language list object.