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.56k stars 88 forks source link

White frame in finder preview #48

Closed vangeliis closed 1 year ago

vangeliis commented 6 years ago

Hi,

Info: MacBook Pro 10.13.1, QLVideo 1.90 Issue: White Frame in finder preview (please see attached screenshot). Selecting another mkv file to preview in Finder works okay, and returning to the mkv that is previewed as "white frame" works okay again.

I have also attached the qlmanage report as requested.

Cheers, Vangeliis

report.txt

screen shot 2017-11-04 at 08 52 27
Marginal commented 6 years ago

I'm unable to reproduce this. Does it happen with all files in Finder's Column view, or just some? Does it happen in Finder's Icon or Cover Flow views?

vangeliis commented 6 years ago

Hi Jonathan,

Many thanks for looking into my issue. It only happens in Finder's Column view with some (not all) mkv and m4v files. I use the latest mkvtoolnix for mac to add (or remove) artwork posters (usually 2000x3000) to mkvs and Subler for m4v. My media server Emby reads these mkv and m4v correctly, I only get the white frame in finder's column preview. Any clues? Cheers, Vangeliis

Marginal commented 6 years ago

I can't reproduce this with the mkv files with cover art that I have available. Can you get me a sample file?

vangeliis commented 6 years ago

Hi Jonathan,

Many thanks for getting in touch. I have since then uninstalled QLVideo. I’ll try to re-install it when I find a spare moment and send you a sample.

Cheers, Vangelis

On 1 Apr 2018, at 11:22, Jonathan Harris notifications@github.com wrote:

I can't reproduce this with the mkv files with cover art that I have available. Can you get me a sample?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-377777062, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8MIRaHJpDx3o6fUvaVceAntdxd-ks5tkKpWgaJpZM4QR8Py.

vangeliis commented 6 years ago

Hi Jonathan,

First the good news: I managed to solve the ‘white preview image’ in Finder by removing iFlicks (can’t be 100% sure that iFlicks was the culprit).

However for some files (mkv and mp4) I get partial preview images (see attached screenshots, can you guess the film?). Resetting qlmanage and even completely removing the ~/Library/Cache folder does not solve the problem.

Any ideas?

Cheers, Vangelis

On 3 Apr 2018, at 12:01, Vangelis Christodoulou van.christodoulou@gmail.com wrote:

Hi Jonathan,

Many thanks for getting in touch. I have since then uninstalled QLVideo. I’ll try to re-install it when I find a spare moment and send you a sample.

Cheers, Vangelis

On 1 Apr 2018, at 11:22, Jonathan Harris <notifications@github.com mailto:notifications@github.com> wrote:

I can't reproduce this with the mkv files with cover art that I have available. Can you get me a sample?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-377777062, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8MIRaHJpDx3o6fUvaVceAntdxd-ks5tkKpWgaJpZM4QR8Py.

Marginal commented 6 years ago

@vangeliis Unfortunately GitHub stripped your attachments. Can you make one of these mkv or mp4 files available for me to download somewhere?

vangeliis commented 6 years ago

Hi,

Not easy. How can I send you these screenshots?

On 6 Apr 2018, at 16:58, Jonathan Harris notifications@github.com wrote:

@vangeliis https://github.com/vangeliis Unfortunately GitHub stripped your attachments. Can you make one of these mkv or mp4 files available for me to download somewhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-379298111, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8voc9D3-_l4AxY2sYGXwG_6wS55ks5tl5CugaJpZM4QR8Py.

iiiGerardoiii commented 6 years ago

Not easy.

C'mon now. https://mixtape.moe/

vangeliis commented 6 years ago

Sorry, not easy to upload large video files.

https://imgur.com/a/BU1Bi

On 6 Apr 2018, at 16:58, Jonathan Harris notifications@github.com wrote:

@vangeliis https://github.com/vangeliis Unfortunately GitHub stripped your attachments. Can you make one of these mkv or mp4 files available for me to download somewhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-379298111, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8voc9D3-_l4AxY2sYGXwG_6wS55ks5tl5CugaJpZM4QR8Py.

iiiGerardoiii commented 6 years ago

what's its filesize?

vangeliis commented 6 years ago

5Gb

I should mention that in any other finder view (icons, list, cover flow) the cover art is displayed correctly.

On 6 Apr 2018, at 17:25, Vangelis Christodoulou van.christodoulou@gmail.com wrote:

Sorry, not easy to upload large video files.

https://imgur.com/a/BU1Bi https://imgur.com/a/BU1Bi

On 6 Apr 2018, at 16:58, Jonathan Harris notifications@github.com wrote:

@vangeliis https://github.com/vangeliis Unfortunately GitHub stripped your attachments. Can you make one of these mkv or mp4 files available for me to download somewhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-379298111, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8voc9D3-_l4AxY2sYGXwG_6wS55ks5tl5CugaJpZM4QR8Py.

vangeliis commented 6 years ago

ffprobe report from a problematic file:

Stream #0:3: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 2000x3000 [SAR 1:1 DAR 2:3], 90k tbr, 90k tbn, 90k tbc Metadata: filename : CoverArt mimetype : image/jpeg

On 6 Apr 2018, at 17:35, Vangelis Christodoulou van.christodoulou@gmail.com wrote:

5Gb

I should mention that in any other finder view (icons, list, cover flow) the cover art is displayed correctly.

On 6 Apr 2018, at 17:25, Vangelis Christodoulou <van.christodoulou@gmail.com mailto:van.christodoulou@gmail.com> wrote:

Sorry, not easy to upload large video files.

https://imgur.com/a/BU1Bi https://imgur.com/a/BU1Bi

On 6 Apr 2018, at 16:58, Jonathan Harris <notifications@github.com mailto:notifications@github.com> wrote:

@vangeliis https://github.com/vangeliis Unfortunately GitHub stripped your attachments. Can you make one of these mkv or mp4 files available for me to download somewhere?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Marginal/QLVideo/issues/48#issuecomment-379298111, or mute the thread https://github.com/notifications/unsubscribe-auth/Af0rr8voc9D3-_l4AxY2sYGXwG_6wS55ks5tl5CugaJpZM4QR8Py.

vangeliis commented 6 years ago

qlmanage -m server: living for 121s (0 requests handled) - instant off: yes - arch: X86_64 - user id: 501 memory used: 1 MB (1180544 bytes) - used descriptors: 21/256 plugins: org.openxmlformats.presentationml.slideshow -> /System/Library/QuickLook/Office.qlgenerator (32) com.adobe.pdf -> /System/Library/QuickLook/PDF.qlgenerator (743.13) com.apple.localized-pdf-bundle -> /System/Library/QuickLook/LocPDF.qlgenerator (743.13) public.3d-content -> /System/Library/QuickLook/SceneKit.qlgenerator (433.6) com.apple.iwork.keynote.key -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.ical.bookmark -> /System/Library/QuickLook/iCal.qlgenerator (743.13) com.apple.application -> /System/Library/QuickLook/StandardBundles.qlgenerator (743.13) com.microsoft.word.doc -> /System/Library/QuickLook/Office.qlgenerator (32) com.microsoft.powerpoint.pot -> /System/Library/QuickLook/Office.qlgenerator (32) org.openxmlformats.wordprocessingml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.iwork.keynote.sffkey -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.ichat.ichat -> /System/Library/QuickLook/iChat.qlgenerator (5500) com.microsoft.word.dot -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.iwork.keynote.sffkth -> /Library/QuickLook/iWork.qlgenerator (195) org.openxmlformats.presentationml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.keynote.key -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.mail.email -> /System/Library/QuickLook/Mail.qlgenerator (3445.6.18) com.apple.iwork.pages.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (195) public.movie -> /Library/QuickLook/Video.qlgenerator (1.9.1) com.apple.iwork.keynote.kth -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.iwork.numbers.sffnumbers -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.package -> /System/Library/QuickLook/Package.qlgenerator (743.13) org.openxmlformats.wordprocessingml.document.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.iwork.pages.sffpages -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.ical.ics -> /System/Library/QuickLook/iCal.qlgenerator (743.13) org.oasis-open.opendocument.text -> /System/Library/QuickLook/Text.qlgenerator (743.13) org.openxmlformats.wordprocessingml.template -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.ical.ics.event -> /System/Library/QuickLook/iCal.qlgenerator (743.13) com.microsoft.excel.xlt -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.iwork.numbers.sfftemplate -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.iwork.keynote.key-tef -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.ibooksauthor.book -> /Library/QuickLook/iBooksAuthor.qlgenerator (1.0) com.apple.internet-location -> /System/Library/QuickLook/Clippings.qlgenerator (743.13) com.rsa.pkcs-12 -> /System/Library/QuickLook/Security.qlgenerator (55109.50.6) org.openxmlformats.presentationml.slideshow.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.microsoft.word.stationery -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.ibooks-folder -> /System/Library/QuickLook/iBooks.qlgenerator (1) public.x509-printable-encoded-archive -> /System/Library/QuickLook/Security.qlgenerator (55109.50.6) public.xml -> /System/Library/QuickLook/Text.qlgenerator (743.13) org.openxmlformats.wordprocessingml.document -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.rtfd -> /System/Library/QuickLook/Text.qlgenerator (743.13) com.apple.systempreference.prefpane -> /System/Library/QuickLook/StandardBundles.qlgenerator (743.13) org.openxmlformats.spreadsheetml.template -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.keychain -> /System/Library/QuickLook/Security.qlgenerator (55109.50.6) public.font -> /System/Library/QuickLook/Font.qlgenerator (743.13) public.x509-certificate -> /System/Library/QuickLook/Security.qlgenerator (55109.50.6) com.apple.iwork.pages.template -> /Library/QuickLook/iWork.qlgenerator (195) com.adobe.illustrator.ai-image -> /System/Library/QuickLook/EPS.qlgenerator (743.13) public.vcard -> /System/Library/QuickLook/Contact.qlgenerator (743.13) com.apple.finder.textclipping -> /System/Library/QuickLook/Clippings.qlgenerator (743.13) org.openxmlformats.presentationml.template -> /System/Library/QuickLook/Office.qlgenerator (32) org.openxmlformats.spreadsheetml.template.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.iwork.numbers.numbers -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.iwork.pages.pages -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.ichat.transcript -> /System/Library/QuickLook/iChat.qlgenerator (5500) com.apple.mail.emlx -> /System/Library/QuickLook/Mail.qlgenerator (3445.6.18) com.apple.iconset -> /System/Library/QuickLook/Icon.qlgenerator (743.13) com.apple.addressbook.group -> /System/Library/QuickLook/Contact.qlgenerator (743.13) com.apple.property-list -> /System/Library/QuickLook/Text.qlgenerator (743.13) org.idpf.epub-container -> /System/Library/QuickLook/iBooks.qlgenerator (1) com.apple.addressbook.person -> /System/Library/QuickLook/Contact.qlgenerator (743.13) com.apple.safari.history -> /System/Library/QuickLook/Bookmark.qlgenerator (743.13) public.html -> /System/Library/QuickLook/Web.qlgenerator (743.13) com.apple.iwork.numbers.template -> /Library/QuickLook/iWork.qlgenerator (195) com.microsoft.powerpoint.pps -> /System/Library/QuickLook/Office.qlgenerator (32) public.plain-text -> /System/Library/QuickLook/Text.qlgenerator (743.13) com.apple.safari.bookmark -> /System/Library/QuickLook/Bookmark.qlgenerator (743.13) public.audio -> /System/Library/QuickLook/Audio.qlgenerator (743.13) org.idpf.epub-folder -> /System/Library/QuickLook/iBooks.qlgenerator (1) com.apple.pict -> /System/Library/QuickLook/Clippings.qlgenerator (743.13) public.xhtml -> /System/Library/QuickLook/Web.qlgenerator (743.13) org.openxmlformats.presentationml.presentation.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.finder.pictclipping -> /System/Library/QuickLook/Clippings.qlgenerator (743.13) com.apple.ical.bookmark.todo -> /System/Library/QuickLook/iCal.qlgenerator (743.13) com.apple.iwork.numbers.numbers-tef -> /Library/QuickLook/iWork.qlgenerator (195) com.apple.webarchive -> /System/Library/QuickLook/Web.qlgenerator (743.13) org.openxmlformats.presentationml.presentation -> /System/Library/QuickLook/Office.qlgenerator (32) public.svg-image -> /System/Library/QuickLook/Web.qlgenerator (743.13) com.apple.private.live-photo-bundle -> /System/Library/QuickLook/LivePhoto.qlgenerator (743.13) public.image -> /System/Library/QuickLook/Image.qlgenerator (743.13) org.openxmlformats.spreadsheetml.sheet -> /System/Library/QuickLook/Office.qlgenerator (32) com.microsoft.excel.xls -> /System/Library/QuickLook/Office.qlgenerator (32) org.openxmlformats.spreadsheetml.sheet.macroenabled -> /System/Library/QuickLook/Office.qlgenerator (32) public.rtf -> /System/Library/QuickLook/Text.qlgenerator (743.13) com.apple.iwork.pages.pages-tef -> /Library/QuickLook/iWork.qlgenerator (195) com.microsoft.powerpoint.ppt -> /System/Library/QuickLook/Office.qlgenerator (32) public.comma-separated-values-text -> /System/Library/QuickLook/Office.qlgenerator (32) com.apple.ical.ics.todo -> /System/Library/QuickLook/iCal.qlgenerator (743.13) com.adobe.encapsulated-postscript -> /System/Library/QuickLook/EPS.qlgenerator (743.13) com.microsoft.advanced-systems-format -> /Library/QuickLook/Video.qlgenerator (1.9.1)

qlmanage -p -d1 ~/Movies/Incoming/The\ Greatest\ Showman.mkv

Testing Quick Look preview with files: Movies/Incoming/The Greatest Showman.mkv [DEBUG] Preview test for Movies/Incoming/The%20Greatest%20Showman.mkv -- file:///Users/vangelis/. Content type UTI: org.perian.matroska [DEBUG] Previewing file:///~/Movies/Incoming/The%20Greatest%20Showman.mkv. Content type UTI: org.perian.matroska. Generator used: <QLGenerator /Library/QuickLook/Video.qlgenerator> [DEBUG] Loading <QLGenerator /Library/QuickLook/Video.qlgenerator> [DEBUG] Previewing file:///Users/vangelis/Movies/Incoming/The%20Greatest%20Showman.mkv finished 2018-04-10 13:56:14.231 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.232 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void _Nullable): map table argument is NULL 2018-04-10 13:56:14.334 qlmanage[5553:1032829] void _Nullable NSMapGet(NSMapTable _Nonnull, const void * _Nullable): map table argument is NULL 2018-04-10 13:56:14.460 qlmanage[5553:1032829] CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xb907, name = 'com.apple.coredrag' See /usr/include/servers/bootstrap_defs.h for the error codes. 2018-04-10 13:56:14.507 qlmanage[5553:1032829] CFMessagePort: bootstrap_register(): failed 1100 (0x44c) 'Permission denied', port = 0xdc1f, name = 'com.apple.tsm.portname' See /usr/include/servers/bootstrap_defs.h for the error codes.

Marginal commented 6 years ago

I can now reproduce the issue using cover art attached with mkvmerge --attach-file. The issue seems to occur reliably only with large (in bytes, not necessarily dimensions) JPEG files. PNGs are fine. Not sure why.

vangeliis commented 6 years ago

Can you also reproduce it using Subler (for mp4) and adding cover art from TheMovieDB?

On 11 Apr 2018, at 17:18, Jonathan Harris notifications@github.com wrote:

I can now reproduce the issue using cover art attached with mkvmerge --attach-file. The issue seems to occur reliably only with large (in bytes, not dimensions) JPEG files. PNGs are fine. Not sure why.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Marginal commented 1 year ago

Closing. Please use HelpReport an Issue in the app if you're still seeing this behaviour with release 2.00, as described here.