This post was updated on .
CONTENTS DELETED
The author has deleted this message.
|
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@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. > > ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
This post was updated on .
CONTENTS DELETED
The author has deleted this message.
|
you may be interested in this:
( for video ) $ gst-launch-0.10 souphttpsrc location= http://localhost/htdocs/test.ogg ! oggdemux ! theoradec ! xvimagesink -v Kind Regards, Vaibhav Ingale | +91-9226938504 [hidden email] http://vaibhav-ingale.blogspot.com/ On Mon, Dec 27, 2010 at 10:13 PM, Anirudh <[hidden email]> wrote:
------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Administrator
|
In reply to this post by NinjaGod
playbin2 discovers that you give it an HTTP url.
Then it searches through its element registry and discovers what source elements can handle http protocol, finds one, creates its instance, sets its location property to the uri value, Then it lets the source element to connect to the HTTP server, send GET request, receive response, output received data and so on. tcpclientsrc will not do since it expects raw data to come from the TCP socket, but the HTTP server won't send them out without HTTP request. You should also learn about the OSI model and where TCP and HTTP protocols are in it. |
Administrator
|
Well, to be more specific, it creates the uridecodebin element, gives that uri to it, it creates the source element and the decodebin element, which builds the rest of the decoding chain, basing on data, received from the source element.
|
Free forum by Nabble | Edit this page |