Issue: Certain .mov types only supported on Apple, not affected by Chrome or Chromium.
JonnyBurger opened this issue Β· comments
From message posted on Discord by jonnyburger
hmm, I think not, now I just realized it
some types of .mov are only supported on apple π it doesn't depend on chrome or chromium
We should document and handle this better
Maybe have a function which can distinguish this
If certain mov are supported on apple. How come my chrome browser running in windows is able to run them?
Here is the video
81b96050-8c12-46ff-9e48-da8aa9755a27.mov
Preliminary analysis:
This is a QuickTime container (.mov) with a HEVC stream inside.
HEVC is only supported in some Chrome configurations, and enabled by default on Mac and Windows, controlled by the enable_platform_hevc
flag (Chrome source code: src/media/media_options.gni
)
We should investigate if we need to compile Chrome for Linux with this flag.
You can get the the duration of the video, but not the size. This is because the container stores the video duration, but the codec stores the height.
Recommendation:
- If you only need the duration, copy paste the source for
getVideoMetadata()
and remove the code for getting the height - If you need the size, use
getVideoMetadata()
from@remotion/renderer
. You need a server for that.