DJV icon indicating copy to clipboard operation
DJV copied to clipboard

Rotation Metadata is Ignored

Open Anti-Distinctlyminty opened this issue 3 years ago • 1 comments

The attached video will play with incorrect orientation, I'm guessing that the rotation metadata is not accounted for.

DJV-Orientation-bug.zip

ffprobe output
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'DJV-Orientation-bug1.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2020-10-31T12:42:49.000000Z
    com.android.version: 7.0
  Duration: 00:00:03.12, start: 0.000000, bitrate: 20516 kb/s
    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuvj420p(pc, smpte170m), 1920x1080, 19789 kb/s, SAR 1:1 DAR 16:9, 29.83 fps, 30 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      rotate          : 90
      creation_time   : 2020-10-31T12:42:49.000000Z
      handler_name    : VideoHandle
    Side data:
      displaymatrix: rotation of -90.00 degrees
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
    Metadata:
      creation_time   : 2020-10-31T12:42:49.000000Z
      handler_name    : SoundHandle

Anti-Distinctlyminty avatar Oct 31 '20 12:10 Anti-Distinctlyminty

Thanks for the example file, I didn't know that the movie files supported rotation metadata.

darbyjohnston avatar Nov 02 '20 18:11 darbyjohnston