VideoHelp Forum

Try DVDFab and download streaming video, copy, convert or make Blu-rays,DVDs! Download free trial !
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. I have been using the following command to download afreecatv steaming more than a year:

    ffmpeg -i http://live-hls-local-cf.afreecatv.com/livestream-sg-04/auth_playlist.m3u8?aid=.A32.7b...YY1BMz3WQP5zO3 -c copy 281.mp4

    However, I get the following error when I try to download afreecatv steaming today:

    HTTP error 403 Forbidden
    http://live-hls-local-cf.afreecatv.com/livestream-sg-04/auth_playlist.m3u8?aid=.A32.7b...Y1BMz3WQP5zO3: Server returned 403 Forbidden (access denied)

    I use the latest Windows version of ffmpeg. Do you know what goes wrong? May be afreecatv stops people using ffmpeg to download streaming? Thx!
    Quote Quote  
  2. Originally Posted by j2ee View Post
    May be afreecatv stops people using ffmpeg to download streaming? Thx!
    If they wanted you to download the video's they would provide a download link.

    You need to provide the referer and user-agent fields to download form that site:

    Code:
    ffmpeg ^
        -headers "Referer: http://play.afreecatv.com/soojin1/223302098" ^
        -headers "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:75.0) Gecko/20100101 Firefox/75.0" ^
        -i "http://live-hls-local-cf.afreecatv.com/livestream-sg-04/auth_playlist.m3u8?aid=.A32.7bbT56vyHM9fKZk.itU7RCshmqL_NOpjmwKSsw3-pStw25Kql_Ay5OsCIzQ4nw-6TNcCyxXbxyjjZjuD5P07JeOK7wgM6ENqSB_OetgINIUbVBRxgXECiFmdlfRDjtiZFfYY1BMz3WQP5zO3:" ^
        -c copy ^
        output.ts
    Quote Quote  



Similar Threads