About HDV Streaming through Gstreamer RTP Plugin

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

About HDV Streaming through Gstreamer RTP Plugin

liangzhihong1984
 
Hi Edward,
Thanks a lot for your great help.I could capture m2ts data from a DV now.
Now I want to send them out through RTP, but some new error happens, i tried many times, but still failed.
please give me some help.

leon@leon-desktop:~/Desktop$ gst-launch-0.10 -v hdv1394src ! queue ! rtpmp2tpay ! queue! udpsink host=127.0.0.1 port=1234
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/hdv1394src0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/rtpmp2tpay0.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/rtpmp2tpay0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue1.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/queue1.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
ERROR: from element /pipeline0/udpsink0: GStreamer encountered a general stream error.
Additional debug info:
gstmultiudpsink.c(394): gst_multiudpsink_render (): /pipeline0/udpsink0:
Got send error 90: Message too long
Execution ended after 61855070 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/udpsink0.sink: caps = NULL
/pipeline0/queue1.src: caps = NULL
/pipeline0/queue1.sink: caps = NULL
/pipeline0/rtpmp2tpay0.sink: caps = NULL
/pipeline0/rtpmp2tpay0.src: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/hdv1394src0.src: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline ..
 
Best Regards,
Leon Liang
 



网易首款免费3D网游“天下2”,6月6日激情公测
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About HDV Streaming through Gstreamer RTP Plugin

Thiago Sousa Santos-2


On Wed, Jul 9, 2008 at 11:50 PM, liangzhihong1984 <[hidden email]> wrote:
 
Hi Edward,
Thanks a lot for your great help.I could capture m2ts data from a DV now.
Now I want to send them out through RTP, but some new error happens, i tried many times, but still failed.
please give me some help.

leon@leon-desktop:~/Desktop$ gst-launch-0.10 -v hdv1394src ! queue ! rtpmp2tpay ! queue! udpsink host=127.0.0.1 port=1234
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/hdv1394src0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/rtpmp2tpay0.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/rtpmp2tpay0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue1.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/queue1.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
ERROR: from element /pipeline0/udpsink0: GStreamer encountered a general stream error.
Additional debug info:
gstmultiudpsink.c(394): gst_multiudpsink_render (): /pipeline0/udpsink0:
Got send error 90: Message too long

Try scaling your video down. I don't know how to break gstreamer buffers so that you could sent them in the size you need, but someone else might know, anyone?
 

Execution ended after 61855070 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/udpsink0.sink: caps = NULL
/pipeline0/queue1.src: caps = NULL
/pipeline0/queue1.sink: caps = NULL
/pipeline0/rtpmp2tpay0.sink: caps = NULL
/pipeline0/rtpmp2tpay0.src: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/hdv1394src0.src: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline ..
 
Best Regards,
Leon Liang
 



网易首款免费3D网游"天下2",6月6日激情公测
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About HDV Streaming through Gstreamer RTP Plugin

Cristian S. Rocha
In reply to this post by liangzhihong1984
Hello,

where I can downoad hdv1394src plugin?

thxs,
Cristian.

liangzhihong1984 wrote
 
Hi Edward,
Thanks a lot for your great help.I could capture m2ts data from a DV now.
Now I want to send them out through RTP, but some new error happens, i tried many times, but still failed.
please give me some help.

leon@leon-desktop:~/Desktop$ gst-launch-0.10 -v hdv1394src ! queue ! rtpmp2tpay ! queue! udpsink host=127.0.0.1 port=1234
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/pipeline0/hdv1394src0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue0.src: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/rtpmp2tpay0.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/rtpmp2tpay0.sink: caps = video/mpegts, systemstream=(boolean)true, packetsize=(int)188
/pipeline0/queue1.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/queue1.src: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
/pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33, ssrc=(guint)3754896773, clock-base=(guint)4257362012, seqnum-base=(guint)63578
ERROR: from element /pipeline0/udpsink0: GStreamer encountered a general stream error.
Additional debug info:
gstmultiudpsink.c(394): gst_multiudpsink_render (): /pipeline0/udpsink0:
Got send error 90: Message too long
Execution ended after 61855070 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/pipeline0/udpsink0.sink: caps = NULL
/pipeline0/queue1.src: caps = NULL
/pipeline0/queue1.sink: caps = NULL
/pipeline0/rtpmp2tpay0.sink: caps = NULL
/pipeline0/rtpmp2tpay0.src: caps = NULL
/pipeline0/queue0.src: caps = NULL
/pipeline0/queue0.sink: caps = NULL
/pipeline0/hdv1394src0.src: caps = NULL
Setting pipeline to NULL ...
FREEING pipeline ...

 
Best Regards,
Leon Liang
 
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: About HDV Streaming through Gstreamer RTP Plugin

Edward Hervey
Administrator
Hi,

  It's currently only available as a patch on bugzilla [1] but I'll
commit it later now that -good is unfrozen.

   Edward

[1] : http://bugzilla.gnome.org/show_bug.cgi?id=350830

On Sat, 2008-08-09 at 12:27 -0700, Cristian S. Rocha wrote:

> Hello,
>
> where I can downoad hdv1394src plugin?
>
> thxs,
> Cristian.
>
>
> liangzhihong1984 wrote:
> >
> >  
> > Hi Edward,
> > Thanks a lot for your great help.I could capture m2ts data from a DV now.
> > Now I want to send them out through RTP, but some new error happens, i
> > tried many times, but still failed.
> > please give me some help.
> >
> > leon@leon-desktop:~/Desktop$ gst-launch-0.10 -v hdv1394src ! queue !
> > rtpmp2tpay ! queue! udpsink host=127.0.0.1 port=1234
> > Setting pipeline to PAUSED ...
> > Pipeline is live and does not need PREROLL ...
> > Setting pipeline to PLAYING ...
> > New clock: GstSystemClock
> > /pipeline0/hdv1394src0.src: caps = video/mpegts,
> > systemstream=(boolean)true, packetsize=(int)188
> > /pipeline0/queue0.sink: caps = video/mpegts, systemstream=(boolean)true,
> > packetsize=(int)188
> > /pipeline0/queue0.src: caps = video/mpegts, systemstream=(boolean)true,
> > packetsize=(int)188
> > /pipeline0/rtpmp2tpay0.src: caps = application/x-rtp, media=(string)video,
> > clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33,
> > ssrc=(guint)3754896773, clock-base=(guint)4257362012,
> > seqnum-base=(guint)63578
> > /pipeline0/rtpmp2tpay0.sink: caps = video/mpegts,
> > systemstream=(boolean)true, packetsize=(int)188
> > /pipeline0/queue1.sink: caps = application/x-rtp, media=(string)video,
> > clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33,
> > ssrc=(guint)3754896773, clock-base=(guint)4257362012,
> > seqnum-base=(guint)63578
> > /pipeline0/queue1.src: caps = application/x-rtp, media=(string)video,
> > clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33,
> > ssrc=(guint)3754896773, clock-base=(guint)4257362012,
> > seqnum-base=(guint)63578
> > /pipeline0/udpsink0.sink: caps = application/x-rtp, media=(string)video,
> > clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)33,
> > ssrc=(guint)3754896773, clock-base=(guint)4257362012,
> > seqnum-base=(guint)63578
> > ERROR: from element /pipeline0/udpsink0: GStreamer encountered a general
> > stream error.
> > Additional debug info:
> > gstmultiudpsink.c(394): gst_multiudpsink_render (): /pipeline0/udpsink0:
> > Got send error 90: Message too long
> > Execution ended after 61855070 ns.
> > Setting pipeline to PAUSED ...
> > Setting pipeline to READY ...
> > /pipeline0/udpsink0.sink: caps = NULL
> > /pipeline0/queue1.src: caps = NULL
> > /pipeline0/queue1.sink: caps = NULL
> > /pipeline0/rtpmp2tpay0.sink: caps = NULL
> > /pipeline0/rtpmp2tpay0.src: caps = NULL
> > /pipeline0/queue0.src: caps = NULL
> > /pipeline0/queue0.sink: caps = NULL
> > /pipeline0/hdv1394src0.src: caps = NULL
> > Setting pipeline to NULL ...
> > FREEING pipeline ...
> >
> >  
> > Best Regards,
> > Leon Liang
> >  
> > -------------------------------------------------------------------------
> > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> > Studies have shown that voting for your favorite open source project,
> > along with a healthy diet, reduces your potential for chronic lameness
> > and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> > _______________________________________________
> > gstreamer-devel mailing list
> > [hidden email]
> > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> >
> >
>


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel