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

2 problems #143

Open
Razorbackfr opened this issue Jul 15, 2018 · 16 comments
Open

2 problems #143

Razorbackfr opened this issue Jul 15, 2018 · 16 comments

Comments

@Razorbackfr
Copy link

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

@WinterPhoenix
Copy link
Contributor

WinterPhoenix commented Jul 15, 2018

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.

@Bluscream
Copy link

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

@WinterPhoenix
Copy link
Contributor

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

@Bluscream
Copy link

Bluscream commented Jul 16, 2018

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

@WinterPhoenix
Copy link
Contributor

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

@Bluscream
Copy link

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

@WinterPhoenix
Copy link
Contributor

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.

@Bluscream
Copy link

Bluscream commented Jul 16, 2018

Why does my GMod include Awesomium and Chromium?

btw: Facepunch/garrysmod-issues#2089 seems to be interesting

@WinterPhoenix
Copy link
Contributor

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.

@Bluscream
Copy link

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
Copy link

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

@WinterPhoenix
Copy link
Contributor

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

@AkikoKumagara
Copy link

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.

@Bluscream
Copy link

Bluscream commented Jul 18, 2018

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 😂

@AkikoKumagara
Copy link

@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.

@Bluscream
Copy link

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

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