Automatically rotate webrtc stream

Anton Kuzmin anton at codafication.com
Mon Aug 27 01:34:43 UTC 2018


Hi all,

At the moment, I am already using gstreamer to record webrtc video stream to filesystem:
dataurisrc uri="data:text/plain;base64,<base64StringHere>" sdpdemux latency=10000 timeout=0 ! parsebin ! matroskamux streamable=false ! filesink location=<outputPath>

Now, I am trying to see if it’s feasible to support different video orientations. At the moment, it’s always landscape.

I found from the documentation that
videoflip video-direction=auto
can automatically flip the video based on the orientation tag in the video

However, I cannot get it to work.

dataurisrc uri="data:text/plain;base64,<base64StringHere>" sdpdemux latency=10000 timeout=0 ! decodebin ! videoflip video-direction=auto ! matroskamux streamable=false ! filesink location=<outputPath>

Would be awesome if anybody could drop a hint or provide a solution to this problem.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180827/51de4670/attachment.html>


More information about the gstreamer-devel mailing list