[gst-devel] URI's with '%' in them

Michael Smith msmith at xiph.org
Wed Jul 30 02:32:39 CEST 2008


On Tue, Jul 29, 2008 at 5:21 PM, Ash <hashbrown100 at hotmail.com> wrote:
> Why is it that when I have a file with '%' in it, for example "a%.mp3", the
> uri cannot be found by playbin? For example doing gst-launch playbin
> uri="a%.mp3" fails. A few gstreamer players as well fail. Totem seems to
> work though. What are they converting the '%' to?

You have to pass a URI, not a filename, in the uri property.

For example:

/tmp/test.mp3 -> file:///tmp/test.mp3
/tmp/a%.mp3 -> file:///tmp/a%25.mp3

(the percentage sign is URL-escaped here)

Mike




More information about the gstreamer-devel mailing list