Casparcg Chrome
All: It's great news that CasparCG now supports HTML5 rendering. Today I had the opportunity to 'play' a little around and so far this looks extremely cool. I was able to utilize the above provided 'DEMO' HTML code, even got it running using CasparCG client 2.06.
Additionally I built my own example including a clock widget, a moving image and a variable based text using as HTML Editor. Even handing over a variable to a text object using 'CALL 1-1 INVOKE 'otherFunction('testing');' worked fine. I just copied the. ITech wrote:Anyone know why an AJAX call might fail? I figured it might be because jQuery can't figure out the browser so I did a manual XMLHttpRequest and it still failed. I guess it's a security issue; accessing data between the file:/// protocol and is usually not allowed. Have you tried making a call using JSONP instead?
And does it work if you open the html file in Chrome normally? (I havn't tried the new version myself just yet, but I do know a thing or two about webdevelopment.;-) ) Best regards. // Ludvig Fjell. Code: Received message from 127.0.0.1: CALL 1-20 PLAY r n Executed command: CallCommand Sent message to 127.0.0.1: 202 CALL OK r n Ready for a new command Received message from 127.0.0.1: CALL 1-20 UPDATE 'Hallo' r n Executed command: CallCommand Sent message to 127.0.0.1: 202 CALL OK r n Ready for a new command The log says, it works, but i don't see any change on the output (the word 'hallo' under CASPARCG)? I also see no console logs, which should be according to the javascript code.
Any ideas why? Mungo P.S: Great Project!
Animations in HTML will have to be run at a set FPS that matches the channel mode of CCG. Your browser can run at 60fps and even more and animations are mostly based on requestAnimationFrame (CSS transitions use it). Berkelium in CCG has no idea that it's supposed to output at the channel mode - like 50fps - and Berkelium runs it at full speed like 60. I'm guessing that is the reason for any jerkiness with the HTML producer. It might be possible to get the HTML producer to draw at the channel FPS (like onEnterFrame in Flash producer).
Moving from Berkelium to CEF has been completed. I don't know then Robert will submit a pull request for it.
Hi there, To get to the point quickly, I wanted to play an internet radio stream under my video output in CasparCG. This is the stream: At first I tried to do this using ffmpeg but the mp3 stream was missing some headers so that was not an option. I then tried to directly point the HTML producer at the url. This gave me sound, even though the producer was not yet loaded, however I could not stop this sound from playing. I had to completely exit Caspar, so this option was also not viable. I then tried to use the tags to play the stream, which works fine in the latest Chrome version, but CasparCG did not play it at all.
I did get audio from a YouTube video however, so that was not the problem. I couldn't get a normal mp3 file to work either. Eventually I got it to work by pointing the HTML producer at a url which is meant for Windows Media Player playback of the audiostream.
Casparcg Chrome Wheels
Url: (Warning, chrome might crash on opening this link.) How come the tags are not supported in CasparCG??