Log in

View Full Version : High bit depth rotate plugin?


VideoMilk78
15th February 2025, 01:23
Anyone have anything that matches the title?
Thanks in advance.

StainlessS
15th February 2025, 04:27
There is builtin
TurnRight, TurnLeft, Turn180.
http://avisynth.nl/index.php/TurnLeft

VideoMilk78
15th February 2025, 16:07
Those can't do specific angles unfortunately. Sorry for not specifying this in the original post.

poisondeathray
15th February 2025, 16:16
Non avs options:

vcm.Rotate in vapoursynth supports HBD, including float YUV/RGB
http://www.avisynth.nl/users/vcmohan/vcm/rotate.html

ffmpeg/libavfilter -vf rotate supports some YUV HBD formats (looks like no 422)
https://github.com/FFmpeg/FFmpeg/blob/master/libavfilter/vf_rotate.c


static const enum AVPixelFormat pix_fmts[] = {
AV_PIX_FMT_GBRP, AV_PIX_FMT_GBRAP,
AV_PIX_FMT_ARGB, AV_PIX_FMT_RGBA,
AV_PIX_FMT_ABGR, AV_PIX_FMT_BGRA,
AV_PIX_FMT_0RGB, AV_PIX_FMT_RGB0,
AV_PIX_FMT_0BGR, AV_PIX_FMT_BGR0,
AV_PIX_FMT_RGB24, AV_PIX_FMT_BGR24,
AV_PIX_FMT_GRAY8,
AV_PIX_FMT_YUV410P,
AV_PIX_FMT_YUV444P, AV_PIX_FMT_YUVJ444P,
AV_PIX_FMT_YUV420P, AV_PIX_FMT_YUVJ420P,
AV_PIX_FMT_YUVA444P, AV_PIX_FMT_YUVA420P,
AV_PIX_FMT_YUV420P10LE, AV_PIX_FMT_YUVA420P10LE,
AV_PIX_FMT_YUV444P10LE, AV_PIX_FMT_YUVA444P10LE,
AV_PIX_FMT_YUV420P12LE,
AV_PIX_FMT_YUV444P12LE,
AV_PIX_FMT_YUV444P16LE, AV_PIX_FMT_YUVA444P16LE,
AV_PIX_FMT_YUV420P16LE, AV_PIX_FMT_YUVA420P16LE,
AV_PIX_FMT_YUV444P9LE, AV_PIX_FMT_YUVA444P9LE,
AV_PIX_FMT_YUV420P9LE, AV_PIX_FMT_YUVA420P9LE,
AV_PIX_FMT_NONE
};



Or "editors" like Resolve, Natron but they work natively in RGB

real.finder
15th February 2025, 21:35
vcm.Rotate in vapoursynth supports HBD, including float YUV/RGB
http://www.avisynth.nl/users/vcmohan/vcm/rotate.html

isn't this same as http://www.avisynth.nl/users/vcmohan/manyPlus/Turn.html ?

poisondeathray
15th February 2025, 22:03
isn't this same as http://www.avisynth.nl/users/vcmohan/manyPlus/Turn.html ?

I think it is; a quick test seems to work ok

VideoMilk78
24th February 2025, 00:17
isn't this same as http://www.avisynth.nl/users/vcmohan/manyPlus/Turn.html ?

This worked! Thanks for finding the avs equivalent.