VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Member
    Join Date
    Apr 2021
    Location
    Sweden
    Search Comp PM
    Hello!

    I am able to get the video files from cmore.se using two different software but there are no option to download the swedish subtitles with these programs, is there a way to get subtitles with other programs or methods? Any help will be appreciated.

    Best regards, LabbeKga
    Quote Quote  
  2. I finally managed to extract subtitles from cmore using svtplay-dl!

    Download and extract to a folder:
    https://svtplay-dl.se/

    Open a command prompt in the svtplay-dl folder.

    Use Win+R to run CMD.
    At the command prompt, type cd \your_path_to_svtplay-dl

    Then you need these options:
    -S download subtitle
    --force-subtitle download only subtitle if its used with -S, i.e. do not download video.
    --all-subtitles download all available subtitles for the video. Otherwise only the first subtitle language
    will be downloaded, which may not be the one you want.

    You also need the URL of the video. But the URL you get on the cmore site will not work.
    This can not be used:
    Code:
    https://www.cmore.se/movie/m-9........
    Instead, you need a link to the videos mpd-file.

    Some background info for the curious minded:
    https://fileinfo.com/extension/mpd#mpeg-dash_media_presentation_description

    To find the mpd-file, use this .MPD Detector extension for Chrome:
    https://chrome.google.com/webstore/detail/mpd-detector/lpoohbdbmggiknlpcmhhdkpaclfcdapk

    Start playing the movie in Chrome, then click the .MPD Detector, and it will give you a long link
    starting with https://lbs-usp-dash-vod.cmore.se/vod/... and ending with ...something).mpd

    This mpd-file can probably be edited (it is in XML format) to include only the subtitle you want,
    in order to avoid downloading all of them. But that is another story...

    Back at the command prompt, the whole command will be:
    Code:
    svtplay-dl.exe -S --force-subtitle --all-subtitles https://lbs-usp-dash-vod.cmore.se/vod/......something).mpd
    This will take several minutes to run! Nothing much seems to be happening, but eventually,
    some .srt files start to show up. For me, it takes about three minutes per subtitle.
    Code:
    INFO: Outfile: .........usp.ism-raw.da.srt
    These files end up where you started, in the svtplay-dl folder.

    The format is not fully compliant, it seems? The time stamps look like this,
    and have a point where it should be a comma:
    Code:
    00:00:04.480
    This is what it should look like:
    Code:
    00:00:04,480
    This can easily be fixed just by opening the file in Subtitle Edit and saving it.
    https://www.nikse.dk/subtitleedit
    https://github.com/SubtitleEdit/subtitleedit/releases
    Quote Quote  
  3. Originally Posted by LabbeKga View Post
    I am able to get the video files from cmore.se using two different software
    Can you please explain what "two different software" you are using to download the video from cmore?
    I'm using Audials One, but it takes a long time since it has to play in realtime...
    Quote Quote  
  4. @HondaTypeS, excellent write up. Can I make a few suggestions?

    1) instead of .MPD Detector extension for Chrome use The stream detector
    https://www.videohelp.com/software/The-Stream-Detector


    2) To change from 00:00:04.480 to 00:00:04,480 use a program with regex such as notepad++, sed or awk (all free)


    3)
    I'm using Audials One, but it takes a long time since it has to play in realtime...

    Definitely don't use that audials program. Use yt-dlp together with the mpd link that you referred to. Download is as much as ten times faster especially if you use the aria2c flag.


    Also, yt-dlp has the feature to download the subtitles, thereby negating the need for svtplay.
    Quote Quote  
  5. @jack_666 Thanks!

    1) The stream detector seems to be a bit more capable than the .MPD Detector. Not expected to work with Chrome, though, only Firefox.

    2) Well, for this particular problem, replacing the points with commas, it can not be easier than with Subtitle Edit (also free)! You literally just open the file with Subtitle Edit (right click, open with...) and immediately click the save button. Ready! Close Subtitle Edit.
    No need for regex black magic...

    3) Problem is that cmore uses DRM... I've read about the whole process with creating a CDM, extracting keys and decrypting. Seems a real pain in the..? I guess once you master it, it's easy? But it probably takes quite an effort to get there...
    Quote Quote  



Similar Threads

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