-1

I recording and muxing video with gstreamer. How to set rotation to 90?

I seen Can I set rotation field for a video stream with FFmpeg?

I tried taginject - unknown tag 'rotation'

Using h264 with mkv container for now. Writing python code with Gst from gi.repository.

eri
  • 3,133
  • 1
  • 23
  • 35

1 Answers1

1

For now I save video to file, then tag it with MP4Box, and finally load it back into GStreamer.

MP4Box -mx 1=0:-65536:0:65536:0:0:0:0:1073741824 '/path/video.mp4'
VC.One
  • 14,790
  • 4
  • 25
  • 57
eri
  • 3,133
  • 1
  • 23
  • 35