Setting the DAR of a video stream?

Alexander Sack pisymbol at gmail.com
Thu May 14 14:23:43 UTC 2020


I have a pipeline that crops a video to a resolution (3040x3040) but I
noticed that
when I play back the video the DAR is listed as the original native
resolution of the camera.

Is there a way to fix/set the display aspect ratio in the final MKV?

So the streams leading to the muxer look like this:

,, ! video/x-h264, width=(int)3040, height=(int)3040,
stream-format=(string)byte-stream ! h264parse ! muxer.video_0 ! matroskamux
name=muxer streamable=true ! filesink name=fsink location=whatevermp4

I want the DAR to be 1:1 when the video is played back etc.

-aps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200514/41e2fae4/attachment.htm>


More information about the gstreamer-devel mailing list