RTP jitter problems

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

RTP jitter problems

Antonio Marqués
Hello all,

I am trying to send through a pipeline RTP H264 encoded video and
showing it in other computer. When I receive it in not the same network
I have some problems decoding the video. I have simulated the problem
introducing jitter and it is a problem of jitter.

I have seen that there is an element called gstrtpjitterbuffer that
tries to solve this problem, but when I use it in my pipeline I have
negotiation caps error.

My pipelines are the following:

Sending pipeline:
- gst-launch videotestsrc ! ffmpegcolorspace !
video/x-raw-yuv,width=640,height=480 ! timeoverlay ! videorate ! x264enc
byte-stream=true bitrate=250 key-int-max=6  subme=6 me=3 ! rtph264pay !
queue ! udpsink host=127.0.0.1 port=1545
   
Receiving pipeline:

- gst-launch udpsrc port=1545 typefind=true caps=application/x-rtp !
gstrtpjitterbuffer ! application/x-rtp !  rtph264depay ! queue !
ffdec_h264 ! ffmpegcolorspace ! queue  ! ximagesink qos=FALSE



When I debug it with caps level 5, messages shown are the following:
DEBUG             GST_CAPS
gstpad.c:2400:gst_pad_set_caps:<rtpjitterbuffer0:sink> caps
application/x-rtp could not be set
8 ERROR               ffmpeg
gstffmpegdec.c:1776:gst_ffmpegdec_frame:<ffdec_h2640> no codec context

Any help?

Thanks

Antonio Marqués


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: RTP jitter problems

Wim Taymans

On Tue, 2008-02-05 at 12:33 +0100, ANTONIO MARQUES MARQUES wrote:

> Hello all,
>
> I am trying to send through a pipeline RTP H264 encoded video and
> showing it in other computer. When I receive it in not the same network
> I have some problems decoding the video. I have simulated the problem
> introducing jitter and it is a problem of jitter.
>
> I have seen that there is an element called gstrtpjitterbuffer that
> tries to solve this problem, but when I use it in my pipeline I have
> negotiation caps error.
>
> My pipelines are the following:
>
> Sending pipeline:
> - gst-launch videotestsrc ! ffmpegcolorspace !
> video/x-raw-yuv,width=640,height=480 ! timeoverlay ! videorate ! x264enc
> byte-stream=true bitrate=250 key-int-max=6  subme=6 me=3 ! rtph264pay !
> queue ! udpsink host=127.0.0.1 port=1545
>    
> Receiving pipeline:
>
> - gst-launch udpsrc port=1545 typefind=true caps=application/x-rtp !
> gstrtpjitterbuffer ! application/x-rtp !  rtph264depay ! queue !
> ffdec_h264 ! ffmpegcolorspace ! queue  ! ximagesink qos=FALSE
>
>
You need to negotiate the caps on the receiver side correctly (using SDP
or so). This document explains more:

http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/gst/rtp/README?revision=1.13&view=markup

Wim

>
> When I debug it with caps level 5, messages shown are the following:
> DEBUG             GST_CAPS
> gstpad.c:2400:gst_pad_set_caps:<rtpjitterbuffer0:sink> caps
> application/x-rtp could not be set
> 8 ERROR               ffmpeg
> gstffmpegdec.c:1776:gst_ffmpegdec_frame:<ffdec_h2640> no codec context
>
> Any help?
>
> Thanks
>
> Antonio Marqués
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel