HTTP Live Streaming

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

HTTP Live Streaming

kolanchi
Hi Friends,

               I Want a gstreamer pipeline for http live streaming Please mention the http streaming gstreamer pipeline.

I tried the below command  gst-launch playbin uri=http://192.168.2.215/videostream.cgi?user=admin&pwd= 

After entering this command I am facing below error.

[1] 2001
kolanchi@kolanchi-G31M-ES2L:~$ Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /GstPlayBin:playbin0/GstSoupHTTPSrc:source: Unauthorized
Additional debug info:
gstsouphttpsrc.c(920): gst_soup_http_src_finished_cb (): /GstPlayBin:playbin0/GstSoupHTTPSrc:source:
libsoup status code 401
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...


When I am trying the same command in browser it was working, I can able to see the video.


What was the issue on command and how to solve this issue?.

Please guide me.

Thanks & Regds
Kolanchi
Reply | Threaded
Open this post in threaded view
|

Re: HTTP Live Streaming

Remco Treffkorn

I think this was answered already.

The characters '?' and '&' (among others) have special meaning on the
shell command line. Please goggle "shell special characters".

They need to be stripped of their special meaning by 'escaping' them
like this:

uri=http://192.168.2.215/videostream.cgi\?user=admin\&pwd=

For the full story do "man bash". You need to know this anyways.

On Monday, June 11, 2012, kolanchi wrote:

> Hi Friends,
>
>                I Want a gstreamer pipeline for http live streaming Please
> mention the http streaming gstreamer pipeline.
>
> I tried the below command  gst-launch playbin
> uri=http://192.168.2.215/videostream.cgi?user=admin&pwd= 
>
> After entering this command I am facing below error.
>
> [1] 2001
> kolanchi@kolanchi-G31M-ES2L:~$ Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPlayBin:playbin0/GstSoupHTTPSrc:source: Unauthorized
> Additional debug info:
> gstsouphttpsrc.c(920): gst_soup_http_src_finished_cb ():
> /GstPlayBin:playbin0/GstSoupHTTPSrc:source:
> libsoup status code 401
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...
>
>
> When I am trying the same command in browser it was working, I can able to
> see the video.
>
>
> What was the issue on command and how to solve this issue?.
>
> Please guide me.
>
> Thanks & Regds
> Kolanchi


--
Remco Treffkorn (RT445)
HAM DC2XT
[hidden email]   (831) 685-1201

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel