Getting 0 width and height in h264parses' src cap

Anju Sebastian anjusebastian08 at gmail.com
Fri Mar 16 08:37:51 UTC 2018


Hi,

I was trying to decode a .ts stream (264 data) usig gstreamer pipeline.
Pipeline looks like :
gst-launch-1.0 -vv filesrc location=test.ts ! tsdemux ! queue ! h264parse !
my_decoder ! my_display

here, h264parse provideds data with byte-stream format and nal alignment.
Issue is, it's src cap contains width and height = 0.
It doesnt contain proper width and height.
Is this expected behaviour?
Or it should send proper width and height in src caps ?

With If I apply a cap filter with format=avc, issue is solved. ie, getting
proper width and height in src caps with avc format and au alignemnet.

Thanks and Regards
Anju Sebastian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180316/f0fbe157/attachment.html>


More information about the gstreamer-devel mailing list