Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

can i add a url before .ts files in a m3u8 file to batch download all .ts parts?

(http://stream-recorder.com/forum/showthread.php?t=20252)

ItsAngel 09-14-2015 03:55 AM

can i add a url before .ts files in a m3u8 file to batch download all .ts parts?


 
hey guys, sorry for the confusing title. is there any way to add one url for all the .ts files to download from? i have to use ffmpeg on the m3u8 file AFTER i edit the key file url (if i try and download via http://example.m3u8 then the file has the wrong key file URL thus wont download. so i must download it and edit it) But when i do that i get this in the .M3u8

#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-KEY:METHOD=AES-128,URI="http://Example.key"
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,
x_xxxx_xxx_xxx_xxx_.ts
#EXTINF:10,

I know the url that goes before all the x_xxxx_xxx_xxx_xxx_.ts so is there anyway to batch download without me having to physically go through all (over 1,000 in this case) and paste the first half of the .ts urls? maybe a some script or something?
Thanks in advanced!

EDIT: i edited all the file/url names out due to this being a recently "patched" way to download files from a certain site and i dont want it to get patched again. :D

surya987 09-14-2015 10:39 PM

Re: can i add a url before .ts files in a m3u8 file to batch download all .ts parts?


 
download key and put in same folder as m3u8 file and than edit m3u8 file to use it locally ....

ItsAngel 09-18-2015 03:25 PM

Re: can i add a url before .ts files in a m3u8 file to batch download all .ts parts?


 
Quote:

Originally Posted by surya987 (Post 79800)
download key and put in same folder as m3u8 file and than edit m3u8 file to use it locally ....

That would work, but the M3u8 file doesn't have the full urls so it doesn't work. I added all of them manually (it sucked and took forever) but it worked. Just searching for a way to do this where I don't have to individually paste the missing URL 1 by 1

hoopjon 09-18-2015 11:19 PM

Re: can i add a url before .ts files in a m3u8 file to batch download all .ts parts?


 
Quote:

Originally Posted by surya987 (Post 79800)
download key and put in same folder as m3u8 file and than edit m3u8 file to use it locally ....

Could you help me with this step?

Do you mean the line where it says #EXT-X-KEY:METHOD=AES-128,URI="http://Example.key" change the URI to the location of the .key file?

Thank you


All times are GMT -6. The time now is 08:16 AM.