Due to losslesscut using chromium's html5 video tag which only supports certain container formats and codecs, we currently need to "convert to supported format" when trying to open exotic formats or codecs. This could be improved with the help of ffmpeg.
Workarounds
Compile custom electron
Convert to supported format
Currently it's possible to cut those files by first using the File -> Convert to supported format (slow) function, however this is a re-encoding (although fast) of the whole file, just to be able to view it in the HTML5 video player (note that the original and cut versions will not be re-encoded and are still lossless.)
Improve current proxy/dummy code
Currently a <canvas> element is used, and ffmpeg will stream low-resolution jpeg images to that canvas.
Drawbacks:
- Slow, laggy, low resolution, low fps
- No audio
This could be improved:
Related
Electron (Chromium) might never support h265
It seems like Chrome and most other browsers are not going to be supporting H265 as it stands now, and since we are using Chromium (Electron), this will be a problem.
It might be possible to enable a flag to enable H265 decoding, but it requires some modding of electron.
Update: Chromium now supports h265 (hardware decoding only)
Due to losslesscut using chromium's html5 video tag which only supports certain container formats and codecs, we currently need to "convert to supported format" when trying to open exotic formats or codecs. This could be improved with the help of ffmpeg.
Workarounds
Compile custom electron
Convert to supported format
Currently it's possible to cut those files by first using the
File->Convert to supported format (slow)function, however this is a re-encoding (although fast) of the whole file, just to be able to view it in the HTML5 video player (note that the original and cut versions will not be re-encoded and are still lossless.)Improve current proxy/dummy code
Currently a
<canvas>element is used, and ffmpeg will stream low-resolution jpeg images to that canvas.Drawbacks:
This could be improved:
Related
Electron (Chromium) might never support h265It seems like Chrome and most other browsers are not going to be supporting H265 as it stands now, and since we are using Chromium (Electron), this will be a problem.It might be possible to enable a flag to enable H265 decoding, but it requires some modding of electron.
Update: Chromium now supports h265 (hardware decoding only)