Fwd: Getting 0 width and height in h264parses' src cap

Anju Sebastian anjusebastian08 at gmail.com
Mon Mar 19 03:56:47 UTC 2018


Hi,

Can someone please reply to my query?


Thanks and Regards
Anju Sebastian.

---------- Forwarded message ----------
From: Anju Sebastian <anjusebastian08 at gmail.com>
Date: Fri, Mar 16, 2018 at 2:07 PM
Subject: Getting 0 width and height in h264parses' src cap
To: Discussion of the development of and with GStreamer <
gstreamer-devel at lists.freedesktop.org>,
gstreamer-devel-request at lists.freedesktop.org


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/20180319/b528ab6c/attachment.html>


More information about the gstreamer-devel mailing list