VideoHelp Forum
+ Reply to Thread
Results 1 to 3 of 3
Thread
  1. The ffmpeg function that was working before like....

    Code:
    ffmpeg -i "https://cinema-eu.tango.me/v1/a6b3c99063331c84b6f38054336e57ed/live.m3u8" -c copy -bsf:a aac_adtstoasc test.mp4
    ...doesn't work anymore.

    Site (tango) changed something so now 'live.m3u8' link never works. I'm sure because full (m3u8) link contain 'token' value at the end which changes every few seconds contanstly. I found a topic here:

    https://forum.videohelp.com/threads/393561-How-to-download-stream-with-expiring-tokens...-30-minutes%29

    ...And I was hopeing that the code which was provided in that ^ topic would work, so I used:

    Code:
    ffmpeg -multiple_requests 1 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "https://cinema-eu.tango.me/v1/a6b3c99063331c84b6f38054336e57ed/live.m3u8" -c copy -bsf:a aac_adtstoasc test.mp4
    but it doesn't work. I tried to even include whole m3u8 link which has 'initial' token, like this:

    Code:
    ffmpeg -multiple_requests 1 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 2 -i "https://cinema-eu.tango.me/v1/a6b3c99063331c84b6f38054336e57ed/live.m3u8?m=47735419f8b8395cfcfd32a3e673a9b2&tech=lhls&expire_at=1622656535&username=c0473e07b3b36d3256e0332aacc8b579&token=OWRlYzjcM4YyMmI3M2Q5NGQwMWRiZDkwYWI0MgMzMWQzMDVlMTAwN2ZmMzdmNWM5N2IxNWFjODZkYjQ1NjQ0NQ" -c copy -bsf:a aac_adtstoasc test.mp4
    but that didn't worked too. I'm guessing because token part of that m3u8 link was already changed when I 'grabbed it' from developer panel (CTRL+SHIFT+I) at the network tab.

    Code:
    token=OWRlYzjcM4YyMmI3M2Q5NGQwMWRiZDkwYWI0MgMzMWQzMDVlMTAwN2ZmMzdmNWM5N2IxNWFjODZkYjQ1NjQ0NQ
    ^ when I copy again the same m3u8 link, its token was already changed in just 2-3 seconds, and it keeps changing. I managed to quickly download m3u8 file itself and it had this as its content:

    Code:
    #EXTM3U
    #EXT-X-VERSION:7
    #EXT-X-MEDIA-SEQUENCE:8882
    #EXT-X-TARGETDURATION:2
    #EXTINF:1.432,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8882.ts
    #EXTINF:1.533,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8883.ts
    #EXTINF:1.733,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8884.ts
    #EXTINF:1.466,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8885.ts
    #EXTINF:1.499,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8886.ts
    #EXTINF:1.566,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8887.ts
    #EXTINF:1.000,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8888.ts
    #EXTINF:1.000,
    https://cinema-eu.tango.me/v1/a4a96ffcd0d7cb7e37f2c75e3eaca9d6/8889.ts
    I even managed to 'quickly' download one of these TS files. But then thing is, if you are not really quick, even those TS file become obsolite very fast (like in few seconds).

    So... anyone has an idea how to record live tango stream?

    You can browse streams here:

    Code:
    https://www.tango.me/live/creators
    ^ you don't need to register. Just enter any live stream, pop-up your developer options by holding CTRL+SHIFT+I and select network tab. There try to find live.m3u8 link.

    I hope someone can figureout this.

    Thanks in advance guys!
    Quote Quote  
  2. Been having the same problem since a week...what we need is an application that can recognize the changing ''tokens'' and merge the files together as one stream..
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!