On Mo, 2016-09-19 at 18:55 -0700, ht techdev wrote:
>
> Hi
> Need to generate proper SAR values for an HEVC encoder, as per T-REC-
> H.265-201504, i.e. the following:
>
>
> Initially, I directly mapped GST_VIDEO_INFO_PAR_N(&info) and
> GST_VIDEO_INFO_PAR_D(&info), for these values. However, it seems that
> regardless of frame’s width and height, I always get 1:1.
> I am wondering if there some existing conversion function, in
> gstreamer 1.4.5, that may be able to the above conversion.
The SAR is the same as the PAR, yes. If you always get 1:1 but expect
something else, then caps are wrong and you'll have to debug where and
why they are set wrong.
--
Sebastian Dröge, Centricular Ltd ·
http://www.centricular.com_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel