[gst-devel] How to play a file lying on localhost using gst-launch ?
Wim Taymans
wim.taymans at gmail.com
Mon Dec 27 17:27:55 CET 2010
On Mon, 2010-12-27 at 08:23 -0800, Anirudh wrote:
> I am having a file on my localhost server at the address:
> http://localhost/htdocs/test.ogg
>
try
gst-launch-0.10 playbin2 uri=http://localhost/htdocs/test.ogg
Wim
> I am trying to play it using tcpclientsrc (test.ogg has just audio so I need
> not to worry about the video part)
>
> anirudh at anirudh-laptop:~$ gst-launch-0.10 tcpclientsrc protocol=none
> host=localhost port=80 ! oggdemux ! vorbisdec ! audioconvert ! alsasink
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
>
> and then it keeps waiting. I know that I am doing a mistake, and I know that
> without giving the URL of the file I can not play it but I don't know how to
> give the URL because tcpclientsrc has just 3 properties (protocol,host,port)
> which I can set and none of them is for setting the URL.
>
> So I want to know how to play that file using command line.
> please help me out on this issue.
>
>
More information about the gstreamer-devel
mailing list