The following warnings occurred:
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once
Warning [2] Trying to access array offset on null - Line: 14 - File: inc/plugins/cookielaw.php(272) : eval()'d code PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/cookielaw.php(272) : eval()'d code 14 errorHandler->error_callback
/inc/plugins/cookielaw.php 272 eval
/inc/class_plugins.php 142 cookielaw_global_intermediate
/global.php 100 pluginSystem->run_hooks
/printthread.php 16 require_once



Selur's Little Message Board
[HELP] how to rotate video without loss? - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] how to rotate video without loss? (/thread-1921.html)



how to rotate video without loss? - ssdde - 01.08.2021

rotate 90°, and keep quality without encoding.


RE: how to rotate video without loss? - Selur - 01.08.2021

Rotating a video without reencoding isn't supported in Hybrid.
If your output is mp4 or mov:
ffmpeg -i "path to input" -map_metadata 0 -metadata:s:v rotate="90" -codec copy "Path to output .mp4/.mpv"
allows to rotate a video by setting some meta data for the player, so that the player will rotate on playback.

Something similar can be done for mkv using mkvmerge and the projecttion 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


Cu Selur