Hello. I recently tried downloading a video from a m3u8 stream; the output is unusable. Whenever I try any viewing software I get that something is corrupted. FFMPEG tells me this:
Looking at some of the code of the site it seems like the stream has some DRM shenanigans going on. Is the reason I am getting these errors cause this stream is just encrypted and protected DRM data? If so, I have seen some stuff on here on how to approach that and will look into it... but before that, I just want to know if that is even the issue. Thanks!Code:[hls @ 0x615c1b601bc0] Error when loading first segment URL.somestuff.ts [in#0 @ 0x615c1b601900] Error opening input: Invalid data found when processing input Error opening input file URL.m3u8. Error opening input files: Invalid data found when processing input
+ Reply to Thread
Results 1 to 8 of 8
-
-
-
Do you get a pixelated green screen? If yes then it's DRM
--[----->+<]>.++++++++++++.---.--------.
[*drm mass downloader: widefrog*]~~~~~~~~~~~[*how to make your own mass downloader: guide*] -
-
Send the top half of a stream.m3u8 file.
HLS manifests always have a master.m3u8 (that contains all of the different video/audio/subtitle streams) and a stream.m3u8 which just contains one of the aforementioned streams in segments.
The thing is that they're not always just called 'stream.m3u8' and 'master.m3u8', but you'll see the master file being loaded first and looking quite differently.
Examples:
stream manifest:
Code:#EXTM3U #EXT-X-VERSION:6 ## Generated with https://github.com/google/shaka-packager version v2.3.0-5bf8ad5-release #EXT-X-TARGETDURATION:5 #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-MAP:URI="v-0360p-0750k-libx264-init.mp4" #EXTINF:4.000, v-0360p-0750k-libx264-s1.mp4 #EXTINF:4.000, v-0360p-0750k-libx264-s2.mp4 #EXTINF:4.000, v-0360p-0750k-libx264-s3.mp4 ... #EXT-X-ENDLIST
Code:#EXTM3U ## Generated with https://github.com/google/shaka-packager version v2.3.0-5bf8ad5-release #EXT-X-MEDIA:TYPE=AUDIO,URI="playlist_a-eng-0128k-aac-2c.mp4.m3u8",GROUP-ID="default-audio-group",LANGUAGE="en",NAME="stream_0",AUTOSELECT=YES,CHANNELS="2" #EXT-X-STREAM-INF:BANDWIDTH=255636,AVERAGE-BANDWIDTH=212901,CODECS="avc1.42c01e,mp4a.40.2",RESOLUTION=250x144,AUDIO="default-audio-group" playlist_v-0144p-0100k-libx264.mp4.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=543932,AVERAGE-BANDWIDTH=467745,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=418x240,AUDIO="default-audio-group" playlist_v-0240p-0400k-libx264.mp4.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1599186,AVERAGE-BANDWIDTH=1347573,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=1002x576,AUDIO="default-audio-group" playlist_v-0576p-1400k-libx264.mp4.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=2778640,AVERAGE-BANDWIDTH=2324339,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=1252x720,AUDIO="default-audio-group" playlist_v-0720p-2500k-libx264.mp4.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=1184460,AVERAGE-BANDWIDTH=992577,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=834x480,AUDIO="default-audio-group" playlist_v-0480p-1000k-libx264.mp4.m3u8 #EXT-X-STREAM-INF:BANDWIDTH=909696,AVERAGE-BANDWIDTH=770778,CODECS="avc1.4d401f,mp4a.40.2",RESOLUTION=626x360,AUDIO="default-audio-group" playlist_v-0360p-0750k-libx264.mp4.m3u8
Last edited by larley; 19th Aug 2024 at 04:17.
Bypass HMACs, One-time-tokens and Lic.Wrapping: https://github.com/DevLARLEY/WidevineProxy2
Similar Threads
-
Downloading an HLS stream: ONLY in sync when downloading with ffmpeg. Possi
By royjeon215 in forum Video Streaming DownloadingReplies: 6Last Post: 21st Jan 2024, 02:56 -
Using ffmpeg to record m3u8 link results in out-of-sync audio/video
By thestormarchive in forum Video Streaming DownloadingReplies: 1Last Post: 9th Dec 2023, 17:56 -
HTTP 405 (Method Not Allowed) when downloading an m3u8 video?
By CrymanChen in forum Video Streaming DownloadingReplies: 6Last Post: 22nd Jul 2023, 07:54 -
i'm downloading a video via m3u8 with yt-dlp
By nammin in forum Video Streaming DownloadingReplies: 1Last Post: 1st Jul 2023, 00:21 -
How to download this video? (m3u8 or ts stream)
By hamid_ss in forum Video Streaming DownloadingReplies: 5Last Post: 22nd Jan 2021, 14:34