#7789·PeerTube

stream_side_data rotation is not supported on the web player

Author: MitsuneeCreated Sep 18, 2026Updated Sep 22, 2026
LabelsType: Bug :bug:Component: Transcoding

Describe the current behavior

stream_side_data rotation is not applied in the web player, causing the video to be rotated at original quality

Steps to reproduce

  1. Upload a video with stream_side_data rotation
  2. View the video on the web player
  3. Set quality to highest quality to view the original file

Describe the expected behavior

The video should be oriented correctly, applying the rotation

Additional information

I have uploaded a video (screenrecording of a video game in landscape orientation) on a Peertube instance here: https://vhs.absturztau.be/w/obEStDc9Fw75KefX7safUr

Setting the quality to 720p will cause it to display the video stream without stream_side_data applied, meaning the video is rotated by -90deg. Lower qualities (such as 240p) will be different video feed transcoded by ffmpeg where the rotation is already applied, and thus display correctly.

The rotation data can be viewed with ffprobe:

ffprobe -loglevel error -select_streams v:0 -show_entries stream_side_data=rotation -of default=nw=1:nk=1 -i fgo.suzuka120.mp4

Note that this is not the metadata rotation that can be changed with ffmpeg using the flag combination -c copy -metadata:s:v:0 rotate=0.

  • PeerTube instance (found in https://instanceURL/about/instance/tech):

  • Browser name, version and platforms on which you could reproduce the bug: Firefox, Flatpak

  • Link to browser console log if relevant: N/A

  • Link to server log if relevant (journalctl or /var/www/peertube/storage/logs/): N/A