youtube-dl: CBS.com downloads with broken audio?

Checklist

  • [x ] I’m reporting a broken site support
  • [x ] I’ve verified that I’m running youtube-dl version 2021.01.24.1
  • [ x] I’ve checked that all provided URLs are alive and playable in a browser
  • [ x] I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • [x ] I’ve searched the bugtracker for similar issues including closed ones

Verbose log


youtube-dl -v "https://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs/the-late-show-1-21-21-priyanka-chopra-jonas-derek-delgaudio-frank-oz-/"[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.cbs.com/shows/the-late-show-with-stephen-colbert/video/CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs/the-late-show-1-21-21-priyanka-chopra-jonas-derek-delgaudio-frank-oz-/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.01.24.1
[debug] Python version 2.7.18 (CPython) - Linux-5.4.0-64-generic-x86_64-with-Ubuntu-20.04-focal
[debug] exe versions: ffmpeg N-55618-ga0acc44106-static, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[CBS] CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs: Downloading XML
[CBS] CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs: Downloading StreamPack SMIL data
[CBS] CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs: Downloading m3u8 information[CBS] CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs: Downloading JSON metadata
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_1_av.m3u8?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2021%2f01%2f14%2f1843949635926%2fCBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80'
[download] Destination: The Late Show - 1_21_21 (Priyanka Chopra Jonas, Derek DelGaudio, Frank Oz)-CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3718.1 Safari/537.36
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Cookie: _alid_=Xk/dBima+aRc5AOa3A05iw==; hdntl=exp=1611731910~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2021%2f01%2f14%2f1843949635926%2fCBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80
' -i 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_1_av.m3u8?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2021%2f01%2f14%2f1843949635926%2fCBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:The Late Show - 1_21_21 (Priyanka Chopra Jonas, Derek DelGaudio, Frank Oz)-CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs.mp4.part'
ffmpeg version N-55618-ga0acc44106-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      56. 63.100 / 56. 63.100
  libavcodec     58.115.102 / 58.115.102
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7. 95.100 /  7. 95.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[tcp @ 0x5bc1300] Starting connection attempt to 23.200.147.220 port 443
[tcp @ 0x5bc1300] Successfully connected to 23.200.147.220 port 443
[hls @ 0x5bbc9c0] Skip ('#EXT-X-ALLOW-CACHE:YES')
[hls @ 0x5bbc9c0] Skip ('#EXT-X-VERSION:3')
[hls @ 0x5bbc9c0] HLS request for url 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment1_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80', offset 0, playlist 0[hls @ 0x5bbc9c0] Opening 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/crypt.key?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80' for reading
[tcp @ 0x5f43f40] Starting connection attempt to 23.200.147.220 port 443
[tcp @ 0x5f43f40] Successfully connected to 23.200.147.220 port 443
[AVIOContext @ 0x6276540] Statistics: 16 bytes read, 0 seeks
[hls @ 0x5bbc9c0] Opening 'crypto+https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment1_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80' for reading
[tcp @ 0x5f51680] Starting connection attempt to 23.200.147.220 port 443
[tcp @ 0x5f51680] Successfully connected to 23.200.147.220 port 443
[h264 @ 0x5f38dc0] Reinit context to 1920x1088, pix_fmt: yuv420p
Input #0, hls, from 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_1_av.m3u8?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2021%2f01%2f14%2f1843949635926%2fCBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80':
  Duration: 00:40:40.83, start: 0.100667, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 1920x1080 (1920x1088) [SAR 1:1 DAR 16:9], 29.97 tbr, 90k tbn, 59.94 tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:The Late Show - 1_21_21 (Priyanka Chopra Jonas, Derek DelGaudio, Frank Oz)-CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs.mp4.part':
  Metadata:
    encoder         : Lavf58.65.101
    Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 1920x1080 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 29.97 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=    0 fps=0.0 q=-1.0 size=       0kB time=00:00:00.00 bitrate=frame=  120 fps=0.0 q=-1.0 size=    2048kB time=00:00:03.97 bitrate=frame=  253 fps=250 q=-1.0 size=    5120kB time=00:00:08.46 bitrate=[AVIOContext @ 0x627fd80] Statistics: 6679828 bytes read, 0 seeks
[hls @ 0x5bbc9c0] HLS request for url 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment2_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80', offset 0, playlist 0[hls @ 0x5bbc9c0] Opening 'crypto+https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment2_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80' for reading
[tcp @ 0x63108c0] Starting connection attempt to 23.200.147.220 port 443
[tcp @ 0x63108c0] Successfully connected to 23.200.147.220 port 443
frame=  331 fps=217 q=-1.0 size=    6656kB time=00:00:11.05 bitrate=frame=  444 fps=219 q=-1.0 size=    9472kB time=00:00:14.82 bitrate=[AVIOContext @ 0x6176c00] Statistics: 6285780 bytes read, 0 seeks
[hls @ 0x5bbc9c0] HLS request for url 'https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment3_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80', offset 0, playlist 0[hls @ 0x5bbc9c0] Opening 'crypto+https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/segment3_1_av.ts?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80' for reading
^C[tcp @ 0x616bb80] Starting connection attempt to 23.200.147.220 port 443
[tcp @ 0x616bb80] Successfully connected to 23.200.147.220 port 443
Not writing 'clli' atom. No content light level info.
Not writing 'mdcv' atom. Missing mastering metadata.
frame=  599 fps=218 q=-1.0 Lsize=   12296kB time=00:00:20.01 bitrate=5033.8kbits/s speed=7.28x    
video:11963kB audio:307kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.213757%
Input file #0 (https://cbsios-vh.akamaihd.net/i/temp_hd_gallery_video/CBS_Production_Outlet_VMS/video_robot/CBS_Production_Entertainment/2021/01/14/1843949635926/CBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_,2228,4628,3128,1628,848,503,000.mp4.csmil/index_1_av.m3u8?null=0&id=AgBILSzeF8iS3EbCD2Bc7p4gff4p%2fLU6G8Gm+Q5RMVxWAXA5H+N1sCMhBdoyrh7aXog8WyDFe7sXTw%3d%3d&hdntl=exp=1611731910~acl=%2fi%2ftemp_hd_gallery_video%2fCBS_Production_Outlet_VMS%2fvideo_robot%2fCBS_Production_Entertainment%2f2021%2f01%2f14%2f1843949635926%2fCBS_COLBERT_1036_CONTENT_CIAN_vantage_436979_*~data=hdntl~hmac=538b6dd5a223a7568758cbeb4505d0f590fb20eb5b77bd91ac949a4d14561a80):
  Input stream #0:0 (video): 599 packets read (12249863 bytes); 
  Input stream #0:1 (audio): 939 packets read (321003 bytes); 
  Total: 1538 packets (12570866 bytes) demuxed
Output file #0 (file:The Late Show - 1_21_21 (Priyanka Chopra Jonas, Derek DelGaudio, Frank Oz)-CmEfTFE9yg9zaG8PdEbzNjuPizMvkxxs.mp4.part):
  Output stream #0:0 (video): 599 packets muxed (12249863 bytes); 
  Output stream #0:1 (audio): 939 packets muxed (314430 bytes); 
  Total: 1538 packets (12564293 bytes) muxed
[AVIOContext @ 0x5f850c0] Statistics: 2 seeks, 51 writeouts
[AVIOContext @ 0x614e5c0] Statistics: 36848 bytes read, 0 seeks
[AVIOContext @ 0x5ecad80] Statistics: 156101 bytes read, 0 seeks
Exiting normally, received signal 2.

ERROR: Interrupted by user

Description

It downloads the episodes just fine from a link grabbing standpoint and dumping to hard drive.

Yet, I keep having some sort of random audio drift on various episodes. In that episode, right around 00:05:30, the audio randomly looses sync and starts to repeat itself once or twice then maybe 30 seconds later it’s back to normal.

I have tried upgrading my ffmpeg and using different audio players including VLC, Media Player Classic, and Kodi.

Not all episodes seem to do this but a majority do but I’d say it started only in October and affected more and more over time.

About this issue

  • Original URL
  • State: open
  • Created 3 years ago
  • Comments: 22 (5 by maintainers)

Most upvoted comments

There is no specific URL guaranteed to exhibit the problem. It occurs randomly with seemingly any CBS download URL.

If anyone can provide example example URL with the problem, I think I have a fix for this

I have had it on almost anything I haven’t already downloaded at least once. Big Brother had many issues (per episode) throughout season 6 for me. One example I can see was redownloaded in yesterday’s log was Picard, S02E02.

Commenter in which I am replying too has removed all their comments from this thread

https://github.com/benfugate/paramountdl-dockerized I sped up Grandfather-Paradox’s solution script, if anybody is interested. I changed up some things so seasons download concurrently.

I also ‘dockerized’ his script, so there’s no need to install dependencies anymore. Although, I did add instructions for how to run without docker for those who are into that sort of thing.

The episodes are also now named based on their season and episode number (s1e1.mkv) instead of their paramount names which I had to go through and manually rename for my organization tools.

I’m also having this issue when downloading from cbs/paramount+. I’m able to find out if one failed by looking at the file and comparing the subtitles to the audio later in the video. If they don’t match then there’s a glitch somewhere in it. I’ve noticed this only happens sometimes after downloading a bunch of episodes. I’m thinking it’s some kind of weird rate limiting but I haven’t been able to stay within it with anything I tried.

Happened again with the latest Colbert episode from 3/4/2021, with youtube-dl 2021.03.03 running under Python 3.9.2. I was using --hls-prefer-native but it was apparently ignored because the output contained:

WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg

As suggested elsewhere, I installed the pycrypto module and then hlsnative downloads were possible again.