VideoHelp Forum




+ Reply to Thread
Results 1 to 19 of 19
  1. Hi eveybody

    I would like to download videos from canalplus (french), they do many politics debate that they unfortunately remove very fast (unlike most of other french channels)

    So, I would love to know how to download videos from their site

    Here is a link for example :

    https://www.canalplus.com/divertissement/le-gros-clash-dans-balance-ton-post-entre-eri...17338596_50013

    I tried everything, nothing worked...

    Thank you very much
    Quote Quote  
  2. Code:
    yt-dlp  -F  https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    Code:
    yt-dlp  -f Video-3400+audio_fre-128  https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    Code:
    ffmpeg -i your_file.ismv -codec copy output.mp4
    Quote Quote  
  3. @ mister_ nex
    you have forget to give key

    @ ElMagnificato
    need login to play video
    Quote Quote  
  4. Originally Posted by lomero View Post
    @ mister_ nex
    you have forget to give key

    @ ElMagnificato
    need login to play video
    No, this video on canalplus website is not encrypted. Some videos are widevine encrypted on mycanal, other are not. For replays like this (C8), videos are not encrypted.


    @ElMagnificato

    A simple way to download NON ENCRYPTED videos on mycanal :

    1. Download yt-dlp and ffmpeg on your PC, and put both in the same folder (let's call it "mycanal")
    2. Open Notepad (Notepad++ ou Bloc-notes) and paste the following script :

    Code:
    @echo off
    
    set /p episode=  "File name (without extension) : "
    set /p url_manifest=  "Manifest .mpd or .ism URL : "
    
    yt-dlp -f best --allow-unplayable-formats "%url_manifest%" -o video_decrypted.mp4
    yt-dlp -f bestaudio --allow-unplayable-formats "%url_manifest%" -o audio_encrypted.mp4
    
    ffmpeg -i video_decrypted.mp4 -i audio_decrypted.mp4 -c:v copy -c:a ac3 %episode%.mkv && del video_encrypted.mp4 video_decrypted.mp4 audio_encrypted.mp4 audio_decrypted.mp4 
    
    pause
    3. Save the file as .bat INTO THE SAME FOLDER "mycanal"

    4. Open the .bat file, and enter the file name and your video's .ism URL

    5. Amuse-toi
    Last edited by mathieuthibault; 11th Dec 2021 at 16:10.
    Quote Quote  
  5. fair observation @mathieuthibault.
    in fact i did not download the video, nor checked if it had DRM. mine was just a bad joke ...
    thanks for your clarification.
    Quote Quote  
  6. https://forum.videohelp.com/threads/403981-How-to-download-videos-from-Canalplus#post2639899

    tried to use your batch file but I get an error

    Code:
    D:\video>download_ism_manifest.bat
    File name (without extension) : my_video
    Manifest .mpd or .ism URL : https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
             If you experience any issues while using this option, DO NOT open a bug report
    [generic] manifest: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] manifest: Downloading webpage
    [generic] manifest: Extracting information
    ERROR: [generic] manifest: Requested format is not available
    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 7.1.0 (GCC)
      configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    video_decrypted.mp4: No such file or directory
    maybe I'm doing something wrong ?
    Quote Quote  
  7. Change "-f best" to "-f best*"
    Quote Quote  
  8. Originally Posted by achilles View Post
    Change "-f best" to "-f best*"
    Thanks for help , but downloaded only а video.

    Code:
    D:\video>download_ism_manifest.bat
    File name (without extension) : my_video
    Manifest .mpd or .ism URL : https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    WARNING: You have asked for UNPLAYABLE formats to be listed/downloaded. This is a developer option intended for debugging.
             If you experience any issues while using this option, DO NOT open a bug report
    [generic] manifest: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] manifest: Downloading webpage
    [generic] manifest: Extracting information
    [info] manifest: Downloading 1 format(s): Video-3400
    [ism] Total fragments: 58
    [download] Destination: video_decrypted.mp4
    [download] 100% of 46.05MiB in 01:43
    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 7.1.0 (GCC)
      configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'video_decrypted.mp4':
      Metadata:
        major_brand     : isml
        minor_version   : 1
        compatible_brands: piffiso2
        creation_time   : 2021-12-11T18:39:06.000000Z
      Duration: 00:01:55.35, start: 0.000000, bitrate: 3348 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 3345 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc (default)
        Metadata:
          creation_time   : 2021-12-11T18:39:06.000000Z
          handler_name    : VideoHandler
    audio_decrypted.mp4: No such file or directory
    MediaInfo
    Code:
    General
    Complete name               : D:\video\video_decrypted.mp4
    Format                      : MPEG-4
    Format profile              : ISML
    Codec ID                    : isml (piff/iso2)
    Codec ID/Hint               : IIS Smooth Streaming file format
    File size                   : 46.0 MiB
    Duration                    : 1 min 55 s
    Overall bit rate mode       : Constant
    Overall bit rate            : 3 350 kb/s
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 2 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 2 frames
    Format settings, GOP        : M=1, N=50
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 1 min 55 s
    Bit rate mode               : Constant
    Bit rate                    : 3 400 kb/s
    Width                       : 1 280 pixels
    Height                      : 720 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 25.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.148
    Stream size                 : 46.0 MiB (100%)
    Color range                 : Limited
    Color primaries             : BT.709
    Transfer characteristics    : BT.709
    Matrix coefficients         : BT.709
    Codec configuration box     : avcC
    P.S. And I would like to have the opportunity to choose another resolution
    Last edited by mister_ nex; 11th Dec 2021 at 13:08.
    Quote Quote  
  9. Originally Posted by mathieuthibault View Post
    Originally Posted by lomero View Post
    @ mister_ nex
    you have forget to give key

    @ ElMagnificato
    need login to play video
    No, this video on canalplus website is not encrypted. Some videos are widevine encrypted on mycanal, other are not. For replays like this (C8), videos are not encrypted.


    @ElMagnificato

    A simple way to download NON ENCRYPTED videos on mycanal :

    1. Download yt-dlp and ffmpeg on your PC, and put both in the same folder (let's call it "mycanal")
    2. Open Notepad (Notepad++ ou Bloc-notes) and paste the following script :

    Code:
    @echo off
    
    set /p episode=  "File name (without extension) : "
    set /p url_manifest=  "Manifest .mpd or .ism URL : "
    
    yt-dlp -f best --allow-unplayable-formats "%url_manifest%" -o video_decrypted.mp4
    
    ffmpeg -i video_decrypted.mp4 -i audio_decrypted.mp4 -c:v copy -c:a ac3 %episode%.mkv && del video_encrypted.mp4 video_decrypted.mp4 audio_encrypted.mp4 audio_decrypted.mp4 
    
    pause
    3. Save the file as .bat INTO THE SAME FOLDER "mycanal"

    4. Open the .bat file, and enter the file name and your video's .ism URL

    5. Amuse-toi

    Good idea to simplify, I tested it but it only downloads the video
    I tried by changing the values of "yt-dlp -f best --allow-unplayable-formats" en "yt-dlp --allow-u" so that it takes the 2 tracks well but suddenly there is a problem for the renaming of the file
    Quote Quote  
  10. In terms of the script, I suppose you can just get rid of the -f and just let yt-dlp do the default and get what it thinks is the best video/audio combination. It's apparently not encrypted so you can just use this:

    Code:
    yt-dlp "%url_manifest%" -o "%episode%.%%(ext)s"
    ffmpeg -i %episode%.ismv -codec copy %episode%.mp4
    If you want to select your own formats, then what you put in post #2 works well.
    Quote Quote  
  11. Everything is fine , it turned out great

    Batch file

    Code:
    @echo off
    
    set /p episode=  "File name (without extension) : "
    set /p url_manifest=  "Manifest .mpd or .ism URL : "
    
    yt-dlp "%url_manifest%" -o "%episode%.%%(ext)s"
    
    ffmpeg -i %episode%.ismv -codec copy %episode%.mp4
    
    
    pause
    Code:
    D:\video>download_ism_manifest_fixed.bat
    File name (without extension) : my_video
    Manifest .mpd or .ism URL :  https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    [generic] manifest: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] manifest: Downloading webpage
    [generic] manifest: Extracting information
    [info] manifest: Downloading 1 format(s): Video-3400+audio_fre-128
    [ism] Total fragments: 58
    [download] Destination: my_video.fVideo-3400.ismv
    [download] 100% of 46.05MiB in 01:49
    [ism] Total fragments: 58
    [download] Destination: my_video.faudio_fre-128.isma
    [download] 100% of 1.81MiB in 00:35
    [Merger] Merging formats into "my_video.ismv"
    Deleting original file my_video.faudio_fre-128.isma (pass -k to keep)
    Deleting original file my_video.fVideo-3400.ismv (pass -k to keep)
    ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
      built with gcc 7.1.0 (GCC)
      configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
      libavutil      55. 58.100 / 55. 58.100
      libavcodec     57. 89.100 / 57. 89.100
      libavformat    57. 71.100 / 57. 71.100
      libavdevice    57.  6.100 / 57.  6.100
      libavfilter     6. 82.100 /  6. 82.100
      libswscale      4.  6.100 /  4.  6.100
      libswresample   2.  7.100 /  2.  7.100
      libpostproc    54.  5.100 / 54.  5.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'my_video.ismv':
      Metadata:
        major_brand     : isml
        minor_version   : 512
        compatible_brands: piff
        encoder         : Lavf57.71.100
      Duration: 00:01:55.35, start: 0.000000, bitrate: 3536 kb/s
        Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 3346 kb/s, 25 fps, 25 tbr, 10000k tbn, 50 tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #0:1(fre): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    Output #0, mp4, to 'my_video.mp4':
      Metadata:
        major_brand     : isml
        minor_version   : 512
        compatible_brands: piff
        encoder         : Lavf57.71.100
        Stream #0:0(und): Video: h264 (High) ([33][0][0][0] / 0x0021), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 3346 kb/s, 25 fps, 25 tbr, 10000k tbn, 10000k tbc (default)
        Metadata:
          handler_name    : VideoHandler
        Stream #0:1(fre): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 127 kb/s (default)
        Metadata:
          handler_name    : SoundHandler
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    frame= 2883 fps=0.0 q=-1.0 Lsize=   48981kB time=00:01:55.32 bitrate=3479.2kbits/s speed=1.48e+003x
    video:47114kB audio:1802kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.132110%
    MediaInfo
    Code:
     General
    Complete name               : D\video\my_video.mp4
    Format                      : MPEG-4
    Format profile              : Base Media
    Codec ID                    : isom (isom/iso2/avc1/mp41)
    File size                   : 47.8 MiB
    Duration                    : 1 min 55 s
    Overall bit rate mode       : Constant
    Overall bit rate            : 3 479 kb/s
    Writing application         : Lavf57.71.100
    
    Video
    ID                          : 1
    Format                      : AVC
    Format/Info                 : Advanced Video Codec
    Format profile              : High@L3.1
    Format settings             : CABAC / 2 Ref Frames
    Format settings, CABAC      : Yes
    Format settings, Reference  : 2 frames
    Format settings, GOP        : M=1, N=50
    Codec ID                    : avc1
    Codec ID/Info               : Advanced Video Coding
    Duration                    : 1 min 55 s
    Bit rate mode               : Constant
    Bit rate                    : 3 400 kb/s
    Width                       : 1 280 pixels
    Height                      : 720 pixels
    Display aspect ratio        : 16:9
    Frame rate mode             : Constant
    Frame rate                  : 25.000 FPS
    Color space                 : YUV
    Chroma subsampling          : 4:2:0
    Bit depth                   : 8 bits
    Scan type                   : Progressive
    Bits/(Pixel*Frame)          : 0.148
    Stream size                 : 46.0 MiB (96%)
    Color range                 : Limited
    Color primaries             : BT.709
    Transfer characteristics    : BT.709
    Matrix coefficients         : BT.709
    Codec configuration box     : avcC
    
    Audio
    ID                          : 2
    Format                      : AAC LTP
    Format/Info                 : Advanced Audio Codec
    Codec ID                    : mp4a-40-4
    Duration                    : 1 min 55 s
    Bit rate mode               : Constant
    Bit rate                    : 128 kb/s
    Channel(s)                  : 4 channels
    Channel layout              : C L R Cb
    Sampling rate               : 64.0 kHz
    Frame rate                  : 62.500 FPS (1024 SPF)
    Compression mode            : Lossy
    Stream size                 : 1.76 MiB (4%)
    Language                    : French
    Default                     : Yes
    Alternate group             : 1
    Is it possible to change the batch file to be able to choose resolution ?
    Last edited by mister_ nex; 11th Dec 2021 at 15:32.
    Quote Quote  
  12. Originally Posted by STRiCK3R View Post
    Originally Posted by mathieuthibault View Post
    Originally Posted by lomero View Post
    @ mister_ nex
    you have forget to give key

    @ ElMagnificato
    need login to play video
    No, this video on canalplus website is not encrypted. Some videos are widevine encrypted on mycanal, other are not. For replays like this (C8), videos are not encrypted.


    @ElMagnificato

    A simple way to download NON ENCRYPTED videos on mycanal :

    1. Download yt-dlp and ffmpeg on your PC, and put both in the same folder (let's call it "mycanal")
    2. Open Notepad (Notepad++ ou Bloc-notes) and paste the following script :

    Code:
    @echo off
    
    set /p episode=  "File name (without extension) : "
    set /p url_manifest=  "Manifest .mpd or .ism URL : "
    
    yt-dlp -f best --allow-unplayable-formats "%url_manifest%" -o video_decrypted.mp4
    
    ffmpeg -i video_decrypted.mp4 -i audio_decrypted.mp4 -c:v copy -c:a ac3 %episode%.mkv && del video_encrypted.mp4 video_decrypted.mp4 audio_encrypted.mp4 audio_decrypted.mp4 
    
    pause
    3. Save the file as .bat INTO THE SAME FOLDER "mycanal"

    4. Open the .bat file, and enter the file name and your video's .ism URL

    5. Amuse-toi

    Good idea to simplify, I tested it but it only downloads the video
    I tried by changing the values of "yt-dlp -f best --allow-unplayable-formats" en "yt-dlp --allow-u" so that it takes the 2 tracks well but suddenly there is a problem for the renaming of the file
    Oops... My mistake, I forgot the following line in my first post :

    Code:
    yt-dlp -f bestaudio --allow-unplayable-formats "%url_manifest%" -o audio_encrypted.mp4
    That's why you only got video downloaded, not audio.
    I edited the first post and added the missing line.
    Quote Quote  
  13. Originally Posted by mister_ nex View Post
    Is it possible to change the batch file to be able to choose resolution ?
    Yes. For example, if you want 720p resolution, replace the downloading line by :

    Code:
    yt-dlp -f bestvideo -S "res:720" --allow-unplayable-formats "%url_manifest%" -o video_encrypted.mp4
    Quote Quote  
  14. @mathieuthibault,

    That's it I took the opportunity to add the mp4decrypt option so I enter the url, the key, a file title and it takes care of everything for a ready-to-use video file
    Quote Quote  
  15. Originally Posted by mathieuthibault View Post

    Code:
    --allow-unplayable-formats
    Since the last 2 releases of yt-dlp this can be shortened to:

    Code:
    --allow-u
    Quote Quote  
  16. Originally Posted by STRiCK3R View Post
    @mathieuthibault,

    That's it I took the opportunity to add the mp4decrypt option so I enter the url, the key, a file title and it takes care of everything for a ready-to-use video file
    That's exactly what I did until now (batch with yt-dlp, mp4decrypt and ffmpeg), when we were able to get widevine protected canalplus video keys

    @codehound

    Thanks, I wasn't aware of this
    Quote Quote  
  17. @mister_ nex
    P.S. And I would like to have the opportunity to choose another resolution

    (the ffmpeg command is not needed, I used rename instead)

    choose resolution:
    Code:
    @echo off
    :here
    set /p episode=  "File name (without extension) : "
    echo.
    set /p url_manifest=  "Manifest .mpd or .ism URL : "
    echo.
    echo res: 360 480 540 720 1080
    echo.
    set /p resolution="example: type 540 and Enter: "
    echo.
    yt-dlp -S "res:%resolution%" "%url_manifest%" -o "%episode%.%%(ext)s"
    rename "%episode%.*" "%episode%.mp4"
    if not exist "Finished" mkdir Finished
    move "%episode%.mp4" "Finished\%episode%.mp4"
    echo.
    echo ------------------------------------------------
    echo.
    goto here

    Code:
    tested links:
    
    https://hssodcplus-s.akamaihd.net/ondemand/playready/canalplus/d8/d8_1258258_15_D8/1115344/d8-1258258-15-D8.ism/manifest
    
    https://hssodcplus-s.akamaihd.net/ondemand/playready/wildmoka/d8wimo/wildmoka.com_1120651928291/1047841/wildmoka-com-1120651928291.ism/manifest
    just be careful not to give the .bat file the same name as the video
    Quote Quote  
  18. I thank everyone who responded and helped to deal with this script.
    Quote Quote  



Similar Threads

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