Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webm support? #24

Closed
psociety opened this issue Sep 18, 2020 · 6 comments
Closed

webm support? #24

psociety opened this issue Sep 18, 2020 · 6 comments
Labels
enhancement New feature or request

Comments

@psociety
Copy link

Will SimpleVideoCutter support webm in a near future?

@bartekmotyl
Copy link
Owner

bartekmotyl commented Sep 18, 2020

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.

@bartekmotyl bartekmotyl added this to the release-0.17.0 milestone Sep 18, 2020
@bartekmotyl bartekmotyl added the enhancement New feature or request label Sep 18, 2020
@psociety psociety reopened this Nov 6, 2020
@psociety
Copy link
Author

psociety commented Nov 6, 2020

Sorry to reopen but webm doesn't seem to be fully supported only with the videoFilesExtensions hack:
1

With an mp4:
1

With webm, video and thumbnails also look "broken" when manually jumping from one point to another:
1

mp4 is fine:
1

bartekmotyl added a commit that referenced this issue Dec 5, 2020
@bartekmotyl
Copy link
Owner

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.

@psociety
Copy link
Author

psociety commented Dec 6, 2020

@bartekmotyl
Copy link
Owner

Thanks, I am able now to replicate the issue on my machine!

@bartekmotyl
Copy link
Owner

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:
obraz

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants