Hello there, i recently saw that we got scripting support in Plex For Mac/Windows/Linux - which is awesome.
So first thing i did was add dynamic-crop.lua ( mpv-scripts/dynamic-crop.lua at master · Ashyni/mpv-scripts · GitHub ) into the folder, and restarted the app, and sure enough it actually loads.
Kinda…
Mar 19, 2023 19:25:42.410 [0x308fd7000] ERROR - [MPVEngine/mpv] cplayer: Option vf-pre: lavfi-cropdetect doesn't exist.
Mar 19, 2023 19:25:42.410 [0x308fd7000] ERROR - [MPVEngine/mpv] cplayer: Option vf-pre: lavfi-cropdetect doesn't exist.
Mar 19, 2023 19:25:42.410 [0x308fd7000] ERROR - [MPVEngine/mpv] dynamic_crop: Does vf=help as #1 line in mvp.conf return libavfilter list with crop/cropdetect in log?
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Meta Stats:
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Limit - min/max: 26/26 | counter: 0
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Trusted - unique: 1 | offset: X:0 Y:0
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: \ w=1920:h=1080:x=0:y=0 | offX= 0 offY= 0 | applied=1 overall=0 last_seen=0
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Buffer - unique: 0 | total: 0 0sec | known_ratio: 0 0sec
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Cleanup...
Mar 19, 2023 19:25:42.410 [0x308fd7000] DEBUG - [MPVEngine/mpv] cplayer: Set property: geometry="" -> 1
Mar 19, 2023 19:25:42.410 [0x308fd7000] DEBUG - [MPVEngine/mpv] vo/gpu: Resize: 0x0
Mar 19, 2023 19:25:42.410 [0x308fd7000] INFO - [MPVEngine/mpv] dynamic_crop: Done.
It doesn’t seem to work correctly, because libavfilter doesn’t have crop/cropdetect enabled.
Any chance this could be solved, so i can get rid of the ugly black bars dynamically on my 32:9 monitor? ![]()