Video orientation change

Nicolas Dufresne nicolas at ndufresne.ca
Thu Jul 23 14:04:05 UTC 2020


Le jeudi 23 juillet 2020 à 07:22 -0500, bojan74 a écrit :
> Since it looks like raw text is not visible I am adding again errors:
> 
> 0:00:21.546105300 20592 0000000003A74B00 INFO               GST_EVENT
> gstevent.c:847:gst_event_new_caps: creating caps event video/x-raw,
> format=(string)I420, width=(int)1280, height=(int)720,
> interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1,
> chroma-site=(string)mpeg2, colorimetry=(string)bt709,
> framerate=(fraction)25/1
> 0:00:21.559990500 20592 0000000003A74B00 INFO               GST_EVENT
> gstevent.c:847:gst_event_new_caps: creating caps event video/x-vp8,
> profile=(string)0, streamheader=(buffer)<
> 4f56503830010100050002d00000010000010000001900000001,
> 4f56503830022024000000456e636f6465642077697468204753747265616d657220767038656e6320312e31372e320000000001
> > , width=(int)1280, height=(int)720, pixel-aspect-ratio=(fraction)1/1,
> framerate=(fraction)25/1, interlace-mode=(string)progressive,
> colorimetry=(string)bt709, chroma-site=(string)mpeg2
> 0:00:21.560080700 20592 0000000003A74B00 WARN             matroskamux
> matroska-mux.c:975:gst_matroska_mux_video_pad_setcaps:<webmmux0> error: Caps
> changes are not supported by Matroska
> 0:00:21.560126900 20592 0000000003A74B00 INFO        GST_ERROR_SYSTEM
> gstelement.c:2224:gst_element_message_full_with_details:<webmmux0> posting
> message: Could not multiplex stream.
> 0:00:21.560171000 20592 0000000003A74B00 INFO        GST_ERROR_SYSTEM
> gstelement.c:2251:gst_element_message_full_with_details:<webmmux0> posted
> error message: Could not multiplex stream.
> 
> 
> 
> Now I found some solution to create bigger caps from start 1280x1280 so
> final video is all time in the same format and first portrait video (on left
> side of the bigger canvas) is then correctly transform to landscape view (on
> top side of the bigger canvas).
> 
> Anyway does anyone know better solution if caps change (from portrait to
> landscape) to solve this problem in final webm video?

Someone would have to give webm/matroska format a look to verify if
resolution changes are supported mid-stream. If they are, it seems that
the GStreamer muxer would be missing this feature. So far, I have only
used resolution change with MPEG TS container.

> 
> 
> 
> 
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list