Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 09-17-2014, 12:26 PM
Littledogs2 Littledogs2 is offline
Member
 
Join Date: Aug 2014
Posts: 64
Littledogs2 is on a distinguished road
Question

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
Reply With Quote
  #2  
Old 09-17-2014, 02:58 PM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

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.

Last edited by BlueCop : 09-17-2014 at 03:45 PM.
Reply With Quote
  #3  
Old 09-17-2014, 03:24 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Error retrieving downloading from ffmpeg


BlueCop
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
Reply With Quote
  #4  
Old 09-17-2014, 03:33 PM
Littledogs2 Littledogs2 is offline
Member
 
Join Date: Aug 2014
Posts: 64
Littledogs2 is on a distinguished road
Default

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
Reply With Quote
  #5  
Old 09-17-2014, 03:44 PM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: Error retrieving downloading from ffmpeg


try play ffplay
downloading from ffmpeg
Code:
ffmpeg -i "1012882_blondie_vod (1).m3u8" -c copy t.mkv
Attached Files
File Type: zip 1012882_blondie_vod (1).zip (2.0 KB, 0 views)
Reply With Quote
  #6  
Old 09-17-2014, 03:47 PM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

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.
Reply With Quote
  #7  
Old 09-17-2014, 03:51 PM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

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.
Reply With Quote
  #8  
Old 09-17-2014, 03:52 PM
Littledogs2 Littledogs2 is offline
Member
 
Join Date: Aug 2014
Posts: 64
Littledogs2 is on a distinguished road
Default

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 ;/
Reply With Quote
  #9  
Old 09-17-2014, 03:57 PM
BlueCop BlueCop is offline
Member
 
Join Date: May 2011
Posts: 44
BlueCop is on a distinguished road
Default

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.
Reply With Quote
  #10  
Old 09-17-2014, 04:03 PM
Littledogs2 Littledogs2 is offline
Member
 
Join Date: Aug 2014
Posts: 64
Littledogs2 is on a distinguished road
Default

Re: Error retrieving downloading from ffmpeg


Quote:
Originally Posted by BlueCop View Post
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
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 06:20 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons