![]() |
GST-LAUNCH and named Pipes
Hi
I am trying to use gst-launch to stream a live feed to a web browser. To make things simple I was hoping to use a named pipe, so gst-launch would write to the file and a python web server would read and forward the feed to the browser via http ( progresive download ). I am looking for any advice or sample. My problem so far is I start gst-launch, then the web service to read the contents of the file created. I only get one chunk then the web site hangs. Any ideas of how this should be done. I am trying to find a way to stream from gst-launch without using a media server. Also using udp or tcp sinks needs the client address and port which makes it hard to work via a NAT or firewall. So that is why I am looking at named pipes. Any advice or examples would be great. Thanks |
Re: GST-LAUNCH and named Pipes
Quote:
Might be a good place to start |
Re: GST-LAUNCH and named Pipes
the problem with the link you gave is it uses an sdp file. within the sdp file you define the N900 address and port ( the problem is on the N900 you need the clients address and port which will cause problems going through a firewall ).
That is why I want a way to get the output from gst-launch as a file so I can stream via http. Since the file will be a named pipe, the idea was that the web site would simply read chunks at a time and send to the client as a progresive download. Thanks for the input though |
Re: GST-LAUNCH and named Pipes
Search this forum for a program called "motion". Whilst it is for motion detection it has many parameters (I believe you "switch off" motion detection) as can act as as a server. I write this from memory and it is old sdram :) so ymmv...
I know you asked about gst-launch and pipes but I thought I would throw this in.... apologies if off the mark. |
All times are GMT. The time now is 16:01. |
vBulletin® Version 3.8.8