cinema icon indicating copy to clipboard operation
cinema copied to clipboard

2 problems

Open Razorbackfr opened this issue 6 years ago • 16 comments

Hi,

I have a problem when i watch in full screen, the theather screen is whit and i have sound only.

when i have in normal view, i have no problem .

and in private theater i can't view a youtube live video, i have the message with html 5 not suported but in public and private and public theater, i can view classic video on youtube.

This 2 problem can be solved ?

thanks in advance,

Razorbackfr

Razorbackfr avatar Jul 15 '18 11:07 Razorbackfr

YouTube Live isn't supported due to not being able to use proprietary codecs such as H.264 (MP4) in GMod's Web Browser, which YouTube Live relies on.

The reason regular YouTube videos work still is because those use VP8/VP9 (WebM) mainly, instead of H.264.

Even with the new Chromium browser, this will likely remain the case, unfortunately.

WinterPhoenix avatar Jul 15 '18 20:07 WinterPhoenix

Why can vlc support this codec and CEF can't?

Bluscream avatar Jul 15 '18 23:07 Bluscream

Because VLC uses Operating Systems' codecs, while CEF doesn't (uses ffmpeg), IIRC.

CEF can technically support H.264 if compiled with the flags to enable it (ala Chrome), however including CEF as part of your project (like in GMod), means that if you enable those flags, you're supposed to pay licensing royalties to MPEG Group. Not doing so might very well be illegal, so Facepunch doesn't seem exactly interested in doing that.

This has been a problem for a very, very long time lol

WinterPhoenix avatar Jul 16 '18 01:07 WinterPhoenix

Ahh, dangit. Is there a way to obtain a patched CEF lib so atleast some players could use propietary codecs?

Bluscream avatar Jul 16 '18 03:07 Bluscream

CEF is...more than just a library or two, but I really wouldn't know. I haven't looked into something like that.

WinterPhoenix avatar Jul 16 '18 14:07 WinterPhoenix

Where would i start if i wanted to look into this?

Bluscream avatar Jul 16 '18 16:07 Bluscream

I dunno, I haven't looked. I guess the first step would be to take a look at Chromium's source code and see what the flags for enabling h.264 change. And then compile CEF with those flags, and then pull whatever it changes into the CEF in GMod.

But honestly, I have no idea if something like that would even work, and even if it does, it might well take a very long time to figure out everything you need to change to get it to work.

And then on top of that you've gotta worry about not breaking anything with how CEF is integrated with GMod.

WinterPhoenix avatar Jul 16 '18 19:07 WinterPhoenix

Why does my GMod include Awesomium and Chromium?

btw: https://github.com/Facepunch/garrysmod-issues/issues/2089 seems to be interesting

Bluscream avatar Jul 16 '18 20:07 Bluscream

Awesomium is what's available on the main ("NONE" on Steam) branch. Both Awesomium and Chromium are available on the chromium branch because certain things (some Flash stuff mainly) are broken on Chromium that aren't in Awesomium, and to allow for testing/comparing both.

The chromium branch only ever loads Awesomium if you add -nochromium to your Launch Options though.

WinterPhoenix avatar Jul 16 '18 21:07 WinterPhoenix

I dont quite get the difference between them, isnt awesomium just a "better" "fork" of chromium?

Also i am on the "none" branch and still have both

Bluscream avatar Jul 17 '18 04:07 Bluscream

Guess i'll have to check my task manager to see which ones being used

Bluscream avatar Jul 17 '18 04:07 Bluscream

Awesomium is a fork of Chromium when Chromium was version ~18 and hasn't been updated since then. We're on version ~67 now. So there's a lot that's changed since then lol

WinterPhoenix avatar Jul 17 '18 06:07 WinterPhoenix

You don't have Chromium on the "none" branch. I'm not sure what would make you believe that, but it simply doesn't even exist there.

AkikoKumagara avatar Jul 18 '18 19:07 AkikoKumagara

grafik grafik @Sophie-bear ...

OT: I laughed so hard at the fact that you had to point out that you create music on real instruments on your bio :joy:

Bluscream avatar Jul 18 '18 22:07 Bluscream

@Bluscream Hmm, that's interesting. It might be there in files, but I don't think it's ever loaded if you're not on Chromium's branch.

AkikoKumagara avatar Jul 18 '18 23:07 AkikoKumagara

I'm gonna check that via the taskmanager in different gamemodes and let you know.

Bluscream avatar Jul 18 '18 23:07 Bluscream