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

Can't preview H.265 video in .mp4 files #29

Closed 1davi closed 8 years ago

1davi commented 8 years ago

I converted some videos using HandBrake and the thumbnails show up on Finder, but they don't appear in the "Get Info" window and on Quick Look.

Marginal commented 8 years ago

There weren't very many H.265 samples around when I was testing H.265 support, so it's possible that I've missed something.

Please mail me with a link to one of your files. (If it's easier for you, just make a small 10 second clip - so long as it still demonstrates the problem).

Marginal commented 8 years ago

Thanks - it's a "hevc" (Main) encoded video inside a "mp42" container, with a .MP4 filename extension. What appears to be happening on my machine (Yosemite) is that QuickLook thinks it can handle the file itself using AVFoundation so isn't handing the file off to this plugin. AVFoundation can't handle H.265 files, so we have a failure.

@1davi As a workaround, try telling Handbrake to use the .M4V extension. (I know this suggestion sounds silly, but QuickLook really does seem to treat files with .MP4 and .M4V extensions differently).

Meanwhile I'll see if I can identify a proper fix.

1davi commented 8 years ago

You're right, using .m4v instead of .mp4 seems to fix the problem.

Renaming the extension of the file to .m4v works too, do you think this can cause any problem?


De: Jonathan Harris notifications@github.com Enviado: domingo, 13 de dezembro de 2015 03:33 Para: Marginal/QLVideo Cc: 1davi Assunto: Re: [QLVideo] HEVC/H.265 Thumbnails (#29)

Thanks - it's a "hevc" (Main) encoded video inside a "mp42" container, with a .MP4 filename extension. What appears to be happening on my machine (Yosemite) is that QuickLook thinks it can handle the file itself using AVFoundation so isn't handing the file off to this plugin. AVFoundation can't handle H.265 files, so we have a failure.

@1davihttps://github.com/1davi As a workaround, try telling Handbrake to use the .M4V extension. (I know this suggestion sounds silly, but QuickLook really does seem to treat files with .MP4 and .M4V extensions differently).

[https://avatars0.githubusercontent.com/u/14959546?v=3&s=400]https://github.com/1davi

1davihttps://github.com/1davi github.com Follow 1davi on GitHub and watch them build beautiful projects.

Meanwhile I'll see if I can identify a proper fix.

Reply to this email directly or view it on GitHubhttps://github.com/Marginal/QLVideo/issues/29#issuecomment-164228376.

Marginal commented 8 years ago

Renaming the extension of the file to .m4v works too, do you think this can cause any problem?

Won't cause any problems - it just causes OSX to skip some optimizations that it tries (and in this case fails) to do for public.mpeg-4 files, that it doesn't try to do for com.apple.m4v-video files.

Marginal commented 8 years ago

QuickLook's behaviour with H.265 .mp4 files is broken in different ways on Yosemite and El Capitan. I can't work around this in this plugin, so I've added a note to the Limitations section of the documentation.

Marginal commented 8 years ago

Note: QuickLook's behaviour with .mp4 files appears to be fixed in the Sierra beta.

DanAcosta commented 5 years ago

Is there a way to find h265 encoded movies in finder?

TraderStf commented 5 years ago

@DanAcosta Finder, new window, cmd-f (find), left menu choose 'Other...', type codecs, select it, choose 'contains' type 265 (or H.265)

Use 'contains' for a wider search or a smaller string, eg. it's not H265 but AAC, H.265 hence contains.

To find what you want, cmd-i in the finder, you will see details about the selected item(s)

AtomicNess123 commented 3 years ago

Here in Catalina not being a able to see preview in Finder using either mp4 or renaming the files to m4v. Any ideas?