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 589031 - Large timeout for stream
Large timeout for stream
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.22
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-19 15:10 UTC by søren hauberg
Modified: 2010-03-05 23:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description søren hauberg 2009-07-19 15:10:58 UTC
Please describe the problem:
When playing streams from the "Danmarks Radio" (the Danish National Radio,
which is the largest radio and television producer in Denmark), I have to wait
quite a while (several minutes) before the stream starts playing. When using
'mplayer' I don't get this wait. Examples of two streams that causes me trouble
is

 
mms://odc1.dr.dk/storage/auto/cms/Resources/dr.dk/NETTV/Update/2009/07/e1410883-866a-4dd7-9326-ccc8154c2aec/0f78d1b4-15bd-4fde-92db-0985086d1e70.wmv?WMContentBitrate=1024000

  http://wmscr1.dr.dk/e02ch01m


Steps to reproduce:
1. totem http://wmscr1.dr.dk/e02ch01m
2. At this point you get to wait for a long time.


Actual results:
You get to wait for a long time.

Expected results:
Streaming should start within a couple of seconds

Does this happen every time?
Yes

Other information:
Comment 1 Edward Hervey 2009-07-20 06:59:09 UTC
Plays instantly for me with gstreamer git. What version of gst-plugins-ugly do you have installed on your system ? There has been quite a lot of fixes in asfdemux over the past 2 months.
Comment 2 søren hauberg 2009-07-20 07:06:22 UTC
It seems I have version 0.10.10 installed. It sounds like the problems has been fixed in more recent versions, which is very nice. Thanks.

I've closed the bug; I'll reopen if the problem still appears in whatever version comes with the next Ubuntu.
Comment 3 Stefan Sauer (gstreamer, gtkdoc dev) 2009-07-22 08:37:43 UTC
Søren, in the meantime you can use this repository for ubuntu:
https://launchpad.net/~gstreamer-developers/+archive/ppa
Comment 4 søren hauberg 2009-07-23 11:11:20 UTC
Thanks Stefan, I'm now using this PPA, which gives me version 0.10.12 of 'ugly'. However, this does _not_ fix the problem I am seeing.

If I do

  totem http://wmscr1.dr.dk/e02ch01m

I get the following output to the terminal:

  /var/lib/python-support/python2.6/gdata/tlslite/utils/cryptomath.py:9: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
  ** Message: no file info
  ** Message: Error: Kunne ikke skrive til ressource.
  gstrtspsrc.c(4294): gst_rtspsrc_setup_streams (): /GstPlayBin:play/GstRTSPSrc:source:
  Error (459): Aggregate operation not allowed

and in totem I am presented with a dialog saying 'could not write to resource' (rough translation from Danish).

If, however, I run

  mplayer http://wmscr1.dr.dk/e02ch01m

press CTRL-C when the streaming starts, and then try with totem, the streaming works fine. 
Comment 5 Tim-Philipp Müller 2009-07-23 11:27:12 UTC
Could you do:

  wget http://wmscr1.dr.dk/e02ch01m

and paste the output of what you get there?

For me with gstreamer/totem form git this starts playing in about 7 seconds, including totem startup, and of that ca. 4 seconds are spent waiting for the server to respond.

I'm curious why you get an rtsp error here. I get a playlist that points to mmsh:// streams.
Comment 6 søren hauberg 2009-07-23 11:44:09 UTC
The 'wget' command gives the following output (not sure if you wanted this as well)

  --2009-07-23 13:32:03--  http://wmscr1.dr.dk/e02ch01m
  Resolving wmscr1.dr.dk... 195.137.195.7
  Connecting to wmscr1.dr.dk|195.137.195.7|:80... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 113 [video/x-ms-asf]
  Saving to: `e02ch01m'
  
  100%[======================================>] 113         --.-K/s   in 0s      
  
  2009-07-23 13:32:03 (5.53 MB/s) - `e02ch01m' saved [113/113]

The 'e02ch01m' file contains the following:


  [Reference]
  Ref1=http://wmscr1.dr.dk/e02ch01m?MSWMExt=.asf
  Ref2=http://172.18.200.12:80/e02ch01m?MSWMExt=.asf
Comment 7 Edward Hervey 2010-03-03 18:16:04 UTC
Seems fixed. søren can you confirm with works fine with latest gstreamer + plugins ?
Comment 8 søren hauberg 2010-03-04 00:29:20 UTC
The original report mentioned two streams:

  mms://odc1.dr.dk/storage/auto/cms/Resources/dr.dk/NETTV/Update/2009/07/e1410883-866a-4dd7-9326-ccc8154c2aec/0f78d1b4-15bd-4fde-92db-0985086d1e70.wmv?WMContentBitrate=1024000

and

  http://wmscr1.dr.dk/e02ch01m

The latter works just fine now. The first seems to have been removed, so I cannot test this anymore. I'll mark this bug as fixed.

Thanks,
Søren
Comment 9 Tim-Philipp Müller 2010-03-05 23:51:17 UTC
(Marking as OBSOLETE since we don't really know for sure what fixed it when in which module.)