GNOME Bugzilla – Bug 597695
[udpsrc] support VLC-style udp://@239.255.11.11:1234 uri with bind address
Last modified: 2010-06-18 15:16:30 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
Have you tried without the pointless '@' in the URL? udpsrc doesn't support that syntax.
Thank you, i removed it and it's working. Maybe, however, this format of playlist should be supported.
*shrug* Where does such a URI come from?
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.
I'm sorry, i didn't try first, VLC doesn't even play it when i removed the '@', so i guess VLC needs it.
vlc does: /* Parse psz_name syntax : * [serveraddr[:serverport]][@[bindaddr]:[bindport]] */ Where the serveraddr:serverport are used as arguments to connect()
[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.
Well, I guess I can confirm that we don't support that at the moment. Marking as enhancement, however.
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