vaapipostproc has the forced output width and height in pixels. How can I set these two properties in vapostproc? I can not find these properties anymore in vapostproc from
https://gstreamer.freedesktop.org/documentation/va/vapostproc.html?gi-language=c
The right way (witch works for videoscale too), is to place a caps filter with video/x-raw\(ANY\),pixel-aspect-ratio=1/1,width=X,height=Y
right after the scaling element.
1 Like
Thanks. Will try it out.