pipeline debugging

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pipeline debugging

Richard123
Hi everyone,

I am trying to decode a live TS using appsrc object to push buffers into the pipeline, (see below). Picture decoding works correctly for approx. 5 minutes and subsequently starts dropping frames.

 const gchar *vid_caps =
             "video/x-raw-yuv,format=YV12,width=16,height=300,framerate=1/1";

/*MPEG-2  */
gchar * video_string = g_strdup_printf ("appsrc is-live=false name=my_source_feed caps=\"%s\"  !  mpegtsdemux caps=\"%s\" ! queue2 ! ffdec_mpeg2video lowres=1 caps=\"%s\" name=decoder ! videoscale ! queue2 ! video/x-raw-yuv, width=500, height=300, bpp=4 ! queue2 ! xvimagesink name=output_win preroll-queue-len=100 sync=true max-lateness=100000000" ,
ts_caps, ts_caps, vid_caps);

I would be very grateful if someone had any debug suggestions.

Thanks very much