• MorphOS Developer
    cyfm
    Posts: 403 from 2003/4/11
    From: Germany
    Quote:


    On this site you can extract direct links to twitch video URLs: https://pwn.sh/tools/getstream.html



    Thanks for the reference. It seems that this extractor generates a .mp3u8 file that splits the actual AV stream into a series of 2s segments which the current mplayer port tries to play one by one:

    Code:
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-TARGETDURATION:6
    #EXT-X-MEDIA-SEQUENCE:6906
    #EXT-X-TWITCH-ELAPSED-SECS:13812.000
    #EXT-X-TWITCH-TOTAL-SECS:13844.000
    #EXT-X-DATERANGE:ID="source-1592645550",CLASS="twitch-stream-source",START-DATE="2020-06-20T09:32:30.481Z",END-ON-NEXT=YES,X-TV-TWITCH-STREAM-SOURCE="live"
    #EXT-X-DATERANGE:ID="trigger-1592645550",CLASS="twitch-trigger",START-DATE="2020-06-20T09:32:30.481Z",END-ON-NEXT=YES,X-TV-TWITCH-TRIGGER-URL="https://video-weaver.fra05.hls.ttvnw.net/trigger/CvEDigKQ2pfK0PT0N-F_p_5n3LprSF3_TUI5GANctwFK3mMh6KWaai-n3IqoWKF9F7uZWzOZU4JT52VaAabfCVRNCjXXD3s4ljYo5l-kxXr0zKMRUHttsWQAiY43_FR3uW98dcqyFmDPX2qrwcruNH_dMcU4I0tzmvNI90WUSs6HKU8YKMUlyR4Zpfps6yz1QhapqBicg8cK0G91nsC1TuVy-YcMSahuNgC5blU7LT0oDV6whlpm7uur0-lV-qlrKiCvSLWzGuG2lPHrxe6PZZ1mNDFODA_IZfYnTwx0lTbqD_lLARos9sVlhJ1UYCTF1W_mr_xuQUO2VhGgAbz-I_FZ0WxX49H9A4w87jG6PXnwnQi86z_6bQ1gVyGWmJcDW4k3a_-UfFsaE5K5hFvgUIhW5Djc6-8S538nmWFlYccfzcoMPtcgCcZCFyA6fKaeOFdJ1DoqMuiDkLKMDHRrOVpfk-S2wFJXl3KL1Y5eVjgnooY0Y7aWrpsYiK032FluOaGqogzwOx7kfdpgIqoSY2eb2D51Y_fX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ME:2020-06-20T09:39:38.481Z
    #EXTINF:2.000,live
    https://video-edge-1ff3f0.fra05.abs.hls.ttvnw.net/v1/segment/CqEE1hoLwsLiRSsNfQHxXLGIwQKLzfcye-dMK8zDCXUotgAf_ZJe8wsvflRSVO78qrO1tqjlQzKGY3VnUyiVbx-PdvHBeNzDwWC--adf6hGSScDzzNkWfuFpAVfZ511SznWCGbpA_gAJxJRkumLtQBSrttnQf69Sxlm-ldSRf9WSNwv34ytC7zMfyQgfW2Qz5IpOxJtDZu-oR3xzGwLH0NTnIL9ujf8dfvGtKv83rnHSLq724NwFQtCHXVqswUIxbEPL5tTUDy5ixoWbhB-g1_gZbvTQOqAQhSltAlMak-PitJLpWqopDtmq7Aga7AEYzECL6CMrQxsBruFFkjB-hmRK-VRuHQNEKWQRRzC2pYvZ5qAMW4ZinLP4-6BJqEPgaLHiPJTusqY8lO7tX_hsnvNmp5xe2M7Es5RpcqLks_ySYDJaKvHI8ZAvM1C_Mua_ejAqUmsUam4BOmtb_1jaHWOfU-rxtCzn4pSOEPCkzw4484NPgV8oN9Ogyn1Ebm8hfs0xPYshnILMnWXPiexLA399XU3gGZ2vYyVekLsJz5Wly6_0x15KKnOVf6Tuwrv24V2fIAZ7k8wxCVBprHdOi81SMhlRogfza-Mx4vFj1lkUBLg4RdT_d7hwOlvXKfQ-RWnKD9K0jVtTPkmId1-yCl7oCDE_Y_6r3vhC3LM-iFZsmMw40XKKX0XnasfaRv_IHJNWqaIhJUx601Sc_MkvIQ2dayESEEPeDZqJWnLUlsc7P3BPLTgaDN9Oe35BV1KGFe5FiA.ts
    #EXT-X-PROGRAM-DATE-TIME:2020-06-20T09:39:40.481Z
    #EXTINF:2.000,live
    ...
    ...


    I need to check if there is some way to somehow automerge those streams ahead of playing to avoid any kind of gaps inbetween.
    I think it is rather common nowadays to split up streams like this for online streaming since it last but not least prevents direct D/L without additional tools and also makes seeking within a full stream a way simpler task.
  • »20.06.20 - 11:05
    Profile Visit Website