VideoHelp Forum

+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. To make matters worse you need a VPN to spoof a Japanese IP.

    Here's my problem:
    Trying to record/download the live stream of a tv station who streams online.
    The stream keeps dropping/stopping or just flat out doesn't work.
    I can find the m3u8 and have tried ffmpeg, livestreamer, and VLC, but they all drop/stop.
    I noticed in AdBlock a new .key file keeps adding on to the list frequently. I've no idea what it means or what to do with it.
    Also, sometimes I'm unable to select the highest video quality to get the m3u8 url in AdBlock. Is there a trick to get the m3u8 outside of waiting for it to load in AdBlock.

    The video stream is technically form http://mcas.jp/#/channels/1 but they don't always have programs running so I've been experimenting with http://mcas.jp/#/channels/3 which runs a feed 24/7.

    For ffmpeg I've tried:
    Code:
    ffmpeg -i "http://movie.mcas.jp/hls/v1/wn1_2.m3u8?Expires=1456714860&Signature=Oyd5HwKV6fwrRgmzrq98q2dPLECPsRqJUAdiV9I26I3XqupL4kLxxzUHVw6N34nwn2an8GzKqXQANa5HTObR1LkhozU5vZNGKfM8NmQRGFb7WIBjgKbtnI0fXzRhMcFmUCODxsFfjovtTF5OEU9-NWIBG3OWYl4ycfXqJnQxfMNjtGzLZe7l9CZdC4Skhgf8n687PoeUTOEmEHlLFF4JyAlx3ss9aSivarflQwb4zL1elvsJeJ~nZP5Jr0WeV59W4N1Rl69QsbQL7-xbTGXiWBo3on497LBwE0tWhtvpZl5eAQbaDj1xDfb4I1AzGSchcPqm5zKu60foWwgjvfqPGA__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" -c copy -f mpegts filename.ts
    For livestreamer I've tried:
    HTML Code:
    livestreamer "hlsvariant://http://movie.mcas.jp/hls/v1/wn1_2.m3u8?Expires=1456714860&Signature=Oyd5HwKV6fwrRgmzrq98q2dPLECPsRqJUAdiV9I26I3XqupL4kLxxzUHVw6N34nwn2an8GzKqXQANa5HTObR1LkhozU5vZNGKfM8NmQRGFb7WIBjgKbtnI0fXzRhMcFmUCODxsFfjovtTF5OEU9-NWIBG3OWYl4ycfXqJnQxfMNjtGzLZe7l9CZdC4Skhgf8n687PoeUTOEmEHlLFF4JyAlx3ss9aSivarflQwb4zL1elvsJeJ~nZP5Jr0WeV59W4N1Rl69QsbQL7-xbTGXiWBo3on497LBwE0tWhtvpZl5eAQbaDj1xDfb4I1AzGSchcPqm5zKu60foWwgjvfqPGA__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" best -o filename.ts
    With VLC I've been selecting Open Network Stream, pasting the m3u8 url, and selecting Convert to save the file. It keeps disconnecting or dropping and sometimes doesn't connect at all, just giving me errors. I can't get a solid video.

    I really want to record some programs for a friend in the best video quality (i.e. I don't want to resort to laggy screen records) and get a solid video.

    Please help? Any advice or insight as to what's happening is appreciated.
    Last edited by nobodyhome; 27th Feb 2016 at 20:47.
    Quote Quote  
  2. Originally Posted by nobodyhome View Post
    To make matters worse you need a VPN to spoof a Japanese IP.

    Here's my problem:
    Trying to record/download the live stream of a tv station who streams online.
    The stream keeps dropping/stopping or just flat out doesn't work.
    I can find the m3u8 and have tried ffmpeg, livestreamer, and VLC, but they all drop/stop.
    I noticed in AdBlock a new .key file keeps adding on to the list frequently. I've no idea what it means or what to do with it.
    Also, sometimes I'm unable to select the highest video quality to get the m3u8 url in AdBlock. Is there a trick to get the m3u8 outside of waiting for it to load in AdBlock.

    The video stream is technically form http://mcas.jp/#/channels/1 but they don't always have programs running so I've been experimenting with http://mcas.jp/#/channels/3 which runs a feed 24/7.

    For ffmpeg I've tried:
    Code:
    ffmpeg -i "http://movie.mcas.jp/hls/v1/wn1_2.m3u8?Expires=1456714860&Signature=Oyd5HwKV6fwrRgmzrq98q2dPLECPsRqJUAdiV9I26I3XqupL4kLxxzUHVw6N34nwn2an8GzKqXQANa5HTObR1LkhozU5vZNGKfM8NmQRGFb7WIBjgKbtnI0fXzRhMcFmUCODxsFfjovtTF5OEU9-NWIBG3OWYl4ycfXqJnQxfMNjtGzLZe7l9CZdC4Skhgf8n687PoeUTOEmEHlLFF4JyAlx3ss9aSivarflQwb4zL1elvsJeJ~nZP5Jr0WeV59W4N1Rl69QsbQL7-xbTGXiWBo3on497LBwE0tWhtvpZl5eAQbaDj1xDfb4I1AzGSchcPqm5zKu60foWwgjvfqPGA__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" -c copy -f mpegts filename.ts
    For livestreamer I've tried:
    HTML Code:
    livestreamer "hlsvariant://http://movie.mcas.jp/hls/v1/wn1_2.m3u8?Expires=1456714860&Signature=Oyd5HwKV6fwrRgmzrq98q2dPLECPsRqJUAdiV9I26I3XqupL4kLxxzUHVw6N34nwn2an8GzKqXQANa5HTObR1LkhozU5vZNGKfM8NmQRGFb7WIBjgKbtnI0fXzRhMcFmUCODxsFfjovtTF5OEU9-NWIBG3OWYl4ycfXqJnQxfMNjtGzLZe7l9CZdC4Skhgf8n687PoeUTOEmEHlLFF4JyAlx3ss9aSivarflQwb4zL1elvsJeJ~nZP5Jr0WeV59W4N1Rl69QsbQL7-xbTGXiWBo3on497LBwE0tWhtvpZl5eAQbaDj1xDfb4I1AzGSchcPqm5zKu60foWwgjvfqPGA__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" best -o filename.ts
    With VLC I've been selecting Open Network Stream, pasting the m3u8 url, and selecting Convert to save the file. It keeps disconnecting or dropping and sometimes doesn't connect at all, just giving me errors. I can't get a solid video.

    I really want to record some programs for a friend in the best video quality (i.e. I don't want to resort to laggy screen records) and get a solid video.

    Please help? Any advice or insight as to what's happening is appreciated.

    hi

    try with livestreamer and hls:// instead of hlsvariant://


    Code:
    livestreamer "hls://http://movie.mcas.jp/hls/v1/wn1_4.m3u8?Expires=1456714860&Signature=IqHZ-DMdNzVDdzaqM~leJmx1XKFtZAhiOvm5x8vpIsFQNwRPbC7eyNp-mGco46VUxlvON7KZX~1Qg1jRGZi3kKSN-Gc11oblyHCwcnU3OgSsJPzkftiI4Lioa90cH-WxPnFwInojEBOPcrY4Ya9qe5xWgrkBf5V1BN91SBmfvYgBFRidd3ZgzX6rYYQ1se9muuSHZhumWoAdrhtVDJgtn1IFI1HE33fyIbLzbj12PyXj3vkHk6UhWf2ni6BhNPx1SvQsQ08CzpeNC-4l~RPBXk1lKT5E2XKCLNxILx3Yy81d2myWPJZsFW0H6FXFEl8ajZfaOjTEfm32FH5alepF5g__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" best -o wheather-news.ts

    >>>>

    Code:
    [cli][info] Found matching plugin stream for URL hls://http://movie.mcas.jp/hls/v1/wn1_4.m3u8?Expires=1456714860&Signature=IqHZ-DMdNzVDdzaqM~leJmx1XKFtZAhiOvm5x8vpIsFQNwRPbC7eyNp-mGco46VUxlvON7KZX~1Qg1jRGZi3kKSN-Gc11oblyHCwcnU3OgSsJPzkftiI4Lioa90cH-WxPnFwInojEBOPcrY4Ya9qe5xWgrkBf5V1BN91SBmfvYgBFRidd3ZgzX6rYYQ1se9muuSHZhumWoAdrhtVDJgtn1IFI1HE33fyIbLzbj12PyXj3vkHk6UhWf2ni6BhNPx1SvQsQ08CzpeNC-4l~RPBXk1lKT5E2XKCLNxILx3Yy81d2myWPJZsFW0H6FXFEl8ajZfaOjTEfm32FH5alepF5g__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA
    [cli][info] Available streams: live (worst, best)
    [cli][info] Opening stream: live (hls)
    [download][wheather-news.ts] Written 2.3 MB (32s @ 61.4 KB/s)
    Quote Quote  
  3. Originally Posted by biezom View Post
    hi

    try with livestreamer and hls:// instead of hlsvariant://


    Code:
    livestreamer "hls://http://movie.mcas.jp/hls/v1/wn1_4.m3u8?Expires=1456714860&Signature=IqHZ-DMdNzVDdzaqM~leJmx1XKFtZAhiOvm5x8vpIsFQNwRPbC7eyNp-mGco46VUxlvON7KZX~1Qg1jRGZi3kKSN-Gc11oblyHCwcnU3OgSsJPzkftiI4Lioa90cH-WxPnFwInojEBOPcrY4Ya9qe5xWgrkBf5V1BN91SBmfvYgBFRidd3ZgzX6rYYQ1se9muuSHZhumWoAdrhtVDJgtn1IFI1HE33fyIbLzbj12PyXj3vkHk6UhWf2ni6BhNPx1SvQsQ08CzpeNC-4l~RPBXk1lKT5E2XKCLNxILx3Yy81d2myWPJZsFW0H6FXFEl8ajZfaOjTEfm32FH5alepF5g__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA" best -o wheather-news.ts

    >>>>

    Code:
    [cli][info] Found matching plugin stream for URL hls://http://movie.mcas.jp/hls/v1/wn1_4.m3u8?Expires=1456714860&Signature=IqHZ-DMdNzVDdzaqM~leJmx1XKFtZAhiOvm5x8vpIsFQNwRPbC7eyNp-mGco46VUxlvON7KZX~1Qg1jRGZi3kKSN-Gc11oblyHCwcnU3OgSsJPzkftiI4Lioa90cH-WxPnFwInojEBOPcrY4Ya9qe5xWgrkBf5V1BN91SBmfvYgBFRidd3ZgzX6rYYQ1se9muuSHZhumWoAdrhtVDJgtn1IFI1HE33fyIbLzbj12PyXj3vkHk6UhWf2ni6BhNPx1SvQsQ08CzpeNC-4l~RPBXk1lKT5E2XKCLNxILx3Yy81d2myWPJZsFW0H6FXFEl8ajZfaOjTEfm32FH5alepF5g__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA
    [cli][info] Available streams: live (worst, best)
    [cli][info] Opening stream: live (hls)
    [download][wheather-news.ts] Written 2.3 MB (32s @ 61.4 KB/s)
    That seems to do the trick perfectly! Thanks! May I ask for future reference what's the difference between "hls://" and "hlsvariant://" and how can I tell when to use one instead of the other?
    Quote Quote  
  4. EDIT: Never mind. Found out it was my connection causing the problems. Fixed.



    Sorry to bring back an old thread, but I'm having issues again with the same site and a slightly different problem. The previous fix doesn't work now...

    When I use livestreamer with hls:// it tells me
    HTML Code:
    [cli][error] Could not open stream: Attempted to play a variant playlist, use 'h
    lsvariant://http://movie.mcas.jp/mcas/wn1_2/master.m3u8?Expires=1476367260&Signa
    ture=ROCn4SaLkr3Ut45mFMhOCXchT674SI9deyX~snrVaDkNu656YL9Nz6YzrvX7KVLKcumsj-1lEJA
    tIKv0B2Jg3WZaqyXbWxmTDFFInWZpvynw4-o7wOyyIILSWlD0P~QjfiAIpGhbT1onS0Hsr3ODDx2UiFu
    38-TSeXiBdjmhHqXqxpjB9nhh1Xoj1Sk0grllNgNRS4v4wHExwpgRxyzmt-WH3krQsQp9VQteizLI51i
    BQm859~tEoYVRZMVx8FlCLnPwPXIo6hMaMv3dY9FLd7Pjxx4PCEImI7v8tsS1A9fGQbSdE6hqt6SwPyf
    GhZrXGw-Vm~tXJvJkVzJuMi17KQ__&Key-Pair-Id=APKAJUJRXEO57LGPCIQA' instead
    so I used hlvariant:// instead and I get
    HTML Code:
    [stream.hls][warning] Failed to reload playlist: Unable to open URL: http://movi
    e.mcas.jp/mcas/wn1_2/chunklist.m3u8 (HTTPConnectionPool(host='movie.mcas.jp', po
    rt=80): Max retries exceeded with url: /mcas/wn1_2/chunklist.m3u8 (Caused by <cl
    ass 'httplib.BadStatusLine'>: ''))
    [stream.hls][error] Failed to open segment 16882: Unable to open URL: http://mov
    ie.mcas.jp/mcas/wn1_2/media-ubxq5crrq_16882.ts (HTTPConnectionPool(host='movie.m
    cas.jp', port=80): Max retries exceeded with url: /mcas/wn1_2/media-ubxq5crrq_16
    882.ts (Caused by <class 'httplib.BadStatusLine'>: ''))
    [download][testagain.ts] Written 668.4 KB (13s @ 51.1 KB/s)                    [
    stream.hls][error] Failed to open segment 16883: Unable to open URL: http://movi
    e.mcas.jp/mcas/wn1_2/media-ubxq5crrq_16883.ts (HTTPConnectionPool(host='movie.mc
    as.jp', port=80): Max retries exceeded with url: /mcas/wn1_2/media-ubxq5crrq_168
    83.ts (Caused by <class 'httplib.BadStatusLine'>: ''))
    and that keeps repeating.


    Help?
    Last edited by nobodyhome; 13th Oct 2016 at 18:30.
    Quote Quote