-
Notifications
You must be signed in to change notification settings - Fork 105
Some files have no sound, some can't play video. #146
Comments
Can you please provide those files for testing? |
Oooh. Those are big files. But I'll see if I can encode some small samples with those codecs to reproduce the issue. |
Here are 4 test files I've made with two video codecs and two audio
All files play in VLC if opened directly. |
FYI, I didn't find solution yet but atm I have a feeling |
Thanks for looking into it! Have you tried it on Linux or on other OS (Win/Mac) ? Wondering if it's Linux specific issue. |
No, I didn't. But I'm sure 90% it's Linux specific. |
I tried disabling sandbox in electron in every way they allow it in their docs but it doesn't help. Found this MR to electron: electron/electron#15894 something about mixed sandboxing specifically for linux. I'm not skilled enough to figure out if that's related or any helpful at all :( I also tried building mpvjs project, after eventually succeeding it ended up having exactly the same problem. |
Hm... interesting... Thanks for sharing this info. |
I think I've found the reason and it's old issue: #69 (comment) |
Hm, interesting. So what can be a possible workaround here? I've seen some issues that asked how to use custom ffmpeg in electron instead of built in one. Would that be a possible course of actions? |
If you will be able rebuild ffmpeg with all required codecs - then you will not need WebChimera.js at all. |
I've tried to run the
ugly demo
project with prebuilt binaries under Linux (Ubuntu 21.04) and it has inconsistent playback behavior. Some files play fine, some have no sound, some have no video.In logs I can see that it fails to find/load codecs, but the VLC itself is playing those videos just fine.
@RSATom Can you help me figure out how to solve this?
In logs for missing audio I can see
Codec 'eac3' (A/52 B Audio (aka E-AC3)) is not supported
In logs for missing video I can find
Codec 'hevc' (MPEG-H Part2/HEVC (H.265)) is not supported.
The text was updated successfully, but these errors were encountered: