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 597695 - [udpsrc] support VLC-style udp://@239.255.11.11:1234 uri with bind address
[udpsrc] support VLC-style udp://@239.255.11.11:1234 uri with bind address
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.16
Other Linux
: Normal enhancement
: 0.10.24
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-07 14:50 UTC by kovariadam
Modified: 2010-06-18 15:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description kovariadam 2009-10-07 14:50:10 UTC
[adam@a04-0717b Plocha]$ LANG=en_US gst-launch playbin2 uri="udp://@239.255.11.11:1234"
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstUDPSrc:source: Could not get/set settings from/on resource.
Additional debug info:
gstudpsrc.c(922): gst_udpsrc_start (): /GstPlayBin2:playbin20/GstURIDecodeBin:uridecodebin0/GstUDPSrc:source:
getaddrinfo failed: Name or service not known (-2)
Setting pipeline to NULL ...
Freeing pipeline ...

The streams should be encoded in MPEG-2/MPEG-4 and audio in MPEG/AAC

Fedora 11 x86_64, gstreamer-plugins-good-0.10.16-1.fc11.x86_64
Comment 1 Jan Schmidt 2009-10-07 15:11:13 UTC
Have you tried without the pointless '@' in the URL? udpsrc doesn't support that syntax.
Comment 2 kovariadam 2009-10-07 15:15:21 UTC
Thank you, i removed it and it's working. Maybe, however, this format of playlist should be supported.
Comment 3 Jan Schmidt 2009-10-07 15:23:56 UTC
*shrug* Where does such a URI come from?
Comment 4 kovariadam 2009-10-07 15:32:58 UTC
Well, i'm not sure it's official VLC's syntax, but VLC certainly supports it. I will ask my IPTV provider, why do they provide this kind of playlist.
Comment 5 kovariadam 2009-10-07 15:37:10 UTC
I'm sorry, i didn't try first, VLC doesn't even play it when i removed the '@', so i guess VLC needs it.
Comment 6 Jan Schmidt 2009-10-08 08:48:20 UTC
vlc does:
  /* Parse psz_name syntax :
   * [serveraddr[:serverport]][@[bindaddr]:[bindport]] */

Where the serveraddr:serverport are used as arguments to connect()
Comment 7 kovariadam 2009-10-08 09:04:56 UTC
[serveraddr[:serverport]] seem to be optional, what if the are empty and only [@[bindaddr]:[bindport]] are set? It's this case, maybe it should use them instead of nothing or whatever it uses now.
Comment 8 Tim-Philipp Müller 2010-03-23 19:34:08 UTC
Well, I guess I can confirm that we don't support that at the moment. Marking as enhancement, however.
Comment 9 Wim Taymans 2010-06-18 14:18:43 UTC
commit e25cdc31d30d5bade601fcc662cecb3f2e707e78
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Fri Jun 18 16:16:28 2010 +0200

    udp: make url parsing compatible with VLC syntax
    
    Skip everything before the @ sign in the url location. VLC uses that as the
    remote address to connect to (but we ignore it for now). This makes our udp urls
    compatible with the ones used by VLC.
    
    Fixes #597695