[gst-devel] How to play a file lying on localhost using gst-launch ?

Anirudh anirudhtomer at gmail.com
Mon Dec 27 17:23:13 CET 2010


I am having a file on my localhost server at the address:
http://localhost/htdocs/test.ogg

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.


-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/How-to-play-a-file-lying-on-localhost-using-gst-launch-tp3165195p3165195.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list