• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 15:04
CEST 21:04
KST 04:04
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy4Code S RO8 Preview: herO, Zoun, Bunny, Classic7Code S RO8 Preview: Rogue, GuMiho, Solar, Maru3BGE Stara Zagora 2025: Info & Preview27
Community News
Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson."2Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey.3Code S RO8 Results + RO4 Bracket (2025 Season 2)12BGE Stara Zagora 2025 - Replay Pack2Weekly Cups (June 2-8): herO doubles down1
StarCraft 2
General
Classic & herO RO8 Interviews: "I think it’s time to teach [Rogue] a lesson." Code S RO8 Results + RO4 Bracket (2025 Season 2) Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho Rogue & GuMiho RO8 interviews: "Lifting that trophy would be a testament to all I’ve had to overcome over the years and how far I’ve come on this journey. I have an extra ticket to the GSL Ro4/finals
Tourneys
[GSL 2025] Code S: Season 2 - Semi Finals & Finals $3,500 WardiTV European League 2025 Sea Duckling Open (Global, Bronze-Diamond) SOOPer7s Showmatches 2025 RSL: Revival, a new crowdfunded tournament series
Strategy
[G] Darkgrid Layout Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 477 Slow and Steady Mutation # 476 Charnel House Mutation # 475 Hard Target Mutation # 474 Futile Resistance
Brood War
General
ASL20 Preliminary Maps BGH Auto Balance -> http://bghmmr.eu/ Recent recommended BW games BW General Discussion FlaSh Witnesses SCV Pull Off the Impossible vs Shu
Tourneys
[Megathread] Daily Proleagues [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET Small VOD Thread 2.0 [BSL20] ProLeague Bracket Stage - Day 4
Strategy
I am doing this better than progamers do. [G] How to get started on ladder as a new Z player
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread Beyond All Reason What do you want from future RTS games?
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread UK Politics Mega-thread Russo-Ukrainian War Thread Vape Nation Thread
Fan Clubs
Maru Fan Club Serral Fan Club
Media & Entertainment
Korean Music Discussion [Manga] One Piece
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NHL Playoffs 2024 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
A Better Routine For Progame…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 32086 users

[Guide] Watch Afreeca SC/BW streams with VLC

Forum Index > BW General
Post a Reply
1 2 3 4 5 23 24 25 Next All
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2017-10-27 13:59:11
August 16 2016 15:12 GMT
#1
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]


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: (Wiki)Bisu is "rlaxordyd", (Wiki)Last is "rlatjdgus228", (Wiki)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 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.




    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.

[image loading]

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 +
    A: They're also on Pastebin. Grab them from here (go to the link and click "download" on Pastebin):

    https://pastebin.com/ZYFXe76a - afreeca.py
    https://pastebin.com/Z6T9YpB2 - starcraft_stream_viewer.bat

    TL user prech also uploaded afreeca.py to TeamLiquid (right-click and save link as)


    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 file

      Google 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]


    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.

TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
Last Edited: 2016-08-16 15:56:21
August 16 2016 15:26 GMT
#2
I'm getting "Connection to chromecast.afreeca.gscdn.com timed out".

upd: "It's not just you! http://chromecast.afreeca.gscdn.com looks down from here."
Michael Probu
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 16 2016 16:36 GMT
#3
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.
TL+ Member
juvenal
Profile Joined July 2013
2448 Posts
August 16 2016 18:38 GMT
#4
It gives me 101.79.243.167, I kinda expected 121.156.109.165
Michael Probu
moonlawn
Profile Joined May 2010
Latvia6 Posts
Last Edited: 2016-08-22 19:21:53
August 22 2016 19:18 GMT
#5
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:

[image loading]
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 22 2016 19:30 GMT
#6
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.
TL+ Member
CfgosCuba
Profile Joined February 2010
Cuba94 Posts
August 23 2016 02:35 GMT
#7
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)
http://www.twitch.tv/cfgoscuba c terran hwaiting.. sc2 too ez, 4 days playing and Im already platinun..wtf.. fuck sc2. I uninstalled it.. www.youtube.com/user/cfgoscuba2
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 23 2016 03:49 GMT
#8
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.
TL+ Member
CfgosCuba
Profile Joined February 2010
Cuba94 Posts
August 23 2016 04:03 GMT
#9
fixed..
I forgot to install VLC
i installed and it worked perfect
thanks
http://www.twitch.tv/cfgoscuba c terran hwaiting.. sc2 too ez, 4 days playing and Im already platinun..wtf.. fuck sc2. I uninstalled it.. www.youtube.com/user/cfgoscuba2
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
August 23 2016 04:35 GMT
#10
You're welcome. =) Good to know it's working.
TL+ Member
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 10:37:41
August 23 2016 07:59 GMT
#11
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
Bonyth
Profile Joined August 2010
Poland553 Posts
August 23 2016 08:54 GMT
#12
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
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 11:54:15
August 23 2016 11:38 GMT
#13
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 [image loading].
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2016-08-23 13:23:06
August 23 2016 13:21 GMT
#14
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.
"If I had force-fields in Brood War, I'd never lose." -Bisu
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 14:14:29
August 23 2016 14:12 GMT
#15
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.
Aylear
Profile Blog Joined May 2009
Norway3988 Posts
Last Edited: 2016-08-23 18:00:07
August 23 2016 17:57 GMT
#16
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/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

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 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.


Oh this is lovely. I'll add this to the OP if you don't mind. =)
TL+ Member
letian
Profile Blog Joined May 2010
Germany4221 Posts
Last Edited: 2016-08-23 20:13:16
August 23 2016 20:09 GMT
#17
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/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

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 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.


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.
letian
Profile Blog Joined May 2010
Germany4221 Posts
August 23 2016 20:15 GMT
#18
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!
Atlare
Profile Blog Joined April 2010
Australia893 Posts
August 24 2016 13:35 GMT
#19
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.
Considering learning BW
Grettin
Profile Joined April 2010
42381 Posts
Last Edited: 2016-08-24 14:14:58
August 24 2016 14:09 GMT
#20
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?
"If I had force-fields in Brood War, I'd never lose." -Bisu
1 2 3 4 5 23 24 25 Next All
Please log in or register to reply.
Live Events Refresh
BSL: ProLeague
18:00
Bracket Stage: Day 3
Hawk vs UltrA
Sziky vs spx
TerrOr vs JDConan
ZZZero.O213
LiquipediaDiscussion
CSO Cup
17:00
#80
Liquipedia
Cheesadelphia
15:00
Cheeseadelphia 2025
CranKy Ducklings499
davetesta76
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 99
MindelVK 49
StarCraft: Brood War
Britney 20782
Calm 4092
Rain 2897
Horang2 1469
ZZZero.O 218
Dewaltoss 122
Nal_rA 116
JulyZerg 53
Rock 39
Terrorterran 16
[ Show more ]
IntoTheRainbow 8
Dota 2
Gorgc7873
qojqva2276
LuMiX1
League of Legends
Grubby2707
Dendi1513
JimRising 876
Counter-Strike
fl0m6620
olofmeister3267
Fnx 1
Super Smash Bros
Mew2King107
Heroes of the Storm
Khaldor712
Liquid`Hasu636
Other Games
tarik_tv52145
gofns25815
C9.Mang0515
DeMusliM482
crisheroes355
B2W.Neo168
TKL 123
ArmadaUGS93
Trikslyr74
Organizations
Dota 2
PGL Dota 2 - Main Stream9733
Other Games
gamesdonequick1175
EGCTV976
StarCraft 2
angryscii 40
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• printf 76
• 3DClanTV 26
• Adnapsc2 23
• tFFMrPink 14
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3065
• WagamamaTV399
• Ler95
Other Games
• imaqtpie1307
• Shiphtur375
Upcoming Events
GSL Code S
12h 56m
Rogue vs herO
Classic vs GuMiho
Sparkling Tuna Cup
14h 56m
WardiTV Qualifier
20h 56m
BSL: ProLeague
22h 56m
Bonyth vs Dewalt
Cross vs Doodle
MadiNho vs Dragon
Replay Cast
1d 4h
Wardi Open
1d 15h
Replay Cast
2 days
Replay Cast
2 days
RSL Revival
2 days
Cure vs Percival
ByuN vs Spirit
RSL Revival
3 days
herO vs sOs
Zoun vs Clem
[ Show More ]
Replay Cast
4 days
The PondCast
4 days
RSL Revival
4 days
Serral vs SHIN
Solar vs Cham
Replay Cast
5 days
RSL Revival
5 days
Reynor vs Scarlett
ShoWTimE vs Classic
uThermal 2v2 Circuit
5 days
SC Evo League
6 days
Circuito Brasileiro de…
6 days
Liquipedia Results

Completed

Proleague 2025-06-11
BGE Stara Zagora 2025
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL 17: 2025 SUMMER
2025 GSL S2
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025

Upcoming

Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
BLAST Open Fall 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.