VideoHelp Forum


Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    I have a stream that plays very well in vlc but when i try to record it using streamlink its shows 502:Bad Gateway error

    What could be the problem and how can i use streamlink to record this ?

    The normal streamlink commands don't work.

    Here is the link of the stream: http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8

    Also can any other program record this stream ?

    Thanks.
    Quote Quote  
  2. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    What? i posted the link in the post. here it is again
    Code:
    http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8
    Quote Quote  
  3. Member Emeritus
    Join Date
    May 2014
    Search PM
    The webpage link from which you are able to play the video in the first instance.

    If the link is derived from some app or other source, then the link to a source where the video is able to actually be played is required.
    Quote Quote  
  4. Since VLC can play the video it can also save it. Use Video -> Convert/Save. Give it the m3u8 URL, set the container to MPEG-TS, set video and audio to Keep Original Track, Save.
    Quote Quote  
  5. Member Emeritus
    Join Date
    May 2014
    Search PM
    @sscomp32, in which locale is direct access to the m3u8 url possible? The url returns 403 in at least some regions.
    Quote Quote  
  6. India, for one.
    Quote Quote  
  7. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by jagabo View Post
    Since VLC can play the video it can also save it. Use Video -> Convert/Save. Give it the m3u8 URL, set the container to MPEG-TS, set video and audio to Keep Original Track, Save.
    Thanks. This wrks but VLC skips some frames. DIdnt have any problem like this with Streamlink.

    For others asking, Its from a mobile network TV app called airtel TV android app only available in India and only to Airtel users.

    This used to work till dec last year without any problem but now it doesn't.

    Thanks .
    Quote Quote  
  8. I was able to download the video with youtube-dl by setting the user-agent to "VLC":

    Code:
    youtube-dl --no-part --user-agent "VLC" "http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8"
    You can do the same with Streamlink:

    Code:
    streamlink.exe --http-header User-Agent="VLC" "http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8" best -o output.ts
    It doesn't have to be "VLC". Pretty much anything other than "Mozilla" will work.
    Last edited by jagabo; 18th Mar 2019 at 16:19.
    Quote Quote  
  9. Member
    Join Date
    Jan 2015
    Location
    India
    Search PM
    Originally Posted by jagabo View Post
    I was able to download the video with youtube-dl by setting the user-agent to "VLC":

    Code:
    youtube-dl --no-part --user-agent "VLC" "http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8"
    You can do the same with Streamlink:

    Code:
    streamlink.exe --http-header User-Agent="VLC" "http://mhms8.airtel.tv/PLTV/88888888/224/3221226392/01.m3u8" best -o output.ts
    It doesn't have to be "VLC". Pretty much anything other than "Mozilla" will work.
    Thanks Working well.
    Quote Quote  



Similar Threads