VideoHelp Forum
Closed Thread
Results 1 to 19 of 19
Thread
  1. Hello!

    I would like to get some support from anyone who could know about the following issue

    I'm trying to decrypt just the audio stream and the lowest quality video stream (that's because is the L3 limit), but the main issue is the header of the streams that appears as "unknown" because "An unrecognized encryption method is detected"

    Image
    [Attachment 73460 - Click to enlarge]

    Image
    [Attachment 73461 - Click to enlarge]


    I'm using N_m3u8DL-RE.exe, I've tried with mp4decrypt (default) and with the --use-shaka-packager option too, without success

    Also tried mp4box but getting:
    [iso file] Error: moov not received before merging fragment
    Error opening file playlist_es.ts: Invalid IsoMedia File

    So for sure, the file is still encrypted but also without the proper header to try to decode it.

    If someone would like to try:

    N_m3u8DL-RE "https://linear.tv.apple.com/v1/hls/playlist.m3u8?serviceId=tvs.vds.7422&referenceId=u mc.cmr.mls.sp.1ric23iu6irognxyiezvechuw&webbrowser =true&xapsub=accepts-css" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --header "Referer: https://tv.apple.com/" --save-name "playlist"

    Key (L3): --key 3a46085983273745aa08c55f94fe015d:a052ab82ff84f9f66 16557fc43434d48


    PS: this is happening only with the streams that are under the "live streaming" server/url "https://linear.tv.apple.com/v1/hls/........"

    Thanks in advance for your kind comments.
    Regards

  2. Education Student (Grad.) CrymanChen's Avatar
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    This reminds me of my post about Apple TV+, they have come up with an idea about decryption. It's CBCS or what if I remember it correctly, not the CENC.
    twitter @Cryman_Chen
    email crymanchen@gmail.com

  3. Originally Posted by CrymanChen View Post
    This reminds me of my post about Apple TV+, they have come up with an idea about decryption. It's CBCS or what if I remember it correctly, not the CENC.
    I know the script and I have used it for the non-live content and it works
    But for this "live" the script doesn't even recognize the stream to try to decrypt it.

    Image
    [Attachment 73490 - Click to enlarge]


    So that's why I came here to ask if someone has a clue about this issue.

    Thanks!

  4. The stream is still on this "Live" in case anyone want to test and check how to decrypt it.
    Thanks!

  5. Above you mention the key, but you don't pass it to Nm3u_8DL.

  6. Originally Posted by Quint View Post
    Above you mention the key, but you don't pass it to Nm3u_8DL.
    As I said: "I'm using N_m3u8DL-RE.exe, I've tried with mp4decrypt (default) and with the --use-shaka-packager option too, without success"
    That's because I use both ways, that for sure, implies to add the key in the command

    Anyway... I let the default command for anyone that wants to try

    but if the stream is "unknown" and the encryption is "unknown" then the binary stream can't be properly handled to be identified (as video or audio) and later to be decrypted.
    That's why I shared the screenshots for N_m3u8DL-RE without reaching the decrypt stage. My meaning was just to show the warning immediately detected about the unknown encryption method.

    Hope this clarify a little bit the things

    obviously I already tried all those options:

    Decryption by mp4decrypt (default)
    N_m3u8DL-RE "https://linear.tv.apple.com/v1/hls/playlist.m3u8?serviceId=tvs.vds.7422&referenceId=u mc.cmr.mls.sp.1ric23iu6irognxyiezvechuw&webbrowser =true&xapsub=accepts-css" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --header "Referer: https://tv.apple.com/" --save-name "playlist" --live-real-time-merge --mp4-real-time-decryption --key 3a46085983273745aa08c55f94fe015d:a052ab82ff84f9f66 16557fc43434d48 -M format=mp4

    Forcing decryption by shaka
    N_m3u8DL-RE "https://linear.tv.apple.com/v1/hls/playlist.m3u8?serviceId=tvs.vds.7422&referenceId=u mc.cmr.mls.sp.1ric23iu6irognxyiezvechuw&webbrowser =true&xapsub=accepts-css" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --header "Referer: https://tv.apple.com/" --save-name "playlist" --live-real-time-merge --mp4-real-time-decryption --use-shaka-packager --key 3a46085983273745aa08c55f94fe015d:a052ab82ff84f9f66 16557fc43434d48 -M format=mp4

    With and without "--live-real-time-merge"
    with and without "--mp4-real-time-decryption"

    Also by using script for mp4box as an alternative method to decrypt, as I mentioned in my previous message.

    Thanks!
    Last edited by Bellower; 29th Aug 2023 at 09:11.

  7. Update:

    Now the link provided in the beginning jumps to a VOD server, for that reason now everything can be decrypted properly with the new KEYS under the VOD license server (that is different to the LIVE content license server)

    And when it jumps to VOD, the encryption is clearly declared as CBCS, and the AUDIO/VIDEO Streams are also properly detected as it should be
    Image
    [Attachment 73553 - Click to enlarge]


    For sure the URL remains the same:
    https://tv.apple.com/cl/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2z...2i5w7w0x08kpav

    but license server now is:
    https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest

    also MPD changes when the content jumps to VOD
    https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlis...ub=accepts-css

    Now the audio streams is properly detected as audio, and decrypted by the new KEY (l3)



    So now..

    If anyone wants to try a LIVE decryption again.. the following is the current video that is still under the "LIVE content" server

    URL:
    https://tv.apple.com/cl/sporting-event/inter-miami-cf-vs-nashville-sc/umc.cse.4bjx8bn3...d=tvs.sbd.7000

    PSSH:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEIL2pz OPATDJjI2Y6aNQuYdI88aJmwY=

    LIVE license server
    https://linear.tv.apple.com/v1/hls/streaming-key-delivery

    MPD:
    https://linear.tv.apple.com/v1/hls/playlist.m3u8?serviceId=tvs.vds.7422&referenceId=um...ub=accepts-css

    KEY (l3)
    --key 82f6a7338f0130c98c8d98e9a350b987:0de48627d67af7933 fe142801af70d67

    And you can see, the Audio stream isn't properly detected as audio, and the encryption is "unknown"
    Image
    [Attachment 73555 - Click to enlarge]



    If anyone wants to help... will be greatly appreciated.
    Regards

  8. Education Student (Grad.) CrymanChen's Avatar
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    To make things clear, I wanna ask that do you want to decrypt the video and audio using the key you got?
    I didn't have the premium to stream the full replay, so I just checked the summary.
    Image
    [Attachment 73564 - Click to enlarge]

    Or the full replay used different techniques as summaries do?
    twitter @Cryman_Chen
    email crymanchen@gmail.com

  9. Originally Posted by CrymanChen View Post
    To make things clear, I wanna ask that do you want to decrypt the video and audio using the key you got?
    I didn't have the premium to stream the full replay, so I just checked the summary.
    Image
    [Attachment 73564 - Click to enlarge]

    Or the full replay used different techniques as summaries do?
    I will answer each question:

    To make things clear, I wanna ask that do you want to decrypt the video and audio using the key you got?
    As far as I checked, from the Keys that I get based on a L3 CDM, only works for me the Key that is for Audio Stream from VOD license server (https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest). The other key also got (because in VOD there are 2 PSSH, so 2 Keys) supposed for Video stream, doesn't work for me to decrypt..

    When the stream comes from the LIVE content license server (https://linear.tv.apple.com/v1/hls/streaming-key-delivery) you only get 1 PSSH, and only 1 Key.
    In that case, the stream header for video or audio is not recognized, and the encryption is also not recognized. So no decryption at all.


    Or the full replay used different techniques as summaries do?

    The summaries are under VOD license server, so you get 2 pssh, 2 keys.
    Again, from my side I only use L3 CDM to get the keys, and from that path, only one of those keys works for me only to decrypt audio stream.

    My issue is when the streams are still in the LIVE license server as I have explained from my first post.

    Anyway.. and I would like to ask:
    how do you decrypted the video from summary? by using L1 or only L3 cdm?
    Did you get the same keys as me??, I checked the following "summary" (in english language) that is under VOD license server.

    URL: https://tv.apple.com/cl/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2z...d=tvs.sbd.7000

    MPD: https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlis...ub=accepts-css

    PSSH (for Audio, properly decrypted)
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAA AkwT7pYzYgICAgICBI88aJmwY=
    --key 0000000024c13ee96336202020202020:275af31b2e1edba91 7431881645947e7

    PSSH (for video, can't decrypt it)
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAA AkwT7pYzE0ICAgICBI88aJmwY=
    --key 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5



    Any help for all my doubts will be great!
    Thanks!
    Last edited by Bellower; 31st Aug 2023 at 14:45.

  10. Education Student (Grad.) CrymanChen's Avatar
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Some information for you to check:
    URL:
    Code:
    https://tv.apple.com/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2zfpg1kfbcy2i5w7w0x08kpav?ctx_brand=tvs.sbd.7000
    HLS manifest (.m3u8):
    Code:
    https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css
    License URL:
    Code:
    https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest
    PSSH:
    Code:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAAAkwT7pYzYgICAgICBI88aJmwY=
    Key: 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    I used this key to decrypt the video I posted above.
    twitter @Cryman_Chen
    email crymanchen@gmail.com

  11. Originally Posted by CrymanChen View Post
    Some information for you to check:
    URL:
    Code:
    https://tv.apple.com/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2zfpg1kfbcy2i5w7w0x08kpav?ctx_brand=tvs.sbd.7000
    HLS manifest (.m3u8):
    Code:
    https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css
    License URL:
    Code:
    https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest
    PSSH:
    Code:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAAAkwT7pYzYgICAgICBI88aJmwY=
    Key: 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    I used this key to decrypt the video I posted above.

    What program do you use?
    Because in my navigator when i put the keys dont work

  12. Originally Posted by CrymanChen View Post
    Some information for you to check:
    URL:
    Code:
    https://tv.apple.com/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2zfpg1kfbcy2i5w7w0x08kpav?ctx_brand=tvs.sbd.7000
    HLS manifest (.m3u8):
    Code:
    https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css
    License URL:
    Code:
    https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest
    PSSH:
    Code:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAAAkwT7pYzYgICAgICBI88aJmwY=
    Key: 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    I used this key to decrypt the video I posted above.

    Hi

    As you can see we got the same KEY but you got the key for VIDEO by the PSSH that I used to get the KEY for AUDIO


    Your information:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAA AkwT7pYzYgICAgICBI88aJmwY=
    Key: 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    My Information:
    PSSH (for Audio, properly decrypted)
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAA AkwT7pYzYgICAgICBI88aJmwY=
    --key 0000000024c13ee96336202020202020:275af31b2e1edba91 7431881645947e7

    PSSH (for video, can't decrypt it)
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAA AkwT7pYzE0ICAgICBI88aJmwY=
    --key 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5


    So 2 questions:
    1) For the summary you also got 2 PSSH, right? (did you check the CONSOLE with EME logger, right? they are there)
    Image
    [Attachment 73584 - Click to enlarge]

    2) Which process you made to use the Video Key to decrypt the Summary Video stream? Did you decrypt with your key the video stream only? or with the same Key did you decrypted video+audio streams at the same time?

    Thanks for your feedback and support.


    PD:
    I've have use

    N_m3u8DL-RE "https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=CL&svcId=tvs.vds.7222&a=170451468 8&isExternal=true&brandId=tvs.sbd.7000&id=61664432 9&l=es-MX&aec=HD&webbrowser=true&xapsub=accepts-css" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --header "Referer: https://tv.apple.com/" --save-name "playlist" --use-shaka-packager --key 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    And whatever video stream that I choose, it remains encrypted


    If I use the following, only Audio gets decrypted:

    N_m3u8DL-RE "https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=CL&svcId=tvs.vds.7222&a=170451468 8&isExternal=true&brandId=tvs.sbd.7000&id=61664432 9&l=es-MX&aec=HD&webbrowser=true&xapsub=accepts-css" --header "User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0" --header "Referer: https://tv.apple.com/" --save-name "playlist" --use-shaka-packager --key 0000000024c13ee96336202020202020:275af31b2e1edba91 7431881645947e7


    Regards
    Last edited by Bellower; 1st Sep 2023 at 08:09.

  13. Hi..
    Any suggestion?

  14. Don't know where @CrymanChen get the key(0000000024c13ee96331342020202020:5cc7c369adfe6 4416b0f9d7f6a5c60c5), but pretty sure it is not working at all, even audio remains decrypted. If you really want to help others, you should explain more details like tools and codes you adopted, not just provide a useless result.

    Originally Posted by CrymanChen View Post
    Some information for you to check:
    URL:
    Code:
    https://tv.apple.com/sporting-event/new-york-red-bulls-vs-inter-miami-cf/umc.cse.2zfpg1kfbcy2i5w7w0x08kpav?ctx_brand=tvs.sbd.7000
    HLS manifest (.m3u8):
    Code:
    https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css
    License URL:
    Code:
    https://play.itunes.apple.com/WebObjects/MZPlay.woa/wa/fpsRequest
    PSSH:
    Code:
    AAAAOHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAABgSEAAAAAAkwT7pYzYgICAgICBI88aJmwY=
    Key: 0000000024c13ee96331342020202020:5cc7c369adfe64416 b0f9d7f6a5c60c5

    I used this key to decrypt the video I posted above.

  15. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by vhfycnm View Post
    key(0000000024c13ee96331342020202020:5cc7c369adfe6 4416b0f9d7f6a5c60c5), but pretty sure it is not working at all, even audio remains decrypted. If you really want to help others, you should explain more details like tools and codes you adopted, not just provide a useless result.
    Just because you can't make sense of what other people post, that doesn't invalidate their contributions when you're the one at fault. The key he posted is only for video track. So of course audio remains encrypted. The key he posted is also limited due to his L3 so of course video remains encrypted for 1080p. 720p works fine. For audio, the key posted by @bellower in post #14 works fine.

    The only issue is that for some reason N_m3u8DL-RE can't decrypt both tracks at once. Just download separately and mux manually later.

    Code:
    N_m3u8DL-RE "https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css" --key 0000000024c13ee96331342020202020:5cc7c369adfe64416b0f9d7f6a5c60c5 -sv res="720*":for=best -M format=mkv
    
    N_m3u8DL-RE "https://play-edge.itunes.apple.com/WebObjects/MZPlayLocal.woa/hls/subscription/playlist.m3u8?cc=US&svcId=tvs.vds.7305&a=1704514688&isExternal=true&brandId=tvs.sbd.7000&id=616644329&l=en-US&aec=HD&webbrowser=true&xapsub=accepts-css" --key 0000000024c13ee96336202020202020:275af31b2e1edba917431881645947e7 -sa best -M format=mkv
    You also should be careful when copying keys that aren't placed in code blocks. There are random spaces added in them.

    https://www.transfernow.net/dl/20240830Uqwxocy6

    Also, isn't tv apple paid streaming? Or it's free in special cases?
    --[----->+<]>.++++++++++++.---.--------.
    [*drm mass downloader: widefrog*]~~~[*how to make your own mass downloader: guide*]

  16. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    That is not free. So this is now closed.




Similar Threads

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