video playing with jerks when data is RTP H264 payloaded

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

video playing with jerks when data is RTP H264 payloaded

Jyoti-2
Hi All,

I am trying implement a multicast UDP Server Client module using gstreamer.
The video plays very bad. Could someone please give some suggestions on the same?

The server and client are built using pipelines shown below:

Server:

gst-launch -v gstrtpbin name=rtpbin filesrc location=~/workdir/filesys/opt/data/collateral.ts ! mpegtsdemux name=d d. ! queue ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=127.0.0.1 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0  d. ! queue ! rtpmpapay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1

Client:

gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d400d, payload=(int)96, clock-base=(guint)3013157687, seqnum-base=(guint)28981" port=5000 name=vrtpsrc ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! queue ! xvimagesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=127.0.0.1 sync=false async=false  udpsrc caps="application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA, ssrc=(guint)316404369, payload=(int)96, clock-base=(guint)810575426, seqnum-base=(guint)9183" port=5002 name=artpsrc ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtpmpadepay ! mad ! audioconvert ! audioresample ! queue ! alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=127.0.0.1 sync=false async=false


Thanks,
Jyoti


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: video playing with jerks when data is RTP H264 payloaded

Jyoti-2
The file I used for testing is of size 720x576.
and frame rate of 25 fps.

On 10/22/09, Jyoti <[hidden email]> wrote:
Hi All,

I am trying implement a multicast UDP Server Client module using gstreamer.
The video plays very bad. Could someone please give some suggestions on the same?

The server and client are built using pipelines shown below:

Server:

gst-launch -v gstrtpbin name=rtpbin filesrc location=~/workdir/filesys/opt/data/collateral.ts ! mpegtsdemux name=d d. ! queue ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=127.0.0.1 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0  d. ! queue ! rtpmpapay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1

Client:

gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d400d, payload=(int)96, clock-base=(guint)3013157687, seqnum-base=(guint)28981" port=5000 name=vrtpsrc ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! queue ! xvimagesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=127.0.0.1 sync=false async=false  udpsrc caps="application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA, ssrc=(guint)316404369, payload=(int)96, clock-base=(guint)810575426, seqnum-base=(guint)9183" port=5002 name=artpsrc ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtpmpadepay ! mad ! audioconvert ! audioresample ! queue ! alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=127.0.0.1 sync=false async=false


Thanks,
Jyoti



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: video playing with jerks when data is RTP H264 payloaded

Sandeep YEDIRE
In reply to this post by Jyoti-2
1. 2. Offline play of video file is it fine? if not Please check you are able to dump exact data what you actually streamed. May be your are lossing info before decoding.

Regards,
Sandeep.Yedire

----------------------------------------------------------



2009/10/22 Jyoti <[hidden email]>
Hi All,

I am trying implement a multicast UDP Server Client module using gstreamer.
The video plays very bad. Could someone please give some suggestions on the same?

The server and client are built using pipelines shown below:

Server:

gst-launch -v gstrtpbin name=rtpbin filesrc location=~/workdir/filesys/opt/data/collateral.ts ! mpegtsdemux name=d d. ! queue ! rtph264pay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 ! udpsink port=5000 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_0 ! udpsink port=5001 host=127.0.0.1 sync=false async=false udpsrc port=5005 ! rtpbin.recv_rtcp_sink_0  d. ! queue ! rtpmpapay ! rtpbin.send_rtp_sink_1 rtpbin.send_rtp_src_1 ! udpsink port=5002 host=127.0.0.1 ts-offset=0 rtpbin.send_rtcp_src_1 ! udpsink port=5003 sync=false async=false udpsrc port=5007 ! rtpbin.recv_rtcp_sink_1

Client:

gst-launch gstrtpbin name=rtpbin latency=200 udpsrc caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d400d, payload=(int)96, clock-base=(guint)3013157687, seqnum-base=(guint)28981" port=5000 name=vrtpsrc ! rtpbin.recv_rtp_sink_0 rtpbin. ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! videoscale ! queue ! xvimagesink udpsrc port=5001 ! rtpbin.recv_rtcp_sink_0 rtpbin.send_rtcp_src_0 ! udpsink port=5005 host=127.0.0.1 sync=false async=false  udpsrc caps="application/x-rtp, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA, ssrc=(guint)316404369, payload=(int)96, clock-base=(guint)810575426, seqnum-base=(guint)9183" port=5002 name=artpsrc ! rtpbin.recv_rtp_sink_1 rtpbin. ! rtpmpadepay ! mad ! audioconvert ! audioresample ! queue ! alsasink udpsrc port=5003 ! rtpbin.recv_rtcp_sink_1 rtpbin.send_rtcp_src_1 ! udpsink port=5007 host=127.0.0.1 sync=false async=false


Thanks,
Jyoti


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel



------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: video playing with jerks when data is RTP H264 payloaded

Farah

Hey Jyoti

Did you find the solution to this problem? I am also using rtph264pay and I have figured that the raw data is not being dumped properly. It seems there's something wrong here. I posted the whole problem and the used pipelines here if you could take a look please!

http://gstreamer-devel.966125.n4.nabble.com/Using-gstreamer-to-transmit-H264-file-over-RTP-td2236364.html#a2236364
Reply | Threaded
Open this post in threaded view
|

Re: video playing with jerks when data is RTP H264 payloaded

Jyoti-2
Try h264parse before the rtph264pay,

On Wed, Jun 9, 2010 at 12:29 AM, Farah <[hidden email]> wrote:


Hey Jyoti

Did you find the solution to this problem? I am also using rtph264pay and I
have figured that the raw data is not being dumped properly. It seems
there's something wrong here. I posted the whole problem and the used
pipelines here if you could take a look please!

http://gstreamer-devel.966125.n4.nabble.com/Using-gstreamer-to-transmit-H264-file-over-RTP-td2236364.html#a2236364
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/video-playing-with-jerks-when-data-is-RTP-H264-payloaded-tp973322p2247849.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit.  See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel