Re: Youtube livestream playback with CasperCG2.1

#2
the issue is due to changes with youtube, now the live stream plays h264 video stream and the html producer associated with caspar cg play HTML 5 so normal youtube files will play well at it is HTM5, the built in browser does not support H264 and so is the issue... it required to update the HTML producer with casparcg 2.1

Re: Youtube livestream playback with CasperCG2.1

#3
We play youtube livestreams all the time using 2.1. Before we issue a PLSAY command we lookup the direct HLS stream URL using youtube-dl:

Code: Select all

youtube-dl -f best[ext=mp4] -g https://youtube-com/....
You can play the returned URL using:

Code: Select all

PLAY 1-1 "https://manifest.googlevideo.com/api/manifest/hls_playlis...."

Note that the URL returned by youtube-dl is only valid for a couple of hours. So maybe some scripting is needed.