GNOME Bugzilla – Bug 386129
[mmssrc] allmusic.tv mms stream sometimes errors out, sometimes just doesn't output anything
Last modified: 2009-04-21 14:44:30 UTC
Hi, the mmsh stream on http://www.allmusic.tv/streaming.asp (i.e. mmsh://live.mediaserver.kataweb.it/retea when looking at the page sources) does not play with latest gstreamer. Sometimes totem errors out with: Totem could not play 'mmsh://live.mediaserver.kataweb.it/retea?MSWMExt=.asf'. Could not open location; You may not have permission to open the file. Other times it streams something, detects codecs correctly (sidebar in totem) and "plays" silence and no video. Mplayer OTOH plays at least sound here on the same stream. This can be easily reproduced here thus I won't append GST_DEBUG=5 output, or gst-launch-0.10 -v output. If someone needs it nonetheless just tell me :) Below is just the output with GST_DEBUG=mmssrc:5 which probably already points to the problem... all buffers have the same negative offset. Bye GST_DEBUG=mmssrc:5 gst-launch-0.10 playbin uri=mmsh://live.mediaserver.kataweb.it/retea Setting pipeline to PAUSED ... 0:00:00.281846000 9534 0x1001ae50 DEBUG mmssrc gstmms.c:289:gst_mms_start:<source> Trying mms_connect (mmsh://live.mediaserver.kataweb.it/retea) 0:00:00.282276000 9534 0x1001ae50 DEBUG mmssrc gstmms.c:294:gst_mms_start:<source> Trying mmsh_connect (mmsh://live.mediaserver.kataweb.it/retea) 0:00:01.867946000 9534 0x1001ae50 DEBUG mmssrc gstmms.c:303:gst_mms_start:<source> Connect successful Pipeline is PREROLLING ... 0:00:01.871448000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:01.871665000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:01.884643000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:01.884979000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:02.400634000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:02.401225000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:02.401453000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:02.401594000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:02.415146000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:02.415388000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:02.417705000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:03.067301000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:03.069972000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:03.070112000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:03.070253000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:03.075917000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:03.080007000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:03.080177000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:03.082445000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:03.082575000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:03.082708000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:04.042996000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:04.045635000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:04.316962000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:04.317433000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:04.317486000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:04.317553000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:04.317602000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:04.317705000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:04.317745000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:04.317835000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:05.262061000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.262427000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:05.262478000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.262570000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes Pipeline is PREROLLED ... Setting pipeline to PLAYING ... 0:00:05.274791000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.275091000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:05.275157000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.275269000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:05.275329000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.275388000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:05.279072000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:05.279287000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:06.713671000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:06.713996000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes 0:00:06.722503000 9534 0x100dd680 DEBUG mmssrc gstmms.c:263:gst_mms_create: Returning buffer with offset -2048 and size 2048 0:00:06.722678000 9534 0x100dd680 DEBUG mmssrc gstmms.c:242:gst_mms_create: reading 2048 bytes [...]
This is with core/base 0.10.11, good 0.10.4, ugly 0.10.5, ffmpeg 0.10.2. bad is a CVS snapshot from 20060918. Ubuntu bug: https://launchpad.net/distros/ubuntu/+source/gstreamer0.10/+bug/46217
*** Bug 427353 has been marked as a duplicate of this bug. ***
I've been looking into this, this is not a mmssrc problem (atleast not anymore when using libmms-0.4). Things go wrong in asfdemux and / or ffmpeg. I've seen 2 problems: -certain video data packets pushed from asfdemux to ffmpeg_wmv3 do not contain a timestamp -sometimes ffmpeg_wmv3 fills in a duration of 99:99:99.99999 for the decoded video buffers it pushes further upstream.
Ok, bug is still there but URL changed :) http://www.allmusic.tv/allmusic/streaming Did someone look at asfdemux and why it's broken? ;)
They seem to have switched to http:// instead of mms:// ... and it plays fine with playbin2. I'm watching it right now without any issues using totem git's browser plugin. Marking as a duplicate of the upstream totem/playbin2 bug. *** This bug has been marked as a duplicate of 542663 ***
Actually... that http file contains the location of the mmsh streams. Doesn't change the fact that it works fine now :)