VideoHelp Forum


Try NordVPN to access Netflix or other streaming services from any country and also surf safely!
+ Reply to Thread
Results 1 to 2 of 2
Thread
  1. Hey I have been trying to stream a zee5 live tv channel using ffmpeg, but i am getting this error ::

    [https @ 0x558e0b0a3340] HTTP error 403 Forbidden
    https://z5ams.akamaized.net/andflix/index.m3u8?hdnts=st=1623206843~exp=1623209843~acl=...c36d8abc165ed: Server returned 403 Forbidden (access denied)
    I Tried In VLC, MxPlayer And in Chrome Itself, It Works Fine But Doesn't Work With Ffmpeg:

    Code :
    ffmpeg -i "https://z5ams.akamaized.net/andflix/index.m3u8?hdnts=st=1623206843~exp=1623209843~acl=/*~hmac=fc79cdf9742904fa556a38a4e627ba2b86813f4402f bf9086d0c36d8abc165ed" -c copy -bsf:a aac_adtstoasc "output.mp4"

    Can anyone help? thanks.
    Quote Quote  
  2. Member
    Join Date
    Jan 2021
    Location
    Argentina
    Search PM
    Add some headers like user agent, referer and hdnts (very important). For example:

    ffmpeg -user_agent "user agent header" -referer "referer link" -headers "hdnts: hdnts value" -i ".../index.m3u8?hdnts=..." -c copy -bsf:a aac_adtstoasc "output.ts"
    Or use Streamlink:

    streamlink --http-header "User-Agent=x" --http-header "Referer=x" --http-query-param "hdnts=x" ".../index.m3u8?hdnts=..." best -o output.ts
    Quote Quote  



Similar Threads