Hi, I am trying to capture the chat room's text (see link below) as it is being entered in real time. In one of my app projects, I am coding a (video and chat text) for a condensed browser. But I am having trouble figuring out how to capture only the text.
EDIT: 2016-03-06 sun 10:32am, the link below may not be up during the time you try it. but you can use this link (for testing and reviewing the source code via view source or ctrl+u in your browser) since it seems to be up 24/7, i think: http://www.twitch.tv/magic.
The website for twitch.tv video gamers streams:
I can get the video with livestreamer with the following method:
Results outputCode:E:\tools\youtube-dl\youtube-dl -F http://www.twitch.tv/2mgovercsquared
and, to capture the video stream:Code:[twitch:stream] 2mgovercsquared: Downloading stream JSON [twitch:stream] 2mgovercsquared: Downloading channel access token [twitch:stream] 2mgovercsquared: Downloading m3u8 information [info] Available formats for 20013969952: format code extension resolution note meta mp4 multiple Quality selection URL Mobile mp4 400x226 164k Low mp4 640x360 596k Medium mp4 852x480 928k High mp4 1280x720 1760k Source mp4 1280x720 3468k (best) Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: You must provide at least one URL. Type youtube-dl --help to see a list of all options. Usage: youtube-dl [OPTIONS] URL [URL...] youtube-dl: error: You must provide at least one URL. Type youtube-dl --help to see a list of all options.
Is there any way I can get the *live* chat text in real time through .js or other code snip ?Code:livestreamer "http://www.twitch.tv/2mgovercsquared" best -o source.mp4.flv
The real time chat text is on the right side. It does go by pretty fast when too many people talk.
In my app, i want to just make a video window and a chat text. I'm half-way there, i guess, since i can use livestreamer instead of a screen capture app. I use "123 realtime recorder" for that when i can't obtain the streaming video.
+ Reply to Thread
Results 1 to 1 of 1
Last edited by vhelp; 6th Mar 2016 at 10:35.