[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    Re: [gst-devel] URI's with '%' in them
From:       "Michael Smith" <msmith () xiph ! org>
Date:       2008-07-30 0:32:39
Message-ID: 3c1737210807291732s389c2812qbe7293424ec50d78 () mail ! gmail ! com
[Download RAW message or body]

On Tue, Jul 29, 2008 at 5:21 PM, Ash <hashbrown100@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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic