|
Starcraft Stream Viewer for Streamlink + VLC Media Player Latest update to this guide: September 10, 2017: Added the new Afreeca ASL streams to the .bat file (preparing for ASL Season 4). + Show Spoiler [Changelog] +August 16, 2016: First version of document August 23, 2016: Wording and clarifications, no new or updated downloads September 6, 2016: Wording and clarifications, no new or updated downloads October 4, 2016: Added Rain to the .bat file October 29, 2016: Added Soulkey to the .bat file April 1, 2017: Added Jaedong, Stork, and BackHo to the .bat file April 3, 2017: Added ggaemo and HyuN to the .bat file April 5, 2017: Added Shine to the .bat file April 24, 2017: Added Horang2 to the .bat file April 29, 2017: v2.0: Streamlink & .bat launcher update August 18, 2017: v3.0: New launcher and support for Twitch. Added lots of players to the launcher August 19, 2017: Added MaNa, LancerX, Bonyth, and Schamtoo to the .bat launcher. September 5, 2017: Minor tweaks to the .bat launcher, added a few players. September 10, 2017: Added the new Afreeca ASL streams to the .bat file (preparing for ASL Season 4).
![[image loading]](http://i.imgur.com/2E9Lq1o.png)
Welcome back to Brood War.
With the release of Starcraft: Remastered, more people are streaming Starcraft than ever before. In South Korea, most top SC/BW players have a channel from which they stream their practice games every day. The platform of choice for many of these players is the streaming service Afreeca, South Korea's answer to Twitch.tv
Unfortunately, Afreeca occasionally lags for foreigners (depending on the Afreeca server currently assigned to serve users), and the interface is confusing if you can't read Korean. Players frequently use random IDs on Afreeca: Bisu is "rlaxordyd", Last is "rlatjdgus228", Shuttle is "jk890202". These are their stream names even when watching an embedded stream from TeamLiquid, so it quickly becomes confusing.
The most lag-free method of watching streams is using Streamlink. It is a command line utility that connects live streams to a media player (usually VLC). This process is automated using a simple launcher (a Windows .bat file). This launcher features CDN server and stream quality options, and you can view multiple streams at once.
You can watch Afreeca.com and Twitch.tv streams using this method, with more to come.
Files and instructions below are always up to date. Any new .bat files, fixes or updates posted in the comment section are automatically added to this guide. If you are currently performing a first-time install, you do not need to look for file updates in the comment section. Updates posted in the comment section after your first time install may be of use to you, especially if the .bat file was updated to include additional players.
Below guide confirmed working perfectly as of October, 2017.
NOTE: As of writing, Amazon AWS is out of commission. Please use GSCDN for the time being.
Requirements
Streamlink requires Windows Vista SP2 or above
Installation
Fast portable install (recommended) • Install VLC Media Player (install to default directory) • Download Starcraft Stream Viewer (Streamlink 0.7.0 Portable).exe • Launch the .exe and extract to any location • Launch the .bat file in the Stream Viewer folder
Fast manual install • Install VLC Media Player (install to default directory) • Install Streamlink • Download afreeca.py. • Go to Streamlink's plugins folder (C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins), overwrite afreeca.py • Download Starcraft Stream Viewer.bat and run it. Done!
Detailed manual installation below
+ Show Spoiler [Click for Linux instructions] +NOTE BY AYLEAR:This Linux install is maintained by TeamLiquid user letian. Contact him if you have any problems with the Linux setup. On July 09 2017 18:22 letian wrote:To all Linux users.
I have dropped my livestreamer fork and switched to streamlink backend. Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here. As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here. The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players. Here is a github repo with the instructions and the required files. + Show Spoiler [Old version] +On August 23 2016 23:12 letian wrote:Ok, I figured it out for Linux. 1. First uninstall with your package manager any previous versions of livestreamer. For archlinux/manjaro: sudo pacman -Rcn livestreamer2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com" 3. Download my livestreamer fork with all afreeca modifications included. git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty4. cd livestreamer-tasty5. sudo python3 setup.py install Now you can use afreeca.sh to play streams! Use !online command to get currently available streamers, use exit to quit afreeca.sh.
1) Install VLC Media Player
• Install VLC Media Player (install to default directory or be prepared to edit the .bat file later)
2) Install Streamlink
• Install Streamlink (use the stable build, direct link here if you need it)
3) Update Streamlink scripts
Download afreeca.py (right-click and save link as...) to a folder (don't overwrite from the browser directly) Navigate to your Streamlink plugins folder, usually:
C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins Replace the afreeca.py file in this folder with the one you just downloaded (copy and overwrite).
NOTE: Browser do not have permission to directly overwrite files in C:\Program Files or other system folders. You need to download the file to a location on your computer and then manually copy/paste and overwrite.
4) Download Windows .bat launcher file
Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit): Starcraft Stream Viewer.bat (right-click and save link as)
If you installed VLC to a custom location you will need to edit the .bat file now. Click the spoiler below. + Show Spoiler [If VLC installed to custom folder] +If you installed VLC to a custom folder, you will have to edit the .bat file and add the path to the set vlcpath= line. Open the .bat file with a text editor (Notepad++ is recommended, although Notepad will do fine) and follow the instructions near the top of the file. Example: If you installed VLC to D:\VLC, you would need to set the line to set vlcpath=D:\VLC\vlc.exe Using the launcher
Once you have installed everything, check the TeamLiquid sidebar to see who is currently streaming. (You can also check https://bwstreams.appspot.com/ which does the same thing and shows more streams.) Run the launcher.
You will be given the choice between Afreeca CDN servers. Amazon AWS may be better if you are in the US, while GSCDN may be better for European viewers. If streams still lag for you, switch CDN servers first before you mess with quality options. The CDN option only affects Afreeca connections.
NOTE: As of writing, Amazon AWS is out of commission. Please use GSCDN for the time being.
When prompted, type in the name (or ID) of a player you want to watch, then select the desired stream quality. After a few moments, VLC should start up. You can keep typing in more names as well -- VLC will open new instances so that you can easily multistream.
If you enter a name or channel ID that has not been added to the launcher, the script will ask you if you want to attempt to connect to that name on Twitch.tv or Afreeca.com. This way you can use the launcher to watch any stream on either platform so long as you know the channel ID.
Lastly, most players have a lot of smurfs. Liquipedia has a list of SCR ladder aliases making it easier to look up who is playing who. If they are playing on the Fish server, the Fish Server entry on Liquipedia has a list as well.
Troubleshooting & FAQ
Q: Can I use another media player instead of VLC? + Show Spoiler +A: On September 05 2017 17:07 Arvendilin wrote: Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit. I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin". Anyway, to use this setup in MPC you need the following: - At least version 1.7 of MPC (1.6 or below will give file not found errors) - Edit the bat file with the following values: Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line: set vlcpath= ...which by default is blank. Type in the path to your MPC player, i.e. set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe Next, scroll down to the bottom of the .bat file and find the following line: start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output% Change this line to: start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output% ...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those. This worked on my system just fine. Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup. On September 06 2017 10:50 Arvendilin wrote: 2 small little infos for everyone who wants to use MPC aswell:
Some streams might only get audio not video, to fix that, go to options > Internal filters > Splitters and then increase stream analysis duration, this will give it time to detect every stream it gets send!
The second thing is that ofcourse have to go into multi window mode if you want to watch multiple streams, I know this is easy but I was confused for about 10 secs so I thought I'd let everyone know that that option exists!
Q: It takes a long time between entering a name into the command line and VLC opening. + Show Spoiler +A: That's normal. It usually takes 5 - 30 seconds for me to connect.
Q: Can I watch Afreeca VODs using this setup? + Show Spoiler +A: No, Streamlink cannot be used to watch VODs on Afreeca.
Q: The downloads are broken, I can't grab the .py and .bat files! + Show Spoiler +
Q: I think the .bat file is broken, the colors are all messed up. + Show Spoiler +A: If for some reason the .bat file appears messed up on your system (looking something like this as opposed to this), you may be on an outdated operating system. Streamlink requires Windows Vista SP2 or above (the guide has been tested and confirmed working on Windows 7, 8, and 10).
Q: I have messed with CDN and quality options, but the stream is still lagging. Can I fix it? + Show Spoiler +A: Possibly. I haven't needed to do this myself, but according to the guide on defiler.ru you can try the following: Start -> Run "cmd.exe" In the command line interface, type the following:
nslookup chromecast.afreeca.gscdn.com Copy the IP address response, and add it to your hosts file. (See below for instructions.) This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file. How to add something to your hosts fileGoogle the path to your hosts file if you need to. On Windows 7/8/10 it is: C:\Windows\System32\drivers\etc\Right-click your hosts file, and uncheck read-only / write-protect. Edit the hosts file using notepad or notepad++. Add the IP address you received from the nslookup command, followed by "chromecast.afreeca.gscdn.com", to the bottom of the hosts file. Example: 121.156.109.165 chromecast.afreeca.gscdn.com Save the hosts file, and re-enable write-protect / read-only mode. It should look like this: ![[image loading]](http://i.imgur.com/TU3a7vk.png)
Q: I can't connect to some streams. When I try, I get this error message. + Show Spoiler +A: Remove any Afreeca IPs from the hosts file (see above).
Q: I connected to a streamer, but it just showed a countdown timer that did nothing when it got to 0. + Show Spoiler +A: Close the VLC window and type in the name again. This happens some times in embedded streams when watching Afreeca, possibly due to CDN or ad-service problems.
Q: I'm getting a generic cannot find streamlink error. + Show Spoiler +A: You haven't installed Streamlink properly. The .bat file requires you to install it using the Windows installer, which (among other things) adds Streamlink as a PATH variable so the .bat file can launch it properly.
Q: Error message: error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified) + Show Spoiler +A: VLC is not installed, or VLC is not installed to the default directory, or you forgot to edit the .bat file to point Streamlink to the proper VLC directory. See the installation instructions again for details.
Q: Error message: error: The available stream(s) 'aws_hd' could not be found. Available streams: live_hls, live (worst, best) + Show Spoiler +A: You didn't properly copy and replace the afreeca.py file linked in the OP, meaning you either skipped this step or it failed to overwrite properly. Browsers do not have permission to overwrite files in C:\Program Files, so you have to do it manually.
Q: Error message: error: Unable to open URL: [url=http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html]http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html[/url] (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)'))) + Show Spoiler +A: You probably didn't properly copy and replace the afreeca.py file linked in the OP, meaning you either skipped this step or it failed to overwrite properly. Browsers do not have permission to overwrite files in C:\Program Files, so you have to do it manually.
Q: Error message:error: No plugin can handle URL: (stream URL) + Show Spoiler +A: Turn off your antivirus; it may be aggressively throttling your Streamlink connection.
Q: Error message:error: No playable streams found on this URL + Show Spoiler +A: TeamLiquid only refreshes the sidebar periodically. The player may have just gone offline. Check https://bwstreams.appspot.com/ to see who is currently live and try another player.
Q: No seriously, I know Horang2 is streaming, but I'm still getting
error: No playable streams found on this URL + Show Spoiler +A: Some streamers (Horang2 does this some times) will occasionally set their streams to adults-only (19+) mode. When a stream is in adults-only mode, you have to use the Korean AfreecaTV Player (proprietary software) to view it, or Afreeca will refuse your connection. Either petition Horang2 to stop doing that, or find someone else to watch.
Q: What happened to Livestreamer and the old guide on defiler.ru? + Show Spoiler +A: Livestreamer is no longer being actively worked on, so any time the API changes or a plugin somehow breaks, there is no immediate fix. Afreeca keeps changing their API every few months to the frustration of everyone, and I finally got tired of updating the hls.py and afreecatv.py files.
Streamlink is the current replacement for Livestreamer. It has additional quality options which are easy to find, options for CDN servers, and is generally updated very frequently. I have created a new .bat file to make use of these options.
RoX.Malki still deserves credit for his original Livestreamer guide which formed the basis for this entire guide. His effort has given us months of watching Afreeca without lag. In that spirit, I'll try to keep things updated as best I can.
|
|
What are you trying to do? Open cmd.exe and copy-paste:
nslookup chromecast.afreeca.gscdn.com It's up as of writing, and it should give you an IP address.
|
It gives me 101.79.243.167, I kinda expected 121.156.109.165
|
I get this kind of error now, tried from the defiler.ru worked fine few days and then i got some error in hls.pu file (14 string cant open playlist or something)/ Now i get this:
|
moonlawn:
After reading your message I tried connecting to Mong's stream using my setup and it worked just fine. I have seen this timeout error a couple of times, but it always cleared up within minutes. I imagine it's Afreeca messing up. The quality of Afreeca's servers to the outside world seem to depend on your location and luck. Keep "refreshing" as it were.
If you added any Afreeca IPs to your hosts file, try removing them.
|
i went online and saw the afreeca streamers and got icarus that was online and tried and it gave me this error. i also checked couple of them and it gave me the same error
Nickname/Afreeca ID: psn1555 Nickname/Afreeca ID: error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified)
|
CfgosCuba: Are you on a 32-bit Windows system? You're using the afreeca_x64.bat file which is for 64-bit systems, and by default the .bat files expect VLC to be installed to default locations. The error message you are getting means Livestreamer can't find your VLC media player.
Make sure you have VLC installed. If it is installed, edit the .bat file to point to the installation directory, or download the other .bat file and try that one.
|
fixed.. I forgot to install VLC i installed and it worked perfect thanks
|
You're welcome. =) Good to know it's working.
|
I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"
livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo [cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo error: No streams found on this URL: afreeca.com/yuambo
|
I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uH
I've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working)
Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZ
Any clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D
|
Can somebody try the same setup on linux? I have converted afreeca_x64.bat to afreeca.sh.
It does not work on my machine for some reason, take a look at the .
|
Couple months ago Afreeca changed their domain URL to afreecatv.com instead of afreeca.com, so "No streams found on this URL" was the result when you tried to watch streams with livestreamer.
Changing the CHANNEL_INFO_URL to "afreecatv.com" fixed the issue. This can be found in the Afreecatv.py -file.
Those "connection timed out" -errors occur to me from time to time, but usually fixes itself.
|
Ok, I figured it out for Linux. 1. First uninstall with your package manager any previous versions of livestreamer. For archlinux/manjaro: sudo pacman -Rcn livestreamer
2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com" 3. Download my livestreamer fork with all afreeca modifications included. git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty 4. cd livestreamer-tasty 5. sudo python3 setup.py install
Now you can use afreeca.sh to play streams! Use !online command to get currently available streamers, use exit to quit afreeca.sh.
|
On August 23 2016 16:59 letian wrote: I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"
livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo [cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo error: No streams found on this URL: afreeca.com/yuambo
At first I thought you used the outdated defiler.ru tutorial instead of mine. As I said in the OP, Afreeca changed their domain names around so the old scripts are broken. My updated afreecatv.py file fixes this problem. Download that and replace the afreecatv.py file you nabbed from defiler.ru, or edit it yourself.
But apparently you're on Linux, so anything goes.
On August 23 2016 17:54 Bonyth wrote:I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uHI've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working) Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZAny clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D To everyone: Please read the Troubleshooting & FAQ section in the OP if you have any problems!
This problem is mentioned in the FAQ. Did you remove any and all Afreeca IPs from your hosts file? I was getting this very issue when watching streams, and it turns out an old entry in my hosts file was the culprit. Remove that -- if the problem persists we can try something else.
On August 23 2016 23:12 letian wrote:Ok, I figured it out for Linux. 1. First uninstall with your package manager any previous versions of livestreamer. For archlinux/manjaro: sudo pacman -Rcn livestreamer2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com" 3. Download my livestreamer fork with all afreeca modifications included. git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty4. cd livestreamer-tasty5. sudo python3 setup.py install Now you can use afreeca.sh to play streams! Use !online command to get currently available streamers, use exit to quit afreeca.sh.
Oh this is lovely. I'll add this to the OP if you don't mind. =)
|
On August 24 2016 02:57 Aylear wrote:Show nested quote +On August 23 2016 16:59 letian wrote: I am getting "No streams found on this URL." even though the player is shown online on "https://afreecabw.appspot.com/"
livestreamer --player="/usr/bin/vlc --file-caching=5000 --network-caching=5000 --meta-title=Sea" afreeca.com/yuambo [cli][info] Found matching plugin afreeca for URL afreeca.com/yuambo error: No streams found on this URL: afreeca.com/yuambo
At first I thought you used the outdated defiler.ru tutorial instead of mine. As I said in the OP, Afreeca changed their domain names around so the old scripts are broken. My updated afreecatv.py file fixes this problem. Download that and replace the afreecatv.py file you nabbed from defiler.ru, or edit it yourself. But apparently you're on Linux, so anything goes. Show nested quote +On August 23 2016 17:54 Bonyth wrote:I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uHI've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working) Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZAny clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D To everyone: Please read the Troubleshooting & FAQ section in the OP if you have any problems!This problem is mentioned in the FAQ. Did you remove any and all Afreeca IPs from your hosts file? I was getting this very issue when watching streams, and it turns out an old entry in my hosts file was the culprit. Remove that -- if the problem persists we can try something else. Show nested quote +On August 23 2016 23:12 letian wrote:Ok, I figured it out for Linux. 1. First uninstall with your package manager any previous versions of livestreamer. For archlinux/manjaro: sudo pacman -Rcn livestreamer2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com" 3. Download my livestreamer fork with all afreeca modifications included. git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty4. cd livestreamer-tasty5. sudo python3 setup.py install Now you can use afreeca.sh to play streams! Use !online command to get currently available streamers, use exit to quit afreeca.sh. Oh this is lovely. I'll add this to the OP if you don't mind. =) Yes, please. Basically all I added is afreeca.sh with ability to scan for online streamers and a livestreamer fork with your modifications included. Run afreeca.sh as "./afreeca.sh". You will be prompted to set the player's name. You can type "!online" to retrieve a list of online users. Type "exit" to quit the program.
|
This is a really nice guide for ppl who have constant lag problems with afreeca. Now, vlc works flawlessly and Flash stream does not lag anymore. It was literally unwatchable previously. Big thanks!
|
I get a generic windows "cannot find livestreamer" error. Everything was installed in Default locations too so I'm not sure what the issue is.
|
On August 24 2016 22:35 Atlare wrote: I get a generic windows "cannot find livestreamer" error. Everything was installed in Default locations too so I'm not sure what the issue is.
Can you elaborate more what you've done and how you are trying to use the program? Should be easy issue to solve. Also, i presume you installed it from here?
|
Sounds like you didn't use the installer when you installed Livestreamer. The .bat files requires the Livestreamer directory to be added to the PATH system variable. The installer does this automatically, the archive version doesn't.
|
Katowice25012 Posts
man you are going to kill what little productivity I had left
|
I just spent ~6 hours researching and editing a Liquipedia article. Don't talk to me about life. 
Edit: In entirely unrelated news, Bisu and Flash and Shuttle and Larva a 4th wheel are currently playing together. I'm sure that has no bearing on the conversation, however.
|
Katowice25012 Posts
BeSt was playing with them earlier I think it's hero now, only sorta paying attention. I wish I understood Korean because it seems like they get together and just trash talk each other and laugh while observing one another's games. PartinG called Bisu at one point and they were chatting while he was watching and laughing at it.
|
Using windows 10 64bit I type a name and nothing happens haha
|
On August 25 2016 21:05 AssyrianKing wrote: Using windows 10 64bit I type a name and nothing happens haha Use Linux x64 and everything will happen.
|
On August 25 2016 21:11 letian wrote:Show nested quote +On August 25 2016 21:05 AssyrianKing wrote: Using windows 10 64bit I type a name and nothing happens haha Use Linux x64 and everything will happen. Oh wait, my VLC was installed in an abnormal spot LOL, fixed, cheers ><
I tried Linux once... I think i'd prefer windows xp tbh LOL
|
I have problems getting it to work, have the latest version of VLC, installed livestreamer and deleted/placed the linked files correct. (Tripplechecked) I get the "No streams found on this URL" error message. (tried every streamer on https://afreecabw.appspot.com/ and they were live if i tried to watch through browser )
Anything i might have done wrong? I have VLC in a diffrent folder but changed that in the .bat.
|
On August 25 2016 23:01 Myggvalp wrote:I have problems getting it to work, have the latest version of VLC, installed livestreamer and deleted/placed the linked files correct. (Tripplechecked) I get the "No streams found on this URL" error message. (tried every streamer on https://afreecabw.appspot.com/ and they were live if i tried to watch through browser ) Anything i might have done wrong? I have VLC in a diffrent folder but changed that in the .bat.
Posted this couple days ago. Most likely the issue.
I don't think the installer has the correct afreecatv files that has the new domain URL added.
On August 23 2016 22:21 Grettin wrote: Couple months ago Afreeca changed their domain URL to afreecatv.com instead of afreeca.com, so "No streams found on this URL" was the result when you tried to watch streams with livestreamer.
Changing the CHANNEL_INFO_URL to "afreecatv.com" fixed the issue. This can be found in the Afreecatv.py -file.
Those "connection timed out" -errors occur to me from time to time, but usually fixes itself.
|
There's also the chance that the channel is in "+19 age" mode, which means you need a verified Afreeca account or you opened the stream with livestreamer before the channel changed modes.
|
|
ALLEYCAT BLUES49626 Posts
This is way better than doing it the normal way, thanks a lot.
|
If you want to watch Brood War on Afreeca get used to seeing stuff like this and having to switch between streams a lot to find the players who are actually playing the game.
|
On August 23 2016 17:54 Bonyth wrote:I got the same problem as moonlawn: http://screenshot.sh/oAFEvUnXyw8uHI've used this program for a long time now, but since like a week ago, i've started getting this message and I'm unable to watch anything. Also it's stopped working without any interference from me to the program (why would i do anything when it was working) Also, when I try to watch stream on-line, I'm getting this: http://screenshot.sh/mMEr5cvy6BAfZAny clues? For the past few days, I must watch korhal.info.pl It's not bad, but I'd rather have it live :D
fixed this :
Start -> Run "cmd.exe" In the command line interface, type the following:
nslookup chromecast.afreeca.gscdn.com
Copy the IP address response, and add it to your hosts file. (See below for instructions.)
This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file.
How to add something to your hosts file
Google the path to your hosts file if you need to. On Windows 7/8/10 it is: C:\Windows\System32\drivers\etc\
|
|
|
I went to check, but he's offline now. It is possible that he had just stopped streaming, but his stream still showed up on the site and in the TL sidebar. It takes a little while for both to refresh properly. Maybe you were trying to connect and he had already left.
Try again later and let me know if the problem persists.
|
On October 02 2016 19:56 Aylear wrote: I went to check, but he's offline now. It is possible that he had just stopped streaming, but his stream still showed up on the site and in the TL sidebar. It takes a little while for both to refresh properly. Maybe you were trying to connect and he had already left.
Try again later and let me know if the problem persists. I've tried 3 times when he's been online and no luck. I've checked each time 10-30 minutes later and the site said he was online. Its only his stream though, haven't had this problem with any other stream.
|
You simply need to add the following lines in the afreeca_x64.bat: :CASE_rain set id=ioioiobb GOTO PLAYER_START
|
On October 04 2016 20:03 juvenal wrote: You simply need to add the following lines in the afreeca_x64.bat: :CASE_rain set id=ioioiobb GOTO PLAYER_START
Damn it, I'm bad; I should have checked that. Thank you. Fixed. If you don't want to edit the .bat file yourself you can download the new versions here (also added to the OP):
Windows 64-bit: afreeca_x64.bat Windows 32-bit: afreeca_x86.bat
|
On October 04 2016 20:03 juvenal wrote: You simply need to add the following lines in the afreeca_x64.bat: :CASE_rain set id=ioioiobb GOTO PLAYER_START This worked, thanks a bunch
|
Does this work for mac as well?
|
On October 22 2016 22:11 Pnissen wrote: Does this work for mac as well? Macs do not support .bat files so I doubt it. Idk if there's a bat file equivalent type program on macs, but you'd have to rewrite the code in the file anyways for the mac to understand it.
|
Can I use this for vods? Or just live games? I am trying to watch SoO games but it lags too much on their website.
|
can i get some help? i followed the directions exactly and all directories are default. but it says no livestreamer found for everyone.
nvm it works but it's so slow still. and takes awhile to load. kinda scared me cuz i typed Sea like 10 times and all of a sudden 10 vlcs popped up
|
Russian Federation92 Posts
sup yo good job, Aylear. i was too lazy to make such a detailed guide nice to see this here 
|
On October 28 2016 07:37 Malkiyah wrote:sup yo good job, Aylear. i was too lazy to make such a detailed guide nice to see this here  Ladies and gentlemen, allow me to present the reason this guide even exists. =) Hi Malki, thanks for making the original. You are the man.
What happened to defiler.ru though? The link to the original guide is broken and I can't find it again.
|
it says flash is on teamliquid but it says cannot find byflash stream when i use the bat file. other streams work but not flash...
|
On October 29 2016 00:22 Sheridan wrote: it says flash is on teamliquid but it says cannot find byflash stream when i use the bat file. other streams work but not flash... Most likely Flash had recently gone offline and the TeamLiquid sidebar hadn't refreshed yet. I've watched his stream many times so I don't think it's a problem with your setup.
Next time you can't connect to someone, click on their stream in the TL sidebar to see if you can view them in your browser.
|
Russian Federation92 Posts
On October 28 2016 08:05 Aylear wrote:Show nested quote +On October 28 2016 07:37 Malkiyah wrote:sup yo good job, Aylear. i was too lazy to make such a detailed guide nice to see this here  Ladies and gentlemen, allow me to present the reason this guide even exists. =) Hi Malki, thanks for making the original. You are the man. What happened to defiler.ru though? The link to the original guide is broken and I can't find it again. You are welcome! 
Yoda reconstructing Defiler.ru so forum section disabled atm
|
Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ?
|
On October 30 2016 01:05 toriak wrote: Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ? Hi, I just checked and you are correct! Soulkey hasn't been added to the .bat file. I'll fix that and upload a new one in a little while. In the meantime you can connect to his stream by typing "MinChul" instead of Soulkey.
Edit: If you want to do it yourself just add the following lines to the .bat file:
:CASE_soulkey set id=minchul GOTO PLAYER_START
Uploading new ones in a minute.
Edit 2: Fixed. Download the latest .bat file if you need to. =)
|
On October 30 2016 01:09 Aylear wrote:Show nested quote +On October 30 2016 01:05 toriak wrote: Really no lag, which is great, but soulkey stream doesnt work for some reason. No stream found on this URL And he is online. How to fix it ? Hi, I just checked and you are correct! Soulkey hasn't been added to the .bat file. I'll fix that and upload a new one in a little while. In the meantime you can connect to his stream by typing "MinChul" instead of Soulkey. Edit: If you want to do it yourself just add the following lines to the .bat file: :CASE_soulkey set id=minchul GOTO PLAYER_START Uploading new ones in a minute. Edit 2: Fixed. Download the latest .bat file if you need to. =)
Thank you. One more thing tho. There is no Shine at https://afreecabw.appspot.com/ Not even among offline streams.
|
|
On October 30 2016 01:44 Aylear wrote:The new version is at https://bwstreams.appspot.com/ which does have Shine on it. Whoever maintains these hasn't updated the old one in a while.
Thanks a lot. On guemchi ive got. [cli][error] Could not open stream:Unable to open URL:http://chromecast.afreeca....................Read time out
|
On October 30 2016 01:52 toriak wrote:Thanks a lot. On guemchi ive got. [cli][error] Could not open stream:Unable to open URL:http://chromecast.afreeca....................Read time out Huh, same here. I can't even watch his stream on Afreeca right now even though it says he's online.
The timeout error message indicates a connection issue with Afreeca. Maybe the server that's hosting GuemChi right now is particularly bad for foreigners. In that case there's nothing we can do about it but wait.
|
Livestreamer is abandoned, no commit and no requests pulled for 9 months, even with small bug fixes. Probably, everyone should start using one of its forks, like streamlink. afreecatv.com url bug is fixed there (although only in master branch, no fix in pip for now), https://github.com/streamlink/streamlink/pull/90/commits/6c893aa13129fe7199c6ef9c7750f64dd03a14d4
btw, quick howto for linuxoids:
python -m venv afreeca_bw source afreeca_bw/bin/activate pip install streamlink sed -i afreeca_bw/lib/python3.4/site-packages/streamlink/plugins/afreeca.py -e 's/\/\\d+/(\/\d+)?/' # of wget raw commit from github streamlink [url=http://play.afreecatv.com/byflash]http://play.afreecatv.com/byflash[/url] worst --player "mplayer -vf scale=1280:1024"
EDIT: although code tags, forum engine messed link, so, you should manually delete url tags around link to stream
|
On October 30 2016 03:49 aedeph wrote:Livestreamer is abandoned, no commit and no requests pulled for 9 months, even with small bug fixes. Probably, everyone should start using one of its forks, like streamlink. afreecatv.com url bug is fixed there (although only in master branch, no fix in pip for now), https://github.com/streamlink/streamlink/pull/90/commits/6c893aa13129fe7199c6ef9c7750f64dd03a14d4btw, quick howto for linuxoids: python -m venv afreeca_bw source afreeca_bw/bin/activate pip install streamlink sed -i afreeca_bw/lib/python3.4/site-packages/streamlink/plugins/afreeca.py -e 's/\/\\d+/(\/\d+)?/' # of wget raw commit from github streamlink [url=http://play.afreecatv.com/byflash]http://play.afreecatv.com/byflash[/url] worst --player "mplayer -vf scale=1280:1024"
EDIT: although code tags, forum engine messed link, so, you should manually delete url tags around link to stream I have a working fork in my repo with afreeca fixes included. I also created a similar to windows startup script for linux: afreeca.sh. It is even better because it allows you to see who's currently online and run the stream.
|
does this work with VODs? cause it sure seems it doesnt
|
On October 30 2016 10:26 ZertoN wrote: does this work with VODs? cause it sure seems it doesnt What do you mean?
|
Russian Federation92 Posts
btw i suspect 121.156.109.165 no working anymore. it was changed to 121.156.109.166.
|
ive tried to use a VOD link instead of a live stream link and i couldnt get it to work.
now my question is whether its not supposed to work in the first place or what the hell i need to do to make it work? cause live streams are working perfectly fine for me
|
Is there a way how to watch past afreeca broadcasts without lag. Because this guide is for live streamings only.
|
Thanks for the guide. I had tried this before without any luck, but today it worked right away.
Python plugins in third party apps, gotta love it.
|
|
no luck :/ maybe i'll start over. getting the "no streams found on this URL error"
|
+ Show Spoiler +[stream.hls][error] Failed to open segment 1: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-20/800x600/184439671-mobileweb-hd-hls_0.TS (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Max retries exceeded with url: /livestream-20/800x600/184439671-mobileweb-hd-hls_0.TS?aid=.A32.7bbT56vyHM9fKZk.zBKDFrIL6OudFjT2EhUr0fSpPiQn7AQjBOjIaNC2phH4EpbScO1ApaY4lBVrKaO70loyTqjbSy_utaYz41VDyehS6QR9iYDwsBNIeBNX2Y2nSo2B8XrttQpCVQ3vAEdl (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host)) [stream.hls][error] Failed to open segment 4: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-20/800x600/184439671-mobileweb-hd-hls_3.TS (HTTPConnectionPool(host='chromecast.afreeca.gscdn.com', port=80): Max retries exceeded with url: /livestream-20/800x600/184439671-mobileweb-hd-hls_3.TS?aid=.A32.7bbT56vyHM9fKZk.zBKDFrIL6OudFjT2EhUr0fSpPiQn7AQjBOjIaNC2phH4EpbScO1ApaY4lBVrKaO70loyTqjbSy_utaYz41VDyehS6QR9iYDwsBNIeBNX2Y2nSo2B8XrttQpCVQ3vAEdl (Caused by <class 'socket.error'>: [Errno 10054] An existing connection was forcibly closed by the remote host))
error i get. the stream opens and plays but this keep showing up on the CMD and the stream lags. I tried adding the IP address to hosts file but still lag.
|
I can't comment for windows, but livestreamer works perfectly on my linux machine and I can watch Flash stream without any lags while watching almost any afreeca stream via browser on tl is next to impossible.
|
I followed every step of the instruction except editing the configuration file because the lines at the bottom where already there. When I run the program, I always get this result.
![[image loading]](http://i.imgur.com/jDY2gV7.png) Does anybody know what's my mistake?
|
Can I lower the stream quality? I am in a pretty piss poor connection right now and i dont wanna miss any of them brood wars, i wish i could lower the streaming quality
|
Netherlands4731 Posts
Much <3 Now I can watch Nal_rA Starleague without lag!
|
On November 08 2016 01:49 Kosh_Vorlon wrote:I followed every step of the instruction except editing the configuration file because the lines at the bottom where already there. When I run the program, I always get this result. ![[image loading]](http://i.imgur.com/jDY2gV7.png) Does anybody know what's my mistake?
i have the same issue, but sometimes the vlc actually opens and sometimes not..
|
I seem to find an workaround i just modified my afreeca64 bat file And when i write it like this
![[image loading]](http://puu.sh/sgI9q/5358bbfe1c.png)
it works!
|
![[image loading]](http://i.imgur.com/y8GqncZ.png)
Can anyone help with this error msg?
|
It doesn't work anymore... is it the new play.afreecatv.com format that is messing it up?
|
On December 04 2016 17:54 neptunusfisk wrote: It doesn't work anymore... is it the new play.afreecatv.com format that is messing it up? still works for me...unless i use vpn
|
And what about MAC installation?
|
South Korea2105 Posts
Guys, I keep getting this error: No streams found on his URL: afreeca.com/
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that?
|
On February 10 2017 23:00 ZiggyPG wrote: Guys, I keep getting this error: No streams found on his URL: afreeca.com/<player name>
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name >
|
Not sure if this was answered already but can you watch Afreeca BW VODs that was already streamed a while back to VLC? From what I figured, the instructions are for live-streams but what about VODs if I decided I want to do English commentaries on some VODs? (If anyone is actually interested in that)
|
South Korea2105 Posts
On February 13 2017 15:24 necrosexy wrote:Show nested quote +On February 10 2017 23:00 ZiggyPG wrote:Guys, I keep getting this error: No streams found on his URL: afreeca.com/
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name >
I've changed it to what you said, didn't solve the issue. I keep getting the same error.
|
On February 13 2017 17:30 ZiggyPG wrote:Show nested quote +On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote: Guys, I keep getting this error: No streams found on his URL: afreeca.com/<player name>
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course)
|
South Korea2105 Posts
On February 14 2017 12:45 necrosexy wrote:Show nested quote +On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote:Guys, I keep getting this error: No streams found on his URL: afreeca.com/
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course)
Umm... where exactly do i find that?
|
On February 14 2017 16:51 ZiggyPG wrote:Show nested quote +On February 14 2017 12:45 necrosexy wrote:On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote: Guys, I keep getting this error: No streams found on his URL: afreeca.com/<player name>
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course) Umm... where exactly do i find that? type in command prompt livestreamer --version (2 dashes ) if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now)
list all the steps you did, from installation onward
|
South Korea2105 Posts
On February 14 2017 16:58 necrosexy wrote:Show nested quote +On February 14 2017 16:51 ZiggyPG wrote:On February 14 2017 12:45 necrosexy wrote:On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote:Guys, I keep getting this error: No streams found on his URL: afreeca.com/
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course) Umm... where exactly do i find that? type in command prompt livestreamer --version (2 dashes ) if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now) list all the steps you did, from installation onward
livestreamer version 1.12.2
this is what i found when i opened livestreamerrc with editpad: + Show Spoiler +# Format is option=value. Lines starting with a # is considered comments # and are ignored.
# By default livestreamer will attempt to locate VLC on your system # and use that, but you can also specify the location of a player # yourself.
# Important: You must use a quoted path if there are spaces in the path. This # is because the player command is parsed like a shell command to allow # parameters to be passed to the player.
# Here is a few examples of players:
# VLC #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" #player="C:\Program Files\VideoLAN\VLC\vlc.exe" # Using --file-caching is recommended, but is only supported in VLC 2.0+ #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000 #player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000
# MPC-HC, must be at least version 1.7 to be used #player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"
# MPlayer2 #player=C:\mplayer2\mplayer2.exe -cache 4096
# Use this if you want to transport the stream to the player via a named pipe. #player-fifo
# Use this if you want to transport the stream to the player via HTTP. #player-http
# Use this if you want Livestreamer to only pass a URL to your player and # let it handle the transport of the stream itself. #player-passthrough=http,hls,rtmp
# By default Livestreamer will close the player when stream is over. # Use this option to let the player stay or close itself instead. #player-no-close
# Use this option if you want Livestreamer to keep trying to access # the stream even if it goes offline or disconnects. Your player must # support HTTP and its playlist should be set to repeat mode. #player-continuous-http
# Show console output from the video player #verbose-player
# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe # should be specified here. rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
# Log level, default is info #loglevel=debug
# Number of threads to use when streaming HLS streams #hls-segment-threads=1
# Number of threads to use when streaming HDS streams #hds-segment-threads=1
stream-types=hls hls-segment-threads=4 default-stream=best
Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said.
|
On February 14 2017 19:06 ZiggyPG wrote:Show nested quote +On February 14 2017 16:58 necrosexy wrote:On February 14 2017 16:51 ZiggyPG wrote:On February 14 2017 12:45 necrosexy wrote:On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote: Guys, I keep getting this error: No streams found on his URL: afreeca.com/<player name>
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course) Umm... where exactly do i find that? type in command prompt livestreamer --version (2 dashes ) if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now) list all the steps you did, from installation onward livestreamer version 1.12.2 this is what i found when i opened livestreamerrc with editpad: + Show Spoiler +# Format is option=value. Lines starting with a # is considered comments # and are ignored.
# By default livestreamer will attempt to locate VLC on your system # and use that, but you can also specify the location of a player # yourself.
# Important: You must use a quoted path if there are spaces in the path. This # is because the player command is parsed like a shell command to allow # parameters to be passed to the player.
# Here is a few examples of players:
# VLC #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" #player="C:\Program Files\VideoLAN\VLC\vlc.exe" # Using --file-caching is recommended, but is only supported in VLC 2.0+ #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000 #player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000
# MPC-HC, must be at least version 1.7 to be used #player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"
# MPlayer2 #player=C:\mplayer2\mplayer2.exe -cache 4096
# Use this if you want to transport the stream to the player via a named pipe. #player-fifo
# Use this if you want to transport the stream to the player via HTTP. #player-http
# Use this if you want Livestreamer to only pass a URL to your player and # let it handle the transport of the stream itself. #player-passthrough=http,hls,rtmp
# By default Livestreamer will close the player when stream is over. # Use this option to let the player stay or close itself instead. #player-no-close
# Use this option if you want Livestreamer to keep trying to access # the stream even if it goes offline or disconnects. Your player must # support HTTP and its playlist should be set to repeat mode. #player-continuous-http
# Show console output from the video player #verbose-player
# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe # should be specified here. rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
# Log level, default is info #loglevel=debug
# Number of threads to use when streaming HLS streams #hls-segment-threads=1
# Number of threads to use when streaming HDS streams #hds-segment-threads=1
stream-types=hls hls-segment-threads=4 default-stream=best
Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said. delete afreecatv.pyc, paste afreecatv.py delete hls.pyc, paste hls.py ( in their correct locations )
show the whole error log
|
South Korea2105 Posts
On February 15 2017 01:57 necrosexy wrote:Show nested quote +On February 14 2017 19:06 ZiggyPG wrote:On February 14 2017 16:58 necrosexy wrote:On February 14 2017 16:51 ZiggyPG wrote:On February 14 2017 12:45 necrosexy wrote:On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote:Guys, I keep getting this error: No streams found on his URL: afreeca.com/
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course) Umm... where exactly do i find that? type in command prompt livestreamer --version (2 dashes ) if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now) list all the steps you did, from installation onward livestreamer version 1.12.2 this is what i found when i opened livestreamerrc with editpad: + Show Spoiler +# Format is option=value. Lines starting with a # is considered comments # and are ignored.
# By default livestreamer will attempt to locate VLC on your system # and use that, but you can also specify the location of a player # yourself.
# Important: You must use a quoted path if there are spaces in the path. This # is because the player command is parsed like a shell command to allow # parameters to be passed to the player.
# Here is a few examples of players:
# VLC #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" #player="C:\Program Files\VideoLAN\VLC\vlc.exe" # Using --file-caching is recommended, but is only supported in VLC 2.0+ #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000 #player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000
# MPC-HC, must be at least version 1.7 to be used #player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"
# MPlayer2 #player=C:\mplayer2\mplayer2.exe -cache 4096
# Use this if you want to transport the stream to the player via a named pipe. #player-fifo
# Use this if you want to transport the stream to the player via HTTP. #player-http
# Use this if you want Livestreamer to only pass a URL to your player and # let it handle the transport of the stream itself. #player-passthrough=http,hls,rtmp
# By default Livestreamer will close the player when stream is over. # Use this option to let the player stay or close itself instead. #player-no-close
# Use this option if you want Livestreamer to keep trying to access # the stream even if it goes offline or disconnects. Your player must # support HTTP and its playlist should be set to repeat mode. #player-continuous-http
# Show console output from the video player #verbose-player
# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe # should be specified here. rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
# Log level, default is info #loglevel=debug
# Number of threads to use when streaming HLS streams #hls-segment-threads=1
# Number of threads to use when streaming HDS streams #hds-segment-threads=1
stream-types=hls hls-segment-threads=4 default-stream=best
Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said. delete afreecatv.pyc, paste afreecatv.py delete hls.pyc, paste hls.py ( in their correct locations ) show the whole error log
Where am I supposed to delete those? And where do I get the files i need to paste? + how to get the error log? Sorry, all I can do is play games on the computer.
EDIT: Are you talking about the 1 plugin that needed to be replaced and 1 stream file that also needed to be changed?
|
On February 15 2017 02:07 ZiggyPG wrote:Show nested quote +On February 15 2017 01:57 necrosexy wrote:On February 14 2017 19:06 ZiggyPG wrote:On February 14 2017 16:58 necrosexy wrote:On February 14 2017 16:51 ZiggyPG wrote:On February 14 2017 12:45 necrosexy wrote:On February 13 2017 17:30 ZiggyPG wrote:On February 13 2017 15:24 necrosexy wrote:On February 10 2017 23:00 ZiggyPG wrote: Guys, I keep getting this error: No streams found on his URL: afreeca.com/<player name>
It's been mentioned a couple of times throughout this thread that the problem lies in the afreecatv.py file, where he domain needs to be changed. The thing is I've got all the files from the OP which supposedly has been updated to the newest version. Any ideas what I might be doing wrong?
EDIT: CHANNEL_INFO_URL = "http://live.afreecatv.com:8057/api/get_broad_state_list.php" That's what I've got inside the afreecatv.py file. Should it be like that? it should be play.afreeca.com/< channel name > I've changed it to what you said, didn't solve the issue. I keep getting the same error. which version of livestreamer are you using? what's your livestreamer config file look like (hide any credentials, of course) Umm... where exactly do i find that? type in command prompt livestreamer --version (2 dashes ) if in Windows, your config file should be here: %APPDATA%\livestreamer\livestreamerrc (probably empty for now) list all the steps you did, from installation onward livestreamer version 1.12.2 this is what i found when i opened livestreamerrc with editpad: + Show Spoiler +# Format is option=value. Lines starting with a # is considered comments # and are ignored.
# By default livestreamer will attempt to locate VLC on your system # and use that, but you can also specify the location of a player # yourself.
# Important: You must use a quoted path if there are spaces in the path. This # is because the player command is parsed like a shell command to allow # parameters to be passed to the player.
# Here is a few examples of players:
# VLC #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" #player="C:\Program Files\VideoLAN\VLC\vlc.exe" # Using --file-caching is recommended, but is only supported in VLC 2.0+ #player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --file-caching=5000 #player="C:\Program Files\VideoLAN\VLC\vlc.exe" --file-caching=5000
# MPC-HC, must be at least version 1.7 to be used #player="C:\Program Files (x86)\MPC-HC\mpc-hc.exe"
# MPlayer2 #player=C:\mplayer2\mplayer2.exe -cache 4096
# Use this if you want to transport the stream to the player via a named pipe. #player-fifo
# Use this if you want to transport the stream to the player via HTTP. #player-http
# Use this if you want Livestreamer to only pass a URL to your player and # let it handle the transport of the stream itself. #player-passthrough=http,hls,rtmp
# By default Livestreamer will close the player when stream is over. # Use this option to let the player stay or close itself instead. #player-no-close
# Use this option if you want Livestreamer to keep trying to access # the stream even if it goes offline or disconnects. Your player must # support HTTP and its playlist should be set to repeat mode. #player-continuous-http
# Show console output from the video player #verbose-player
# RTMP streams are downloaded using rtmpdump. Full path to the rtmpdump exe # should be specified here. rtmpdump=C:\Program Files (x86)\Livestreamer\rtmpdump\rtmpdump.exe
# Log level, default is info #loglevel=debug
# Number of threads to use when streaming HLS streams #hls-segment-threads=1
# Number of threads to use when streaming HDS streams #hds-segment-threads=1
stream-types=hls hls-segment-threads=4 default-stream=best
Well, I followed every step of the installation process in the other guide. I then reinstalled VLC in program files. And then I also changed the channel_info thingy, like you said. delete afreecatv.pyc, paste afreecatv.py delete hls.pyc, paste hls.py ( in their correct locations ) show the whole error log Where am I supposed to delete those? And where do I get the files i need to paste? + how to get the error log? Sorry, all I can do is play games on the computer. EDIT: Are you talking about the 1 plugin that needed to be replaced and 1 stream file that also needed to be changed? the folder location and files are in the OP, please review it again
|
Hello, I've got a problem trying to watch streams on linux (ubuntu). I followed the instructions and when I type which player I want to watch nothing happens. Just output Playing jaedong23... but no player shows up. Help
|
Buggering hell.
Dropbox decided that "for your convenience[1] we are graciously allowing you not to use direct links to files any more", so you can no longer right click + save as when downloading the .py and .bat files in the tutorial.
[1] go fuck yourself
Does anyone know of a cloud storage alternative that still permits direct links to files like Dropbox used to?
In the meantime, here are pastebin links to the various files you need. Click on the download button on-site.
http://pastebin.com/upgnsq8g - afreecatv.py http://pastebin.com/6L1zBnJA - hls.py http://pastebin.com/AyKrHMPF - afreeca_x64.bat http://pastebin.com/bF7gEyaC - afreeca_x86.bat
|
Katowice25012 Posts
I'm using this to turn my TV into a non-stop BW broadcast channel which is my favorite thing ever, except I have to manually change streams when one ends. Is there any way to automate that? The ideal would be to play the current most viewed stream but if I could supply a list for it to try until it returns a live channel that would work well too.
|
Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems.
|
On April 01 2017 23:48 Aylear wrote: Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems. Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D
edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC
|
On April 01 2017 23:54 RedW4rr10r wrote:Show nested quote +On April 01 2017 23:48 Aylear wrote: Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems. Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC  I thought so too, but maybe they changed their Afreeca names? My .bat files didn't have either of them as entries, so I added them when I fixed the download links.
Glad you like the guide and got some use out of it. =)
Edit: Also added BackHo to the .bat files, forgot about him.
|
On April 01 2017 23:58 Aylear wrote:Show nested quote +On April 01 2017 23:54 RedW4rr10r wrote:On April 01 2017 23:48 Aylear wrote: Added Jaedong and Stork to the .bat files. OP updated accordingly. Let me know if you're having problems. Hm? Wasn't JD and Stork supposed to work via VLC before? I never had problems with them :D edit: Thanks a lot for your efforts! It is so easy to watch them ever since I've used VLC  I thought so too, but maybe they changed their Afreeca names? My .bat files didn't have either of them as entries, so I added them when I fixed the download links. Glad you like the guide and got some use out of it. =) Edit: Also added BackHo to the .bat files, forgot about him. "Some use" is not even an expression
|
Added ggaemo to the .bat files. OP updated accordingly. Let me know if you're having any problems. =)
Edit: Forgot I also added HyuN!
|
Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice
![[image loading]](http://i.imgur.com/a1ESZVS.png)
Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot
![[image loading]](http://i.imgur.com/mb9brOo.png)
both of the PY files added and the respective PYC files deleted
![[image loading]](http://i.imgur.com/ps3gzbs.png)
![[image loading]](http://i.imgur.com/oNpXgES.png)
any ideas? please help I hate afreeca so much
|
On April 04 2017 12:16 mOnion wrote:Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice ![[image loading]](http://i.imgur.com/a1ESZVS.png) Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot ![[image loading]](http://i.imgur.com/mb9brOo.png) both of the PY files added and the respective PYC files deleted ![[image loading]](http://i.imgur.com/ps3gzbs.png) ![[image loading]](http://i.imgur.com/oNpXgES.png) any ideas? please help I hate afreeca so much I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work.
|
cant "hide extensions for known file types" be causing the problem ?
|
Ugh, I forgot that was a thing. My brain said it was a binary on/off thing, but those files have notepad icons which means they're probably .py files with the extensions hidden.
Make sure they have the proper file extensions anyway. Apart from that I don't know. What OS are you using? Are you using the right afreeca.bat file for your system? Is VLC installed to the default directory or do you need to edit the .bat file? Etcetcetc.
|
Just in case you hadn't noticed, livestreamer was forked: github For Ubuntu users, there's a PPA on www.webupd8.org At least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.
|
Sigh, yeah, I should eventually set up a guide for Streamlink, but the old Livestreamer still works fine so I'm lazy. =)
|
Just got this working, dropping by to say thanks for your work <3
|
On April 04 2017 16:06 floi wrote:Just in case you hadn't noticed, livestreamer was forked: githubFor Ubuntu users, there's a PPA on www.webupd8.orgAt least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.  But you need to know the url of the player you want to watch and also you need to know if this guy is online so this is already worse than other ppl (including me) suggested using. Besides, I even provided a fixed livestreamer fork for afreeca and a bash script which allows to view currently online streams and pick the player to watch. So, all you need to do is run afreeca.sh, type "!online" and choose any online player.
|
On April 04 2017 13:42 Aylear wrote:Show nested quote +On April 04 2017 12:16 mOnion wrote:Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice ![[image loading]](http://i.imgur.com/a1ESZVS.png) Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot ![[image loading]](http://i.imgur.com/mb9brOo.png) both of the PY files added and the respective PYC files deleted ![[image loading]](http://i.imgur.com/ps3gzbs.png) ![[image loading]](http://i.imgur.com/oNpXgES.png) any ideas? please help I hate afreeca so much I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work.
yeah I tried to edit the afreecatv.py file which was suggested earlier in the thread, so I had the file open with notepad and thats why the icon changed and the extension was hidden
I changed the names to include the extension and that didn't do anything. but I restarted my computer and it actually worked lmao so I've got it running now! thanks for the guide!
|
On April 04 2017 23:25 mOnion wrote:Show nested quote +On April 04 2017 13:42 Aylear wrote:On April 04 2017 12:16 mOnion wrote:Getting this error, I've seen two other people in the thread say they had it and I didn't see a solution. I've followed OP twice ![[image loading]](http://i.imgur.com/a1ESZVS.png) Used the livestreamer installer (twice) so that it creates the PATH or whatever was previously mentioned. And added the 4 lines to the end of the config, can't find it to screenshot ![[image loading]](http://i.imgur.com/mb9brOo.png) both of the PY files added and the respective PYC files deleted ![[image loading]](http://i.imgur.com/ps3gzbs.png) ![[image loading]](http://i.imgur.com/oNpXgES.png) any ideas? please help I hate afreeca so much I don't know how you even did this, but your hls and afreecatv files should be named hls.py and afreecatv.py. Rename them and try again and get back to me if it still doesn't work. yeah I tried to edit the afreecatv.py file which was suggested earlier in the thread, so I had the file open with notepad and thats why the icon changed and the extension was hidden I changed the names to include the extension and that didn't do anything. but I restarted my computer and it actually worked lmao so I've got it running now! thanks for the guide! Hahaha wtf, well glad it's working, I'll take full credit for somehow fixing the problem you were having.
|
Added Shine to the .bat file. I thought he was already in there, but it was Shinee.
Download:
Windows 64-bit: afreeca_x64.bat (right-click and save as) Windows 32-bit: afreeca_x86.bat (right-click and save as)
Or from Pastebin:
Widnows 64-bit: afreeca_x64.bat (go to link and click the download button on Pastebin) Widnows 86-bit: afreeca_x86.bat (go to link and click the download button on Pastebin)
|
On April 06 2017 07:07 Aylear wrote:Added Shine to the .bat file. I thought he was already in there, but it was Shinee. Download: Windows 64-bit: afreeca_x64.bat (right-click and save as) Windows 32-bit: afreeca_x86.bat (right-click and save as) Or from Pastebin: Widnows 64-bit: afreeca_x64.bat (go to link and click the download button on Pastebin) Widnows 86-bit: afreeca_x86.bat (go to link and click the download button on Pastebin) Why that new links to download? Do we have to update that (new?) file manually? Sorry, I'm an absolut computer noob
|
The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.
The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file.
|
On April 06 2017 07:22 Aylear wrote: The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.
The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file. Ah, I see. Thanks for answer! What I don't really get, I'm on a 64bit machine but I have to use the .bat for 32bit. Why is that? I mean, I don't really care that much since it's working this way without any issues at all :D
|
On April 06 2017 08:01 RedW4rr10r wrote:Show nested quote +On April 06 2017 07:22 Aylear wrote: The new site/link is so that it's easier to download the files (simply right-clicking and hitting "save as" is quicker than going to the Pastebin link, opening a new window, and pressing the "download" button). You can alternatively still use the Pastebin links if you want, since the files are there as well. They're the same file, just from a different host.
The reason I update the .bat file some times is because I add more streamers to it. For instance, if you don't update the .bat file with the latest version, you won't be able to watch Shine (the Zerg player), because the .bat file doesn't know his stream ID. That's all I added to the file. Ah, I see. Thanks for answer! What I don't really get, I'm on a 64bit machine but I have to use the .bat for 32bit. Why is that? I mean, I don't really care that much since it's working this way without any issues at all :D The only difference between the .bat files is that they look for the default installation location for VLC Media Player. You probably just have the 32-bit version of VLC installed, so the 32-bit file is the one that loads it properly. =)
|
Can I also use this to watch old VODs from Afreeca?
|
On April 04 2017 21:25 letian wrote:Show nested quote +On April 04 2017 16:06 floi wrote:Just in case you hadn't noticed, livestreamer was forked: githubFor Ubuntu users, there's a PPA on www.webupd8.orgAt least for watching a single stream of which you know the URL it worked out of the box for me. Haven't tried any of your fancy searching/selecting on top of that.  But you need to know the url of the player you want to watch and also you need to know if this guy is online so this is already worse than other ppl (including me) suggested using. Besides, I even provided a fixed livestreamer fork for afreeca and a bash script which allows to view currently online streams and pick the player to watch. So, all you need to do is run afreeca.sh, type "!online" and choose any online player.
Well, looking at your bash script I could probably get the best of both worlds by just replacing your call to livestreamer with one to streamlink. Or maybe it'll break, who knows... :D I use this stuff for more than afreeca, so having one that works for all the streams I want to watch helps.
|
just small note on linux install: somehow some of the streams are not working. Installing rtmpdump fixes this.
|
thanks for this, no lag at all
|
|
Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?
Is the VLC better or worse for you? Your wording is ambiguous.
|
Works like a charm dude!
Thx
|
If anyone has a nice way to do it without LiveStreamer/Streamlink, I'm interested, however manual work it includes. It's just too bothersome to install.
|
The latest version of Streamlink does not seem to require all the configurations mentioned in the first page of this topic. I just installed it and Afreeca streams are running without any additional requirements.
On the other hand, I am using a small java app that I did for my personal use in order to launch the streams without having to type the Streamlink/Livestreamer commands manually. Just in case anyone is interested in trying it, I will share the link below. Just note that I made it for my personal use and it has not really been tested on different environments, only on my Windows machine.
It loads the streams from http://bwstreams.appspot.com/ by default when you refresh the list, but you can add any stream you want (using the stream ID) by editing the configuration (Edit -> Afreeca Streams). It works for Twitch and Youtube as well (Youtube IDs are channel IDs).
In order to use it, you only need to have either Livestreamer or Streamlink (I'd use Streamlink as Livestreamer development was abandoned) and the VLC media player installed. If you don't install them to the default folders you need the specify the paths on Edit -> Configuration.
You can download it from the below link: Stream Player
This is how it looks:
![[image loading]](http://i.imgur.com/Qg5Wn4o.png)
|
That's really cool! Do you have a github with that?
I wrote something similar (a CLI tool in Haskell), but I'd like to remove the necessity to install anything except a media player...
|
On April 10 2017 23:17 Aylear wrote: Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?
Is the VLC better or worse for you? Your wording is ambiguous. it's noticeably worse, I'm using MPC instead of VLC, could that be the problem? edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome:
|
On April 12 2017 15:31 juvenal wrote:Show nested quote +On April 10 2017 23:17 Aylear wrote: Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?
Is the VLC better or worse for you? Your wording is ambiguous. it's noticeably worse, I'm using MPC instead of VLC, could that be the problem? edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome: ![[image loading]](https://i.imgbox.com/Ls9aohM6.png) Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide?
stream-types=hls hls-segment-threads=4 default-stream=best
|
On April 12 2017 06:33 Vendethiel wrote: That's really cool! Do you have a github with that?
I wrote something similar (a CLI tool in Haskell), but I'd like to remove the necessity to install anything except a media player... I don't have it, although I might consider setting one up.
Obviously removing the Livestreamer/Streamlink dependency would be great, but that would also mean that any changes made in the endpoints would need to be addressed by you, making the app harder to maintain. Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice.
|
On April 12 2017 17:14 Aylear wrote:Show nested quote +On April 12 2017 15:31 juvenal wrote:On April 10 2017 23:17 Aylear wrote: Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?
Is the VLC better or worse for you? Your wording is ambiguous. it's noticeably worse, I'm using MPC instead of VLC, could that be the problem? edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome: ![[image loading]](https://i.imgbox.com/Ls9aohM6.png) Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide? stream-types=hls hls-segment-threads=4 default-stream=best yes Somehow livestreamer chooses the 'worst' quality option instead, it would appear. I manually chose it from cmd and the quality stayed the same.
|
On April 12 2017 18:59 juvenal wrote:Show nested quote +On April 12 2017 17:14 Aylear wrote:On April 12 2017 15:31 juvenal wrote:On April 10 2017 23:17 Aylear wrote: Really? The quality is the exact same for me. Check the quality settings on the Afreeca player. Is it set to Source or something else?
Is the VLC better or worse for you? Your wording is ambiguous. it's noticeably worse, I'm using MPC instead of VLC, could that be the problem? edit: nope, just checked it with VLC, here's how it compares to the stream in Chrome: ![[image loading]](https://i.imgbox.com/Ls9aohM6.png) Then I have no idea. Did you remember to set %AppData%\Roaming\livestreamer\livestreamerrc as specified in the setup guide? stream-types=hls hls-segment-threads=4 default-stream=best yes  Somehow livestreamer chooses the 'worst' quality option instead, it would appear. I manually chose it from cmd and the quality stayed the same. Well, crap. I don't know what the problem would be. =( I only barely know how to use Livestreamer. I just updated an existing guide that worked well for me. If there's a configuration option somewhere that could fix this for you, I don't know of it.
|
Reinstalled the livestreamer just in case and naturally now it's giving me "No plugin can handle URL: afreecatv.com/horang2" lol rip edit: got it to work but the quality stays shit. Are you sure you have the same quality in the browser, Aylear?
|
When I made the guide it looked the same, but I can't confirm it still does because I can't actually watch Afreeca on my browser at all. It buffers endlessly. Every 20 seconds it comes back for 0.2 seconds and then buffers again. I have to set the quality down from Source to High in the stream player, at which point 1) it looks significantly worse than it does on my VLC/Livestreamer setup, and 2) it still buffers occasionally.
It is possible that Livestreamer doesn't stream in Source from Afreeca, but I can at least confirm it looks better than High.
|
Curious. Could you please make a screenshot of a stream on your VLC in default resolution?
|
Dominican Republic611 Posts
why stream is so laggy now... ia have switch from flash to html 5 and still lags
|
On August 17 2016 00:12 Aylear wrote:+ Show Spoiler +Watch Afreeca SC/BW streams with VLC Media PlayerLatest update to this guide: April 5, 2017: Added Shine to the .bat file+ Show Spoiler [Changelog] +August 16, 2016: First version of document August 23, 2016: Wording and clarifications, no new or updated downloads September 6, 2016: Wording and clarifications, no new or updated downloads October 4, 2016: Added Rain to the .bat file October 29, 2016: Added Soulkey to the .bat file April 1, 2017: Added Jaedong, Stork, and BackHo to the .bat file April 3, 2017: Added ggaemo and HyuN to the .bat file April 5, 2017: Added Shine to the .bat file Welcome back to Brood War.Afreeca is the most popular streaming service in South Korea. Most top SC/BW players have a channel from which they stream their practice games every day. Unfortunately, Afreeca occasionally lags for foreigners (depending on the Afreeca server currently assigned to serve users), and the interface is confusing if you can't read Korean. Players frequently use random IDs on Afreeca: Bisu is "rlaxordyd", Last is "rlatjdgus228", Shuttle is "jk890202". These are their stream names even when watching an embedded stream from TeamLiquid, so it quickly becomes confusing. The easiest and most convenient way to watch Afreeca is using Livestreamer. This is a command line utility that connects live streams to a media player (usually VLC). For convenience, RoX.Malki created a .bat file which simplifies the process. The installation is a bit annoying, but after that it's easy to connect. Installation(Most of this information taken from defiler.ru. I have updated the information and fixed some broken scripts.)+ Show Spoiler [Click for Linux instructions] +On August 23 2016 23:12 letian wrote:Ok, I figured it out for Linux. 1. First uninstall with your package manager any previous versions of livestreamer. For archlinux/manjaro: sudo pacman -Rcn livestreamer2. Do not add to /etc/hosts "121.156.109.165 chromecast.afreeca.gscdn.com" 3. Download my livestreamer fork with all afreeca modifications included. git clone https://github.com/tastyminerals/livestreamer.git livestreamer-tasty4. cd livestreamer-tasty5. sudo python3 setup.py install Now you can use afreeca.sh to play streams! Use !online command to get currently available streamers, use exit to quit afreeca.sh. 1)
• Install VLC Media Player (install to default directory or be prepared to edit the .bat file later) • Install Livestreamer (grab the installer package)
When Livestreamer finishes installing, tick the "Edit configuration file" option:
![[image loading]](http://i.imgur.com/PQqU1q0.png)
Now add the following lines to the bottom of the configuration file:
stream-types=hls hls-segment-threads=4 default-stream=best Save and exit. Note: You can find this config file again by going to %appdata%/livestreamer/livestreamerrc2)Go to your Livestreamer plugins folder. From wherever you installed it [default is C:\Program Files (x86)]: ...\Livestreamer\livestreamer-1.12.2-py2.7.egg\livestreamer\pluginsDelete the file afreecatv.pyc (note: NOT afreeca.pyc, but afreecatv.pyc) Download afreecatv.py (right-click and save as) and place it in the stream folder. The plugins folder should now look like this: 3)Go to your Livestreamer stream folder. From wherever you installed it [default is C:\Program Files (x86)]: ...\Livestreamer\livestreamer-1.12.2-py2.7.egg\livestreamer\streamDelete the file hls.pycDownload hls.py (right-click and save as) and place it in the stream folder. The stream folder should now look like this: 4)Download the .bat file appropriate for your system: Download hls.py (right-click and save as) and place it in the stream folder. Windows 64-bit: afreeca_x64.bat (right-click and save as) Windows 32-bit: afreeca_x86.bat (go to link, click download) Note: The only difference between the two .bat files is the specified path of VLC media player. If you installed VLC to a custom location you will need to edit the .bat file now. Click the spoiler below. + Show Spoiler [If VLC installed to custom folder] +If you installed VLC to a custom folder, you will have to edit the .bat file to point to the proper location. Example: If you installed VLC to the D:\ drive, you would need to change start /B livestreamer --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id% to start /B livestreamer --loglevel=error --player="D:\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id% Once you have installed everything, check the TeamLiquid sidebar to see who is currently streaming. (You can also check https://bwstreams.appspot.com/ which does the same thing.) Run the afreeca_x??.bat file, and when prompted type in the name (or Afreeca ID) of a player you want to watch. After a few moments, VLC should start up. You can keep typing in more names as well -- VLC will open new instances for each player so that you can easily multistream. Lastly, most players have a lot of smurfs. The Fish Server entry on Liquipedia has a list of known smurfs and aliases, so it's easy to look up who people are playing against. Troubleshooting & FAQnslookup chromecast.afreeca.gscdn.com Copy the IP address response, and add it to your hosts file. (See below for instructions.) This IP address randomizes every once in a while as Afreeca hosts from different servers. If you experience stream lag, you may want to do a quick nslookup and add the new IP address to the hosts file. How to add something to your hosts fileGoogle the path to your hosts file if you need to. On Windows 7/8/10 it is: C:\Windows\System32\drivers\etc\Right-click your hosts file, and uncheck read-only / write-protect. Edit the hosts file using notepad or notepad++. Add the IP address you received from the nslookup command, followed by "chromecast.afreeca.gscdn.com", to the bottom of the hosts file. Example: 121.156.109.165 chromecast.afreeca.gscdn.com Save the hosts file, and re-enable write-protect / read-only mode. It should look like this: + Show Spoiler +Q: I can't connect to some streams. When I try, I get this error message. A: Remove any Afreeca IPs from the hosts file (see above). Q: When I try to connect to a streamer I get this error message: error: Failed to start player: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=psn1555 ([Error 2] The system cannot find the file specified)A: VLC is not installed, or VLC is not installed to the default directory, or you are using the wrong .bat file for your system, or you forgot to edit the .bat file to point Livestreamer to the proper VLC directory. See the installation instructions again for details. Q: I tried to connect to [player] but it says No streams found on this URL. A: TeamLiquid only refreshes the sidebar periodically. The player may have just gone offline. Check https://bwstreams.appspot.com/ to see who is currently live. Q: It takes a long time between entering a name into the command line and VLC opening. A: That's normal. It usually takes 10 - 45 seconds for me to connect. Q: What is the difference between this guide and the one on defiler.ru? A: Nothing, it's a blatant copy-paste so that I get credit instead of RoX.Malki. Actually, since Afreeca changed its domains around some of the old scripts were broken. For instance, I edited afreecatv.py to properly point to the new domain so you didn't have to edit it yourself. I also added direct links to the .py and .bat files to speed up the installation process. Besides that, I just made clarifications and added pictures to make things less ambiguous.
Give this man a medal! And another one, in case he loses it!
Thank you very much, streams are working smooth as silk for me now.
|
On April 12 2017 19:37 juvenal wrote: got it to work but the quality stays shit. Are you sure you have the same quality in the browser?
i think you are right. It seems the quality in browser is better. I didnt noticed it before because have a small monitor...
|
[clic][error] Could not open stream: Missing #EXTM3U header
Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T
|
On April 19 2017 10:53 outscar wrote: [clic][error] Could not open stream: Missing #EXTM3U header
Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.
|
On April 19 2017 11:12 Aylear wrote:Show nested quote +On April 19 2017 10:53 outscar wrote: [clic][error] Could not open stream: Missing #EXTM3U header
Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try.
Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea?
|
On April 19 2017 12:25 outscar wrote:Show nested quote +On April 19 2017 11:12 Aylear wrote:On April 19 2017 10:53 outscar wrote: [clic][error] Could not open stream: Missing #EXTM3U header
Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try. Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea? No idea. And not to be too rude about it, but you just told me you didn't follow the installation instructions properly. I don't know enough about Livestreamer and how it fully works to spend time troubleshooting an issue unique to you that could just end up being "lol i forgot to edit a thing you clearly specified in the OP, whoopsie!"
If you still can't get it to work, maybe try some other solutions on this forum. I haven't tried these programs myself so I can't verify that they work, but:
http://www.teamliquid.net/forum/brood-war/519028-scbw-afreeca-picker-vlc-livestreamer Vendethiel made a frontend program instead of a .bat file that has some additional features. It supposedly doesn't require a lot of messing with Livestreamer either.
http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120 Petrucci86 posted his own frontend program on the previous page of this thread. Might be another option for you.
Good luck.
|
On April 19 2017 12:39 Aylear wrote:Show nested quote +On April 19 2017 12:25 outscar wrote:On April 19 2017 11:12 Aylear wrote:On April 19 2017 10:53 outscar wrote: [clic][error] Could not open stream: Missing #EXTM3U header
Anyway to fix this? So annoying to watch from here because Afreeca snucks in 5 min. commercials. Now it's not working T_T That's odd. I've never seen that error before. It seems to be a connectivity problem on your end from what I can deduce. Are you sure you downloaded the hls.py and afreecatv.py files and put them in the proper folders? Seems like it's an error that can come up where hls.py is used, and it's all I can think of to try. Added those files again, strangely I didn't had hls.py (instead I had hls.pyc which I deleted). But now I get "error: No plugin can handle URL: (stream URL)". Any idea? No idea. And not to be too rude about it, but you just told me you didn't follow the installation instructions properly. I don't know enough about Livestreamer and how it fully works to spend time troubleshooting an issue unique to you that could just end up being "lol i forgot to edit a thing you clearly specified in the OP, whoopsie!"If you still can't get it to work, maybe try some other solutions on this forum. I haven't tried these programs myself so I can't verify that they work, but: http://www.teamliquid.net/forum/brood-war/519028-scbw-afreeca-picker-vlc-livestreamerVendethiel made a frontend program instead of a .bat file that has some additional features. It supposedly doesn't require a lot of messing with Livestreamer either. http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120Petrucci86 posted his own frontend program on the previous page of this thread. Might be another option for you. Good luck.
Well the reason I didn't followed your installation because it was already installed on my PC (defiler.ru one) and it was working perfecut until now and I saw that your installation is same but only plugin files changed. I tried to replace those files and still getting errors. Might try clean install then. Also lately I installed some antivirus thingy might be it blocking. Thanks for tips!
EDIT: Yeah, this fucking shit was because of antivirus, fuck them Now I can run.
|
Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice. Of course you're right, but it means a one-click installer for the program would be feasible. Non-technical people will not go through with "install steamlink in this and that directory". Maybe the solution is to instead package streamlink...
|
Curiously I'm seeing a similar issue with the lower quality tonight. Last night watching Bisu in VLC it was the same stream quality (very crisp), whereas with Snow today there's a marked difference. I wonder if it has anything to do with the number of viewers on the stream. Bisu had more transcoding options I believe.
I'll have to experiment some more and see if I can figure anything out.
My versions: VLC 2.2.1 Livestreamer 1.11.1 Latest version of the plugins from OP
Also, does anyone happen to know of the API Afeeca exposes to get stream status, thumnails, etc? I have a Windows app I wrote that leverages the Twitch API (a glorified Livestreamer GUI with a similar UI to the Twitch website) and I'd like to expand it to incorporate Afreeca as well. I think it might end up being something this community would find useful.
|
|
today i do not watch afreeca on livestreamer..... And you? + Show Spoiler +[cli][error] Could not open stream: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-14/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.9TJt-melnX cNv5wBxT53H3SPqd5KYezh2Kmn74y1_qcbwTB-fhtH-IBf4CG1n-91MoqAlxrAW5tAG1lyygeTFp2L_C KreeyqBOuqKas4_cZzBPl4zcuJHHLwn1EMreN4 (HTTPConnectionPool(host='chromecast.afre eca.gscdn.com', port=80): Read timed out. (read timeout=20.0))
|
Me either,maybe its the problem of GFW
|
Yep, this started earlier tonight. Since I have no idea what's wrong I'm going to advise everyone to just wait it out until someone smarter than me drops by.
I'll poke at some configs tomorrow if it hasn't been fixed by then, but no promises of a fix.
|
On April 26 2017 00:41 caokancc wrote:today i do not watch afreeca on livestreamer..... And you? + Show Spoiler +[cli][error] Could not open stream: Unable to open URL: http://chromecast.afreeca.gscdn.com/livestream-14/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.9TJt-melnX cNv5wBxT53H3SPqd5KYezh2Kmn74y1_qcbwTB-fhtH-IBf4CG1n-91MoqAlxrAW5tAG1lyygeTFp2L_C KreeyqBOuqKas4_cZzBPl4zcuJHHLwn1EMreN4 (HTTPConnectionPool(host='chromecast.afre eca.gscdn.com', port=80): Read timed out. (read timeout=20.0)) me too, I also have the same error.
Yesterday, I still watched very good from vlc.
|
Registered too report same problem, followed the guide yesterday, had flawless Bisu/Sea/Jaedong streams, since today having authentication playlist error with port 80... Followed FAQ with host file, no fix, that IP is always changing as well, and no luck allowing VLC and Livestreamer through windows firewall.
|
Started troubleshooting today. Streamlink doesn't work any more either. Seems like Afreeca changed their API again because they didn't do that enough times this year, and not doing it would be too convenient.
Currently poking at configs. No promises for a fix.
Edit: Got it working on Streamlink. May have to finally update the guide and .bat files to just use that.
Edit 2: Only SOME streams work on Streamlink at the moment. For instance, I can connect to Bisu, GuemChi, and Zeus, but not Horang2 or EffOrt.
Edit 3: https://github.com/streamlink/streamlink/issues/837
Confirmed for being an issue outside of Livestreamer. I think Afreeca did a thing, now we have to wait for a fix.
|
If you want to watch some streams instead of none, install Streamlink: https://streamlink.github.io/install.html#windows-binaries Grab the "nightly Windows installer" from that page.
Then edit your afreeca_x64.bat file, replacing the bottom section with this:
:PLAYER_START start /B streamlink afreeca.com/%id% best
REM start /B livestreamer --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id%
goto loop
This comments out the Livestreamer syntax temporarily (you can uncomment it again later by removing "REM") and replaces it with a Streamlink launcher.
Like I said, it seems random which streams this will work with (watching Bisu right now), but until the API gets fixed or the plugin gets updated it's the best I can do considering the massive headache I've been nursing all day. I'll take a deeper look tomorrow, and I might update the guide to use Streamlink instead if the plugin gets fixed soon.
|
aylear thank you hope it gets fixed soon
|
Thanks a lot for your fix effort.
|
I found that stream(rtmp) can be loaded,but stream(hls) can not.
|
I'd appreciate if anyone would be kind enough to let everyone know if they figured a way to run Afreeca streams with livestreamer again. Last time we had to change CHANNEL_INFO_URL and STREAM_INFO_URLS parameters due to API changes.
|
Thank you for the updates Aylear. I'm able to watch streams again without problems following your instructions and replacing the plugin with that posted in the github link. Don't know which streams work, but I'm satisfied being able to watch at all!
|
On April 26 2017 23:17 Gaitsaa wrote: Thank you for the updates Aylear. I'm able to watch streams again without problems following your instructions and replacing the plugin with that posted in the github link. Don't know which streams work, but I'm satisfied being able to watch at all! I'm glad you found the guide useful! I'll try to get it fully fixed ASAP.
Welcome to TeamLiquid. =)
|
Aylear I love you so much <3 With the change I get an error saying I can't find VLC, even though the pathway is correct; any fix? Alright if anyone has the same problem I had, use this
:PLAYER_START start /B streamlink --loglevel=error --player="D:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/%id% best
goto loop
|
By the way, Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer. Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc. The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4". enjoy.
|
On April 27 2017 01:02 caokancc wrote: By the way, Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer. Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc. The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4". enjoy. Well, we're getting closer to the problem at least. Doing this has the same success rate that using Streamlink does. I can watch Flash, but not EffOrt, which is the same problem as with using my Streamlink workaround above.
So hls isn't working properly with Afreeca. That makes more sense as to why some streams work and others do not.
|
On April 27 2017 01:08 Aylear wrote:Show nested quote +On April 27 2017 01:02 caokancc wrote: By the way, Referring to the idea of Aylear , only need to modify the configuration files of the livestreamer. Files in the directory"C:\Users\Administrator\AppData\Roaming\livestreamer", name is livestreamerrc. The character "stream-types=hls" is modified to stream-types=rtmp,and delete "hls-segment-threads=4". enjoy. Well, we're getting closer to the problem at least. Doing this has the same success rate that using Streamlink does. I can watch Flash, but not EffOrt, which is the same problem as with using my Streamlink workaround above. So hls isn't working properly with Afreeca. That makes more sense as to why some streams work and others do not.
Yes,else EffOrt, The root of the problem or in HLS and afreeca connection. Korean players can choose different stream when live.
|
Can confirm. Just checked EffOrt's stream myself with Streamlink/MPC-HC using the cli and got squat. Jaedong's stream however used rtmp and worked fine.
Dontcha love it when sites make API changes without telling you?
|
why should i input two enter with the new afreeca_x64.bat file before i can watch the stream
|
Guys, for all of you who are still using Livestreamer, I recommend that you switch to Streamlink, as Livestreamer is not being developed anymore and won't fix any new issues that arise from changes in the endpoints. On the other hand, Streamlink does not require any additional configurations to watch Afreeca streams; once installed, it just works.
I posted a link to the latest version of Streamlink on this thread, along with a frontend program to manage the streams without having to use the console or any .bat files, which doesn't require any additional configurations to make it work as long as you install Streamlink and VLC in the default folders. You can find the post here: http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=6#120
On April 19 2017 17:54 Vendethiel wrote:Show nested quote +Leaving that responsibility to Streamlink and building a GUI on top of it is just a easier choice. Of course you're right, but it means a one-click installer for the program would be feasible. Non-technical people will not go through with "install steamlink in this and that directory". Maybe the solution is to instead package streamlink... I understand what you say, but the problem with integrating Streamlink in the program I made is that whenever a new version of Streamlink that fixes new issues came out, I would need to update my program.
Having Streamlink as an external dependency allows me to just update Streamlink and then reference the new installation from the preferences menu whenever a new version comes out. Besides, I don't think it is that difficult to install something and then reference the installation folder from another program, especially if this step can be easily avoided by just using the default folders during installation.
On April 21 2017 14:47 Craton wrote: Also, does anyone happen to know of the API Afeeca exposes to get stream status, thumnails, etc? I have a Windows app I wrote that leverages the Twitch API (a glorified Livestreamer GUI with a similar UI to the Twitch website) and I'd like to expand it to incorporate Afreeca as well. I think it might end up being something this community would find useful. I know of some Afreeca API endpoints which I use on the app referenced above. That said, compared to Twitch or Youtube APIs, Afreeca API just sucks (or maybe I just wasn't able to find a proper documentation for it due to not being able to understand korean).
|
Overnight my Afreeca streams (hls at least) started to work again with livestreamer. Didn't mess with the files.
|
I use livestreamer to watch afreeca because i have APP ex
![[image loading]](http://i.imgur.com/I9Xwkrc.png)
|
United States2948 Posts
Have been encountering this issue myself with Livestreamer/Streamlink the past two days, but it looks like @trocknet at Github revised the afreeca.py code a bit yesterday and most BJs work now. Hopefully someone will come up with a more comprehensive fix, but a few HLS streams don't work consistently for me, like Flash.
The updated afreeca.py code can be found here, or as a file here
|
Hmm, on Korhal, i have problems with Effort and Soulkey, but Flash streams work great, strange ...
|
United States2948 Posts
On April 28 2017 04:04 [tyu38] wrote: Hmm, on Korhal, i have problems with Effort and Soulkey, but Flash streams work great, strange ... Pretty odd. Maybe just an Afreeca server/DNS issue.
Before I used the new afreeca.py plugin, none of the BJs were working from me. Now, only about 10% of streamers don't work for me. Fortunately, both EffOrt and Soulkey are fine for me
|
They started streaming HD and that might be the problem.
|
United States2948 Posts
Our man @trocknet at Git updated the afreeca.py plugin and all seems to be well now, for all the streams I've tested.
Can find it here, or download here
|
where should i put this file ? (livestreamer)
|
It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.
I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive.
|
On April 29 2017 03:39 Aylear wrote: It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.
I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive.
What are the things you are fixing? They can be applied to livestreamer for the most part..
These API change fixes have been pretty straight forward in the past.
|
On April 29 2017 06:46 Grettin wrote:Show nested quote +On April 29 2017 03:39 Aylear wrote: It's for Streamlink, not Livestreamer. The Livestreamer plugins are unlikely to ever be fixed since support for it has ended.
I'm currently updating the guide to use Streamlink instead of Livestreamer. It's an easier install, which is a positive. What are the things you are fixing? They can be applied to livestreamer for the most part.. These API change fixes have been pretty straight forward in the past. Probably, but we would have to do it going forward. If Streamlink remains updated (especially with the nightly build) we won't need to provide manual downloads to three different files plus editing the config.
Streamlink also allows for better quality options, so I'm updating the .bat file right now. Will update the guide some time tonight. If things go poorly we can go back to Livestreamer.
|
I updated the guide in the OP. Need people to test the new setup for me, and give feedback on the .bat file I've created.
If you don't want to re-read the OP, here's a basic rundown:
1) Download and install Streamlink (link is to the nightly build) 2) Download afreeca.py (right-click and save link as) 3) Replace afreeca.py file in Streamlink folder with the one you downloaded - folder is usually: C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins 4) Download afreeca_x64.bat or afreeca_x86.bat (right-click and save link as)
Run afreeca_x64.bat. You should be presented with options for CDN servers and stream quality. Try them out and make sure they work, and let me know if there are any problems. .bat file is in beta until I'm sure there are no bugs left.
The new .bat file uses color codes to make things more readable. If the text looks messed up for you, let me know. I would have to create an optional color-less .bat file.
Cheers!
|
It is sad I was using livestreamer for linux which worked well.
|
Croatia9487 Posts
Server/stream setting should be modified so it only allows you available options ^^
|
On April 29 2017 16:55 2Pacalypse- wrote:Server/stream setting should be modified so it only allows you available options ^^ ![[image loading]](http://i.imgur.com/p5dkZO3.png) You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you? Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded.
|
Croatia9487 Posts
On April 29 2017 20:09 Aylear wrote:Show nested quote +On April 29 2017 16:55 2Pacalypse- wrote:Server/stream setting should be modified so it only allows you available options ^^ ![[image loading]](http://i.imgur.com/p5dkZO3.png) You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you?  Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded. Oops, my bad. Chrome failed to replace the file due to insufficient privileges, so I had to do it manually. It works now, thanks!
|
On April 29 2017 15:04 iFU.pauline wrote: It is sad I was using livestreamer for linux which worked well. If letian keeps updating his fork for Linux it'll work for a while longer. I don't know what his plans are though.
On April 29 2017 20:16 2Pacalypse- wrote:Show nested quote +On April 29 2017 20:09 Aylear wrote:On April 29 2017 16:55 2Pacalypse- wrote:Server/stream setting should be modified so it only allows you available options ^^ ![[image loading]](http://i.imgur.com/p5dkZO3.png) You didn't copy-and-replace Streamlink's afreeca.py with the one I linked to, did you?  Those quality options (live_hls, live) are wrong. aws_hd is part of the updated file that @trocknet created and prech uploaded. Oops, my bad. Chrome failed to replace the file due to insufficient privileges, so I had to do it manually. It works now, thanks! Good! Glad it's working. Report any issues with the .bat file. =)
Edit: And I added your problem to the Troubleshooting/FAQ. Thanks for testing and breaking stuff for me!
|
I updated the .bat file again, and the updated files have been added to the OP. This time I added some 15+ player streams from https://bwstreams.appspot.com/ including Really, SkyHigh, Noble, 910, Spire, and Hint.
I also added known aliases to existing entries, i.e. Eyewater/Shuttle, Rock/TheRock/Nal_Rock, Rain/Sun/By.Rain/By.Sun, Piano/Organ, etc.
Windows 64-bit: afreeca_x64.bat (right-click and save link as) Windows 32-bit: afreeca_x86.bat (right-click and save link as)
|
great ! 480 afreeca streams play well on source with better quality than before. I have frequent freezing with 720 streams on both source and high quality tho.
|
I fixed success, thank for update latest!
You can do it:
step 1: download and install Install Streamlink step 2: download and copy to replace afreeca.py step 3: down 3: download and copy to replace Windows .bat
The links are in the #1 of page 1
|
You are welcome! Happy viewing. <3
|
works great, thank you Aylear.
|
Firstly i got an error message that "Windows cant find streamlink" though i've installed it properly and by moving the .bat file to the "Program Files\Streamlink\bin" forler it was solved...
After installing steamlink and doing all the stuff it still doesnt work for me((( after entering the name of a streamer (Bisu/rlaxordyd for example. Bisu was surely streaming at that moment) VLC player doesnt show up, i just get this (the path to the player was edited)
![[image loading]](http://i.imgur.com/6VKS9L5.jpg) can u tell me what can be wrong?
|
On April 29 2017 23:26 k0walle wrote:Firstly i got an error message that "Windows cant find streamlink" though i've installed it properly and by moving the .bat file to the "Program Files\Streamlink\bin" forler it was solved... After installing steamlink and doing all the stuff it still doesnt work for me((( after entering the name of a streamer (Bisu/rlaxordyd for example. Bisu was surely streaming at that moment) VLC player doesnt show up, i just get this (the path to the player was edited) ![[image loading]](http://i.imgur.com/6VKS9L5.jpg) can u tell me what can be wrong? Well, first of all thank you for posting a screenshot. I can see that the text on the .bat file is messed up on your system. What operating system are you using?
For those wondering, the .bat file should look like this:
![[image loading]](http://i.imgur.com/CTBYhUw.png)
Since it's confirmed messed up on some systems, I will probably need to create an optional .bat file without the color codes. I'll get started on that right away.
Anyway, on to your problem.
1) If you get a "Windows cannot find Streamlink" error, that almost certainly means that you haven't installed Streamlink properly. The fact that you had to move the .bat file to the Streamlink directory also indicates this, as you should not need to move the .bat file if Streamlink was properly installed.
Did you use the Streamlink nightly installer I linked to? If you just download the mobile .zip version and extract it, Streamlink doesn't get added to your Windows system PATH variable, which means that my .bat file will not work.
2) What operating system are you on? The fact that your .bat file looks wrong (color codes screwed with the text) makes me wonder what's going.
3) Temporarily deactivate your antivirus and try again. Some third party antivirus software will aggressively throttle certain connections, especially from C:\Program Files.
Anyway, your problem is so far unique to you, so it will be hard to troubleshoot.
Edit: With your .bat file being messed up, it is possible that the operating system you're running doesn't know how to handle certain modern .bat file functions. Maybe it doesn't add the quality options.
Try the following: - Open the command prompt (start menu, type cmd.exe and open it) - Type streamlink
Does it say "not recognized as a program", or does it say "usage: streamlink-script.py" etc? If it shows "not recognized as a program" then Streamlink was definitely not installed properly.
Use the command prompt to navigate to your Streamlink folder. Copy-paste this into your command prompt window:
cd \Program Files (x86)\Streamlink\bin
Now type the following:
streamlink afreeca.com/rlaxordyd aws_hd
Does the stream load in VLC now?
Edit 2: I see your Windows is installed to D:\, so my commands above probably won't work. Sorry dude, you're on your own.
|
I use Win XP sp3 ))) maybe thats the problem... I've downloaded the Streamlink nightly installer U linked to and installed it as usual colours are the same as in your screenshots, maybe thats just the "Paint" compression artefacts command prompt says "not recognized as a program"
|
Aww, yes, that is the problem I'm afraid. Probably also why your .bat file looks messed up, all extra periods and symbols all over the place. As it says on the Streamlink page:
Windows XP is not supported. Windows Vista requires at least SP2 to be installed.
|
|
United States4883 Posts
For whatever reason, I haven't had any problems watching on AfreecaTV since the VLC workaround broke. ¯\_(ツ)_/¯
|
That's good! When I try to do that the stream buffers and freezes for 20 seconds straight, comes back for 0.2 seconds, and then begins another 20 second buffering period. So, you know, screw you. =)
|
|
On April 30 2017 18:19 caokancc wrote:![[image loading]](http://i.imgur.com/hYkWtGD.png) okay?
|
If someone could make a shell version of the bat file maybe we could make it work on linux using wine.
|
Click on the download software
Contains three files Program, configuration files, component
If your computer prompts lacks comdlg32.ocx, please register components If there is no hint that your computer contains the file, please use directly
|
Oh cool, you updated the app to use Streamlink? I haven't tried it yet but it's looking pretty good. =)
|
On April 30 2017 22:09 Aylear wrote: Oh cool, you updated the app to use Streamlink? I haven't tried it yet but it's looking pretty good. =)
yes,It supports Streamlink According to your way of thinking of the app, you are best
|
I'm getting this error "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid". I read on how to fix it but I'm a bit apprehensive of installing anything in my windows folder...
|
B-royal, same thing here.
For those confused, we are talking about caokan's app.
|
On April 30 2017 23:14 B-royal wrote: I'm getting this error "Component 'comdlg32.ocx' or one of its dependencies not correctly registered: a file is missing or invalid". I read on how to fix it but I'm a bit apprehensive of installing anything in my windows folder...
My friend also reflect this problem to me. This control is an early Windows system components, and this app is written in vb6, so now the Windows complains.
Download this file and register
|
Aylear, YOU ARE MAH HERO!! Being forced to watch via afreeca was a real pain ever since the last settings didn't work properly anymore and even with the few random small fixes that randomly worked or not didn't work for me. But now, after following the new guide, IT'S WORKING AGAIN!!  Thank you sooooo much!
|
|
Caokancc, out of curiosity, how are you grabbing the list of online streams? Are you parsing live.afreecatv.com:8057/afreeca or something else?
|
|
Just tried this and works like a charm . Finally watching Flash without stuttering. Thanks!
|
France1919 Posts
I also got the error "Windows can't find streamlink". My bat isn't messed up like k0walle. I'm on Windows 8.1 I used Streamlink nightly installer linked in the guide. I tried deactivating my antivirus and installing Streamlink again but I still got the error. Is there anything I can do?
|
Hmm...
- Open your command prompt. Start -> Run, type "cmd.exe" - In the command prompt, type streamlink
Does it display Streamlink info? It should display something like this:
C:\Users\Cane>streamlink usage: streamlink-script.py [OPTIONS] <URL> [STREAM]
Use -h/--help to see the available options or read the manual at .https://streamlink.github.io If instead of showing user info it says something like "not recognized as an internal or external command", then Streamlink wasn't installed properly, meaning the Streamlink folder wasn't added to the system PATH variable.
If that's the case, try moving the .bat file to your Streamlink bin folder, usually
C:\Program Files (x86)\Streamlink\bin> and try running it from there. Report back if it works or not.
Sorry you couldn't get it running, I hope you can get it sorted.
|
France1919 Posts
|
Okay. Open your command prompt again and type:
streamlink afreeca.com/mycou gs_hd
You should see the following:
C:\Users\Cane>streamlink afreeca.com/mycou gs_hd [cli][info] Found matching plugin afreeca for URL afreeca.com/mycou [cli][info] Available streams: gs_sd (worst), aws_sd, gs_hd, aws_hd, gs_original, aws_original (best) [cli][info] Opening stream: gs_hd (hls) [cli][info] Starting player: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
"mycou" is JangBi, and he's streaming right now. If he stops streaming by the time you try this, find someone else (you need their Afreeca ID though).
|
France1919 Posts
|
Okay, so we know Streamlink works. Now try this command:
start /B streamlink afreeca.com/mycou gs_hd
I fear the "start /B" may be the problem here. If not, there's something odd with the .bat file on your system.
Edit: In fact, just try this command (mark it and copy, then right-click and paste in the command prompt)
start /B streamlink --loglevel=error --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=5000 --network-caching=5000 --meta-title=%name%" afreeca.com/mycou gs_hd
|
France1919 Posts
|
That's odd. So if Streamlink works, and start /B works, but the .bat file does not...
Okay. First off, try the .bat file again, to confirm it's not working. If you can, take a screenshot of when the failure occurs.
Next, try one of the "basic" .bat files without the color coding:
http://liquestria.net/wp-content/uploads/2017/04/afreeca_x64_basic.bat - 64-bit OS http://liquestria.net/wp-content/uploads/2017/04/afreeca_x86_basic.bat - 32-bit OS
(Edit: Links fixed, sorry about that!)
And THEN, if the color-less .bat file ALSO doesn't work, try the super basic stuff:
http://liquestria.net/wp-content/uploads/2017/04/afreeca_basic.zip
That .zip file contains 6 even-more-basic .bat files. They won't ask you to pick CDN or quality, just the player name. Try some of those and see if you can connect using them.
Edit: Also run them in administrator mode. Forgot about that.
|
France1919 Posts
I tried the .bat file again, and now it's working! I guess going through all of this fixed it somehow...
Thanks a lot for your guide and help!
|
Weird! But I'm glad it's working now... for some reason. I just wish I knew what the problem was. 
Happy viewing!
|
On April 30 2017 21:21 caokancc wrote: Click on the download softwareContains three files Program, configuration files, component If your computer prompts lacks comdlg32.ocx, please register components If there is no hint that your computer contains the file, please use directly ![[image loading]](http://i.imgur.com/0fLXLLf.png) Great, could you share one copy on baidu pan? Xie xie :-) Ps. How to add new players like Garimto by myself?
|
|
on a side note, wtf is going on with afreeca as of late? it's either super laggy a big chunk of the time or i get to watch a commercial where some animals are eating cakes and are fighting each other with loafs of bread for eternity? is this a joke?
|
|
On May 04 2017 17:50 sc19980331 wrote:Show nested quote +On April 30 2017 21:21 caokancc wrote: Click on the download softwareContains three files Program, configuration files, component If your computer prompts lacks comdlg32.ocx, please register components If there is no hint that your computer contains the file, please use directly ![[image loading]](http://i.imgur.com/0fLXLLf.png) Great, could you share one copy on baidu pan? Xie xie :-) Ps. How to add new players like Garimto by myself?
http://pan.baidu.com/s/1mhQySbu haha, Be WeChat friends?
|
On May 04 2017 20:11 LRM)TechnicS wrote: on a side note, wtf is going on with afreeca as of late? it's either super laggy a big chunk of the time or i get to watch a commercial where some animals are eating cakes and are fighting each other with loafs of bread for eternity? is this a joke? I just reload the stream until the random stuff or countdowns go away and I get the regular stream again. It's generally only laggy for me when watching through the browser.
|
Can someone make manual step by step how to make it work? I downloaded this streamlink, next i dled portable exe / bat and dont know what should i do next ?
|
|
On May 06 2017 22:58 aFF]ZuluNAtion[ wrote: Can someone make manual step by step how to make it work? I downloaded this streamlink, next i dled portable exe / bat and dont know what should i do next ? What the fuck?
|
How watch afreeca in vlc now ? Its not work since few days/weeks. I dont want to install some chinese unknown software.
|
It's... in the OP. On the first page. The guide is updated and working. Just follow the instructions.
|
|
Hey there, is there any way to add other streamers? I really want to watch rogue streeam on afreeca but is not lsited here since its only BW streamers
|
To the batch file? You could just type the stream name or edit the batch file to have another case. For instance "Larva" has a stream name of "dpfgc3", which you can see from the afreeca url: http://play.afreecatv.com/dpfgc3
For example:
:CASE_larva set id=dpfgc3 GOTO PLAYER_START
So you'd add
:CASE_rogue set id=put_id_here GOTO PLAYER_START
|
On May 09 2017 07:23 Craton wrote:To the batch file? You could just type the stream name or edit the batch file to have another case. For instance "Larva" has a stream name of "dpfgc3", which you can see from the afreeca url: http://play.afreecatv.com/dpfgc3For example: :CASE_larva set id=dpfgc3 GOTO PLAYER_START So you'd add :CASE_rogue set id=put_id_here GOTO PLAYER_START
oh, so easy! thanks 
|
Is there a working solution to watch Twhitch streams on VLC ? I tried several things I found on google but all seems outdated.
|
Oh yes, Streamlink works fine for that. If you have it installed (followed the guide in the OP etc), open your command prompt (start -> run, cmd.exe) and type:
streamlink twitch.tv/Day9tv best
Day9 is streaming right now so it's a good time to test.
|
thank you, it's working
|
No problem. It shouldn't be too hard to put together a .bat file for Twitch if you wanted to. It's the adding of names and streams that requires the most manual labor.
|
Anyone else having issues loading streams? Streamlink tries to open one but gives an error afterwards.
+ Show Spoiler +
|
Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?
|
On May 13 2017 06:48 Aylear wrote: Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?
aws_hd and hls streams.
e. checked jackhan8888 who streamed broodwar and worked fine now. I'll report back if i'm experiencing the error(s) again.
|
With the linux version, trying to load a stream I just get -
Anyone got any ideas?
|
On May 13 2017 06:48 Aylear wrote: Just checked, it was fine for me. Who are you trying to connect to, and with what CDN/quality options?
Alright. Checked again. Tried to open Last's stream and got the same error i posted above. (afreeca.com/rlatjdgus228). Rest of the streams on the right side (Flash, Jaedong, Guemchi, Free.. etc) work and open fine.
e. Last and other streams that show the error gets fixed by using other quality options other than aws_hd. Used gs_hd and stream opened fine.
|
Yep, can confirm. When I tried to open Last's stream on Amazon AWS/HD (aws_hd) it failed, with the error message above. Amazon on Source (aws_original) and on SD (aws_sd) both work, and GSCDN works on all three quality options.
So when you tried aws_hd you found the only combination that doesn't work right now, and I have no clue why.
|
On May 13 2017 21:03 Aylear wrote: Yep, can confirm. When I tried to open Last's stream on Amazon AWS/HD (aws_hd) it failed, with the error message above. Amazon on Source (aws_original) and on SD (aws_sd) both work, and GSCDN works on all three quality options.
So when you tried aws_hd you found the only combination that doesn't work right now, and I have no clue why.
Yeah. First i thought it could be related to the streamer's resolution and that's why it couldn't open it. Although, i'm also using file-caching on VLC, if that could have something to do with it.
|
It shouldn't matter. That error would be coming from the streamlink side, file caching (buffering) is done on the player. The error occurs before you even reach VLC. Streamlink is basically just handling requests from the player for byte ranges, so in the case of buffering there are extra requests done so that it has data stored up to play. In this case streamlink can't access the stream bytes in the first place.
|
|
Ok so I've read the FAQ and re-downloaded and reinstalled a bunch of times, I'm getting this error when trying to connect to any stream: > error: Unable to open URL: http://resourcemanager.afreeca.tv:9090/broad_stream_assign.html (HTTPConnectionPool(host='resourcemanager.afreeca.tv', port=9090): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=play.afreecatv.com&return_type=gs_cdn&broad_key=192176121-flash-original-hls&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x04A5FC70>, 'Connection to resourcemanager.afreeca.tv timed out. (connect timeout=20.0)')))
Can anyone help?
|
Hi, and welcome to TeamLiquid.
That's a strange new error message. Could your antivirus software be throttling the connection? Try temporarily disabling it if you haven't done that already.
If it's not your antivirus I'll need more info.
1. What version of Windows are you running?
2. Does this happen no matter which CDN and quality options you choose?
3. Can you use Streamlink and VLC to view streams at all? Try the following: a) Open command prompt (Start -> Run, cmd.exe) b) Enter the following command:
streamlink twitch.tv/medrybw best This should open a twitch.tv stream that's always online (MedryBW runs classic old SC/BW VODs)
Hope you can get it working.
|
Ok, so very odd I just started it up again and it worked first time, not sure what was happening but it seems to have fixed itself. Thankyou for the quick response! Time to watch some bw
|
On May 13 2017 18:33 atrox_ wrote:With the linux version, trying to load a stream I just get - Anyone got any ideas?
just a note: I've fixed this by reducing the quality to "Worst" within the shell
|
streamlink / bat launcher works so smoothly ! many thanks
|
You are welcome! I'm glad it's working well. =)
|
I've tried using this guide but VLC doesn't even open up. It also doesn't give me an error.
It also might just be my pc settings? On both this computer and my work computer, the afreeca streams on TL and on the site just don't load whatsoever. It just has that static logo image. Not sure why but it hasn't happened before.
Any reason why this might be the case?
|
What result does this give you?
nslookup chromecast.afreeca.gscdn.com
Assuming everything else is configured correctly, it sounds like it could be a network issue where you're unable to reach the video source.
Also have you tried the different CDNs and quality options for a particular stream?
|
Does anyone have some kind of general set-up guide for streamlink? New PC and can't get the nightly build working. I edited the config file that first opens after installation and selected the VLC player. Tried to open a stream and received an error regarding "Import error module named urllib3". Pretty sure i didn't configure streamlink properly, but last time i did everything was on livestreamer couple years ago.
|
I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd.
Thoughts?
I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before...
edit: cmd display when i run streamlink
|
On May 30 2017 19:26 Gaitsaa wrote:I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd. Thoughts? I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before... edit: cmd display when i run streamlink ![[image loading]](http://i.imgur.com/f15HhE3.png) Open command line console and type: pip install urllib3
|
On May 30 2017 20:16 letian wrote:Show nested quote +On May 30 2017 19:26 Gaitsaa wrote:I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd. Thoughts? I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before... edit: cmd display when i run streamlink ![[image loading]](http://i.imgur.com/f15HhE3.png) Open command line console and type: pip install urllib3
I am on windows 8. I downloaded python, syntax error, and cygwin will not load for some reason...
I have the master zip for ullib3 from github, where should I place?
|
On May 30 2017 19:26 Gaitsaa wrote:I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd. Thoughts? I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before... edit: cmd display when i run streamlink ![[image loading]](http://i.imgur.com/f15HhE3.png)
This is the issue im facing as well.
|
I would try installing a stable build and see if that works. Nightly builds are generally unstable and shouldn't be needed for this.
|
On May 31 2017 00:15 Craton wrote: I would try installing a stable build and see if that works. Nightly builds are generally unstable and shouldn't be needed for this.
So I've tried portable, standalone and bat. Each install does not respond with VLC or Streamlink being recognized by Windows. When I install using the stable.exe, cmd will recognize Streamlink, but I'll get the urllib3 missing in cmd.
When I run the afreecabat it will not say anything and VLC will not open.
I was running the bat with no issues like 2 weeks ago, ended up deleting all Starcraft related files, and now on the reinstall I'm unable to watch streams.
Guessing at this point it's something system related, don't know if using cygwin messed up pathing, or if using Windows 8 without updating or A/V is the problem.
Also I don't know if its on purpose, but when I try to launch the Streamlink cmd I don't get a chance to input or read anything since it will close out. I'm unfamiliar with programming, but I tried using python too fix urllib3 or import packages, but I was unable too get a response after following the github procedures. >>> ...
|
Well nevermind Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build.
Thanks for the help anyways
|
On May 31 2017 18:50 Gaitsaa wrote:Well nevermind  Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build. Thanks for the help anyways
Care to explain what you did completely? Still having the same issue as you did.
|
same issue with streamlink
"Import error module named urllib3"
|
I wonder if there's something else in your %PATH% that's erroneously used when trying to find urllib3. I would try running Streamlink directly through the command prompt/powershell (probably need to remove the %PATH% entry for Streamlink, but you can try it before doing that). Google editing PATH variables if you don't know how. You might also want to post the contents of your path.
In my case I have this folder, so verify that's present.
C:\Program Files (x86)\Streamlink\pkgs\requests\packages\urllib3
For testing I just used PowerShell:
cd "C:\Program Files (x86)\Streamlink\bin\"
.\streamlink --player="C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" afreeca.com/jk890202 aws_hd
Replacing "jk890202" with any online stream.
You can output the contents of your PATH via command/powershell via echo %PATH% or just copy/paste it from the Environmental Variables section of your Control Panel (again, see Google).
---
Similar to the above poster, the other github issues I see on this come down to someone having their own installation of Python that seems to be clashing with this program.
|
On May 31 2017 22:59 Grettin wrote:Show nested quote +On May 31 2017 18:50 Gaitsaa wrote:Well nevermind  Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build. Thanks for the help anyways Care to explain what you did completely? Still having the same issue as you did.
Deleted all streamlink downloads, content, vlc, python, uninstalled, used regcleaner too delete registry information on cygwin a program that adds GNU capability to windows. After deleting cygwin I reinstalled using the nightly installer, and from there I launched and didn't have any issues.
I can run cmd prompt now and it properly displays streamlink and it being used by the python.py script, and I don't have missing urllib3.
Basically I'm assuming anything you've done on windows that's involved cmd, pathing or python is getting in the way so uninstall, use regcleaner on any programs that have and try again.
If you've done nothing to modify windows or cmd, then try too follow github and import urllib3. I never got too this but download the master urllib3 from github, and place just the urllib3 folder: C:\Program Files (x86)\Streamlink\pkgs\requests\packages
See if that works and that python caches in that folder and the scripts sync with streamlink and the bat.
|
On June 01 2017 14:48 Gaitsaa wrote:Show nested quote +On May 31 2017 22:59 Grettin wrote:On May 31 2017 18:50 Gaitsaa wrote:Well nevermind  Should have followed through with regcleaner and clearing cygwin before posting as it appears that was the issue and I'm running streams using the nightly build. Thanks for the help anyways Care to explain what you did completely? Still having the same issue as you did. Deleted all streamlink downloads, content, vlc, python, uninstalled, used regcleaner too delete registry information on cygwin a program that adds GNU capability to windows. After deleting cygwin I reinstalled using the nightly installer, and from there I launched and didn't have any issues. I can run cmd prompt now and it properly displays streamlink and it being used by the python.py script, and I don't have missing urllib3. Basically I'm assuming anything you've done on windows that's involved cmd, pathing or python is getting in the way so uninstall, use regcleaner on any programs that have and try again. If you've done nothing to modify windows or cmd, then try too follow github and import urllib3. I never got too this but download the master urllib3 from github, and place just the urllib3 folder: C:\Program Files (x86)\Streamlink\pkgs\requests\packages See if that works and that python caches in that folder and the scripts sync with streamlink and the bat.
Tried all but nope.
Although from Github:
urllib3 will be covered too, but there is no installer available that includes it yet. The nightly version is still built without the required modules. The urllib3 error is new in the last day or so from an updated version of requests. You'll have to wait until the fix is merged and the new nightly is available, or build the installer yourself on a Linux/macOS box.
|
Guys, you do not need cygwin at all. Open up windows cmd and install urllib3 via pip install urllib3. If you have python3.5 installed on windows you'll have pip as part of its package as well. Python package manager pip will be available from windows cmd. Cygwin is a unix shell emulator and uses its own environment and should not be used as a replacement for windows cmd. Simply put, anything installed in cygwin won't have any effect on your windows environment.
|
steamlink works perfectly in unix shells. Here is an updated bash script I use to spawn multiple vlc streams. run as ./afreeca.sh
|
Alright guys:
The latest stable build was released 21 days ago, which is later than the guide was updated. This means the stable version should have everything you need to run Afreeca. Try that build. If it's working, we should get the OP updated to use stable instead of nightly since nightly builds are inherently unstable and I'd expect problems like this to pop up in the future.
https://github.com/streamlink/streamlink/releases/tag/0.6.0
On June 02 2017 00:34 letian wrote: Guys, you do not need cygwin at all. Open up windows cmd and install urllib3 via pip install urllib3. If you have python3.5 installed on windows you'll have pip as part of its package as well. Python package manager pip will be available from windows cmd. Cygwin is a unix shell emulator and uses its own environment and should not be used as a replacement for windows cmd. Simply put, anything installed in cygwin won't have any effect on your windows environment. Most people don't have pip installed.
|
Russian Federation10 Posts
I downloaded afreeca_x86.bat and all was good, streams starting, but yesterday streams just Stopped open VLC player without errors and this loading is infinite.
|
On May 30 2017 23:26 Grettin wrote:Show nested quote +On May 30 2017 19:26 Gaitsaa wrote:I've followed instructions on a reinstall, and now when I load the bat64 and type a stream I get no response. VLC doesn't load, but there are no errors presented in cmd. Thoughts? I reinstalled vlc and streamlink, tried basic bat, and tried too run the bat as admin but it will not load. Didn't have too do that before... edit: cmd display when i run streamlink ![[image loading]](http://i.imgur.com/f15HhE3.png) This is the issue im facing as well.
Hi guys,
Same issue faced on a Windows 10 laptop.
I've fixed by copying some of the python packages directly into the zip file that comes with the Streamlink installation, for me is in Streamlink\Python:
C:\Program Files (x86)\Streamlink\Python\python35.zip
In there I've copied urllib3, idna, charder, certify.. I don't remember all right now, yet after each copy it will change the error to tell you what package you are missing.
Now a more detailed step by step: 1. Install Python from: https://www.python.org/downloads/release/python-361/ (windows 64 installer for me)
2. Open Command Prompt ( press windows key + write "cmd" )
3. Use change directory command (cd) to go to the installation folder to the Scripts "cd Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts" You need to user your own windows user name instead of "NoobPack"
4. Once your cmd is at the Python36\Scripts folder you can call the pip method to request the packges "pip install urllib3" "C:\Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts>pip install urllib3"
5. These should actually get the python package from online, now you just need to figure out where exactly it got fetched, just call the "pip install urllib3" again and it should tell you it's already there and where it is: "C:\Users\NoobPack\AppData\Local\Programs\Python\Python36\Scripts>pip install urllib3 Requirement already satisfied: urllib3 in c:\users\noobpack\appdata\local\programs\python\python36\lib\site-packages"
6. Now you can navigate to the "appdata\local\programs\python\python36\lib\site-packages" and copy urllib3 folder as mentioned initially inside the python35.zip file from your Streamlink folder "C:\Program Files (x86)\Streamlink\Python\python35.zip"
7. In cmd write "streamlink" command and see if another package is required .. repeat steps 4-6 and request + copy inside the zip all missing packages
OR
If you trust strangers on the internet ( which I strongly recommend against ) you can directly download my already packaged version of python35.zip file from: www.loudsparks.com/share/python35.zip
And then just overwrite the one in the Streamlink installation ( C:\Program Files (x86)\Streamlink\Python\python35.zip )
Thank you, and hope it fixes your issues.
|
|
steamlink works perfectly in unix shells. Here is an updated bash script I use to spawn multiple vlc streams. run as ./afreeca.sh the link is not working for me.. can u fix the link or add a mirror? thx :D
|
|
|
To all Linux users.
I have dropped my livestreamer fork and switched to streamlink backend. Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here.
As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here.
The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players.
Here is a github repo with the instructions and the required files.
|
I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
|
On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd?
|
Anyone else having troubles with afreeca just the last couple of days? Won't start a stream at all if I use the flash player and lags terribly on html5.
|
On July 20 2017 00:37 Grettin wrote:Show nested quote +On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd? I can't get any streams open regardless of what server or stream quality I use
|
On July 09 2017 18:22 letian wrote:To all Linux users.
I have dropped my livestreamer fork and switched to streamlink backend. Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here. As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here. The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players. Here is a github repo with the instructions and the required files. This is working for me on the latest osx (Sierra). Thank you! The bash script doesn't seem to work, but you can easily figure out how to run the last line which does the job.
If anybody is struggling to make it work on the mac let me know.
|
On July 20 2017 19:46 Scaramanga wrote:Show nested quote +On July 20 2017 00:37 Grettin wrote:On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd? I can't get any streams open regardless of what server or stream quality I use
Sorry, wish i could help more. The newest nightly build without switching any .py files work for me.
|
This is so great! Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag! Thank you!
|
On July 20 2017 22:59 VioleTAK wrote: This is so great! Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag! Thank you! Over a decade later, I finally got to give VioleTAK a little something in return for literally letting me watch StarCraft.
You are very welcome, mate. <3
|
On July 20 2017 20:57 Grettin wrote:Show nested quote +On July 20 2017 19:46 Scaramanga wrote:On July 20 2017 00:37 Grettin wrote:On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd? I can't get any streams open regardless of what server or stream quality I use Sorry, wish i could help more. The newest nightly build without switching any .py files work for me.
I've tried a couple of the latest livestreamer builds with the updated py and original py files and still get the same issue, anyone know what I can do?
|
On July 21 2017 04:14 Aylear wrote:Show nested quote +On July 20 2017 22:59 VioleTAK wrote: This is so great! Fantastic guide. Got it working within 2 minutes. A world of difference between watching in the website, 0 lag! Thank you! Over a decade later, I finally got to give VioleTAK a little something in return for literally letting me watch StarCraft. You are very welcome, mate. <3 :-)!!! <3 <3 <3
|
Hello, I keep getting the following error :
error: The available stream(s) 'aws_original' could not be found. Available streams: live_hls, live (worst, best) Even with the updated py file, I'm sure I overwritted it. Any clue ? Thanks  EDIT: Nvm, I didn't had the right to overwritte the py file, it was the original. It works now.
|
On July 20 2017 19:49 iCCup.Trent wrote:Show nested quote +On July 09 2017 18:22 letian wrote:To all Linux users.
I have dropped my livestreamer fork and switched to streamlink backend. Now, to watch the bw streams via vlc you'll only need a bash script which you can take from here. As usual, you'll need to replace the afreeca.py (if you still haven't) which is installed with streamlink with the one here. The script can check who's online, set "aws_original", "aws_hd" or "aws_sd" quality of streams. Run multiple vlc stream instances (unless you explicitly forbid it in vlc config) with different players. Here is a github repo with the instructions and the required files. This is working for me on the latest osx (Sierra). Thank you! The bash script doesn't seem to work, but you can easily figure out how to run the last line which does the job. If anybody is struggling to make it work on the mac let me know. That's probably because afreeca once again changed the quality of streams from aws_original to live_hls and live (best, worse). I have set default quality to live.
|
Now it's broken again. Streamlink/Livestreamer doesn't work.
[cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3 error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
|
I just tried it on my end. GSCDN, Source, typed in Larva and Pusan and Snow. All three connected instantly with no delay.
|
This is not problem quality of streams.
host='sessionmanager01.afreeca.tv', port=6060
Telnet doesn't work, so maybe port changed...
|
Yup. Happened with livestreamer back in the day as well. It's plugin issue from Afreeca's side. Gotta wait for a fix.
|
aws_original and both 'gs' ones work, aws_hd doesn't. Unfortunately original buffers too much and hd is more of an sd or even ld, but oh well.
|
On July 20 2017 19:46 Scaramanga wrote:Show nested quote +On July 20 2017 00:37 Grettin wrote:On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd? I can't get any streams open regardless of what server or stream quality I use Help me out here lads, I miss watching bw
|
On July 28 2017 23:15 Scaramanga wrote:Show nested quote +On July 20 2017 19:46 Scaramanga wrote:On July 20 2017 00:37 Grettin wrote:On July 19 2017 22:56 Scaramanga wrote: I replaced the afreeca.py but I'm still getting the 'aws_hd' error message, what do?
Do you get the stream open with just "best" or "gs_hd" instead of aws_hd? I can't get any streams open regardless of what server or stream quality I use Help me out here lads, I miss watching bw the latest Streamlink build and the gs_hd option works for me. Silly question but did you try a clean install?
|
On July 24 2017 18:42 [tyu38] wrote:Now it's broken again. Streamlink/Livestreamer doesn't work. [cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
I'm having the exact same issue. Is this working for someone? Any fix?
|
I've been trying to replicate the problems you guys are having, but every CDN and quality option combination works for me. I can connect to everyone just fine, and with fewer problems (and less delay) than ever before.
Maybe try a now-older version of Streamlink? Could be the most recent nightly builds aren't doing the trick any more, but I don't know for sure. I'm hesitant to start messing with it since it's still working flawlessly for me.
|
On August 01 2017 23:20 petro1987 wrote:Show nested quote +On July 24 2017 18:42 [tyu38] wrote:Now it's broken again. Streamlink/Livestreamer doesn't work. [cli][info] Found matching plugin afreeca for URL http://play.afreeca.com/dpfgc3error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_key=194429019-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x9d6626c>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)'))) I'm having the exact same issue. Is this working for someone? Any fix? I installed streamlink 6 and am now getting this issue for all server/quality combos
|
Bug report: I need to enter a player's name twice before the stream pops up and if I want to watch another one, the same stream will open once more so again I need to input the second player's id twice and this cycle continues.
|
When typing in 'Reach' I get the error that there are no playable streams found.. Other than that, works perfect for me . Great work!
|
Try "Reach12", that's his Afreeca ID. Reach (and a couple others) haven't been added to the .bat file, that's the problem. =)
|
also, as i just found out, you can edit the file by right-click and find all the user stream sections, and just copy paste the current words exactly, and input the new streamer.
|
Sorry this post can be deleted I found my answer in the FAQ.
|
2) Install Streamlink
• Install Streamlink (download the "nightly Windows installer") Iam lost on this step. Cant find any "download" button anywhere. Also dont see any "nightly windows installer". Can download stuff in "windows portable version" but not sure i should? Need help here.
EDIT: Found a "streamlink 0.7.0.exe". Is this the correct one?
EDIT2: Got it to work.
|
Yes, that's the latest stable build. I definitely recommend that over the unstable nightly build.
For other people's reference:
https://streamlink.github.io/install.html#windows-binaries
Green arrow takes you to the page with the latest stable release. Gray arrow downloads the nighty.
![[image loading]](http://i.imgur.com/1GVlI9P.png)
------------------------------------------------------------------------------
On the stable release page it's at the bottom (green arrow):
|
Hiya, can someone help me test the new .bat file before I update the OP? Due to the recent influx of Brood War streamers on Twitch after the SCR launch, I have added support for multiple platforms (Afreeca and Twitch for now), and I have changed things around a little bit. Quality options are now set when you connect to a stream instead of at the start, which was necessary to support multiplatform (and makes it easier to try different quality options if one starts buffering).
Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit): Starcraft Stream Viewer.bat (right-click and save link as)
I've added Reach, GoRush, IntoTheRainbow, Garimto, and a few more names to the script that were missing. These connect to Afreeca as normal.
If you type in any of the following names, it will try to connect to their Twitch: Ret, Incontrol, Demuslim, Day9, Hui, BratOK, MedryBW. Edit: Added Nony, Scan, Dragon, Shrinker, Oystein to that list too.
If no one else is online, try connecting to MedryBW, which is the 24/7 classic SC/BW starleague/proleague channel.
I've also made it so that if you type a name the script does not recognize, you can choose to search for it on the platform of your choice.
Help me try to break the .bat file by inputting weird shit too. I want to make sure it's bug free.
EDIT: I also need a preliminary list of Twitch streamers who are streaming SC1 to add to the .bat file. If you want to help (or just want someone added to the .bat file) give me some players to add.
EDIT 2: Got someone to test the file for me. Everything seems to be working so I've updated the OP accordingly. Happy viewing! <3
|
Getting this error after selecting a quality. Tried both CDNs and didn't make a difference. Any idea what I need to change to prevent this connection timing out?
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
|
On August 19 2017 18:36 elimzkE wrote:Getting this error after selecting a quality. Tried both CDNs and didn't make a difference. Any idea what I need to change to prevent this connection timing out? Show nested quote +error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
I get the same errors. If I use the aws_sd setting a 10-second video countdown occurs and then it's audio only.
Looks like the Afreeca plugin needs an update again.
|
For me it works with Twitch, but not with Afreeca. Im getting the same timeout error like the others.
|
|
Replace "\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.
|
On August 19 2017 22:19 letian wrote:Replace "python3.6\site-packages\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works.
This works for me when I replace the afreeca.py file that the first post uses. C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins
|
On August 19 2017 22:49 elimzkE wrote:Show nested quote +On August 19 2017 22:19 letian wrote:Replace "python3.6\site-packages\streamlink\plugins\afreeca.py" with this afreeca.py file and see if it works. This works for me when I replace the afreeca.py file that the first post uses. C:\Program Files (x86)\Streamlink\pkgs\streamlink\plugins Hiya,
Can you clarify that this problem...
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?use_cors=true&broad_key=195313113-flash-hd-rtmp&return_type=gs_cdn&cors_origin_url=m.afreeca.com&broad_no=195313113-mobile-hd-rtmp (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0423A5D0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
...happened because you hadn't replaced the Streamlink afreeca.py file with the one in the OP?
|
|
|
What the...
How do you people end up with the dumbest and weirdest error messages I've never even seen before?
|
On August 19 2017 03:10 Aylear wrote:Windows (Vista SP2, Win 7, Win 8, Win 10) (32 and 64-bit):Starcraft Stream Viewer.bat (right-click and save link as) I've added Reach, GoRush, IntoTheRainbow, Garimto, and a few more names to the script that were missing. These connect to Afreeca as normal. If you type in any of the following names, it will try to connect to their Twitch: Ret, Incontrol, Demuslim, Day9, Hui, BratOK, MedryBW. Edit: Added Nony, Scan, Dragon, Shrinker, Oystein to that list too. EDIT 2: Got someone to test the file for me. Everything seems to be working so I've updated the OP accordingly. Happy viewing! <3
works great!
|
|
That's not my website! I don't actually know who maintains it, but I don't think it's anyone from TeamLiquid.
The appspot site has a more complete list of Korean pros, semi-pros, tournament streams, etc. than TeamLiquid does, which (deliberately) mostly features the popular ones. On the other hand, the TeamLiquid live stream section features a lot of foreigners which are not in the appspot database.
I've thought about making a simple Windows program that checks who's online (as an optional separate download), but I haven't gotten around to it yet.
|
You mean you guys don't all have your own custom livestreamer/streamlink GUIs? 
+ Show Spoiler +
|
|
This needs a bumping, I see a lot of people on twitch complaining that Afreeca streams are laggy. You should experience little or no lag with this solution.
|
Looks like a recent AfreecaTV Update broke the streamer? Now AfreecaTV requires an App or log in (At least for Jaedong)?
|
On September 03 2017 02:02 Akzever wrote: Looks like a recent AfreecaTV Update broke the streamer? Now AfreecaTV requires an App or log in (At least for Jaedong)? He is in 19+ mode right now, i would assume that's the reason. Unless you could watch that before?
|
The_Red_Viper is correct.
Some streamers (Horang2 does this some times) will occasionally set their streams to adults-only (19+) mode. When a stream is in adults-only mode, you have to use the Korean AfreecaTV Player (proprietary software) to view it, or Afreeca will refuse your connection.
|
When they're in that mode they're basically never actually playing either, so I wouldn't worry too much about not being able to view them. Usually means they're stalking the camgirls again.
|
This was working for me up until this morning. Now I'm getting the error pasted below. I tried redownloading the afreeca.py file and replacing it again, but the same thing happens.
Error is coming up on all streams on all different quality settings. It also comes up regardless of whether I use the TL streamer name or their afreeca username.
If you have any advice it would be greatly appreciated. This workaround has been amazingly nice for watching these streams without lag! =D
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA')> (Could not open stream: Unable to open URL: http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA (HTTPConnectionPool(host='live-hls-korea-cf.afreecatv.com', port=80): Max retries exceeded with url: /livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA&aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x0387F2F0>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)))) error: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.ZmYBzoIy-iAP1GUPu0sCkMGCkL-rLxBv9NjSBMa9A4n2Av-4QxdT7ezkataIG0RoeKF80Z1QiW1F_OZ-qRnxiEtRIVEN4gSKfQ3B8K22cfA')>, tried 1 times, exiting
|
Same for me.
Can´t open any stream now
|
I've seen that happen a couple of times, but trying several times in a row with different CDNs and quality options always makes it work eventually.
Just now I tried to connect to BeSt and got the same error you guys did, but switching to GSCDN instead of Amazon AWS worked fine. I was able to open his stream in any quality after that.
VLC+Streamlink has been less consistent lately, with a couple of disconnects and odd stuff happening, but it's still functional.
|
Hi everyone,
I can confirm that this little program was super useful to me past few days when restreaming and casting ASL4 Qualifiers.
Big shout out to Aylear for letting me know about this and helping me set it all up!~
|
On September 05 2017 01:56 Aylear wrote: I've seen that happen a couple of times, but trying several times in a row with different CDNs and quality options always makes it work eventually.
Just now I tried to connect to BeSt and got the same error you guys did, but switching to GSCDN instead of Amazon AWS worked fine. I was able to open his stream in any quality after that.
VLC+Streamlink has been less consistent lately, with a couple of disconnects and odd stuff happening, but it's still functional.
Thanks for the reply! I was able to get it working with GSCDN as well. Really appreciate you putting this out there for all of us to use ^_^
|
5386 Posts
This download is the portable windows build, with the afreeca plugin patch already applied. All you have to do is extract it and run the batch file. You will need to have VLC installed too. Install VLC quickly from www.ninite.com
|
Well, that's useful. Will update the OP once I'm done with my programming project today.
|
Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly?
|
5386 Posts
I think the portable version outputs that extra text. I will replace the binary and re-upload if it works.
edit: doesn't work. Not sure if you can suppress its output in the batch file...
|
On September 05 2017 06:56 pheer wrote: I think the portable version outputs that extra text. I will replace the binary and re-upload if it works.
edit: doesn't work. Not sure if you can suppress its output in the batch file... I think I can only turn it off by setting Streamlink to quiet, or turning off error messages entirely. At that point it becomes harder to find out why streams aren't connecting (since it won't tell you if the player is offline or whatever).
Edit: Actually I can't even do that. The loglevel option doesn't even work in whatever build this is, it ignores my requests for it to be quiet.
|
On September 05 2017 06:42 Aylear wrote: Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly? There's no reason to use the nightly in the first place, you know.
|
On September 05 2017 09:59 Craton wrote:Show nested quote +On September 05 2017 06:42 Aylear wrote: Wow, that's annoying. Typing in a name constantly outputs the [Streamlink for Windows v0.7.0 - Git b657864] message and breaks the look of the input box. Is that because it's the portable version or has that been added to a nightly? There's no reason to use the nightly in the first place, you know. There's only recent builds available for the portable version, you know.
|
I can confirm that the issue is fixed for me after I choose "gs_original" for the stream quality. However, the stream becomes a little choppy as compared to aws (again, this is for a VDSL in Auckland, New Zealand; mileage may vary).
|
Yes, any gs_quality will work, as the gs_ prefix is GSCDN. What was nice about having both AWS and GSCDN was that one CDN was frequently better than the other depending on your location. Being limited to just GSCDN for the time being means some people will have to lower the stream quality to HD.
|
Minor update to the .bat file (nothing related to Amazon AWS being offline, we'll deal with that later).
Changelog:
Made the output messages less ambiguous when launching streams (thanks pheer!)
Added players to the .bat file: • Action • goatrope • Sero
Added several synonyms to the Korean ASL stream (previously you had to type "aslkor" to find it): • afstar1 • asl • starleague
You can grab it here: Starcraft Stream Viewer.bat
|
Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation
|
On September 05 2017 17:07 Arvendilin wrote: Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit.
I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin".
Anyway, to use this setup in MPC you need the following: - At least version 1.7 of MPC (1.6 or below will give file not found errors) - Edit the bat file with the following values:
Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line:
set vlcpath= ...which by default is blank. Type in the path to your MPC player, i.e.
set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe Next, scroll down to the bottom of the .bat file and find the following line:
start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output% Change this line to:
start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output% ...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those.
This worked on my system just fine.
Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup.
|
Works great, very good error / trouble shooting part of both the guide and the commandline bat. Thanks a lot!
|
On September 05 2017 17:31 Aylear wrote:Show nested quote +On September 05 2017 17:07 Arvendilin wrote: Is there a way to use this with MPC instead of VLC? since VLC fucks with colour saturation Streamlink does technically work with MPC, but you'll need to mess with the .bat file a bit. More on that in a bit. I haven't added native support for MPC because 1) extra work for me, and 2) some command lines are missing. Most notably --file-caching and --network-caching don't work, but you also can't add a meta title to an MPC window. When VLC pops up, it properly titles the window with the name you input, i.e. Bisu, Stork, Flash. MPC can't do that, so the window title remains something generic like "stdin". Anyway, to use this setup in MPC you need the following: - At least version 1.7 of MPC (1.6 or below will give file not found errors) - Edit the bat file with the following values: Open the .bat file in notepad++ or notepad. Near the top of the file you'll see this line: set vlcpath= ...which by default is blank. Type in the path to your MPC player, i.e. set vlcpath=C:\Program Files\MPC-HC\mpc-hc64.exe Next, scroll down to the bottom of the .bat file and find the following line: start /B streamlink --loglevel=error --player="%vlcpath% --file-caching=5000 --network-caching=5000 --meta-title=%name%" %url%/%id% %output% Change this line to: start /B streamlink --loglevel=error --player="%vlcpath%" %url%/%id% %output% ...which removes the "--file-caching=5000 --network-caching=5000 --meta-title=%name%" bit since MPC can't use those. This worked on my system just fine. Edit: If there is sufficient interest, I can make it so the .bat file accepts MPC by default as an option when you launch it. Let me know if this is something anyone else wants, otherwise I'm sticking with the basic VLC setup.
You are a literal god, thanks so much!
|
2 small little infos for everyone who wants to use MPC aswell:
Some streams might only get audio not video, to fix that, go to options > Internal filters > Splitters and then increase stream analysis duration, this will give it time to detect every stream it gets send!
The second thing is that ofcourse have to go into multi window mode if you want to watch multiple streams, I know this is easy but I was confused for about 10 secs so I thought I'd let everyone know that that option exists!
|
Afreeca is such a pain to watch sometimes. Errors and lag everywhere ((
|
![[image loading]](https://i.imgur.com/zlvEP5B.png) i have this error message, is there a solution to it?
|
5386 Posts
Yes, don't use AWS server for now. It's been broken for about a week.
|
On September 09 2017 04:15 pheer wrote: Yes, don't use AWS server for now. It's been broken for about a week.
I've found some channels load with countdown, then stopped, donno what's the reason.
|
On September 09 2017 05:06 raymix1 wrote:Show nested quote +On September 09 2017 04:15 pheer wrote: Yes, don't use AWS server for now. It's been broken for about a week. I've found some channels load with countdown, then stopped, donno what's the reason. Those usually start working for me after a couple of attempts (have to wait out the counter each time).
|
Sorry if already asked but does this work on mobile devices or only pc?
|
On September 09 2017 05:06 raymix1 wrote:Show nested quote +On September 09 2017 04:15 pheer wrote: Yes, don't use AWS server for now. It's been broken for about a week. I've found some channels load with countdown, then stopped, donno what's the reason.
Yeah it's weird when that happens. When it does, you can let the countdown finish, then close that VLC window and load the same stream up again and it will work fine though!
|
On September 09 2017 13:51 RowdierBob wrote: Sorry if already asked but does this work on mobile devices or only pc? Pretty sure just PC. The software only has installations for Windows, OSX, and Linux.
|
For those of you who may have difficulty watching streams on Afreeca:
This season Afreeca made the decision to not stream the ASL on Twitch or YouTube.
Some people have a lot of difficulty watching streams from Afreeca.com, myself included. Buffering and connectivity issues are common. If you're experiencing a lot of buffering or drops, consider this solution. It's a quick setup which will let you watch Afreeca streams in VLC using a simple launcher. It also allows for better connectivity -- I personally can't watch Afreeca streams in source quality from their main site, but using Streamlink+VLC I have no problems doing so.
I have updated the .bat launcher to include http://www.afreecatv.com/aslenglish (the main English ASL stream). If you're a current user of my launcher, download the new Starcraft Stream Viewer.bat file here. If you haven't tried this setup yet, it may work well for you.
NOTE: The Amazon AWS CDN is still out of commission, so you will need to use GSCDN for the time being. We're still waiting for updates on this.
EDIT: The following name entries will let you connect to either of the streams:
Primary Korean stream: • asl1 • asl • afstar1
Primary English stream (Tastosis): • asl2 • asleng • aslenglish
Secondary English stream (EsportsJohn & FlashFTW): • asl3 • asleng2 • aslenglish2 • asl2eng2
POV Stream (rumored): • asl4 • aslpov
|
i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file?
|
sAw
965 Posts
This is amazing, thank you so much! This was a lot easier than I expected, 2 minutes of "work".
|
On September 10 2017 16:26 [Fin]Vittu wrote: i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file? Streamlink command line to connect to any channel is...
streamlink afreeca.com/channelname gs_original ...where gs_original connects to GSCDN, in quality "original" (source).
Example commands would be:
streamlink afreeca.com/afstar1 gs_original (Connects to Korean ASL stream in source quality)
streamlink afreeca.com/aslenglish gs_hd (Connects to English ASL stream in HD quality)
streamlink afreeca.com/rlaxordyd gs_sd (Connects to Bisu in SD quality)
|
On September 10 2017 16:49 Aylear wrote:Show nested quote +On September 10 2017 16:26 [Fin]Vittu wrote: i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file? Streamlink command line to connect to any channel is... streamlink afreeca.com/channelname gs_original ...where gs_original connects to GSCDN, in quality "original" (source). Example commands would be: streamlink afreeca.com/afstar1 gs_original (Connects to Korean ASL stream in source quality) streamlink afreeca.com/aslenglish gs_hd (Connects to English ASL stream in HD quality) streamlink afreeca.com/rlaxordyd gs_sd (Connects to Bisu in SD quality)
you are a god. thank you for taking your time to explain this.
|
On September 10 2017 16:49 Aylear wrote:Show nested quote +On September 10 2017 16:26 [Fin]Vittu wrote: i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file? Streamlink command line to connect to any channel is... streamlink afreeca.com/channelname gs_original ...where gs_original connects to GSCDN, in quality "original" (source). Example commands would be: streamlink afreeca.com/afstar1 gs_original (Connects to Korean ASL stream in source quality) streamlink afreeca.com/aslenglish gs_hd (Connects to English ASL stream in HD quality) streamlink afreeca.com/rlaxordyd gs_sd (Connects to Bisu in SD quality) Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes.
|
If you were using aws, yes, that is currently broken and no one knows why. GSCDN is the only one that's up.
|
On September 10 2017 18:10 letian wrote:Show nested quote +On September 10 2017 16:49 Aylear wrote:On September 10 2017 16:26 [Fin]Vittu wrote: i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file? Streamlink command line to connect to any channel is... streamlink afreeca.com/channelname gs_original ...where gs_original connects to GSCDN, in quality "original" (source). Example commands would be: streamlink afreeca.com/afstar1 gs_original (Connects to Korean ASL stream in source quality) streamlink afreeca.com/aslenglish gs_hd (Connects to English ASL stream in HD quality) streamlink afreeca.com/rlaxordyd gs_sd (Connects to Bisu in SD quality) Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes.
Hey Letian, thanks for maintaining the linux script. If you need help, I would like to help! I was planning to change the script and make a pull request on GH, but since you are aware of the issue I think I don't need to.
|
On September 10 2017 18:37 PhilipJayFry wrote:Show nested quote +On September 10 2017 18:10 letian wrote:On September 10 2017 16:49 Aylear wrote:On September 10 2017 16:26 [Fin]Vittu wrote: i got as far as the .bat step. i am on OSX, what command should I run or download in lieu of a windows bat file? Streamlink command line to connect to any channel is... streamlink afreeca.com/channelname gs_original ...where gs_original connects to GSCDN, in quality "original" (source). Example commands would be: streamlink afreeca.com/afstar1 gs_original (Connects to Korean ASL stream in source quality) streamlink afreeca.com/aslenglish gs_hd (Connects to English ASL stream in HD quality) streamlink afreeca.com/rlaxordyd gs_sd (Connects to Bisu in SD quality) Sigh, looks like afreeca broke everything again. I need to update linux script as well, again. Thanks for the notice, I am too lazy to investigate their continuous interface changes. Hey Letian, thanks for maintaining the linux script.  If you need help, I would like to help! I was planning to change the script and make a pull request on GH, but since you are aware of the issue I think I don't need to.  Sure, please update whenever it needs updating. I will see your pull request faster than I read about another afreeca innovation.
|
It says
Your input can't be opened: VLC is unable to open the MRL 'fd://0'. Check the log for details.
for me.
|
I just got news that "afstar3" may be coming back this season, which is the POV stream. I quickly added it to the .bat file.
Starcraft Stream Viewer.bat
Let me know if there are any problems beyond that. Kind of working in a rush here!
EDIT: The following name entries will let you connect to either of the streams:
Primary Korean stream: • asl1 • asl • afstar1
Primary English stream (Tastosis): • asl2 • asleng • aslenglish
Secondary English stream (EsportsJohn & FlashFTW): • asl3 • asleng2 • aslenglish2 • asl2eng2
POV Stream (rumored): • asl4 • aslpov
|
Bumping because I updated the .bat file again to update it for the new EsportsJohn + FlashFTW stream. Grab it if you want to watch them. ASL3.
|
Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal.
Error code is as follows (have tried multiple urls which give the same result):
streamlink play.afreeca.com/aslenglish gs_hd [cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
|
ASL english isn't working for me, but I only just set this up. Probably minutes after you updated it.
Will retry, otherwise you've made a mistake! One moment.
edit: Okay, must have just set this up *a minute* before the update, but vlc isn't opening. Still working on it.
|
|
|
I got this too:
[cli][error] Try 1/1: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY')> (Could not open stream: Unable to open URL: http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY (HTTPConnectionPool(host='live-hls-korea-cf.afreecatv.com', port=80): Max retries exceeded with url: /livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY&aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x048B9090>: Failed to establish a new connection: [Errno 11001] getaddrinfo failed',)))) error: Could not open stream <HLSStream('http://live-hls-korea-cf.afreecatv.com/livestream-25/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.Br4WWwV6YSoHgquk-NvfU_zB_qq3CTeL9dxDTfGkn6_rwjVflePHzFgVdLg5K7kxeKvoKlYln1FU5TuDg-vFdhqP7DWfQ6IcYUxtOHW_CjY')>, tried 1 times, exiting
|
For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this:
error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url] _assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url] eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com)
I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting.
FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors.
If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages.
I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well.
|
On September 10 2017 19:08 tgbhihi wrote:Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal. Error code is as follows (have tried multiple urls which give the same result): streamlink play.afreeca.com/aslenglish gs_hd [cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)'))) You can use linux bash script for Mac
|
On September 10 2017 19:08 tgbhihi wrote:Any support for Mac? I had it working two months and now it seems to be broken. I have tried reinstalling a number of times via terminal. Error code is as follows (have tried multiple urls which give the same result): streamlink play.afreeca.com/aslenglish gs_hd [cli][info] Found matching plugin afreeca for URL play.afreeca.com/aslenglish error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=196002476-mobile-hd-rtmp&broad_key=196002476-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x1086f37d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)'))) Don't use play.afreeca.com, syntax is:
streamlink afreeca.com/aslenglish gs_hd
Try that and let me know.
|
I have the same error and it started happening without me changing anything, it was already happening with the original unchanged .bat file that had worked previously, it started during the 2nd day of the ASL qualifier
|
Try turning off your firewall. It may be aggressively throttling your connection to this.
|
Alright, ASL is over for today and I need to head off. If anyone is having problems using Streamlink+VLC and want to fix it before tomorrow's games, now's the time to post. I'll try to help you troubleshoot stuff later (will be around in roughly 10 hours). =)
Cheers.
|
|
Don't use AWS, use GSCDN.
|
On September 10 2017 19:16 Aylear wrote:For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this: error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url] _assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url] eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com) I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting. FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors. If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages. I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well. The last build was working for me fine and I'm getting the same error message regardless of what quality/server I select
|
I still cannot connect to FlashFTW and EsportsJohn's stream using Streamlink. I'm currently watching aslenglish (main Tastosis stream) just fine though.
Again, have to use GSCDN, since Amazon AWS is out of commission at the moment.
|
On September 11 2017 19:23 Scaramanga wrote:Show nested quote +On September 10 2017 19:16 Aylear wrote:For some reason I can't connect to EsportsJohn & FlashFTW's stream with this (ASL3), I get this: error: Unable to open URL: [url=http://resourcemanager.afreeca.tv:9090/broad_stream]http://resourcemanager.afreeca.tv:9090/broad_stream[/url] _assign.html (400 Client Error: Bad Request for url: [url=http://resourcemanager.afre]http://resourcemanager.afre[/url] eca.tv:9090/broad_stream_assign.html?return_type=gs_cdn&broad_key=196002985-flas h-original-hls&use_cors=true&cors_origin_url=play.afreecatv.com) I have no idea why this is happening and I don't have time to muck with it right now as the player interviews are currently happening and the tournament is starting. FOR THE REST OF YOU: If you are returning customers for whom this has worked previously and you are now having problems with the new .bat file, specify that this is the case when you post errors. If you are new customers who are trying to use this for the first time and are having problems getting it to work, specify that when you post error messages. I can only say that it works fine on my end (except ASL3 for some reason), with no problems and no lag. I am also on Discord talking to people who are watching it just fine as well. The last build was working for me fine and I'm getting the same error message regardless of what quality/server I select Redownloaded the bat file and its working
|
Guys, is there any way to improve my ability to watch afreeca without installing anything? I can't even start any streams from my work network nowadays (it used to be slightly better, but only slightly). Twitch works fine.
|
The portable "install" version should work out of the box without installing anything to the PC. The only downside to that version is that the .bat file may not be completely up to date so you'll want to nab that separately.
|
|
I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum: https://us.battle.net/forums/en/starcraft/topic/20758976068
Did they patched their service to make this unusable?
Edit: bwstreams app is not even working for me...
|
On September 15 2017 15:58 HiDrAWaRx wrote:I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum: https://us.battle.net/forums/en/starcraft/topic/20758976068Did they patched their service to make this unusable? Edit: bwstreams app is not even working for me...
Yesterday it still worked perfectly, now I get the same error "no playable streams found". Maybe the service is down?
|
same here, not one stream is working, but i can watch them if i use the web browser. haven't touched anything. just stopped working. same as above, it states the stream and its url that i was looking for but says it not live. however its live. thanks for all the hard work, excited for it to be ready to use again
|
I can confirm it stopped working on all stream options for me.
|
Can confirm here as well, Worked fine yesterday.
|
I've checked a few twitch streamers, and they all open fine. So it seems to only affect Afreeca streams..
|
A fix is out. Give me a little while to get everything set.
|
Alright then. Interesting times.
1) A temporary fix is out. • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP • NOTE: Currently only Amazon AWS works! This is the reverse of previous!
2) Afreeca may be deliberately trying to break this and prevent it from working.
If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided.
Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to).
Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though.
Edit 2: Added stuff about what may be happening to the plugin.
|
Quick, someone get a mod to delete the korhal.info.pl thread before the Koreans find out about and kill that site
|
On September 15 2017 23:04 Aylear wrote:Alright then. Interesting times. 1) A temporary fix is out. • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP • NOTE: Currently only Amazon AWS works! This is the reverse of previous!2) Afreeca may be deliberately trying to break this and prevent it from working. If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided. Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to). Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though. Edit 2: Added stuff about what may be happening to the plugin.
Thanks 
|
|
On September 15 2017 23:04 Aylear wrote:Alright then. Interesting times. 1) A temporary fix is out. • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP • NOTE: Currently only Amazon AWS works! This is the reverse of previous!2) Afreeca may be deliberately trying to break this and prevent it from working. If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided. Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to). Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though. Edit 2: Added stuff about what may be happening to the plugin.
Aylear, hey... what's up guy? Are you any part of the Github community? I am the OP of the topic (issue) of https://github.com/streamlink/streamlink/issues/837
--- Mod edit: drama removed
|
Russian Federation92 Posts
Aylear, thanks, gj !
|
5386 Posts
Thanks for the update, Aylear.
10minute, thanks for starting the dev discussion on Github. Keep any nitpicks to PMs instead of mucking up this thread, thanks.
|
On September 16 2017 05:34 pheer wrote: Thanks for the update, Aylear.
10minute, thanks for starting the dev discussion on Github. Keep any nitpicks to PMs instead of mucking up this thread, thanks.
Aww man... you guys do that here? All I did was respond to Aylear's Ultimate Warrior mode. I did no wrong doings nor was my original post offensive. It was his choice to take it offensively so I responded in his format. I guess.........
|
|
Hi aya888888, thanks for the super constructive feedback! I'm glad the launcher is useful to people outside of TeamLiquid and I appreciate you signing up just to say this. =) I especially love that you made a list of Twitch/YouTube streams.
To be honest, I have been thinking about adding this functionality to the .bat file somehow, but the feature has been low priority so far because Twitch and YouTube streams tend to play perfectly well without Streamlink. This launcher exists because Afreeca as a service is often unwatchable for people outside of Korea, and Streamlink provides a good solution to that problem. If people want to watch pro players on Twitch or YouTube, it's probably easier to do that in the browser than booting up the command line.
I can poke at the .bat file a bit tomorrow if you really want this feature. I just didn't think anybody needed it.
|
Tbh i'm even watching all twitch with that now xD Idk i feel i'm lagging less and i can even watch in source !! (kind of crazy for me ahah) Is there a difference in routing or something with it ?
Super thanks for this !
|
On September 17 2017 18:44 Aylear wrote: Hi aya888888, thanks for the super constructive feedback! I'm glad the launcher is useful to people outside of TeamLiquid and I appreciate you signing up just to say this. =) I especially love that you made a list of Twitch/YouTube streams.
To be honest, I have been thinking about adding this functionality to the .bat file somehow, but the feature has been low priority so far because Twitch and YouTube streams tend to play perfectly well without Streamlink. This launcher exists because Afreeca as a service is often unwatchable for people outside of Korea, and Streamlink provides a good solution to that problem. If people want to watch pro players on Twitch or YouTube, it's probably easier to do that in the browser than booting up the command line.
I can poke at the .bat file a bit tomorrow if you really want this feature. I just didn't think anybody needed it. Thanks for feedback. I think may be it is easier when you type player name and watch it than find their channel on twitch (or find him in bookmark) because most player use Korean in the title so it is hard to find them. And you can adjust video effect like brightness, sharpen ... with VLC.
|
Yeah I use LS/SL w/ VLC for everything because web browsers are just orders of magnitude worse at playing streams than native players. It's generally not as noticeable if you're only watching one stream and not doing much else, but as soon as you've got a lot going on or are using a lower end PC it becomes very noticeable.
|
hi, afreeca.py is changed.
github.com-schrobby
need to fix "Starcraft Stream Viewer.bat” change "set output="%cdn%"_"%quality%"" to " set output=""%quality%""
|
Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder?
|
On September 19 2017 00:01 FlopTurnReaver wrote: Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder? May be it is "Streamlink\streamlink\plugins"
|
On September 19 2017 00:25 aya888888 wrote:Show nested quote +On September 19 2017 00:01 FlopTurnReaver wrote: Am I the only one that doesn't have a "Plugins" folder in the Streamlink folder? May be it is "Streamlink\streamlink\plugins" It was actually under Streamlink/pkgs/streamlink 
Thanks for the pointer!
|
The streams website is giving me "Error occurred" right now.
< HTTP/1.1 200 OK < Content-Type: text/html; charset=utf-8 < Cache-Control: no-cache < X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1 < Date: Tue, 19 Sep 2017 07:00:08 GMT < Server: Google Frontend < Content-Length: 14 < Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35" < * Connection #0 to host bwstreams.appspot.com left intact Error occurred
If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally.
|
|
|
On September 19 2017 18:57 Sihrtogg wrote:"No playable streams found on this URL: afreeca.com/aslenglish" This is while it's playing on http://play.afreecatv.com/ASLEnglishIs there a fix yet? Work well with me: asl2, asl3 and asl4 (FoV)
On September 15 2017 23:04 Aylear wrote:Alright then. Interesting times. 1) A temporary fix is out. • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP • NOTE: Currently only Amazon AWS works! This is the reverse of previous!2) Afreeca may be deliberately trying to break this and prevent it from working. If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided. Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to). Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though. Edit 2: Added stuff about what may be happening to the plugin.
|
I changed the new afreeca.py, but still get "No playble streams found" error message.
|
On September 21 2017 20:14 Suikakuju wrote: I changed the new afreeca.py, but still get "No playble streams found" error message. It worked for me this morning. Did you select Amazon AWS? Cause that's the one you should choose now, GSCDN doesn't work.
|
It isn't working for me either
|
On September 21 2017 20:29 Drensa wrote:Show nested quote +On September 21 2017 20:14 Suikakuju wrote: I changed the new afreeca.py, but still get "No playble streams found" error message. It worked for me this morning. Did you select Amazon AWS? Cause that's the one you should choose now, GSCDN doesn't work.
Yep, I choose Amazon AWS.
|
For me also, picked AWS.
Edit:Ok it works i had problem with folder permissions and files didnt overwite. Also, i need to enter name 2 times if i do "stork + enter" then i got answer the stream is off but when do it 2nd time it works.
Edit2: u need to enter second time stream name before error from first time shows.
|
Hi all, author of bwstreams.appspot.com here. Apologies in advance if I am hijacking and/or off-topic.
I have released the source for bwstreams on github - https://github.com/rmcat/bwstreams. I do not have much time to work on it lately. I've updated some stream list, thanks to Aylear's post and the bat file.
For those that may be interested, the live data is available in json format at https://bwstreams.appspot.com/streams.json.
On September 15 2017 15:58 HiDrAWaRx wrote:I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum: https://us.battle.net/forums/en/starcraft/topic/20758976068Did they patched their service to make this unusable? Edit: bwstreams app is not even working for me...
On September 19 2017 16:04 iCCup.Trent wrote: The streams website is giving me "Error occurred" right now.
< HTTP/1.1 200 OK < Content-Type: text/html; charset=utf-8 < Cache-Control: no-cache < X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1 < Date: Tue, 19 Sep 2017 07:00:08 GMT < Server: Google Frontend < Content-Length: 14 < Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35" < * Connection #0 to host bwstreams.appspot.com left intact Error occurred
Sorry about this error. Seems that the site hit its daily quota. The quota resets approximately in 15 hours from the time of this post. I've updated the site to try workaround the problem, so let's see if that helps.
On September 19 2017 16:04 iCCup.Trent wrote: If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally. afreeca.py may be of some help here.
|
On September 22 2017 01:21 flashimba wrote:Hi all, author of bwstreams.appspot.com here. Apologies in advance if I am hijacking and/or off-topic. I have released the source for bwstreams on github - https://github.com/rmcat/bwstreams. I do not have much time to work on it lately. I've updated some stream list, thanks to Aylear's post and the bat file. For those that may be interested, the live data is available in json format at https://bwstreams.appspot.com/streams.json. Show nested quote +On September 15 2017 15:58 HiDrAWaRx wrote:I haven't been able to watch any streams from this amazing develop (always getting the "error: No playable streams found on this url: [...]" even knowing someone is live ) since a guy posted this thread on blizz forum: https://us.battle.net/forums/en/starcraft/topic/20758976068Did they patched their service to make this unusable? Edit: bwstreams app is not even working for me... Show nested quote +On September 19 2017 16:04 iCCup.Trent wrote: The streams website is giving me "Error occurred" right now.
< HTTP/1.1 200 OK < Content-Type: text/html; charset=utf-8 < Cache-Control: no-cache < X-Cloud-Trace-Context: e86dca9601e5a85718a77015f18a0d56;o=1 < Date: Tue, 19 Sep 2017 07:00:08 GMT < Server: Google Frontend < Content-Length: 14 < Alt-Svc: quic=":443"; ma=2592000; v="39,38,37,35" < * Connection #0 to host bwstreams.appspot.com left intact Error occurred
Sorry about this error. Seems that the site hit its daily quota. The quota resets approximately in 15 hours from the time of this post. I've updated the site to try workaround the problem, so let's see if that helps. Show nested quote +On September 19 2017 16:04 iCCup.Trent wrote: If I could get some intuition on how we're checking that the stream is up or not (from the stream url), I'm happy to update a stream list on a public Github repo and we can make an open source "stream is up" checker that everyone can use locally. afreeca.py may be of some help here.
Thanks for taking time to response here! There's no need to apologize or be sorry about anything man, i was just wondering if the whole thing wasn't working because afreeca was making restrictions but seems more like it hits it's daily quota.
The work around this amazing app it's huge and we understand how hard is it to make it work, and I don't think that there's even been much appreciation for what this website means.. We owe you guys so much!
p.s: It's currently working
|
Gah, can't get it to work and not sure why. Choosing Amazon not GCN (or whatever it's called). Changed the BAT output= as instructed above. Won't find the stream. Many thanks anyway.
Weird, it worked before for the Ro24.
|
Hey, is there any work arounds like this for Android??
|
No playable streams found on this URL: afreeca.com/Jaedong23 i am getting this all the time for every player
|
Thanks, soo much.
Glorious, Linux system here.
Install streamlink. via pip:
pip install -U streamlink
I would suggest to use virtual env/ pipenv if you are an advanced user, if you are a normal python user then just use the above command.
I was having issues with play.afreecatv.com plugins. Stream wasn't loading etc.
Simply remove old python plugin for afreecatv here (In your pip install directory):
cd /usr/local/lib/python2.7/dist-packages/streamlink/plugins
sudo rm afreeca.pyc afreeca.py
pyc is compiled python code, best to remove both in case python uses the cached compiled file.
Then get the replacement file:
cd /usr/local/lib/python2.7/dist-packages/streamlink/plugins
sudo wget "http://liquestria.net/wp-content/uploads/2017/04/afreeca.py"
Now you are away!
streamlink http://play.afreecatv.com/bye1013 best &
The & sends it to the background, will not stop it from printing to the terminal. If you close the shell it will also close the streamlink process. Try using disown or nohup, if you want to keep the streamlink process open. See below for an example.
nohup streamlink http://play.afreecatv.com/bye1013 best &
Here we also forward standard out (text being written to the terminal) to a file called nohup.out and even if you close the terminal the streamlink process will continue to run.
|
I get the error: "error: The available stream(s) 'aws_hd' could not be found. Available streams: live_hls, live (worst, best)" BUT I DID PROPERLY REPLACED afreeca.py file!
Pls help.
|
Has the timed out issue with Nightly build been fixed yet? Or does anyone know a fix for it?
error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?broad_key=196528521-flash-hd-rtmp&broad_no=196528521-mobile-hd-rtmp&cors_origin_url=m.afreeca.com&return_type=gs_cdn&use_cors=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x0429B130>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
|
5386 Posts
|
|
|
im somewhat able to get it working but i can't get passed the countdown (even after closing it) but i keep getting gs_original and gs_sd could not be found -
i go with 2 GSCDN and i get > error: The specified stream(s) 'gs_original' could not be found. Available streams: aws_sd (worst), aws_hd, aws_original (best)
when i go with 1 Amazon AWS it works but only with twitch with afreeca i get the countdown i close and retry but the countdown keeps coming up? any insight? thank you
|
|
On October 27 2017 19:38 HiDrAWaRx wrote:Show nested quote +On October 27 2017 19:22 Connor5620 wrote: im somewhat able to get it working but i can't get passed the countdown (even after closing it) but i keep getting gs_original and gs_sd could not be found All you have to do is wait for it to get to 0 (DON'T CLOSE IT) and then type the same data to open the stream again. Once the second vlc is open (which should be showing the stream you want to see) you can close the first one
ha oh noice this made a lot of sense especially to a dumb ass like me thank you <3
|
I've tried to set this up both on my laptop (W8) and pc (W10) and in either case it tells me my VLC should open up in 5-30 seconds but nothing ever happens, quite frustrated by now
|
Damn, its working again, after about one year where i couldnt get it to work. Thanks !
|
I just want to say how glad I am for this program
|
Me too. It's soo good. Thanks for maintaining this!
|
There's a reason you're in my quote.
|
On October 31 2017 19:15 porkRaven wrote: There's a reason you're in my quote. It still makes me happy every time I see it, even though I figured you just forgot to change it post-SFIV. I appreciate it. <3
|
Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER wait 2 min, watch 30 sec, stutters again so pause and wait...
|
On November 01 2017 01:47 snow2.0 wrote: Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER wait 2 min, watch 30 sec, stutters again so pause and wait...
If you're trying to watch it at 1080p you may need to lower it to 720p. Far from that, i have no idea what could be causing you troubles.. You could try using a proxy too, but that's quite different
|
On November 01 2017 01:47 snow2.0 wrote: Is there any way to make watching VODs more bearable? I'm trying to catch up on Bisu vs Flash but it JUST WONT BUFFER wait 2 min, watch 30 sec, stutters again so pause and wait...
I highly recommend going with YouTube for any & all ASL VODs.
|
5386 Posts
|
Does this work for Mac? I can't get it to work. I've installed Streamlink with Homebrew and it works fine for twitch streams, but using an afreeca URL i get the following:
[cli][info] Found matching plugin afreeca for URL http://play.afreecatv.com/momo130 error: Unable to open URL: http://sessionmanager01.afreeca.tv:6060/broad_stream_assign.html (HTTPConnectionPool(host='sessionmanager01.afreeca.tv', port=6060): Max retries exceeded with url: /broad_stream_assign.html?cors_origin_url=m.afreeca.com&return_type=gs_cdn&broad_no=198003652-mobile-hd-rtmp&broad_key=198003652-flash-hd-rtmp&use_cors=true (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x1029834d0>, 'Connection to sessionmanager01.afreeca.tv timed out. (connect timeout=20.0)')))
|
5386 Posts
Can you try pinging sessionmanager01.afreeca.tv
Looks like your computer doesn't see the server at all.
|
Nah, I get "Request timeout for icmp_seq" 30 times. Guess that means that it does not see it? What could the problem be?
|
5386 Posts
Either your machine, your network, or your ISP is not allowing a connection to that server. First, see if other machines on your network can ping it. If not, then see if you can go around your router (hook directly into the modem) and ping it. If still not, then have a friend with the same ISP you have try to ping it. Once you find the point where you can ping the server, you can discover what it may be (outgoing firewall on your computer vs. firewall on router vs. ISP block)
|
Thanks, I will try that out!
|
nothting happed when I use .bat ...........
|
|
On September 15 2017 23:04 Aylear wrote:Alright then. Interesting times. 1) A temporary fix is out. • Download afreeca.py (right-click and save as...) and place it in the plugins folder as specified in the OP • NOTE: Currently only Amazon AWS works! This is the reverse of previous!2) Afreeca may be deliberately trying to break this and prevent it from working. If they are trying to break it, it may be because people have used Streamlink to record videos from Afreeca to upload them elsewhere. If so then this is just a crackdown of one of the many ways this can be accomplished (and not even the simplest way), and therefore horribly misguided. Plugin developers (the person who just created the fixed afreeca.py file in this post to be precise) have said that it should be a relatively simple (but time consuming) task to create a plugin that will always work. This means there should be a permanent fix eventually if one becomes necessary. In the meantime, here's hoping the current fix remains stable and that Afreeca stops trying to break this (if they are trying to). Edit: Also if we're back to only one CDN, I'll update the .bat file appropriately. I'll wait a few days to see what the folks at Streamlink have to say about it though. Edit 2: Added stuff about what may be happening to the plugin.
I tried and it still says Insufficient permissions and I tried manually copy/paste overwriting and it successfully overwrites but I still get the unavailable stream worst / best type error. What do I do ??? My error is The specified stream(s) 'gs_original ' could not be found. Available streams: aws_sd (worst), aws_hd, aws_original (best)
Nevermind I just realized that the CDN only works on Amazon AWS right now I was still trying the previous.
|
this working for anyone? I get no playable streams found for all streams..
|
Just tried it. Amazon AWS, connected to Flash and Larva, selected Source quality. Both played perfectly.
|
is there a way for macOS users to watch AfreecaTV streams on VLC too? thank you!
|
![[image loading]](https://i.imgur.com/LSQK8mT.jpg?1)
This is what I get when I try to run streams now, guess Afreeca is blocking?
Edit: Nvm, seems to work now, guess you just have to restart it a bunch.
|
What is happening ?? For me, all streams are black I can hear the players but i cannot see anything (( And ASL is starting ! HELP !!!!!
|
Croatia9487 Posts
On March 11 2018 18:48 prosatan wrote:What is happening ?? For me, all streams are black  I can hear the players but i cannot see anything  (( And ASL is starting ! HELP !!!!! Try switching to the Flash player. For some reason HTML5 player stopped working for me as well.
|
On March 11 2018 18:58 2Pacalypse- wrote:Show nested quote +On March 11 2018 18:48 prosatan wrote:What is happening ?? For me, all streams are black  I can hear the players but i cannot see anything  (( And ASL is starting ! HELP !!!!! Try switching to the Flash player. For some reason HTML5 player stopped working for me as well. yeah that was strange i only work it out today, spent like 30mins having a tab of jaedongs black stream on cause i thought he was just doing some technical stuff in the background...
|
|
Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit.
|
On March 23 2018 09:26 Wonk wrote: Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit.
My guess would be no
|
On March 23 2018 09:30 crbox wrote:Show nested quote +On March 23 2018 09:26 Wonk wrote: Quick question. I've been using this for ages but I've never been sure - does viewing this through VLC still give viewer counts to the afreeca stream? I've always wondered and I hate to think I'm not doing my bit. My guess would be no
Damn, I hope that's not true. Hopefully they'll keep an eye on the youtube views as well. Thanks!
|
I ran into this error watching Piano 2v2 3v3 SL (organ333). The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing. I already have the .py fix installed, do I need to switch back to the old one?
It has worked for me all throughout ASL, has something changed since then?
|
Just letting you know I watched Britneys MPL with this and it worked flawlessly
|
On June 17 2018 20:11 Sihrtogg wrote:I ran into this error watching Piano 2v2 3v3 SL (organ333). The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing. I already have the .py fix installed, do I need to switch back to the old one? It has worked for me all throughout ASL, has something changed since then? I've had troubles certain days when the streams won't open for timeout request but nothing like that..
The old .py may not work since the fix was made because it didn't, so i would say no but you could try. However, you should try: -Leaving both, the first vlc(the one who gets the countdown to 0) and second (with the stream going) opened. -Lowering the quality to see if it works (could be a network fck-up) -Reinstalling vlc(+updating the file path for it to open) -& for last try again going from 0 (reinstalling everything this feature needs).
If all that doesn't work you should give extra info (detailed ScreenShots or some clip) to check out for some help.
****Just To Remember**** For the ones who get a countdown like this:
On March 11 2018 17:20 BossPurple wrote:![[image loading]](https://i.imgur.com/LSQK8mT.jpg?1) This is what I get when I try to run streams now, guess Afreeca is blocking? Try this: http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=22#427
For the ones who can't make it work Try this: http://www.teamliquid.net/forum/brood-war/512913-guide-watch-afreeca-sc-bw-streams-with-vlc?page=20#389
|
Anyone get "This service is not available in your region." when trying to watch all afreeca bw streams? First time I've seen this
|
Yeah I noticed that too, most likely cause they are streaming the World Cup and it's not licensed to be streamed outside of Korea. Whole of Korea is watching I think.
|
I've found MPV ( https://mpv.io/ ) to be better than VLC. It has a less robust GUI and very different keyboard shortcuts, but is a better player otherwise in my experience. Works fine with Streamlink, too.
|
On June 19 2018 00:18 Coffeeling wrote:I've found MPV ( https://mpv.io/ ) to be better than VLC. It has a less robust GUI and very different keyboard shortcuts, but is a better player otherwise in my experience. Works fine with Streamlink, too. You can manually change your keyboard shortcuts, here are mine, somewhat similar to VLC: https://my.mixtape.moe/jgavnc.conf just copy it into your mpv folder and it'll work Really worth looking into mpv.conf too
|
can someone re upload the links and how to get this to work?
|
On June 24 2018 00:40 cndaks wrote: can someone re upload the links and how to get this to work?
|
On June 18 2018 15:25 HiDrAWaRx wrote:Show nested quote +On June 17 2018 20:11 Sihrtogg wrote: The stream would open the second time, but only run for 2-5 seconds before the screen freezes and I am looking at a screenshot with commentary continuing. However, you should try: (...) -Lowering the quality to see if it works (could be a network fck-up) This fixed it, after I ran into the same problem today with the KCM Race Survival stream. What can I conclude from this? Has my connection with the Afreeca CDN server been worsened somehow since ASL5?
|
Russian Federation92 Posts
|
Excellent. One less irritant always a good thing.
|
Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked.
|
On December 24 2018 22:49 Scaramanga wrote: Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked. There is one on zip that is available on the post itselt(under the Troubleshooting & FAQ just look for the "download" question) but that afreeca.py file doesn't work for me.
Also trying to make this work.
|
I used this method regularly in Linux. Worked great up until roughly a month ago. Haven't been able to connect to a stream since. Went back to browser, expecting there'd be a fix/discussion here. It's not a huge problem for me or I'd have dug up this thread. But yeah, I'm having problems also.
Probably should also mention there was a script fix to omit the irritating countdown, which I applied. Everything was working great, then a short time later (perhaps a week), wasn't able to connect anymore.
|
I will update the Linux "afreeca.py" version once the streamlink devs fix it.
|
On December 25 2018 01:48 goody153 wrote:Show nested quote +On December 24 2018 22:49 Scaramanga wrote: Can someone reupload the afreeca.py file? I tried to download from the links here and neither link worked. There is one on zip that is available on the post itselt(under the Troubleshooting & FAQ just look for the "download" question) but that afreeca.py file doesn't work for me. Also trying to make this work. Doesn't work for me either, the rest of the dl links are broken If anyone has this working and could upload the latest afreeca.py file that'd be very much appreciated, I'm missing having streams on my second monitor.
|
Wow, there's suddenly lots of activity in this thread.
Sorry everyone, I'm currently in the middle of a reformat/reinstall. My GPU is also fried and I need to send it in for service. On top of that I'm spending time with mom/family for Christmas.
I still have all the StarCraft stream viewer folders on my old hard drive, but I'll need to copy them all over to the new system. I'll try to update everything once I have some time. I can't do anything about the broken links right now though -- half of them (such as the portable download one) were hosted by other people.
|
On December 25 2018 20:12 Aylear wrote: Wow, there's suddenly lots of activity in this thread.
Sorry everyone, I'm currently in the middle of a reformat/reinstall. My GPU is also fried and I need to send it in for service. On top of that I'm spending time with mom/family for Christmas.
I still have all the StarCraft stream viewer folders on my old hard drive, but I'll need to copy them all over to the new system. I'll try to update everything once I have some time. I can't do anything about the broken links right now though -- half of them (such as the portable download one) were hosted by other people. Thanks for the hardwork for the community btw. I'll just be waiting in the meantime and just check youtube vods of the afreeca streams in the meantime instead.
|
Hello Aylear. I can't watch Afreeca SC streams with VLC now because it's out of date. Thanks god they stream ASL7 with youtube not only afreeca (lag as hell when I watch with browser).
Streamlink release their lastest version 1.0.0 and hope we can have update working version of your work in future. Thank you.
|
On February 12 2019 01:41 aya888888 wrote: Hello Aylear. I can't watch Afreeca SC streams with VLC now because it's out of date. Thanks god they stream ASL7 with youtube not only afreeca (lag as hell when I watch with browser).
Streamlink release their lastest version 1.0.0 and hope we can have update working version of your work in future. Thank you.
I use streamlink and it works perfectly for me?
|
streamlink play.afreecatv.com/username best
|
Is there a way to watch vods with VLC?
VLC works well for me livestream, but lately using a browser I've been getting "There was an error with the video." every time I watch afreeca vods. The audio keeps playing though.
I have successfully downloaded them using youtube-dl in order to watch them, but this is inconvenient.
|
anyone still use this and have the afreeca.py file they'd like to share? my setup stopped working and i tried to reinstall but the download links aren't working pls send help i can't watch afreeca streams any other way
|
On April 03 2019 20:28 Scaramanga wrote: anyone still use this and have the afreeca.py file they'd like to share? my setup stopped working and i tried to reinstall but the download links aren't working pls send help i can't watch afreeca streams any other way
https://pastebin.com/V5qUJmSS
|
I just try to follow all steps on page 1, with latest VLC & Streamlink version. the file on step 3 and 4 seems not working and old version. any suggestions?
|
I can't run the launcher because it is .pyw file
|
Anyone with linux got problems with this? Mine keeps saying
afreeca_vlc.sh: 13: afreeca_vlc.sh: Syntax error: "(" unexpected I tried to fix by changing the afreeca.py file but the path that it suggests on github ( /usr/lib/python3.6/site-packages/streamlink/plugins/afreeca.py ) doesnt exist on my computer. I suspect the bug isnt even caused by the afreeca python file but something else in the shell script
|
|
|
|