VideoHelp Forum
+ Reply to Thread
Results 1 to 10 of 10
Thread
  1. Hi.

    I'd like to download subtitles from here: https://gem.cbc.ca/media/moonshine/s01e03 (https://cbcrcott-gem.akamaized.net/a284f34f-81ef-499c-9e1d-0b0e27365e71/CBC_MOONSHINE_...op_master.m3u8) using ffmpeg.
    Does anyone know the exact codec argument that I need to use?

    By the way, I'm newbie, please go easy on me.

    Thanks in advance!
    Quote Quote  
  2. I tried but I couldn't find out the solution. I suppose they pass caption (in .webvtt ?) trough javascript and then display it as text.
    But I am happy to leave this in someone else capable hands.
    Quote Quote  
  3. The message you have entered is too short. Please lengthen your message to at least 2 characters.
    Image Attached Files
    Quote Quote  
  4. [ss]vegeta can you share your way to grab the subtitles?
    Thank you.
    Quote Quote  
  5. Originally Posted by Niv-mizzet View Post
    [ss]vegeta can you share your way to grab the subtitles?
    Thank you.
    No, I turned into LZAA.

    Nah, I'm kidding. Never!

    But, I'll wait a few days, I know someone else will figure it out.
    It's not that complicated.
    If no one explains, I will eventually.
    Quote Quote  
  6. Originally Posted by Niv-mizzet View Post
    I tried but I couldn't find out the solution. I suppose they pass caption (in .webvtt ?) trough javascript and then display it as text.
    But I am happy to leave this in someone else capable hands.
    Thanks for trying
    Quote Quote  
  7. Originally Posted by [ss]vegeta View Post
    The message you have entered is too short. Please lengthen your message to at least 2 characters.
    Originally Posted by [ss]vegeta View Post
    Originally Posted by Niv-mizzet View Post
    [ss]vegeta can you share your way to grab the subtitles?
    Thank you.
    No, I turned into LZAA.

    Nah, I'm kidding. Never!

    But, I'll wait a few days, I know someone else will figure it out.
    It's not that complicated.
    If no one explains, I will eventually.
    Great! Thanks a lot, [ss]vegeta.
    Could you please tell me how you did it?
    Quote Quote  
  8. Originally Posted by JohnReese View Post
    Could you please tell me how you did it?
    Well, you got me with avatar, Limbo is one of my favorite games, so I will not wait a few days.

    Download one of the video streams (preferably the lowest quality one, for faster download and less size because we don't really care for the quality now, we want the subtitles, don't we?)
    Code:
    ytdlp.exe --allow-u --external-downloader aria2c -f 621 "https://cbcrcott-gem.akamaized.net/a284f34f-81ef-499c-9e1d-0b0e27365e71/CBC_MOONSHINE_S01E03.ism/desktop_master.m3u8?hdnea=st=1633161008~exp=1633161128~acl=*~hmac=2d51b493c4002c51d5601f2222767daea1ca2b457f413403fe8d92890f7239ec" -o cbc.ts
    For this code to work you will need ytdlp, aria2c and ffmpeg in the same folder. Download them if you don't have them. aria2c is for faster downloading.
    It's important to download it as a .ts file.
    Then use ffmpeg with this command
    Code:
    ffmpeg -f lavfi -i movie=cbc.ts[out+subcc]  -map 0:1  output.srt
    This will give you the srt.
    The srt however will have some weird formatting and what-not, and you will need to fix that with Subtitle Edit or any program that has a find and replace function.
    Replace <font face="Monospace">{\an7} with nothing.
    Replace </font> with nothing.
    Replace \h with nothing.
    Quote Quote  
  9. Oh, really not that complicated...
    I didn't try to download the video because in the manifest there wasn't any subtitle track description... my fault!

    Thank you for sharing!
    Quote Quote  
  10. Originally Posted by [ss]vegeta View Post
    Originally Posted by JohnReese View Post
    Could you please tell me how you did it?
    Well, you got me with avatar, Limbo is one of my favorite games, so I will not wait a few days.

    Download one of the video streams (preferably the lowest quality one, for faster download and less size because we don't really care for the quality now, we want the subtitles, don't we?)
    Code:
    ytdlp.exe --allow-u --external-downloader aria2c -f 621 "https://cbcrcott-gem.akamaized.net/a284f34f-81ef-499c-9e1d-0b0e27365e71/CBC_MOONSHINE_S01E03.ism/desktop_master.m3u8?hdnea=st=1633161008~exp=1633161128~acl=*~hmac=2d51b493c4002c51d5601f2222767daea1ca2b457f413403fe8d92890f7239ec" -o cbc.ts
    For this code to work you will need ytdlp, aria2c and ffmpeg in the same folder. Download them if you don't have them. aria2c is for faster downloading.
    It's important to download it as a .ts file.
    Then use ffmpeg with this command
    Code:
    ffmpeg -f lavfi -i movie=cbc.ts[out+subcc]  -map 0:1  output.srt
    This will give you the srt.
    The srt however will have some weird formatting and what-not, and you will need to fix that with Subtitle Edit or any program that has a find and replace function.
    Replace <font face="Monospace">{\an7} with nothing.
    Replace </font> with nothing.
    Replace \h with nothing.
    Thanks a lot for talking me through this, [ss]vegeta! Really appreciate it!
    Quote Quote  



Similar Threads

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