Marginal / QLVideo

This package allows macOS Finder to display thumbnails, static QuickLook previews, cover art and metadata for most types of video files.
GNU General Public License v2.0
2.51k stars 87 forks source link

No thumbnails, 1.96 #100

Closed sohate closed 1 year ago

sohate commented 1 year ago

MacBook Air M1 macOS Ventura (last build) 1.96 has no thumbnails on any media file (even .mp4) 1.94 works just fine (no .avi support, though) Can you help me please?

Marginal commented 1 year ago

1.96 has no thumbnails on any media file (even .mp4)

Interesting. Please try re-installing 1.96 and then:

Thanks.

sohate commented 1 year ago

It's working, thanks! Initially, there was no "QLVideo thumbnails" in "Extensions", but I entered your command into the terminal and it appeared!

P.S. Quicklook for .avi is taking too much time for viewing thumbnails, .,mkv works fine.

Marginal commented 1 year ago

Thanks. I'll have a proper fix in the next release.

Marginal commented 1 year ago

P.S. Quicklook for .avi is taking too much time for viewing thumbnails, .,mkv works fine.

I don't see this. Do you have FFmpeg installed? If so, in terminal please type: ffprobe /path/to/a/problematic/file.avi and copy the results here.

Are any of these files public available and can you post a link?

sohate commented 1 year ago

I made a video for you: https://www.veed.io/view/48b02641-953e-4219-b495-5cd77c1c2538?sharingWidget=true&panel=share

Don't know what is FFmpeg. Probably, not.

It happens with every .avi file. .mkv still works fine.

Zabriskije commented 1 year ago

1.96 has no thumbnails on any media file (even .mp4)

Interesting. Please try re-installing 1.96 and then:

  • Under System Settings → Privacy & Security (scroll to the bottom) → Extensions → Quick Look do you see "QLVideo thumbnails" ?
  • If so, is it checked?
  • If not, in a Terminal window, paste the following and press Enter: open /Library/Application\ Support/QLVideo/QLVideo.app
  • Does "QLVideo thumbnails" appear now?

Thanks.

Hi Marginal, I had the same issue (don't know about .avi tough), solved by pasting the command in Terminal and then selecting QLVideo in Extensions.

Marginal commented 1 year ago

@Zabriskije please try to install 1.96 again, then in a new Terminal window paste the following and press Enter: tail -80 /var/log/install.log and copy and paste the contents of the Terminal window here.

minimondo commented 1 year ago

Hello @Marginal. I installed 1.96; all was fine until I rebooted today (3 days later). Now I have the same "no thumbnails" issue. But when I try to run the QLVideo app in /Library/Application Support/... I get the error:

The application cannot be opened for an unexpected reason, error=Error Domain=RBSRequestErrorDomain Code=5 "Launch failed." UserInfo={NSLocalizedFailureReason=Launch failed., NSUnderlyingError=0x600003c39440 {Error Domain=NSPOSIXErrorDomain Code=153 "Unknown error: 153" UserInfo={NSLocalizedDescription=Launchd job spawn failed}}}

Attempting to run as sudo gives the same result. I would be awfully grateful for any help/suggestions; can I send any useful log info?

(I have re-installed 1.96, both from Brew and from the .PKG)

[UPDATE]: Oh. All the signature/notarisation as showing as "invalid/tampered". Screenshot 2022-11-16 at 15 51 21

[UPDATE2]: I ran "brew uninstall qlvideo" followed by "brew install --cask qlvideo"; QLVideo now appears in the Sys Prefs/Security.../Extensions. I enabled it and re-launched the Finder. All is working fine once more.

Zabriskije commented 1 year ago

@Zabriskije please try to install 1.96 again, then in a new Terminal window paste the following and press Enter: tail -80 /var/log/install.log and copy and paste the contents of the Terminal window here.

2022-11-16 12:00:59+01 *hidden* Installer[912]: Choices selected for installation:
2022-11-16 12:00:59+01 *hidden* Installer[912]:     Aggiorna: "QuickLook Video"
2022-11-16 12:00:59+01 *hidden* Installer[912]:     Aggiorna: "QLVideo"
2022-11-16 12:00:59+01 *hidden* Installer[912]:         QLVideo_196.pkg#QLVideo.pkg : uk.org.marginal.qlvideo : 1.96
2022-11-16 12:00:59+01 *hidden* Installer[912]: ================================================================================
2022-11-16 12:00:59+01 *hidden* Installer[912]: It took 0.00 seconds to summarize the package selections.
2022-11-16 12:00:59+01 *hidden* Installer[912]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
2022-11-16 12:00:59+01 *hidden* Installer[912]: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/Users/*hidden*/Downloads/QLVideo_196.pkg#QLVideo.pkg
2022-11-16 12:00:59+01 *hidden* Installer[912]: Set authorization level to root for session
2022-11-16 12:00:59+01 *hidden* Installer[912]: Authorization is being checked, waiting until authorization arrives.
2022-11-16 12:01:01+01 *hidden* Installer[912]: Administrator authorization granted.
2022-11-16 12:01:01+01 *hidden* Installer[912]: Packages have been authorized for installation.
2022-11-16 12:01:01+01 *hidden* Installer[912]: Will use PK session
2022-11-16 12:01:01+01 *hidden* Installer[912]: Using authorization level of root for IFPKInstallElement
2022-11-16 12:01:01+01 *hidden* Installer[912]: Starting installation:
2022-11-16 12:01:01+01 *hidden* Installer[912]: Configuring volume "Macintosh HD"
2022-11-16 12:01:01+01 *hidden* Installer[912]: Preparing disk for local booted install.
2022-11-16 12:01:01+01 *hidden* Installer[912]: Free space on "Macintosh HD": 414,77 GB (414773342208 bytes).
2022-11-16 12:01:01+01 *hidden* Installer[912]: Create temporary directory "/var/folders/wp/4m2th2xn4mv_s1k0sz1pkfc00000gn/T//Install.912R7VMEz"
2022-11-16 12:01:01+01 *hidden* Installer[912]: IFPKInstallElement (1 packages)
2022-11-16 12:01:01+01 *hidden* Installer[912]: Current Path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: Adding client PKInstallDaemonClient pid=912, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2022-11-16 12:01:01+01 *hidden* Installer[912]: PackageKit: Enqueuing install with framework-specified quality of service (utility)
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: Set reponsibility for install to 912
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: Hosted team responsibility for install set to team:(R8954VZGV2)
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: ----- Begin install -----
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
2022-11-16 12:01:01+01 *hidden* installd[918]: PackageKit: packages=(
        "PKLeopardPackage <id=uk.org.marginal.qlvideo, version=1.96, url=file:///Users/*hidden*/Downloads/QLVideo_196.pkg#QLVideo.pkg>"
    )
2022-11-16 12:01:03+01 *hidden* installd[918]: PackageKit: Will do receipt-based obsoleting for package identifier uk.org.marginal.qlvideo (prefix path=)
2022-11-16 12:01:03+01 *hidden* installd[918]: PackageKit: Extracting file:///Users/*hidden*/Downloads/QLVideo_196.pkg#QLVideo.pkg (destination=/Library/InstallerSandboxes/.PKInstallSandboxManager/078D92CC-18B3-4775-BBFB-4C8842C1AA02.activeSandbox/Root, uid=0)
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: prevent user idle system sleep
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: suspending backupd
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: Using trashcan path /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/PKInstallSandboxTrash/078D92CC-18B3-4775-BBFB-4C8842C1AA02.sandboxTrash for sandbox /Library/InstallerSandboxes/.PKInstallSandboxManager/078D92CC-18B3-4775-BBFB-4C8842C1AA02.activeSandbox
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: Shoving /Library/InstallerSandboxes/.PKInstallSandboxManager/078D92CC-18B3-4775-BBFB-4C8842C1AA02.activeSandbox/Root (1 items) to /
2022-11-16 12:01:04+01 *hidden* install_monitor[997]: Temporarily excluding: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2022-11-16 12:01:04+01 *hidden* softwareupdated[527]: Event handler called with flags: 103
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit (package_script_service): Preparing to execute script "./registertypes" in /private/tmp/PKInstallSandbox.27r1vV/Scripts/uk.org.marginal.qlvideo.6Q2d4D
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: PackageKit: Preparing to execute script "registertypes" in /tmp/PKInstallSandbox.27r1vV/Scripts/uk.org.marginal.qlvideo.6Q2d4D
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: Set responsibility to pid: 912, responsible_path: /System/Library/CoreServices/Installer.app/Contents/MacOS/Installer
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: Hosted team responsibility for script set to team:(R8954VZGV2)
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: PackageKit: Executing script "registertypes" in /tmp/PKInstallSandbox.27r1vV/Scripts/uk.org.marginal.qlvideo.6Q2d4D
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: PackageKit: Hosted team responsible for script has been cleared.
2022-11-16 12:01:04+01 *hidden* package_script_service[999]: Responsibility set back to self.
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: Writing receipt for uk.org.marginal.qlvideo to /
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: No Intel binaries to translate.
2022-11-16 12:01:04+01 *hidden* installd[918]: PackageKit: Touched bundle /Library/Application Support/QLVideo/QLVideo.app
2022-11-16 12:01:04+01 *hidden* installd[918]: Installed "QuickLook Video" ()
2022-11-16 12:01:04+01 *hidden* install_monitor[997]: Re-included: /Applications, /Library, /System, /bin, /private, /sbin, /usr
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: releasing backupd
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: allow user idle system sleep
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: ----- End install -----
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: 3.6s elapsed install time
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Cleared responsibility for install from 912.
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Cleared permissions on Installer.app
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Hosted team responsible for install has been cleared.
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Running idle tasks
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Done with sandbox removals
2022-11-16 12:01:05+01 *hidden* Installer[912]: PackageKit: Registered bundle file:///Library/Application%20Support/QLVideo/QLVideo.app/ for uid 501
2022-11-16 12:01:05+01 *hidden* installd[918]: PackageKit: Removing client PKInstallDaemonClient pid=912, uid=501 (/System/Library/CoreServices/Installer.app/Contents/MacOS/Installer)
2022-11-16 12:01:05+01 *hidden* Installer[912]: Running install actions
2022-11-16 12:01:05+01 *hidden* Installer[912]: Removing temporary directory "/var/folders/wp/4m2th2xn4mv_s1k0sz1pkfc00000gn/T//Install.912R7VMEz"
2022-11-16 12:01:05+01 *hidden* Installer[912]: Finalize disk "Macintosh HD"
2022-11-16 12:01:05+01 *hidden* Installer[912]: Notifying system of updated components
2022-11-16 12:01:05+01 *hidden* Installer[912]: 
2022-11-16 12:01:05+01 *hidden* Installer[912]: **** Summary Information ****
2022-11-16 12:01:05+01 *hidden* Installer[912]:   Operation      Elapsed time
2022-11-16 12:01:05+01 *hidden* Installer[912]: -----------------------------
2022-11-16 12:01:05+01 *hidden* Installer[912]:        disk      0.02 seconds
2022-11-16 12:01:05+01 *hidden* Installer[912]:      script      0.00 seconds
2022-11-16 12:01:05+01 *hidden* Installer[912]:        zero      0.00 seconds
2022-11-16 12:01:05+01 *hidden* Installer[912]:     install      4.36 seconds
2022-11-16 12:01:05+01 *hidden* Installer[912]:     -total-      4.38 seconds
2022-11-16 12:01:05+01 *hidden* Installer[912]: 
2022-11-16 12:01:05+01 *hidden* Installer[912]: IFDInstallController 26A5AA0 state = 5
2022-11-16 12:01:05+01 *hidden* Installer[912]: Displaying 'Install Succeeded' UI.
2022-11-16 12:01:08+01 *hidden* Installer[912]: Package Removal: User opted to remove package.
2022-11-16 12:01:08+01 *hidden* Installer[912]: Package Removal: Successfully removed package.
2022-11-16 12:01:10+01 *hidden* softwareupdated[527]: SUOSUServiceDaemon: Removing client: (null) (pid = 321, uid = 278, path = /System/Library/PrivateFrameworks/MobileAccessoryUpdater.framework/Support/accessoryupdaterd, connection remote object interface = <NSXPCInterface: 0x11de39280>, exported interface = (null), remote object proxy = <__NSXPCInterfaceProxy_SUOSUServiceClientProtocol: 0x11df3ab60>)
Marginal commented 1 year ago

@minimondo

I ran "brew uninstall qlvideo" followed by "brew install --cask qlvideo"; QLVideo now appears in the Sys Prefs/Security.../Extensions. I enabled it and re-launched the Finder. All is working fine once more.

Glad you have it working. Looks like I need to add a pre-installation step to clear out /Library/Application Support/QLVideo/QLVideo.app. Will be fixed in the next release.

Marginal commented 1 year ago

@Zabriskije Thanks. That looks like it worked, which doesn't help to explain the initial error. Do you have thumbnails now? If not, does pasting open /Library/Application\ Support/QLVideo/QLVideo.app in a Terminal window cause them to start to appear?

minimondo commented 1 year ago

Glad you have it working. Looks like I need to add a pre-installation step to clear out /Library/Application Support/QLVideo/QLVideo.app. Will be fixed in the next release.

@Marginal thank you, for the code, and for your help.

Zabriskije commented 1 year ago

@Zabriskije Thanks. That looks like it worked, which doesn't help to explain the initial error. Do you have thumbnails now? If not, does pasting open /Library/Application\ Support/QLVideo/QLVideo.app in a Terminal window cause them to start to appear?

Still no thumbnails with installation only. Had to use open /Library/Application\ Support/QLVideo/QLVideo.app and then select QLVideo in Extensions again. Let me know if I can be of any further help.

i0ntempest commented 1 year ago

Just a bit of info, without opening the app, if I use qlmanage -t on a video, it stucks on qlmanage[11064:184485] QLVideo Snapshotter load.

Marginal commented 1 year ago

Closing since this should be fixed in release 2.00. Please open a new issue if you're still seeing this problem.

@minimondo

Just a bit of info, without opening the app, if I use qlmanage -t on a video, it stucks on qlmanage[11064:184485] QLVideo Snapshotter load.

Unfortunately Apple has made qlmanage progressively less helpful so this doesn't tell us much. Please try release 2.00.