appsrc cause playback delay

Javier Jardón jjardon at gnome.org
Wed Sep 4 15:02:29 PDT 2013


Hello,

On 3 September 2013 04:21, xxooyy <yongg.xu at samsung.com> wrote:
> I use the appsrc as src and use gst_app_src_push_buffer push h264 stream into
> my pipeline, but I met following issue , I think the appsrc cause the buffer
> transfer delay, can anyone help me , much appreciated for your help
>
> appsrc ! video/x-h264, framerate=30/1, width=640, height=480 ! ffdec_h264 !
> ffmpegcolorspace ! ximagesink sync=true =>* this will cause GstBaseSink
> drops video data and not smooth*
>     appsrc ! video/x-h264, framerate=30/1, width=640, height=480 !
> ffdec_h264 ! ffmpegcolorspace ! ximagesink sync=false => *this will play
> smooth , but plays about more than 1 min, it will special delay./b>
>
>     gst-launch-0.10 -v filesrc location=dump_0.video ! video/x-h264,
> framerate=30/1, width=640, height=480 ! ffdec_h264 ! ffmpegcolorspace !
> ximagesink sync=true =>* this can be smooth and no delay*

Did you configure the appsrc correctly through th "enough-data" and
"need-data" signals?

Regards,
-- 
Javier Jardón Cabezas


More information about the gstreamer-devel mailing list