Closed psociety closed 3 years ago
In fact it is already supported, the extension is just missing on the list of supported video files.
I will add it in next release. In meantime you can edit your config.js file add missing entry, e.g. like this:
"VideoFilesExtensions": [ ".mov", ".avi", ".mp4", ".wmv", ".rm", ".mpg", ".mkv", ".webm", ]
But please remember to edit the file when program is not running, otherwise it will be overwritten when program closes.
Sorry to reopen but webm doesn't seem to be fully supported only with the videoFilesExtensions hack:
With an mp4:
With webm, video and thumbnails also look "broken" when manually jumping from one point to another:
mp4 is fine:
The "hack" should have no influence on the behavior. This seems to be a problem with this particular file (or files of similar characteristics). I have tested sample webm file and it works fine. If the sample file also works for you, then it means there is something wrong with the other file. Can you share it (link) ? Might be also a good idea to check whether the file is properly played with VLC (Simple Video Cutter uses VLC libs under the hood).
And btw. I have just released version 0.17 of Simple video Cutter which has built-in support for webm files.
Sure, everything that i record with this extension: https://chrome.google.com/webstore/detail/screen-recorder/hniebljpgcogalllopnjokppmgbhaden?hl=en
Sample: https://gofile.io/d/pGKv9L
Thanks, I am able now to replicate the issue on my machine!
Sadly, this seems to be limitation of VLC itself (or incorrect use of webm format by screen recorder). As written e.g. https://superuser.com/questions/1585091/fixing-the-length-duration-of-a-webm-file-takes-too-much-time-by-ffmpeg the H.264 is not supported by VLC in webm files. As you can see on the picture below, VLC player did not recognize length of this file either:
Unfortunately I am not able to fix it in SVC, this is a problem in LibVLC. I have created a separate issue though (#28) to add a warning for the user in this case.
Will SimpleVideoCutter support webm in a near future?