Can souphttpsrc play http://192.168.1.2:8080?

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

Can souphttpsrc play http://192.168.1.2:8080?

zhenfeng ren
hi,
I try "gst-launch --gst-debug-no-color --gst-debug=souphttpsrc:5
souphttpsrc user-agent="Gstreamer" location=http://192.168.1.2:8080 !!
...."
but I fail.
VLC can play  http://192.168.1.2:8080  well. So, the source is good.

Could anyone give me some advice?

--
Thanks,
Zhenfeng Ren

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

Jan Schmidt-6
On Mon, 2009-02-23 at 16:53 +0800, zhenfeng ren wrote:
> hi,
> I try "gst-launch --gst-debug-no-color --gst-debug=souphttpsrc:5
> souphttpsrc user-agent="Gstreamer" location=http://192.168.1.2:8080 !!
> ...."

It's hard to make any comment without the rest of the pipeline. So far,
all that does is input from http:// and discard the result with an
error.

> but I fail.
> VLC can play  http://192.168.1.2:8080  well. So, the source is good.
>
> Could anyone give me some advice?
>

Try a simple gst-launch playbin uri=http://192.168.1.2:8080

J.
--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

zhenfeng ren
hi,
I find that the script below could run well without souphttpsrc (I move it !!)
gst-launch -v playbin uri=http://192.168.1.2:8080

So, there is another plugin which could deal with Http?
I am a Newer to Gstreamer, if  "playbin" runs well, how could I find
the real pipeline used?

--
Thanks,
Zhenfeng Ren

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

Antonio Marqués
neonhttpsrc works ok for me.
On Tue, 2009-02-24 at 07:24 +0100, zhenfeng ren wrote:
> hi,
> I find that the script below could run well without souphttpsrc (I move it !!)
> gst-launch -v playbin uri=http://192.168.1.2:8080
>
> So, there is another plugin which could deal with Http?
> I am a Newer to Gstreamer, if  "playbin" runs well, how could I find
> the real pipeline used?
>
--
Toni Marqués Marqués
Telefónica I+D
División de Tecnologías de Video
[hidden email]
933653188





------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

Jan Schmidt-6
In reply to this post by zhenfeng ren
On Tue, 2009-02-24 at 14:24 +0800, zhenfeng ren wrote:
> hi,
> I find that the script below could run well without souphttpsrc (I move it !!)
> gst-launch -v playbin uri=http://192.168.1.2:8080
>
> So, there is another plugin which could deal with Http?
> I am a Newer to Gstreamer, if  "playbin" runs well, how could I find
> the real pipeline used?

Using -v as you are should print out a list of the components involved.

To get a better idea of the graph that playbin has built, you could
write a program to instantiate a playbin, set it to playing, and then
dump out a .dot file that you can display with graphviz.

To dump the dot file, use GST_DEBUG_BIN_TO_DOT_FILE. To render it, use
the 'dot' program from graphviz.

J.
--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

Ron McOuat
In reply to this post by zhenfeng ren
I use souphttpsrc in my environment and tested to see if it could
connect properly to an MJPEG source on a port different from 80 and had
no trouble. The playbin discussion in this thread should map out a
working pipeline for you.

zhenfeng ren wrote:

> hi,
> I try "gst-launch --gst-debug-no-color --gst-debug=souphttpsrc:5
> souphttpsrc user-agent="Gstreamer" location=http://192.168.1.2:8080 !!
> ...."
> but I fail.
> VLC can play  http://192.168.1.2:8080  well. So, the source is good.
>
> Could anyone give me some advice?
>
>  

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

zhenfeng ren
hi:

The 'gst-launch' script is as follow,how could I know which plungin
deal with 'http'?

root@DVEVM:/opt# gst-launch -v playbin uri=http://192.168.1.2:8080

(gst-launch-0.10:1230): GStreamer-WARNING **: Failed to load plugin
'/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
/opt/gstreamer/lib/libid3tag.so.0: undefi
ned symbol: id3_frametype_unknown
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pat-info = ((GValueArray*) 0x39db0)
/GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
pmt-info = ((FluTsPmtInfo*) 0x3b5a0)

--
Thanks,
Zhenfeng Ren

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Can souphttpsrc play http://192.168.1.2:8080?

Stefan Sauer
zhenfeng ren schrieb:
> hi:
>
> The 'gst-launch' script is as follow,how could I know which plungin
> deal with 'http'?
>  

$ gst-inspect-0.10 -u | grep http
neonhttpsrc (read, rank 0): http, https
gnomevfssink (write, rank 128): http, https, file, smb, ftp, sftp, ssh
gnomevfssrc (read, rank 128): http, https, file, smb, ftp, sftp, ssh
souphttpsrc (read, rank 256): http, https

Its a quite recent feature.

Stefan

> root@DVEVM:/opt# gst-launch -v playbin uri=http://192.168.1.2:8080
>
> (gst-launch-0.10:1230): GStreamer-WARNING **: Failed to load plugin
> '/opt/gstreamer/lib/gstreamer-0.10//libgstmad.so':
> /opt/gstreamer/lib/libid3tag.so.0: undefi
> ned symbol: id3_frametype_unknown
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind.GstPad:src:
> caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
> /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0.GstPad:sink:
> caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
> /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
> pat-info = ((GValueArray*) 0x39db0)
> /GstPlayBin:playbin0/GstDecodeBin:decodebin0/GstMpegTSDemux:mpegtsdemux0:
> pmt-info = ((FluTsPmtInfo*) 0x3b5a0)
>
>  


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel