View Single Post
Old 11th April 2020, 07:26   #694  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
Small question:
I noticed that mkv has rotaion options:
  • --projection-type TID:method
    Sets the video projection method used. Valid values are 0 (rectangular projection), 1 (equirectangular projection), 2 (cubemap projection) and 3 (mesh projection).
  • --projection-private TID:data
    Sets private data that only applies to a specific projection. Data must be given as hex numbers with or without the "0x" prefix, with or without spaces.
  • --projection-pose-yaw TID:float
    Specifies a yaw rotation to the projection.
  • --projection-pose-pitch TID:float
    Specifies a pitch rotation to the projection.
  • --projection-pose-roll TID:float
    Specifies a roll rotation to the projection.
see: https://mkvtoolnix.download/doc/mkvmerge.html

-> Do VLC, MPC-HC and other players support these? (they would be useful when reencoding mp4 files which were recorded by a mobile with a mp4 rotation flag)


Cu Selur

Ps.: Okay, did a small test using:
Code:
mkvmerge --ui-language en -o "E:\Output\source with rotation flag.mkv" --global-tags "E:\Temp\source with rotation flag_08_56_54_1010__06.xml" -d 0 --default-track 0:yes --projection-type 0:0 --projection-pose-roll 0:90 --track-name 0:"VideoHandle" --language 0:en --default-duration 0:2984100/100000fps --aspect-ratio-factor 0:1/1 --fourcc 0:MP4V --no-chapters --compression -1:none --forced-track 0:yes --no-audio --no-subtitles --timecodes 0:"E:\Temp\timecodeV2_08_56_54_1010.tc" "E:\Temp\08_56_54_1010_03.264"
and the output at least with MPC-HC wasn't rotated.
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 11th April 2020 at 07:59.
Selur is offline   Reply With Quote