VideoHelp Forum
+ Reply to Thread
Results 1 to 21 of 21
Thread
  1. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Is there a way to get these without having a Premium account? I can download the 720p videos fine, but I can't upgrade to Premium because my bank card doesn't have a CA billing address. If being actually logged in/sending Premium credentials is necessary, then I'm dead in the water, but if it's just a question of a different link structure...
    Or, alternatively, does anyone know of a solution for the card billing address issue?

    EDIT: It seems that with CBC GEM, all you have to do is literally enter the url of the episode/movie into yt-dlp as input and it grabs the 1080p stream.

    EDIT2: A different problem - the above mentioned method grabs only stereo 192k audio, but there are 5.1 384k streams, like in BTN's rip of Dragon's Den S15E01 which aren't available through this method. Any ideas on how to get that one? Or is it a premium-only feature?
    Last edited by ampersand; 25th Feb 2023 at 23:54.
    Quote Quote  
  2. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Seems as though CBC has made a change overnight. I no longer can get the 1080p streams. The player video quality cog shows 'Low' and 'Average' but the 'High/1080p' is greyed out.
    Quote Quote  
  3. Follow this issue on the yt-dlp github regarding cbc gem changes, no fix yet - https://github.com/yt-dlp/yt-dlp/issues/6395
    Quote Quote  
  4. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Originally Posted by Halifan View Post
    Follow this issue on the yt-dlp github regarding cbc gem changes, no fix yet - https://github.com/yt-dlp/yt-dlp/issues/6395
    good, somebody found a fix: https://github.com/yt-dlp/yt-dlp/issues/6395#issuecomment-1462442492

    Just add /media/ after https://gem.cbc.ca/
    Quote Quote  
  5. Please for dummies such as myself please give instructions on how to download from CBC Gem. I do remember I tried that media trick at one point and it worked but either it doesn't work now or I have forgotten exactly how to get it. I usually go for 640 x 360 quality with English audio.

    Thank you in advance and if it is really complex I probably won't be able to accomplish it but I will try.
    Quote Quote  
  6. Member
    Join Date
    Dec 2020
    Location
    Croatia
    Search PM
    Originally Posted by Tom Saurus View Post
    Please for dummies such as myself please give instructions on how to download from CBC Gem. I do remember I tried that media trick at one point and it worked but either it doesn't work now or I have forgotten exactly how to get it. I usually go for 640 x 360 quality with English audio.

    Thank you in advance and if it is really complex I probably won't be able to accomplish it but I will try.
    cbc doesn't work with the current release of yt-dlp
    the fix will probably be added to the next release, the last one is from march though so who knows when they'll get around to it
    Quote Quote  
  7. ampersand: Thank you for your post.
    Quote Quote  
  8. Originally Posted by ampersand View Post
    Originally Posted by Tom Saurus View Post
    Please for dummies such as myself please give instructions on how to download from CBC Gem. I do remember I tried that media trick at one point and it worked but either it doesn't work now or I have forgotten exactly how to get it. I usually go for 640 x 360 quality with English audio.

    Thank you in advance and if it is really complex I probably won't be able to accomplish it but I will try.
    cbc doesn't work with the current release of yt-dlp
    the fix will probably be added to the next release, the last one is from march though so who knows when they'll get around to it

    The only way I found to download 1080p is using this command with yt-dlp

    Code:
    yt-dlp --username yourusername@mail.com --password xxxxxx --verbose --no-overwrites --write-sub -S "res:1080" 'https://gem.cbc.ca/media/the-nature-of-things/s60'
    Hope you enjoy your shows.
    Quote Quote  
  9. Originally Posted by mr_thamer View Post
    Originally Posted by ampersand View Post
    Originally Posted by Tom Saurus View Post
    Please for dummies such as myself please give instructions on how to download from CBC Gem. I do remember I tried that media trick at one point and it worked but either it doesn't work now or I have forgotten exactly how to get it. I usually go for 640 x 360 quality with English audio.

    Thank you in advance and if it is really complex I probably won't be able to accomplish it but I will try.
    cbc doesn't work with the current release of yt-dlp
    the fix will probably be added to the next release, the last one is from march though so who knows when they'll get around to it

    The only way I found to download 1080p is using this command with yt-dlp

    Code:
    yt-dlp --username yourusername@mail.com --password xxxxxx --verbose --no-overwrites --write-sub -S "res:1080" 'https://gem.cbc.ca/media/the-nature-of-things/s60'
    Hope you enjoy your shows.
    Thank you for your post; it is good to learn new things.
    Quote Quote  
  10. try the recompile version below
    Image Attached Files
    Quote Quote  
  11. I am happy with 540p any higher the files take up too much hard drive space. But it is good for those who desire 1080p can get it if they want.
    Quote Quote  
  12. Originally Posted by bmfexp View Post
    try the recompile version below
    Could you please post a Linux version, or at least the revised Python code for the extractor?
    Quote Quote  
  13. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    You can add this new extractor to your yt-dlp extractor folder. It's not perfect and seems to not mux the video and audio but that could just be my environment.
    Image Attached Files
    Quote Quote  
  14. Originally Posted by sipho View Post
    You can add this new extractor to your yt-dlp extractor folder. It's not perfect and seems to not mux the video and audio but that could just be my environment.
    Thank you for this, I do have one question though, how are you combining the audio and video, because every episode is failing for me. Failing to combine I mean.
    Quote Quote  
  15. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by Oldfart1234 View Post

    Thank you for this, I do have one question though, how are you combining the audio and video, because every episode is failing for me. Failing to combine I mean.
    I just use mkvtoolnix to mux them into a mkv container. Takes a few seconds.

    I'm sure the fix will be included in the next release of yt-dlp.
    Quote Quote  
  16. Originally Posted by sipho View Post
    Originally Posted by Oldfart1234 View Post

    Thank you for this, I do have one question though, how are you combining the audio and video, because every episode is failing for me. Failing to combine I mean.
    I just use mkvtoolnix to mux them into a mkv container. Takes a few seconds.

    I'm sure the fix will be included in the next release of yt-dlp.
    Well mkvtoolnix WILL combine them, it throws a TON of errors and there is always a glitch in every episode right at 35mins 35seconds, I have no idea why there, but that is also the EXACT spot that ffmpeg fails the merge in yt-dlp.
    Quote Quote  
  17. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    M3u8 link just Change “decktop” to “smarttv” for 1080p
    Quote Quote  
  18. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Originally Posted by iamghost View Post
    M3u8 link just Change “desktop” to “smarttv” for 1080p
    Nice work. The simple fixes are the best
    Quote Quote  
  19. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Been playing around with creating a standalone script today. For a site with such a simple and easy to use show/episode API, they have one of the most convoluted authentication flows I have seen.
    Quote Quote  
  20. I have had a problem today with CBC Gem via YT-DLP. The video seems to download but fails in the muxing stage and you end up with a 35 minute video instead of 44:10

    Code:
    Microsoft Windows [Version 10.0.22631.4317]
    (c) Microsoft Corporation. All rights reserved.
    
    C:\Users\sheld\Desktop\YT-DLP Video Downloader>yt-dlp --username  --password  --verbose --no-overwrites --write-sub -S "res:540"  https://gem.cbc.ca/media/heartland/s18e04
    [debug] Command-line config: ['--username', 'PRIVATE', '--password', 'PRIVATE', '--verbose', '--no-overwrites', '--write-sub', '-S', 'res:540', 'https://gem.cbc.ca/media/heartland/s18e04']
    [debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
    [debug] yt-dlp version stable@2024.10.22 from yt-dlp/yt-dlp [67adeb7ba] (win_exe)
    [debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
    [debug] exe versions: ffmpeg 6.1.1-full_build-www.gyan.dev (setts), ffprobe 6.1.1-full_build-www.gyan.dev
    [debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1
    [debug] Proxy map: {}
    [debug] Request Handlers: urllib, requests, websockets, curl_cffi
    [debug] Loaded 1839 extractors
    [debug] Using fake IP 99.226.169.81 (CA) as X-Forwarded-For
    [debug] Loading cbcgem.claims_token from cache
    [gem.cbc.ca] Extracting URL: https://gem.cbc.ca/media/heartland/s18e04
    [gem.cbc.ca] heartland/s18e04: Downloading JSON metadata
    [gem.cbc.ca] heartland/s18e04: Downloading JSON metadata
    [gem.cbc.ca] heartland/s18e04: Downloading m3u8 information
    [debug] Sort order given by user: res:540
    [debug] Formats sorted by: hasvid, ie_pref, res:540(540.0), lang, quality, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
    [debug] Default format spec: bestvideo*+bestaudio/best
    [info] heartland/s18e04: Downloading 1 format(s): hls-2191+hls-audio_2-English
    [info] There are no subtitles for the requested languages
    [debug] Invoking hlsnative downloader on "https://cbcrcott-aws-gem.akamaized.net/hdntl=exp=1729707252~acl=%2f*~data=hdntl~hmac=3b8c2f3e5b96445e96d483377d1575d679966eab0813925b289764d4b64894cf/out/v1/d6eccc4ae1ce4e1b861fc4f144d935c5/026bf27581e640c4b4fb78ae5aaa5021/4992c413374a4be4af23a7b5453f28df/436ea5bccb784b8491274fc697589c82/6baf985d549245c48f39e42930e10a5e/index-aes_4.m3u8?aka_me_session_id=AAAAAAAAAAD0PBlnAAAAAB5rOW3YDZup2BVdO0mfMscY7TpTiv3Nxb0cWD+d4yJkzxn70cfCtAc+aY0ApI7WC31DJBauX9ut&aka_media_format_type=hls&pckgrp=bf5b9c2800b7e86d48330ceb5add54a4"
    [hlsnative] Downloading m3u8 manifest
    [hlsnative] Total fragments: 883
    [download] Destination: Into the Unknown [heartland⧸s18e04].fhls-2191.mp4
    [debug] File locking is not supported. Proceeding without locking
    [download] 100% of  599.53MiB in 00:10:27 at 978.78KiB/s
    [debug] Invoking hlsnative downloader on "https://cbcrcott-aws-gem.akamaized.net/hdntl=exp=1729707252~acl=%2f*~data=hdntl~hmac=3b8c2f3e5b96445e96d483377d1575d679966eab0813925b289764d4b64894cf/out/v1/d6eccc4ae1ce4e1b861fc4f144d935c5/026bf27581e640c4b4fb78ae5aaa5021/4992c413374a4be4af23a7b5453f28df/436ea5bccb784b8491274fc697589c82/6baf985d549245c48f39e42930e10a5e/index-aes_16_0.m3u8?aka_me_session_id=AAAAAAAAAAD0PBlnAAAAAB5rOW3YDZup2BVdO0mfMscY7TpTiv3Nxb0cWD+d4yJkzxn70cfCtAc+aY0ApI7WC31DJBauX9ut&aka_media_format_type=hls&pckgrp=bf5b9c2800b7e86d48330ceb5add54a4"
    [hlsnative] Downloading m3u8 manifest
    [hlsnative] Total fragments: 883
    [download] Destination: Into the Unknown [heartland⧸s18e04].fhls-audio_2-English.mp4
    [download] 100% of   60.72MiB in 00:01:40 at 617.34KiB/s
    [debug] ffmpeg command line: ffprobe -show_streams "file:Into the Unknown [heartland⧸s18e04].fhls-audio_2-English.mp4"
    [Merger] Merging formats into "Into the Unknown [heartland⧸s18e04].mp4"
    [debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:Into the Unknown [heartland⧸s18e04].fhls-2191.mp4" -i "file:Into the Unknown [heartland⧸s18e04].fhls-audio_2-English.mp4" -c copy -map 0:v:0 -map 1:a:0 -movflags +faststart "file:Into the Unknown [heartland⧸s18e04].temp.mp4"
    [debug] ffmpeg version 6.1.1-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
      built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
      configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
      libavutil      58. 29.100 / 58. 29.100
      libavcodec     60. 31.102 / 60. 31.102
      libavformat    60. 16.100 / 60. 16.100
      libavdevice    60.  3.100 / 60.  3.100
      libavfilter     9. 12.100 /  9. 12.100
      libswscale      7.  5.100 /  7.  5.100
      libswresample   4. 12.100 /  4. 12.100
      libpostproc    57.  3.100 / 57.  3.100
    Input #0, mpegts, from 'file:Into the Unknown [heartland⧸s18e04].fhls-2191.mp4':
      Duration: 00:44:10.31, start: 2.095867, bitrate: 1897 kb/s
      Program 1
      Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], Closed Captions, 29.97 fps, 29.97 tbr, 90k tbn
    [eac3 @ 000001c12ad188c0] Estimating duration from bitrate, this may be inaccurate
    Input #1, eac3, from 'file:Into the Unknown [heartland⧸s18e04].fhls-audio_2-English.mp4':
      Duration: 00:44:13.02, start: 0.000000, bitrate: 192 kb/s
      Stream #1:0: Audio: eac3, 48000 Hz, 5.1(side), fltp, 192 kb/s
    [mp4 @ 000001c12b445cc0] track 1: codec frame size is not set
    Output #0, mp4, to 'file:Into the Unknown [heartland⧸s18e04].temp.mp4':
      Metadata:
        encoder         : Lavf60.16.100
      Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn
      Stream #0:1: Audio: eac3 (ec-3 / 0x332D6365), 48000 Hz, 5.1(side), fltp, 192 kb/s
    Stream mapping:
      Stream #0:0 -> #0:0 (copy)
      Stream #1:0 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    size=       0kB time=-00:00:00.03 bitrate=  -0.0kbits/s speed=N/A
    size=  167936kB time=00:11:30.75 bitrate=1991.6kbits/s speed=1.38e+03x
    size=  331008kB time=00:22:40.92 bitrate=1992.5kbits/s speed=1.36e+03x
    size=  478208kB time=00:32:46.56 bitrate=1992.0kbits/s speed=1.3e+03x
    size=  480000kB time=00:32:53.82 bitrate=1992.2kbits/s speed= 889x
    size=  485120kB time=00:33:14.49 bitrate=1992.5kbits/s speed= 733x
    [vost#0:0/copy @ 000001c12b36b040] Error submitting a packet to the muxer: Invalid data found when processing input
    [out#0/mp4 @ 000001c12b37b280] Error muxing a packet
    [mp4 @ 000001c12b445cc0] Starting second pass: moving the moov atom to the beginning of the file
    [out#0/mp4 @ 000001c12b37b280] video:469279kB audio:50095kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.256329%
    size=  520706kB time=00:35:35.36 bitrate=1997.6kbits/s speed= 567x
    Conversion failed!
    
    ERROR: Postprocessing: Conversion failed!
    Traceback (most recent call last):
      File "yt_dlp\YoutubeDL.py", line 3560, in process_info
      File "yt_dlp\YoutubeDL.py", line 3744, in post_process
      File "yt_dlp\YoutubeDL.py", line 3726, in run_all_pps
      File "yt_dlp\YoutubeDL.py", line 3704, in run_pp
      File "yt_dlp\postprocessor\common.py", line 23, in run
      File "yt_dlp\postprocessor\common.py", line 128, in wrapper
      File "yt_dlp\postprocessor\ffmpeg.py", line 840, in run
      File "yt_dlp\postprocessor\ffmpeg.py", line 330, in run_ffmpeg_multiple_files
      File "yt_dlp\postprocessor\ffmpeg.py", line 368, in real_run_ffmpeg
    yt_dlp.postprocessor.ffmpeg.FFmpegPostProcessorError: Conversion failed!
    
    
    C:\Users\sheld\Desktop\YT-DLP Video Downloader>
    Thanks in advance for any advice pertaining to this matter.
    Last edited by Tom Saurus; 22nd Oct 2024 at 13:42. Reason: Additional Information
    Quote Quote  
  21. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Upgrade your yt-dlp as the latest version has a fix for CBC.
    Quote Quote  



Similar Threads

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