Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QLVideo 1.92 does not work in Catalina beta #63

Closed
wilsonjchan opened this issue Jun 28, 2019 · 84 comments
Closed

QLVideo 1.92 does not work in Catalina beta #63

wilsonjchan opened this issue Jun 28, 2019 · 84 comments
Labels

Comments

@wilsonjchan
Copy link

wilsonjchan commented Jun 28, 2019

Works if I force it with qlmanage -g /Library/QuickLook/Video.qlgenerator

Following command just shows generic AVI icon:
qlmanage -p ~/Movies/bird.avi
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
Testing Quick Look preview with files:
/Users/wilsonjchan/Movies/bird.avi
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
2019-06-28 13:52:03.392 qlmanage[12255:318070] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x9b23, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
2019-06-28 13:52:03.635 qlmanage[12255:318070] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x1332f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)

qlmanage -m
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
dyld: warning, LC_RPATH @executable_path/../Frameworks in /usr/bin/qlmanage being ignored in restricted program because of @executable_path (Codesign main executable with Library Validation to allow @ paths)
server: living for 107s (0 requests handled) - instant off: yes - arch: X86_64 - user id: 501
memory used: 0 MB (655952 bytes) - used descriptors: 16/256
plugins:
org.openxmlformats.presentationml.slideshow -> /System/Library/QuickLook/Office.qlgenerator (40)
com.adobe.pdf -> /System/Library/QuickLook/PDF.qlgenerator (888.1)
com.apple.localized-pdf-bundle -> /System/Library/QuickLook/LocPDF.qlgenerator (888.1)
public.3d-content -> /System/Library/QuickLook/SceneKit.qlgenerator (535.1)
com.vmware.foreign.vhd -> /Applications/VMware Fusion.app/Contents/Library/QuickLook/VMware Fusion QuickLook.qlgenerator (13668589)
com.apple.ical.bookmark -> /System/Library/QuickLook/iCal.qlgenerator (888.1)
com.apple.iwork.keynote.key -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.application -> /System/Library/QuickLook/StandardBundles.qlgenerator (888.1)
com.microsoft.powerpoint.pot -> /System/Library/QuickLook/Office.qlgenerator (40)
com.microsoft.word.doc -> /System/Library/QuickLook/Office.qlgenerator (40)
org.openxmlformats.wordprocessingml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.iwork.keynote.sffkey -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.ichat.ichat -> /System/Library/QuickLook/iChat.qlgenerator (5500)
com.microsoft.word.dot -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.iwork.keynote.sffkth -> /Library/QuickLook/iWork.qlgenerator (205)
org.openxmlformats.presentationml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.keynote.key -> /Library/QuickLook/iWork.qlgenerator (205)
com.indeeo.idraw.idshapes -> /Applications/Graphic.app/Contents/Library/QuickLook/iDrawQL.qlgenerator (1.0)
com.apple.mail.email -> /System/Library/QuickLook/Mail.qlgenerator (3560.7)
com.apple.iwork.pages.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (205)
public.movie -> /System/Library/QuickLook/Movie.qlgenerator (888.1)
com.apple.iwork.keynote.kth -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.iwork.numbers.sffnumbers -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.package -> /System/Library/QuickLook/Package.qlgenerator (888.1)
com.wolfram.notebook.player -> /Applications/Mathematica.app/Contents/Library/QuickLook/Wolfram Notebook.qlgenerator (8.0)
org.openxmlformats.wordprocessingml.document.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.iwork.pages.sffpages -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.ical.ics -> /System/Library/QuickLook/iCal.qlgenerator (888.1)
org.oasis-open.opendocument.text -> /System/Library/QuickLook/Text.qlgenerator (888.1)
org.openxmlformats.wordprocessingml.template -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.ical.ics.event -> /System/Library/QuickLook/iCal.qlgenerator (888.1)
com.microsoft.excel.xlt -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.iwork.numbers.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (205)
com.resolume.dxv -> /Library/QuickLook/ResolumeQuickLook.qlgenerator (1.0)
com.apple.iwork.keynote.key-tef -> /Library/QuickLook/iWork.qlgenerator (205)
com.indeeo.idraw.idraw -> /Applications/Graphic.app/Contents/Library/QuickLook/iDrawQL.qlgenerator (1.0)
com.apple.internet-location -> /System/Library/QuickLook/Clippings.qlgenerator (888.1)
com.rsa.pkcs-12 -> /System/Library/QuickLook/Security.qlgenerator (55139)
org.openxmlformats.presentationml.slideshow.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.microsoft.word.stationery -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.ibooks-folder -> /System/Library/QuickLook/iBooks.qlgenerator (1)
public.x509-printable-encoded-archive -> /System/Library/QuickLook/Security.qlgenerator (55139)
com.vmware.foreign.vpc7 -> /Applications/VMware Fusion.app/Contents/Library/QuickLook/VMware Fusion QuickLook.qlgenerator (13668589)
public.xml -> /System/Library/QuickLook/Text.qlgenerator (888.1)
com.vmware.foreign.pvm -> /Applications/VMware Fusion.app/Contents/Library/QuickLook/VMware Fusion QuickLook.qlgenerator (13668589)
org.openxmlformats.wordprocessingml.document -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.rtfd -> /System/Library/QuickLook/Text.qlgenerator (888.1)
com.apple.garageband.project -> /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator (4980.96)
com.apple.systempreference.prefpane -> /System/Library/QuickLook/StandardBundles.qlgenerator (888.1)
org.openxmlformats.spreadsheetml.template -> /System/Library/QuickLook/Office.qlgenerator (40)
com.blackmagic-design.braw-movie -> /Applications/DaVinci Resolve/DaVinci Resolve.app/Contents/Applications/Blackmagic RAW Player.app/Contents/Library/QuickLook/BlackmagicRaw.qlgenerator (1.3)
com.apple.keychain -> /System/Library/QuickLook/Security.qlgenerator (55139)
public.font -> /System/Library/QuickLook/Font.qlgenerator (888.1)
com.apple.provisionprofile -> /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator (1)
public.x509-certificate -> /System/Library/QuickLook/Security.qlgenerator (55139)
com.apple.iwork.pages.template -> /Library/QuickLook/iWork.qlgenerator (205)
com.adobe.illustrator.ai-image -> /System/Library/QuickLook/EPS.qlgenerator (888.1)
public.vcard -> /System/Library/QuickLook/Contact.qlgenerator (888.1)
com.apple.finder.textclipping -> /System/Library/QuickLook/Clippings.qlgenerator (888.1)
org.openxmlformats.presentationml.template -> /System/Library/QuickLook/Office.qlgenerator (40)
jp.co.epson.printcd.document.2 -> /Applications/Epson Software/Print CD.app/Contents/Library/QuickLook/QLPCD.qlgenerator (1.0)
org.openxmlformats.spreadsheetml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.iwork.numbers.numbers -> /Library/QuickLook/iWork.qlgenerator (205)
com.wolfram.notebook -> /Applications/Mathematica.app/Contents/Library/QuickLook/Wolfram Notebook.qlgenerator (8.0)
com.apple.iwork.pages.pages -> /Library/QuickLook/iWork.qlgenerator (205)
jp.co.epson.printcd.document.1 -> /Applications/Epson Software/Print CD.app/Contents/Library/QuickLook/QLPCD.qlgenerator (1.0)
com.apple.ichat.transcript -> /System/Library/QuickLook/iChat.qlgenerator (5500)
jp.co.epson.mpq.document -> /Applications/Epson Software/Print CD.app/Contents/Library/QuickLook/QLPCD.qlgenerator (1.0)
com.apple.mail.emlx -> /System/Library/QuickLook/Mail.qlgenerator (3560.7)
com.apple.iconset -> /System/Library/QuickLook/Icon.qlgenerator (888.1)
com.apple.addressbook.group -> /System/Library/QuickLook/Contact.qlgenerator (888.1)
com.apple.property-list -> /System/Library/QuickLook/Text.qlgenerator (888.1)
com.vmware.vm-package -> /Applications/VMware Fusion.app/Contents/Library/QuickLook/VMware Fusion QuickLook.qlgenerator (13668589)
com.wolfram.cdf -> /Applications/Mathematica.app/Contents/Library/QuickLook/Wolfram Notebook.qlgenerator (8.0)
org.idpf.epub-container -> /System/Library/QuickLook/iBooks.qlgenerator (1)
com.apple.addressbook.person -> /System/Library/QuickLook/Contact.qlgenerator (888.1)
com.apple.safari.history -> /System/Library/QuickLook/Bookmark.qlgenerator (888.1)
public.html -> /System/Library/QuickLook/Web.qlgenerator (888.1)
com.apple.iwork.numbers.template -> /Library/QuickLook/iWork.qlgenerator (205)
com.microsoft.powerpoint.pps -> /System/Library/QuickLook/Office.qlgenerator (40)
com.vmware.foreign.pvs -> /Applications/VMware Fusion.app/Contents/Library/QuickLook/VMware Fusion QuickLook.qlgenerator (13668589)
public.plain-text -> /System/Library/QuickLook/Text.qlgenerator (888.1)
com.apple.safari.bookmark -> /System/Library/QuickLook/Bookmark.qlgenerator (888.1)
public.audio -> /System/Library/QuickLook/Audio.qlgenerator (888.1)
org.idpf.epub-folder -> /System/Library/QuickLook/iBooks.qlgenerator (1)
com.apple.pict -> /System/Library/QuickLook/Clippings.qlgenerator (888.1)
public.xhtml -> /System/Library/QuickLook/Web.qlgenerator (888.1)
com.apple.logicx.project -> /Applications/GarageBand.app/Contents/Library/QuickLook/LogicXQLGenerator.qlgenerator (4980.96)
org.openxmlformats.presentationml.presentation.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.finder.pictclipping -> /System/Library/QuickLook/Clippings.qlgenerator (888.1)
com.apple.ical.bookmark.todo -> /System/Library/QuickLook/iCal.qlgenerator (888.1)
com.apple.iwork.numbers.numbers-tef -> /Library/QuickLook/iWork.qlgenerator (205)
com.apple.webarchive -> /System/Library/QuickLook/Web.qlgenerator (888.1)
org.openxmlformats.presentationml.presentation -> /System/Library/QuickLook/Office.qlgenerator (40)
public.svg-image -> /System/Library/QuickLook/Web.qlgenerator (888.1)
com.apple.private.live-photo-bundle -> /System/Library/QuickLook/LivePhoto.qlgenerator (888.1)
public.image -> /System/Library/QuickLook/Image.qlgenerator (888.1)
com.apple.garageband.template.magic -> /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator (4980.96)
org.openxmlformats.spreadsheetml.sheet -> /System/Library/QuickLook/Office.qlgenerator (40)
com.microsoft.excel.xls -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.mobileprovision -> /Applications/Xcode.app/Contents/Library/QuickLook/DVTProvisioningProfileQuicklookGenerator.qlgenerator (1)
org.openxmlformats.spreadsheetml.sheet.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (40)
public.rtf -> /System/Library/QuickLook/Text.qlgenerator (888.1)
com.imimot.mitti.project -> /Applications/Mitti.app/Contents/Library/QuickLook/MittiQuicklook.qlgenerator (1)
com.apple.iwork.pages.pages-tef -> /Library/QuickLook/iWork.qlgenerator (205)
com.microsoft.powerpoint.ppt -> /System/Library/QuickLook/Office.qlgenerator (40)
public.comma-separated-values-text -> /System/Library/QuickLook/Office.qlgenerator (40)
com.apple.ical.ics.todo -> /System/Library/QuickLook/iCal.qlgenerator (888.1)
com.adobe.encapsulated-postscript -> /System/Library/QuickLook/EPS.qlgenerator (888.1)
com.microsoft.advanced-systems-format -> /Library/QuickLook/Video.qlgenerator (1.9.2)
com.apple.garageband.template.magicmentor -> /Applications/GarageBand.app/Contents/Library/QuickLook/GarageBandQLGenerator.qlgenerator (4980.96)

@Marginal
Copy link
Owner

Marginal commented Jul 7, 2019

The problem is this line in the qlmanage -m output:

public.movie -> /System/Library/QuickLook/Movie.qlgenerator

QuickLook is ignoring this plugin's request to handle preview and thumbnail generation of movie files (and also ignores requests to handle AVI, DV, QuickTime and various MPEG files if I change the plugin to explicitly request those).

I can work around this problem if necessary for Matroska, Ogg, WemM, Windows Media and some more obscure file types, but not for AVI, DV, QuickTime and various MPEG file types. Let's hope Apple fixes this before Catalina is released.

@Marginal Marginal added the bug label Jul 7, 2019
@wilsonjchan
Copy link
Author

Will this new "QuickLook Thumbnailing" framework help?

https://developer.apple.com/documentation/quicklookthumbnailing?changes=__5

@L1cardo
Copy link

L1cardo commented Jul 18, 2019

same problem.
does not work on 10.15 beat4

@SvenL1975
Copy link

Just wondering - is anybody working on making this work on Catalina? Whoever is doing this - thank you! I've been using QLVideo for years and it has always worked so perfect, I kind of forgot that it's not actually a part of macOS. So thanks for creating something that does what the OS should be doing on its own but doesn't.

@mnfesq
Copy link

mnfesq commented Sep 3, 2019

Hi Marginal. Thanks for this great plugin. I miss it on my computers running Catalina betas. System files are locked down in Catalina and are actually in a separate read-only partition. When you run Mojave and Catalina on different partitions on the same computer, you can see that the Catalina installation is comprised of Catalina and Catalina-data partitions and your plugin is located in the data partition. I have tried without luck to change the permissions of both your plugin and the Catalina partition. Even remounting the partition with read/write capabilities will not allow me to copy your plugin into the System/Library/Quicklook folder. (Not even sure this would help but I thought I'd try it out.). Bottom line: I don't think you are dealing with a bug in Catalina but rather a security change that will need to be dealt with on Apple's terms. Good luck.

@Marc2508
Copy link

Marc2508 commented Sep 22, 2019

Thanks @Marginal and @wilsonjchan for writing the plugin and explaining the issue!

@mnfesq The files under system are for system files as the name says. Those cannot and do not have to be altered. You can add extensions under either /Library or ~/Library.

Marginal already pointed to the problem, qlmanage -r does not overwrite registrations for standard filetypes aka UTIs (like public/movie) any longer. This might be bug or a security feature, who knows, and prevents that the generator Marginal provided is called for such standard extension. QLVideo is not the only plugin affected.

I tried what Marginal proposed, I added specific UTIs (you can get the UTI of a file by "mdls -name kMDItemContentType FILENAME") in the /Library/QuickLook/Video.qlgenerator/Contents/Info.plist (under key: LSItemContentTypes) of the generator and reloaded the assignment (with "qlmanage -r", "qlmanage -m | grep Video" should list them in case of success).

Good: I got thumbs and QL for file extensions like .wmv or .flv again.

Bad: It does not work with UTIs of type "public.", so no avi, mpeg-4 etc. are supported :-( (as Marginal also mentioned in his answer).

Strange: I cannot get it working with .mkv (UTI: io.iina.mkv). In comparison with working calls I see this in console log:
Error 10:13:07.418401+0200 com.apple.quicklook.ThumbnailsAgent CGBitmapContextCreateImage: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

Very strange: After a while t stops working and I get an error:
"11:14:34.706207+0200 qlmanage Can't load plug-in executable at : Error Domain=NSCocoaErrorDomain Code=3587 UserInfo={NSLocalizedFailureReason=, NSLocalizedRecoverySuggestion=, NSFilePath=, NSDebugDescription=, NSBundlePath=, NSLocalizedDescription=}"
Might be security feature of Apple preventing me from changing the generator content.

Maybe the new API wilsonjchan pointed onto solves the issues. Is there any work planned for it?

@Smithy3
Copy link

Smithy3 commented Sep 22, 2019

This is such a great plugin and it's disappointing hearing it doesn't work on Catalina.

Are there any plans to make an updated version that does work on it?

@cylott
Copy link

cylott commented Oct 8, 2019

Thank you so much for your hard work on this QLGenerator. I am one of many happy users hoping to get it working on Catalina!

@cylott
Copy link

cylott commented Oct 17, 2019

The problem is this line in the qlmanage -m output:

public.movie -> /System/Library/QuickLook/Movie.qlgenerator

QuickLook is ignoring this plugin's request to handle preview and thumbnail generation of movie files (and also ignores requests to handle AVI, DV, QuickTime and various MPEG files if I change the plugin to explicitly request those).

I can work around this problem if necessary for Matroska, Ogg, WemM, Windows Media and some more obscure file types, but not for AVI, DV, QuickTime and various MPEG file types. Let's hope Apple fixes this before Catalina is released.

For me personally, the magic of this plugin is thumbnail generation for matroska files. Apple's blindness to the popularity of this format (along with FLAC) is willful neglect. I'd love to try out a beta version with mkv support.

@prohtex
Copy link

prohtex commented Oct 21, 2019

I love QLVideo. Thank you so much for keeping it working. My fingers are crossed for a new version that works on Catalina!

@zhiayang
Copy link

For a quick workaround --- since I think a large majority of people use this for MKV files? You can do this:

  1. Follow what @Marc2508 said, and edit /Library/QuickLook/Video.qlgenerator/Contents/Info.plist, and add some UTIs under the LSItemContentTypes entry. You can use (in Terminal) mdls <your_file> to see the UTI of your particular file (it'll be under kMDItemContentType). In my case IINA didn't change the association, so it's org.matroska.mkv.

  2. This is the important step -- you need to re-codesign the bundle, if not it'll be invalid and probably refuse to load. Follow the steps here: https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html

Basically, use Keychain Assistant to generate a new codesigning certificate (self signed -- no need to fork out $100 to Apple), then the following steps (after editing the plist):

(a) cd /Library/QuickLook/Video.qlgenerator
(b) codesign -vv . <- this should say .: invalid Info.plist (plist or signature have been modified)
(c) sudo codesign -s <your_certificate_name> -f . <- should get .: replacing existing signature
(d) codesign -vv . <- this should now say .: valid on disk; satisfies its Designated Requirement

After that, you can run qlmanage -r to reload the generators, and relaunch Finder.

@mnfesq
Copy link

mnfesq commented Nov 19, 2019

@zhiayang - Were you able to get thumbnails with your workaround? I am able to get Quicklook to work but not thumbnails.

EDIT: OK, it took a while but I got thumbnails after regenerating the preview cache. A couple of .mkv files refused to generate a thumbnail but I will give it some time and see if they appear eventually. BTW, I needed to add both io.iina.mkv and org.matroska.mkv to my info.plist.

@zhiayang
Copy link

Yep, I got thumbnails to work.

Although: can someone still on Mojave verify that there aren't black borders around the thumbnail? I don't remember that being the case, but of course I can't check now.

In Catalina (after doing the workaround), I get thumbnails but they're surrounded by black bars on the left and right. It's not really a big deal I guess, but I did notice it...

@mnfesq
Copy link

mnfesq commented Nov 20, 2019

@zhiayang - I get black bars but only on the top and bottom.

@zhiayang
Copy link

@mnfesq oh, my files have vertical cover art. For files without embedded cover art I get the bars on the top and bottom, but that was the same pre-Catalina.

@cylott
Copy link

cylott commented Nov 23, 2019

This is working for me. I guess nobody can make a PR because it has to be codesigned by @Marginal ?

@mmenanno
Copy link

Has anyone got this to work for webm files? I'm using org.videolan.webm but it still isn't showing me thumbnails

@zhiayang
Copy link

@halorrr you're right, I can't get it to work with webm either. strange.

@Marc2508
Copy link

Have you tried UTI: com.google.webm as well?

Btw. thanks @zhiayang for explaining the code signing. One remark, the default certificate has an expiration date of 365 days. Therefore I create a non-default one where you can extend it.

At the moment I see no thumbnails.

@rafpi12
Copy link

rafpi12 commented Nov 26, 2019

Ok i've got mkv and webm working (i added both org.videolan.webm and com.google.webm)
Now I only need avi but I don't know much about how it works so I try to add "public.avi" to Video.qlgenerator but obviously it doesn't work...
One another thing, when I press space to see the video preview, it launches a still image with 3 thumbnails from the video on the left, do u have the same ?

@Marc2508
Copy link

@rafpi12 Afaik .avi will not work as it is a format Apple supports somehow.

Regarding the quicklook window, please check the entry page. You can configure the behavior of the plugin a little bit.

@zhiayang
Copy link

@Marc2508 is there a way to have it actually preview the video in the QL window? I don't think so, right?

Anyway, regarding the black border thing i was telling @mnfesq about, I went and took a screenshot:

image

The left is an MKV, the right is an MP4. Pretty sure this didn't happen in Mojave and earlier.

@Marc2508
Copy link

I think it is only done if the Apple framework supports playing it. You can control it via:

defaults write uk.org.marginal.qlvideo SnapshotAlways -bool XX : Controls whether QuickLook "Preview" shows static snapshot(s) even if a playable preview is available. Default is NO.

As the default is already playing the preview I guess your file cannot be played without third party SW.

Id do not have vertical videos, my 16:9 videos have the correct preview without any borders.

If you have a new problem with borders I think you should check ffmpeg for a solution as this is used for proprietary formats to decode the video stream and take snapshots.

@zhiayang
Copy link

@Marc2508 The videos are not vertical -- the images shown are the embedded cover art. Looking at the source of QLVideo, it is set to grab the attached cover art if present and skip snapshotting, so that's not the issue.

I'm like 95% sure this didn't happen before.

@acuntex
Copy link

acuntex commented Dec 2, 2019

I hope this will work again.

Apple is making Quick View worse with every OS X version. They completely lost touch with their customers' needs.
Even mp4 files somehow started to show only the vlc icon. And when i press space, the quick view window is only spinning, only after I kill the quickviewservice, it shows me previews for 2-3 files and then it's gone again.

At least with QLVideo it was always reliable.

@eirnym
Copy link

eirnym commented Dec 30, 2019

returning to the topic, I wasn't able to make this plugin to work.
I've tried to:

  • add all UTIs from this thread and from mdls output to the Info.plist
  • reset QuickLook by qlmanage -r and qlmanage -r cache
  • restart computer

All I've got in logs is repeated problems with some kind of connection:

2019-12-30 11:48:41.136 qlmanage[1567:32016] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x751f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
2019-12-30 11:48:41.149 qlmanage[1567:32016] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x8a0f, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.

@zhiayang
Copy link

zhiayang commented Dec 30, 2019

i don't see "sign the qlgenerator bundle" in the list of steps that you tried

EDIT: but, FWIW, i also get this message when running qlmanage manually, even with the new appextension plugin:

Testing Quick Look thumbnails with files:
	test.mkv
	- force using content type UTI: org.matroska.mkv
2019-12-30 19:02:23.432 qlmanage[899:12914] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x6a1f, name = 'com.apple.tsm.portname'
See /usr/include/servers/bootstrap_defs.h for the error codes.
* /Users/zhiayang/Desktop/test.mkv produced one thumbnail
Done producing thumbnails
2019-12-30 19:02:23.937 qlmanage[899:12914] *** CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0x6d7b, name = 'com.apple.coredrag'
See /usr/include/servers/bootstrap_defs.h for the error codes.

if you try qlmanage -ti -c 'org.matroska.mkv' test.mkv, does it work?

@zhiayang
Copy link

regarding the black bars, my hypothesis is that apple, for whatever stupid fucking reason, deprecated the IconFlavour setting/option that QLVideo uses to remove the icon “decoration”. This “decoration”, I believe, is the cause of the black bars.

If you use qlmanage -t -i (thumbnail, icon) you’ll see that the generated image has the black bars also.

this would explain why both new and old methods show the black bars in catalina, because the API simply died. Note that there’s no way to even give any options in the QLThumbnailReply in the new API.

I’ll try conforming to different UTIs to see if I can get a decoration-less icon to show up.

update to this:
no amount of UTI finagling has gotten this to work. at its core, something like this exists: https://developer.apple.com/documentation/quicklookthumbnailing/qlthumbnailgenerator/request/3153130-iconmode. Unfortunately, from the thumbnail generator side of things, we are coming from the "wrong direction" to be able to change this.

Not to mention that the "type" of icon isn't even exposed to the QLThumbnailProvider, and there's nothing to set in the QLThumbnailReply to change any settings.

There's a field type that's not exposed to the swift API (nor documented anywhere — i found it on github from the people that dump iOS headers for jailbreaking), but setting that to anything except 0 causes the thumbnail not to be generated entirely.

Still waiting on someone to hopefully reply to the forum post on the dev forums, but i'm not holding my breath, and TBH neither should any of you. We might just have to deal with black bars forever.

@eirnym
Copy link

eirnym commented Dec 30, 2019

In new Xcode the generating a certificate is much simpler: you need to login with your Apple ID and add a "development certificate". If no bought development certificates are in the list, a new one will be generated.

@eirnym
Copy link

eirnym commented Dec 30, 2019

i don't see "sign the qlgenerator bundle" in the list of steps that you tried

it was the best advice! Thank you!

@zhiayang
Copy link

ok, after fighting my sanity for many days, I've come up with a solution:

you can go here and build it (use git clone --recursive, I build ffmpeg as well [but most stuff is disabled, it shouldn't take more than 15mins to build]), copy DerivedData/mkvQLT/Build/Products/Release/mkvQLGen.qlgenerator into ~/Library/Quicklook/, and run qlmanage -r. I've added a bunch of the UTIs from this thread so you should be able to get thumbnails working. NO BLACK BARS OMFG -- that's literally the only thing my plugin does, it's inferior in every other way.

BUT:

  1. NO quicklook preview (the one you get pressing space)
  2. NO snapshots (if there's no embedded cover art, you'll get nothing)
  3. ONLY MKV files.
  4. you STILL need to sign it yourself. I don't feel like forking up $99 to apple.

I'll probably get those up in the coming days/weeks, but since I'm not forking QLVideo I'm having to do it myself.

If you're curious (or for whoever wants to continue maintaining this project), the trick was this line: https://github.com/zhiayang/mkvQLT/blob/master/mkvQLGen/GenerateThumbnailForURL.mm#L19

basically, apple decided to change the name of the key, didn't tell anyone (well, they didn't tell anyone about the first one either, so...), and broke setting the icon style. Thanks to @shysaur (shysaur/QLWindowsApps@52f1e07#comments) for somehow discovering that magical incantation.

As for my experiments with the new QuicklookThumbnailing API, while you can generate thumbnails, there's no way to control the style at all (there's not even the dictionary to pass in, and there's no [useful] hidden in the class that I could see), so you'll always get the black borders.

@gustavohellwig
Copy link

ok, after fighting my sanity for many days, I've come up with a solution:

you can go here and build it (use git clone --recursive, I build ffmpeg as well [but most stuff is disabled, it shouldn't take more than 15mins to build]), copy DerivedData/mkvQLT/Build/Products/Release/mkvQLGen.qlgenerator into ~/Library/Quicklook/, and run qlmanage -r. I've added a bunch of the UTIs from this thread so you should be able to get thumbnails working. NO BLACK BARS OMFG -- that's literally the only thing my plugin does, it's inferior in every other way.

BUT:

  1. NO quicklook preview (the one you get pressing space)
  2. NO snapshots (if there's no embedded cover art, you'll get nothing)
  3. ONLY MKV files.
  4. you STILL need to sign it yourself. I don't feel like forking up $99 to apple.

I'll probably get those up in the coming days/weeks, but since I'm not forking QLVideo I'm having to do it myself.

If you're curious (or for whoever wants to continue maintaining this project), the trick was this line: https://github.com/zhiayang/mkvQLT/blob/master/mkvQLGen/GenerateThumbnailForURL.mm#L19

basically, apple decided to change the name of the key, didn't tell anyone (well, they didn't tell anyone about the first one either, so...), and broke setting the icon style. Thanks to @shysaur (shysaur/QLWindowsApps@52f1e07#comments) for somehow discovering that magical incantation.

As for my experiments with the new QuicklookThumbnailing API, while you can generate thumbnails, there's no way to control the style at all (there's not even the dictionary to pass in, and there's no [useful] hidden in the class that I could see), so you'll always get the black borders.

Congrats !!!! Can you make a pkg to allow us to test by a easy and fast way?

@zhiayang
Copy link

zhiayang commented Jan 2, 2020

Congrats !!!! Can you make a pkg to allow us to test by a easy and fast way?

I'm quite tired of this stuff for now, so i'd say next week at the soonest. But if you want to, like i said it should be simple enough to compile it yourself

@eirnym
Copy link

eirnym commented Jan 2, 2020

@zhiayang do you plan/want to implement other stuff form this QL plugin or it was just a proof of concept? I want to help if you want to extend your plugin with other video formats

@mmenanno
Copy link

mmenanno commented Jan 2, 2020

You're taking a week break and 2020 just started? Bro, how long is this going to take?
You guys need to stop being lazy and fix this shit. WTF!

Wow, feeling a little entitled and unappreciative?

@jeffbyrnes
Copy link

Amen to that last one; this is free software. Maintainer(s) are in no way obligated to do a damn thing.

@zhiayang thanks for your efforts. You take care of you; we’ll be glad to see you whenever you return to this.

@zhiayang
Copy link

zhiayang commented Jan 2, 2020

for all we know Marginal is still alive and kicking and we're all being led in circles by this bozo.

@zhiayang
Copy link

zhiayang commented Jan 2, 2020

@zhiayang do you plan/want to implement other stuff form this QL plugin or it was just a proof of concept? I want to help if you want to extend your plugin with other video formats

i think it shouldn't be too much work to add other formats, since the brains behind everything is ffmpeg after all. I'll see what I can do on my end first, but feel free to continue on your own!

@zhiayang
Copy link

zhiayang commented Jan 2, 2020

unbelievable.

@dborod
Copy link

dborod commented Jan 2, 2020

for all we know Marginal is still alive and kicking and we're all being led in circles by this bozo.

Of course he's alive. He's just a lazy piece shit like you. I made the whole thing up in hopes of speeding up the process. It's not my fault you guys believe everything you read and let bozo's lead you in circles. Enjoy your one week vacation, you bootleg ass wanna be programmer.

Just out of curiosity, how did you manage to achieve this level of dysfunction as a human?

@jeffbyrnes
Copy link

jeffbyrnes commented Jan 2, 2020

@goatlucy so lemme get this straight: you made up that someone died of an overdose, simply to try & encourage somebody else to spend their time & energy updating a piece of software that’s sole purpose is to provide quick previews of video files on macOS?

If I’ve got that right, that’s super uncool.

As for enabling, yeah, I am. I wanna enable folks to take care of themselves & not burn out while trying to contribute to the community positively.

Why would you want someone to hurt themselves?

@mnfesq
Copy link

mnfesq commented Jan 2, 2020

It's not such a big deal to codesign a kext or other system file for macOS. Try using this one. It should work for .mkv, .flv, .wmv, and .webm.

Video.qlgenerator.zip

@zhiayang
Copy link

zhiayang commented Jan 3, 2020

It's not such a big deal to codesign a kext or other system file for macOS. Try using this one. It should work for .mkv, .flv, .wmv, and .webm.

Video.qlgenerator.zip

I take it you're part of the developer program? I was under the impression that self-signed certs wouldn't work on other people's machines (isn't that the whole point?). Or do code-signing certs work differently?

@mnfesq
Copy link

mnfesq commented Jan 3, 2020

I take it you're part of the developer program? I was under the impression that self-signed certs wouldn't work on other people's machines (isn't that the whole point?). Or do code-signing certs work differently?

I posted the file on another forum and the feedback I got was that it worked. Maybe it was only on Macs with SIP disabled. Try it out and let me know if it works for you.

@zhiayang
Copy link

zhiayang commented Jan 3, 2020

It doesn't work "automatically", so to speak; I had to use qlmanage -g to trigger it manually for it to show up in the system prefs, where I could go click "allow" before it works. So basically it acts like an unsigned app.

EDIT: I have SIP enabled.

@SvenL1975
Copy link

It's not such a big deal to codesign a kext or other system file for macOS. Try using this one. It should work for .mkv, .flv, .wmv, and .webm.

Video.qlgenerator.zip

Worked fine for me too. Thank you very much!

@eyekey
Copy link

eyekey commented Jan 17, 2020

It's not such a big deal to codesign a kext or other system file for macOS. Try using this one. It should work for .mkv, .flv, .wmv, and .webm.

Video.qlgenerator.zip

Working again. (except mkvs for some reason).
Thanks!

Marginal added a commit that referenced this issue Jan 19, 2020
@Marginal
Copy link
Owner

Marginal commented Jan 19, 2020

I was hoping that Apple might fix the problem, but it doesn't look like they're going to since it's still unfixed in 10.15.2.
So release 1.93 restores support for .mkv, .webm, .wmv and some more obscure formats on Catalina, but other formats including .avi are still broken.

@glc650
Copy link

glc650 commented Jan 25, 2020

Thanks for the 1.93 release mkv working good for me again.

What's the chances of avi getting fixed?

@eirnym
Copy link

eirnym commented Jan 25, 2020

@glc650 it depends on Apple, not Marginal to fix it. You always can covert it to an another format by using tools such as Handbrake or by using ffmpeg directly to convert to format you want fast enough.

@DiegoGHub
Copy link

I tried previewing .MOV Quicktime "animation" Uncompressed Codec without any luck. Is there anything out there for Quicklook that could do it?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests