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

Error retrieving downloading from ffmpeg

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

Littledogs2 09-17-2014 11:26 AM

Error retrieving downloading from ffmpeg


 
I managed to do this correctly before with help. Now it seems it's not working ?

I added the m3u8 file. Hope someone can help.

http://streaming.itunesfestival.com/...8bb84bcb0b7e37

Thanks

BlueCop 09-17-2014 01:58 PM

Re: Error retrieving downloading from ffmpeg


 
it is setting a cookie when you download the m3u8 file and it is needed to download the ts files.

here is a python script I wrote you can download the video with.
http://pastebin.com/NcBdfhf8
save it as downloadM3U8.py and then this command should work.
Quote:

python downloadM3U8.py -i "http://streaming.itunesfestival.com/auth/eu1/vod/20140916/v1/1200_256/1012882_blondie_vod.m3u8?token=expires=1411013704~ access=/auth/*~md5=3c6adef62ce0abe7fd8bb84bcb0b7e37" -o video.ts
The video itself is unencrypted.

chap 09-17-2014 02:24 PM

Re: Error retrieving downloading from ffmpeg


 
BlueCop:confused:
Code:

C:\Python34>python downloadM3U8.py -i "http://streaming.itunesfestival.com/auth/
eu1/vod/20140916/v1/1200_256/1012882_blondie_vod.m3u8?token=expires=1411013704~a
ccess=/auth/*~md5=3c6adef62ce0abe7fd8bb84bcb0b7e37" -o video.ts
  File "downloadM3U8.py", line 38
    print 'KEY : %X' % keyValue
                  ^
SyntaxError: invalid syntax


Littledogs2 09-17-2014 02:33 PM

Re: Error retrieving downloading from ffmpeg


 
Where do I put that file ? I saved it as you said and named it....

I grabbed the initial m3u8 from the bottom

Host Name : streaming.itunesfestival.com
Method : GET
Path : /auth/eu1/vod/20140916/v1/1800_256/1012882_blondie_vod.m3u8?token=expires=1411020903~ access=/auth/*~md5=d2d63579b40d95e07f8a372c9cc7f255
User Agent : AppleCoreMedia/1.0.0. (AAS-3.0.6; U; Windows NT 6.1)
Response Code : 200
Response String : OK
Content Type : application/x-mpegurl
Referer :
Content Encoding :
Transfer Encoding :
Server : Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0
Content Length : 22566
Connection : keep-alive
Cache Control : max-age=0, no-cache, no-store
Location :
Server Time : 17/09/2014 19:19:08
Last Modified Time: 16/09/2014 21:38:06
Cookie : token=expires=1411020903~access=/auth/*~md5=d2d63579b40d95e07f8a372c9cc7f255; ITMFID=195B45659363D2FC8585640AB0A3324C
Client Address : 192.168.1.86:53498
Server Address : 213.123.85.26:80
Request Time : 00:00:06.498
Response Time : 144 ms
URL : http://streaming.itunesfestival.com/...8a372c9cc7f255

chap 09-17-2014 02:44 PM

Re: Error retrieving downloading from ffmpeg


 
1 Attachment(s)
try play ffplay
downloading from ffmpeg
Code:

ffmpeg -i "1012882_blondie_vod (1).m3u8" -c copy t.mkv

BlueCop 09-17-2014 02:47 PM

Re: Error retrieving downloading from ffmpeg


 
http://pastebin.com/NcBdfhf8
it had a typo for encryption. I updated it. it isn't encrypted so would've downloaded fine.

i tested it and it download the video before i posted. I was watching the video when i posted.

BlueCop 09-17-2014 02:51 PM

Re: Error retrieving downloading from ffmpeg


 
chap: that doesn't work because ffmpeg doesn't respect the cookies.

It isn't about url parameters.


Littledogs2: just run the command I posted and it will download the video. You need to have python installed.

Littledogs2 09-17-2014 02:52 PM

Re: Error retrieving downloading from ffmpeg


 
OK thanks, but where do I save that file ? where does it go ?

Funny thing is, I managed to capture the other gigs that were shown last week, only today it doesn't do it ;/

BlueCop 09-17-2014 02:57 PM

Re: Error retrieving downloading from ffmpeg


 
where ever you want to save it. you will need to run it from a command line at that location and then it will download there.

Littledogs2 09-17-2014 03:03 PM

Re: Error retrieving downloading from ffmpeg


 
Quote:

Originally Posted by BlueCop (Post 70667)
chap: that doesn't work because ffmpeg doesn't respect the cookies.

It isn't about url parameters.


Littledogs2: just run the command I posted and it will download the video. You need to have python installed.

OK, I need to get that then, cheers


All times are GMT -6. The time now is 11:54 PM.