appsrc and GMainloop problem

Tim-Philipp Müller t.i.m at zen.co.uk
Sun Aug 25 08:06:51 PDT 2013


On Fri, 2013-08-23 at 13:01 +0530, Deepak Jain wrote:

> appsrc->h264parse->ffdec_h264->ffmpegcolorspace->videoscale->autovideosink
>  
> Now as I can see, video is properly pushed to appsrc, then to
> h264parse but no data can be found after ffdec_h264 and nothing
> happens
>  
>  
> This I checked by putting filesink first after appsrc, then after
> h264parse. Both times, I get the data properly
>  
> But when I put filesink after ffdec_h264, my file shows o bytes.
>  
> Any idea what I may be missing?

Maybe check the GST_DEBUG=*dec*:6,*ff*:6 debug log, to see if you spot
anything suspicious. Maybe the decoder is waiting for a buffer marked as
keyframe, but doesn't get one (and h264parse doesn't actually parse, but
just passed data through). But that's all just a guess.

 Cheers
  -Tim




More information about the gstreamer-devel mailing list