HTTP Streaming - Unauthorized

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

HTTP Streaming - Unauthorized

kolanchi

Hi Friends,

               I was trying to play an http stream using Playbin & gst-launch tool by
giving the following 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 Streaming - Unauthorized

Mailing List SVR
Il 11/06/2012 10:57, kolanchi ha scritto:

> Hi Friends,
>
>                 I was trying to play an http stream using Playbin&
> gst-launch tool by
> giving the following 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?.

this is a bash escaping problem not related to gstreamer, add proper
quotes to the url to solve your issue,

Nicola

>
> Please guide me.
>
> Thanks&  Regds
> Kolanchi
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/HTTP-Streaming-Unauthorized-tp4655236.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: HTTP Streaming - Unauthorized

kolanchi
Hi,

      When I tried the ( http://192.168.2.215/videostream.cgi?user=admin&pwd= ) same command the web browser it was working fine.

       When I am trying in gstremer using playbin I am facing the Issue. this is command I tried --> gst-launch playbin uri=http://192.168.2.215/videostream.cgi?user=admin&pwd=

     
Rgds
kolanchi