-
Notifications
You must be signed in to change notification settings - Fork 8
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
HTML Templates not working #51
Comments
If you installed through Debian Package manger then CEF will not be included for licensing reasons I think. |
How do I install CEF, then? |
I couldn't find it in my package manager, easily.... |
It has to be included at compile time, which should be pretty easy to do if you have docker installed: https://github.com/CasparCG/server/blob/master/BUILDING.md#linux |
I followed that guide and got *** stack smashing detected *** when trying to run it. I'm sooooooooo frustrated. |
I have created a simple template that works fine in a browser. When trying to add it, it fails with the following:
[info] Received message from 127.0.0.1: CG 1-20 ADD 1 "THIRDS-TEST" 1 ""\r\n
[error] Turn on log level debug for stacktrace.
[info] Sent message to 127.0.0.1:404 CG ADD FAILED\r\n
I have added an html section to my config file, but connecting to localhost at the port specified fails. Is CEF not installed, or something? I think I installed this from a repo...
Here is more of the log:
[2021-03-23 14:14:35.015] [info] Starting CasparCG Video and Graphics Playout Server 2.2.0 8bc4132 Stable
[2021-03-23 14:14:35.016] [info] Initialized ffmpeg module.
[2021-03-23 14:14:35.016] [info] Initialized oal module.
[2021-03-23 14:14:35.016] [info] Initialized decklink module.
[2021-03-23 14:14:35.016] [info] Initialized screen module.
[2021-03-23 14:14:35.016] [info] Initialized image module.
[2021-03-23 14:14:35.016] [info] "/etc/casparcg/casparcg.config":
[2021-03-23 14:14:35.016] [info] -----------------------------------------
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] /etc/casparcg/media/
[2021-03-23 14:14:35.016] [info] /etc/casparcg/log/
[2021-03-23 14:14:35.016] [info] /etc/casparcg/data/
[2021-03-23 14:14:35.016] [info] /etc/casparcg/template/
[2021-03-23 14:14:35.016] [info] /etc/casparcg/font/
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] CameraSecret
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] 1080p3000
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] udp://127.0.0.1:10000/stream.ts
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] 5250
[2021-03-23 14:14:35.016] [info] AMCP
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] localhost
[2021-03-23 14:14:35.016] [info] 8000
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] info
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] 8888
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info]
[2021-03-23 14:14:35.016] [info] -----------------------------------------
[2021-03-23 14:14:35.096] [info] Initializing OpenGL Device.
[2021-03-23 14:14:35.098] [info] Initialized OpenGL 4.5 (Core Profile) Mesa 18.3.6 Intel Open Source Technology Center
[2021-03-23 14:14:35.125] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2021-03-23 14:14:35.126] [info] video_channel[1|1080p3000] Successfully Initialized.
[2021-03-23 14:14:35.126] [info] ffmpeg[udp://127.0.0.1:10000/stream.ts] Initialized.
[2021-03-23 14:14:35.126] [info] Initialized channels.
[2021-03-23 14:14:35.127] [info] Initialized controllers.
[2021-03-23 14:14:35.127] [info] Initialized osc.
[2021-03-23 14:14:35.350] [info] async_event_server[:5250] Accepted connection from 127.0.0.1 (1 connections).
[2021-03-23 14:14:35.351] [info] Received message from 127.0.0.1: VERSION SERVER\r\n
[2021-03-23 14:14:35.351] [info] Sent message to 127.0.0.1:201 VERSION OK\r\n2.2.0 8bc4132 Stable\r\n
[2021-03-23 14:14:35.352] [info] Received message from 127.0.0.1: INFO\r\n
[2021-03-23 14:14:35.352] [info] Sent message to 127.0.0.1:200 INFO OK\r\n1 1080p3000 PLAYING\r\n\r\n
[2021-03-23 14:14:35.354] [info] Received message from 127.0.0.1: CLS\r\n
[2021-03-23 14:14:35.361] [info] Sent message to 127.0.0.1:200 CLS OK\r\n"CHURCH-FIELD" STILL 1719942 20210322205428 NaN 0/0\r\n\r\n
Here is the contents of the html file:
<title>lower-third-responsive.html</title> <script type="text/javascript"> function play(){console.log('play');} function stop(){console.log('stop');} function update(){console.log('update');} </script> <style type="text/css"> html { /* Explicitly set background color */ background-color: transparent; box-sizing: border-box; overflow: hidden; font-family: Verdana, Geneva, sans-serif; font-size: 4vh; color:#FFF; } #container {position:absolute; bottom:2vh; left:1vw; right:1vw; padding:1em 0 1em 7.5em; text-shadow:.1vw .1vh #444;} #container img{height:auto; width:95vw; position:absolute; bottom:0; left:0; z-index:0; } .line{position:relative; float:left; z-index:1; clear:both;} .main{font-size:4vh;} .sub{font-size:1vh;} </style>The text was updated successfully, but these errors were encountered: