Getting 0 width and height in h264parses' src cap

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Getting 0 width and height in h264parses' src cap

Treesa
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.

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Treesa
Hi,

Can someone please reply to my query?


Thanks and Regards
Anju Sebastian.

---------- Forwarded message ----------
From: Anju Sebastian <[hidden email]>
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 <[hidden email]>, [hidden email]


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.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Tim Müller
On Mon, 2018-03-19 at 09:26 +0530, Anju Sebastian wrote:

Hi,

It's not expected behaviour. Please file a bug in bugzilla with a
sample file, thanks!

Cheers
-Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Treesa
Thank you 



On Mon, Mar 19, 2018 at 4:05 PM, Tim Müller <[hidden email]> wrote:
On Mon, 2018-03-19 at 09:26 +0530, Anju Sebastian wrote:

Hi,

It's not expected behaviour. Please file a bug in bugzilla with a
sample file, thanks!

Cheers
-Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel