[gst-devel] About m2ts RTP
Edward Hervey
bilboed at gmail.com
Thu Jul 10 13:48:50 CEST 2008
Hi,
The problem is that the rtpmp2tpay element will not ensure that
outputted packets are smaller than 'mtu' bytes, and the udpsink borks
on that.
There's one way to solve that by using mpegtsparse before the
payloader. mpegtsparse will output 188 bytes packets, which will be
properly payloaded.
Edward
On Thu, Jul 10, 2008 at 4:17 AM, liangzhihong1984
<liangzhihong1984 at 126.com> wrote:
>
> Thanks a lot for everyone's 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 at 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:
> gstmultiudpsinkc(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/hdv1394src0src: caps = NULL
> Setting pipeline to NULL ...
> FREEING pipeline ...
>
>
>
> ________________________________
> 网易首款免费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
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
--
Edward Hervey
Multimedia editing developer
http://www.pitivi.org/
More information about the gstreamer-devel
mailing list