Twitch.tv VLC 2.0 06/1/14: Twitch.tv HLS revamp

Discuss and share scripts and script files...
admin
Site Admin
Posts: 60357
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Twitch.tv VLC 0.5.1 Update 24/04/13 - Support for ALL ga

Post by admin »

LOL, I know the feeling

klownboy
Posts: 4109
Joined: 28 Feb 2012 19:27

Re: Twitch.tv VLC 0.5.1 Update 24/04/13 - Support for ALL ga

Post by klownboy »

Hi 40k,
To be honest, I did download it and signed on for an account, but I'm not really into twitch.tv. I'm certainly getting use out of your youtube script though. Keep up the good work.
Ken
Windows 11, 22H2 Build 22621.1555 at 100% 2560x1440

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 0.5.1 Update 24/04/13 - Support for ALL ga

Post by 40k »

admin wrote:LOL, I know the feeling
Twitch made it to 1.0, I feel kind of proud actually.

If you're ever bored Don, mind looking at my VBS code to see if Xy can do the same using in-house scripting?
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.0 - First actually stable release (?) :)

Post by 40k »

If you run into the error "Can not find location of file; $g_Swf..." go to your <xyscripts> folder and delete any files related to the Twitch script with the exception of Twitch.xys of course.

- Twitch.ini
- Twitch.bat
- Twitch.vbs

In general most problems with the script can be resolved by deleted the script INI file. This triggers the configuration wizard to launch.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.1 - speed increase

Post by 40k »

Version 1.1

Code: Select all

+ Tweaked the download code a bit. Should be faster
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.1 - speed increase

Post by 40k »

Twitch has just updated their flash key and the script automatically retrieved the new key to remain functional. I'm so proud :D

Image
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.2 05/07/13 - Followed Streams update!

Post by 40k »

Major update on this one. New code now checks which streams you Follow or have Recently Watched and that are currently online, then shows them to you in a list :)
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.2 05/07/13 - Followed Streams update!

Post by 40k »

Some tweaks:

To automatically hide the rtmpdump command console window adjust the code in the script as follows:

Code: Select all

//Original 1.2 code:
//run ($g_ExecutionFile, , 0, 1);

//Modified code:
run ($g_ExecutionFile, , 0, 0);
The script will not work if you already have an instance of rtmpdump or VLC running before you execute it. You can introduce the following code in the "_Initialize" function to automatically kill any instance of rtmpdump or VLC:

Code: Select all

run ('Taskkill /F /IM rtmpdump.exe', , 0, 1);
run ('Taskkill /F /IM vlc.exe', , 0, 1);
note: if you allow multiple instances in VLC you can watch multiple streams at the same time without problems. You can enable this setting under Preferences.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.3 21/07/13 - Lot's of new stuff!

Post by 40k »

new update
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.3 21/07/13 - Lots of new stuff!

Post by 40k »

Next revision will not require the VB code as I've discovered that rtmpdump has integrated support for Justin.tv and Twitch.tv Flash hashing. I'm currently beta testing to see if this works in the long rung but it should noticeable speed up the script.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

rzepaso
Posts: 2
Joined: 18 Aug 2013 20:56

Re: Twitch.tv VLC 1.3 21/07/13 - Lots of new stuff!

Post by rzepaso »

Hey 40k i registered just to say thank you for this script. I was looking for something like this for days. There is some guy writing an addon for chrome but wasn't as effective so i was trying to find someting external. This script is actualy more or less what i was looking for. Would be great if you can dock such a key in tray but yeaa can't have everything as ppl say ;)

Keep up the good work man you deserve it.

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.3 21/07/13 - Lots of new stuff!

Post by 40k »

Version 1.4 now supports the new resolutions as defined by Twitch.tv
I believe they are making the move to this new naming scheme in preparation of their HLS video roll-out.
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 1.4 27/8/13: New resolutions on Twitch sup

Post by 40k »

I've just developed some code that allows you to use this script as a GUI for Livestreamer (http://livestreamer.tanuki.se/en/latest/index.html#)

Livestreamer allows you to view streams from a bunch of streaming sites including HLS from Twitch.tv

if anyone is interested I can post the code here, let me know :)
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

rzepaso
Posts: 2
Joined: 18 Aug 2013 20:56

Re: Twitch.tv VLC 1.4 27/8/13: New resolutions on Twitch sup

Post by rzepaso »

i would be intrested in code if you could provide it :)
nice that you are around to update it on recent changes too

Thank you

40k
Posts: 234
Joined: 09 Dec 2011 21:25

Re: Twitch.tv VLC 2.0 06/1/14: Twitch.tv HLS revamp

Post by 40k »

Version 2.0 is here.

Twitch no longer uses rtmp as a video platform streaming service. Instead, they have moved to HLS.
RTMPdump is no longer required. The script now uses Livestreamer. All info is in the OP.
Happy watching :)
I develop scripts that integrate media functionality into Xyplorer.
Hash - Twitch.tv in VLC (NEW 2.0!) - FFmpeg GUI - Youtube downloading
XYplorer for Linux! Tutorial

Post Reply