Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
CBS.com Late Show with Steven Colbert won't download anymore #8893
Comments
|
It's already fixed(#8892) and it will work in the next version. |
|
the problem in this issue has been fixed but another error happen(some videos are served using brightcove once but the http formats doesn't work). |
|
these files are served mainly for mobile devices(i see the same ads in the android app). |
|
i have a fix for this but it involve making a lot of requests to extract all formats(rtmp, m3u8 and once formats). |
|
The problem is CBS only serves the 720p stream to Android devices. I was able to take this m3u8 url: and I found the 720p stream: Like you said the commercials are included. However I just ctrl+f #EXT-X-KEY:METHOD=NONE and delete everything in between that and #EXT-X-DISCONTINUITY - then I saved the m3u8 file to my local hdd and ripped it with ffmpeg. Working great. |
|
I spoke too soon, was having a bit of problems so I cleaned it up a bit more. This is the "clean" m3u8 file I ended up with: This time it ripped fine with ffmpeg :) |
|
i think there won't be a benefit when we try to extract other streams(for some reason the old m3u8 manifest doesn't work now i get
f4m and once formats:
|
|
Would it be possible to script youtube-dl so it downloads the m3u8 url, but before ripping, clean it up just like I did above? The commercial segments stick out like a sore thumb when you know what to look for in the m3u8. The commercials all have #EXT-X-KEY:METHOD=NONE immediately above them. So if you start at the line that says #EXT-X-KEY:METHOD=NONE, delete that line and every subsequent line until you reach the next line that says #EXT-X-DISCONTINUITY (and delete that line as well). The next line after that is always the key file: #EXT-X-KEY:METHOD=AES-128,URI="http://once.unicornmedia.com/key/77a785f3-5188-4806-b788-0893a61634ed/93677179-2d99-4ef4-9e17-fe70d49abfbf/bb0b18ba-64f5-4b1b-a29f-0ac252f06b68/once.key?umx=cAy9b5515NitZ2XV9RnbyA==",IV=0xba180bbbf5641b4ba29f0ac252f06b68 which can be deleted as well since you only need it once at the very beginning. Below that line it's all show segments like this: The number of each segment goes up by 10 seconds, so the second segment is "&endsegmentseconds=20" - the third is "&endsegmentseconds=30" etc. It continues like that until you see another #EXT-X-DISCONTINUITY Delete that and every line until the next key file (that line also gets deleted just like before). Rinse, lather, repeat until the end. Seems like something that could be done by a script in a fraction of a second. |
not always(they can change it see Content Security -> AES-128 in http://docs.brightcove.com/en/once/guides/once-vod-2-0.html)
it's possible for the key the way to detect the real content is by checking the |
|
Well you guys are a lot smarter than I am I look forward to see what solution you come up with :) In the mean time I'll do it the hard way, lol... |
|
My workaround is to use --write-pages, then edit the *.m3u8.dump file and change "adsegmentlength=10" to "adsegmentlength=0". |
Hello! I couldn't find an open issue for CBS or "Late Show", so I am asking you to look into this. As always I am really grateful this tool does exist and work so well!
Looks like CBS changed something on their website, I can't download the Late Show anymore.