video caps

Sebastian Dröge sebastian at centricular.com
Wed Nov 6 04:59:22 PST 2013


On Di, 2013-11-05 at 18:19 -0800, troywang wrote:
> hi:
> 
> There is a h264 video stream in the pipeline.I decode it to raw:
> 
> h264pase-->queue-->avdec_h264---....
> 
> and after decode it I want to get the width and height of the stream ,what
> should I do ?
>
> And before decoding ?

You could get the caps at the srcpad of h264parse of avdec_h264 and get
the width/height from that.

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131106/d475ab42/attachment.pgp>


More information about the gstreamer-devel mailing list