Hello everyone,
Didn't actually know where to write to I came out here so maybe some devs could be interested in this:
@Marginal on GitHub, the developer of the QLVideo quicklook plugin, @gitguys and @krokofant on GitHub too
discovered that "that movie previews aren't produced by the QuickLook generator plugin /System/Library/QuickLook/Movie.qlgenerator. (Presumably this is because QuickLook generator plugins can't produce anything other than static text or images). Instead, movie previews are produced by /System/Library/Frameworks/Quartz.framework/Frameworks/QuickLookUI.framework/PlugIns/Movie.qldisplay or ./LegacyMovie.qldisplay. (The former uses AVKit, the latter QTKit)."
So there's one way one could theoretically enable full video preview in quicklook using an old version of Perian on newer versions of macOS this way:
1. disable SIP
2. install Perian
3. backup /System/Library/Frameworks/Quartz.framework/Frameworks/QuickLookUI.framework/PlugIns/Movie.qldisplay and delete it
4. now sudo ln -s /System/Library/Frameworks/Quartz.framework/Frameworks/QuickLookUI.framework/PlugIns/LegacyMovie.qldisplay /System/Library/Frameworks/Quartz.framework/Frameworks/QuickLookUI.framework/PlugIns/Movie.qldisplay
5. re-enable SIP
A good idea @Marginal also had was to add to his quicklook plugin some sort of way to detect if LegacyMovie had its original quicktime plugins, since then apparently removed, but the source code has references to the hack.
A great idea would really be to re-build a new 64-bit version of Perian with some new version of ffmpeg's libav so that legacymovie could have some new QT plugins to point to. I really didn't understand if that was also supposed to work on Catalina and later but since the hack is referenced in a pretty recent
commit it seems things could still work out.
Is anyone able to do some sort of update like that?
I only found these GitHub Perian repos being updated:
Thanks in advance.
-- Giova