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

x265 in .mkv format mostly (or all?) black screen #46

Open
jkantr opened this issue Apr 28, 2020 · 5 comments
Open

x265 in .mkv format mostly (or all?) black screen #46

jkantr opened this issue Apr 28, 2020 · 5 comments

Comments

@jkantr
Copy link

jkantr commented Apr 28, 2020

Hi - it appears that all videos I try to play using x265 compression (and in mkv format) are just black screen. The rest of the features / functions appear to work just fine.

Is this expected behavior? Is adding x265 support something I can work on possibly? (I have reasonably extensive node.js experience, with some electron experience, and minimal video-based experience).

If this isn't expected behavior... is it possible there's some system-wide stuff I need to add to get this working properly? Most of my library is in this format. Thanks.

Edit: Okay - I see the giant note in the README now about x265 not being supported. Is there a pathway to get this implemented? I see the distributed ffmpeg appears to be built with the --enable-libx265 flag... so that isn't the problem. I might be able to carve out some time to work on it if i can be given some direction and you accept PRs, thanks.

@jkantr
Copy link
Author

jkantr commented Apr 28, 2020

Just for anyone else wondering:

  • Yes it's possible
  • It currently appears to involve a custom build of electron using a custom build of chromium that has a custom build of ffmpeg
  • Probably at some point in the future it will "just work" when updating electron, but no idea where that point is.

I'll probably just resort to transcoding the part of my library I care about for now.

@jkantr
Copy link
Author

jkantr commented Apr 28, 2020

Another update! It would appear this should be fairly stable as of chromium v78~ish... and the newer versions of electron are using chromium ~v8x... so in theory this should "just work" if the version of electron built with is updated and there's no pitfalls. May give it a go later.

@jkantr
Copy link
Author

jkantr commented Apr 28, 2020

Last update - it would appear that even with newest stable electron/chromium, this still isn't a supported thing out of the box. It would involve custom builds of ffmpeg -> chromium -> electron afaict. Feel free to leave this open / close it / whatever for future reference.

@rajlego
Copy link

rajlego commented Jul 6, 2020

I'm guessing you've resorted to transcoding then, any suggestions on mass conversion from x265?

@SpongebobSquamirez
Copy link

I heard chromium added support for h.265 out of the box - does this work now? How can we update electron/voracious to take advantage of this support?

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

No branches or pull requests

3 participants