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 303153 - [asfdemux] gstreamer won't play asf http stream
[asfdemux] gstreamer won't play asf http stream
Status: RESOLVED DUPLICATE of bug 336097
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.2
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 335762 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-05-05 17:33 UTC by Derek Dolney
Modified: 2006-03-27 16:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12



Description Derek Dolney 2005-05-05 17:33:51 UTC
Version details: gstreamer-0.8.10, gst-plugins-0.8.8
Distribution/Version: Gentoo

gst-launch-0.8 gnomevfssrc
location=http://ccri.eonstreams.com/ccri_tx_houston_kprc_am.asf ! asfdemux !
ffdec_wmav2 ! audioconvert ! alsasink device=hw:0,0

It says "RUNNING pipeline", but quickly dies with "Execution ended after 6
iterations".

I can play this stream with mplayer. I can also play a local .asf file using
gst-launch and the above pipeline.
Comment 1 Ronald Bultje 2005-05-05 17:58:08 UTC
I'm almost certain this is fixed in CVS.
Comment 2 Derek Dolney 2005-05-05 18:36:01 UTC
I tried to build from CVS sources. I built gstreamer successfully, but the
gst-plugins configure could not find pkgconfig info for gstreamer-interfaces. It
seems to be an autogen/configure problem with gst-plugins, because
gstreamer-interfaces.pc.in is in gst-plugins/pkgconfig, but it doesn't get
version strings substituted into it and such.

Nevertheless, if you have a CVS build, please just run the above command for me
and tell me what happens.
Comment 3 Ronald Bultje 2005-05-06 08:16:47 UTC
LOG   (0x947b948 - 309824:15:47.379099000)        asfdemux(18830)
gstasfdemux.c(1738):gst_asf_demux_identify_guid:<asfdemux0> identifying
0x6665525b/0x6e657265/0x0d5d6563/0x6665520a
WARN  (0x947b948 - 309824:15:47.379352000)        asfdemux(18830)
gstasfdemux.c(1229):_read_object_header:<asfdemux0> Could not identify object
(0x6665525b/0x6e657265/0x0d5d6563/0x6665520a) with size=3403156113903336753
INFO  (0x947b948 - 309824:15:47.379471000)        asfdemux(18830)
gstasfdemux.c(1251):gst_asf_demux_process_object: Found object 0 with size
3403156113903336753INFO  (0x947b948 - 309824:15:47.379596000)       
asfdemux(18830) gstasfdemux.c(1205):gst_asf_demux_skip_object: Skipping object...
LOG   (0x947b948 - 309824:15:47.379958000)        asfdemux(18830)
gstasfdemux.c(1738):gst_asf_demux_identify_guid:<asfdemux0> identifying
0x7263632f/0x6f652e69/0x7274736e/0x736d6165
WARN  (0x947b948 - 309824:15:47.380077000)        asfdemux(18830)
gstasfdemux.c(1229):_read_object_header:<asfdemux0> Could not identify object
(0x7263632f/0x6f652e69/0x7274736e/0x736d6165) with size=8242540798368768814
INFO  (0x947b948 - 309824:15:47.380191000)        asfdemux(18830)
gstasfdemux.c(1251):gst_asf_demux_process_object: Found object 0 with size
8242540798368768814INFO  (0x947b948 - 309824:15:47.380292000)       
asfdemux(18830) gstasfdemux.c(1205):gst_asf_demux_skip_object: Skipping object...
LOG   (0x947b948 - 309824:15:47.380521000)        asfdemux(18830)
gstasfdemux.c(1738):gst_asf_demux_identify_guid:<asfdemux0> identifying
0x78745f69/0x756f685f/0x6e6f7473/0x72706b5f
WARN  (0x947b948 - 309824:15:47.380665000)        asfdemux(18830)
gstasfdemux.c(1229):_read_object_header:<asfdemux0> Could not identify object
(0x78745f69/0x756f685f/0x6e6f7473/0x72706b5f) with size=7382351066221862755
INFO  (0x947b948 - 309824:15:47.380779000)        asfdemux(18830)
gstasfdemux.c(1251):gst_asf_demux_process_object: Found object 0 with size
7382351066221862755INFO  (0x947b948 - 309824:15:47.380879000)       
asfdemux(18830) gstasfdemux.c(1205):gst_asf_demux_skip_object: Skipping object...
LOG   (0x947b948 - 309824:15:47.381107000)        asfdemux(18830)
gstasfdemux.c(1738):gst_asf_demux_identify_guid:<asfdemux0> identifying
0x65520a0d/0x683d3266/0x3a707474/0x36362f2f
WARN  (0x947b948 - 309824:15:47.381225000)        asfdemux(18830)
gstasfdemux.c(1229):_read_object_header:<asfdemux0> Could not identify object
(0x65520a0d/0x683d3266/0x3a707474/0x36362f2f) with size=3329347795562082862
INFO  (0x947b948 - 309824:15:47.381338000)        asfdemux(18830)
gstasfdemux.c(1251):gst_asf_demux_process_object: Found object 0 with size
3329347795562082862INFO  (0x947b948 - 309824:15:47.381439000)       
asfdemux(18830) gstasfdemux.c(1205):gst_asf_demux_skip_object: Skipping object...
LOG   (0x947b948 - 309824:15:47.381692000)        asfdemux(18830)
gstasfdemux.c(1738):gst_asf_demux_identify_guid:<asfdemux0> identifying
0x383a3133/0x63632f30/0x745f6972/0x6f685f78
WARN  (0x947b948 - 309824:15:47.381810000)        asfdemux(18830)
gstasfdemux.c(1229):_read_object_header:<asfdemux0> Could not identify object
(0x383a3133/0x63632f30/0x745f6972/0x6f685f78) with size=8100673282676913013
INFO  (0x947b948 - 309824:15:47.381924000)        asfdemux(18830)
gstasfdemux.c(1251):gst_asf_demux_process_object: Found object 0 with size
8100673282676913013INFO  (0x947b948 - 309824:15:47.382023000)       
asfdemux(18830) gstasfdemux.c(1205):gst_asf_demux_skip_object: Skipping object...

So we are missing some object, apparently. It's not fixed yet...
Comment 4 Edward Hervey 2006-02-17 10:12:33 UTC
Derek, do you still get this issue with 0.10 ? Those streams are not available anymore btw.
Comment 5 Derek Dolney 2006-03-02 22:44:33 UTC
Still an issue. I now have gstreamer-0.10.3, gst-plugins-base-0.10.3, gst-plugins-good-0.10.2, gst-plugins-ugly-0.10.2, and gst-plugins-ffmpeg-0.10.0.

This works:

--------------------------------------------
mplayer -cache 128 http://a1292.l2009841837.c20098.g.lm.akamaistream.net/D/1292/20098/v0001/reflector:41837

...
[Selected audio codec: [ffwmav2] afm:ffmpeg (DivX audio v2 (FFmpeg))]
...
--------------------------------------------

But gst does not:

--------------------------------------------
gst-launch-0.10 gnomevfssrc location=http://a1292.l2009841837.c20098.g.lm.akamaistream.net/D/1292/20098/v0001/reflector:41837 ! asfdemux ! ffdec_wmav2 ! audioconvert ! audioresample ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(stays here forever)
--------------------------------------------

Playing a local .asf does work:

--------------------------------------------
gst-launch-0.10 gnomevfssrc location=sample.asf ! asfdemux ! ffdec_wmav2 ! audioconvert ! audioresample ! alsasink
--------------------------------------------

Also, mp3 streams do work:

--------------------------------------------
gst-launch-0.10 gnomevfssrc location=http://abcrad.ic.llnwd.net/stream/abcrad_hannity_lo ! decodebin ! audioconvert ! audioresample ! alsasink
--------------------------------------------

Let me know if I can give you anymore info. I updated my email address here, so I should reply faster next time.

Yeah, the stream name changed. ;)
Comment 6 Tim-Philipp Müller 2006-03-14 16:29:37 UTC
These reflectors return playlists with new links, you can't feed those to asfdemux . Mplayer will parse the playlist automatically (just like totem should really). At the end you should probably end up with something like

 gst-launch-0.10. mmssrc location="mms://...." ! asfdemux ! ...

That should work.
Comment 7 Derek Dolney 2006-03-15 23:19:42 UTC
Using mmssrc seems to get me closer:

gst-launch-0.10 mmssrc location=mms://a1292.l2009841837.c20098.g.lm.akamaistream.net/D/1292/20098/v0001/reflector:41837 ! asfdemux ! ffdec_wmav2 ! audioconvert ! audioresample ! alsasink
Setting pipeline to PAUSED ...
Could not read packet header: Success
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: audioclock0

Still, nothing plays.

Am I supposed to use something else for mms://...? mplayer seems to eventually resolve this link: a1292.l2009841837.c20098.g.lm.akamaistream.net[69.45.64.158]: 80, but I get segfaults (with :80) or nothing (without) if I try that.
Comment 8 Tim-Philipp Müller 2006-03-16 00:16:54 UTC
I appears to be a bug in asfdemux - it doesn't get the initial timestamp (or the intial newsegment event) right:

/pipeline0/fakesink1: last-message = "event   ******* E (type: 102, GstEventNewsegment, update=(boolean)false, rate=(double)1, format=(GstFormat)GST_FORMAT_TIME, start=(gint64)0, stop=(gint64)-1, position=(gint64)0) 0x81080f0"
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/fakesink1: last-message = "chain   ******* < (28672 bytes, timestamp: 655:28:56.459000000, duration: 0:00:00.325079365, offset: -1, offset_end: -1, flags: 0) 0x8130158"

Comment 9 Tim-Philipp Müller 2006-03-24 11:13:03 UTC
*** Bug 335762 has been marked as a duplicate of this bug. ***
Comment 10 Tim-Philipp Müller 2006-03-27 10:45:14 UTC
This is fixed in CVS now (works for me at least).


*** This bug has been marked as a duplicate of 336097 ***
Comment 11 Daniel Rogers 2006-03-27 16:11:05 UTC
Is there a patch date for this?  I'd like to create a patch for this fix, so it can be incorporated into FC 5 rpms.
Comment 12 Tim-Philipp Müller 2006-03-27 16:27:59 UTC
Yes, of course. You can find the patch in bug #336097  (you might also want the patch from bug #332796 if you don't have it yet)