PDA

View Full Version : How can I save this stream ?


Littledogs2
09-02-2014, 06:25 AM
There was a live stream on iTunes last night, and today the video has been put online.

Ive managed to grab the info, but seems there are in multiples files. I used HTTPSniffer to grab the info.

http://streaming.itunesfestival.com/auth/eu1/vod/20140901/v1/1200_256/78011850_deadmau5_vod.m3u8?token=expires=140969970 5~access=/auth/*~md5=152171781b6f32eee6610de002bf5320

Does anyone know how I can save this at all ? Thanks in advance

video/mp2t Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 2898721 keep-alive 02/09/2014 12:14:07 01/09/2014 20:31:06 token=expires=1409699705~access=/auth/*~md5=152171781b6f32eee6610de002bf5320; ITMFID=195B45659363D2FC8585640AB0A3324C 192.168.1.73:64221 213.120.162.202:80 00:00:30.694 92 ms http://streaming.itunesfestival.com/auth/eu1/vod/20140901/v1/2400_256/78011850_song1_7827.ts?token=expires=1409699705~ac cess=/auth/*~md5=152171781b6f32eee6610de002bf5320
streaming.itunesfestival.com GET /auth/eu1/vod/20140901/v1/2400_256/78011850_song1_7828.ts?token=expires=1409699705~ac cess=/auth/*~md5=152171781b6f32eee6610de002bf5320 AppleCoreMedia/1.0.0. (AAS-3.0.6; U; Windows NT 6.1) 200 OK video/mp2t Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 3299212 keep-alive 02/09/2014 12:14:14 01/09/2014 20:31:15 token=expires=1409699705~access=/auth/*~md5=152171781b6f32eee6610de002bf5320; ITMFID=195B45659363D2FC8585640AB0A3324C 192.168.1.73:64221 213.120.162.202:80 00:00:37.474 98 ms http://streaming.itunesfestival.com/auth/eu1/vod/20140901/v1/2400_256/78011850_song1_7828.ts?token=expires=1409699705~ac cess=/auth/*~md5=152171781b6f32eee6610de002bf5320
streaming.itunesfestival.com GET /auth/eu1/vod/20140901/v1/2400_256/78011850_song1_7829.ts?token=expires=1409699705~ac cess=/auth/*~md5=152171781b6f32eee6610de002bf5320 AppleCoreMedia/1.0.0. (AAS-3.0.6; U; Windows NT 6.1) 200 OK video/mp2t Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0 3290564 keep-alive 02/09/2014 12:14:22 01/09/2014 20:31:26 token=expires=1409699705~access=/auth/*~md5=152171781b6f32eee6610de002bf5320; ITMFID=195B45659363D2FC8585640AB0A3324C 192.168.1.73:64221 213.120.162.202:80 00:00:44.674 333 ms

hasomaso
09-02-2014, 07:13 AM
put link

Littledogs2
09-02-2014, 07:34 AM
You need to have iTunes to play the video. Once iTunes opens up, you need to go to 'Home' then select the video to play

Deadmau5

peterpan
09-02-2014, 08:25 AM
Here you go...no need for itunes ;) there is about 19 songs... see attachment below ;)

To download/save, use this command:

ffmpeg -i "path-to-file-location\78011850_deadmau5_vod.m3u8" -c copy "Concert.mkv"


http://i.imgur.com/p6WXpWzl.png

Littledogs2
09-02-2014, 09:34 AM
Thanks very much.

How do you do that ?

There are gonna be forthcoming groups everyday for this month that I'd like to capture, so would be handy if you could advise. Thanks again

EDIT

I've never used ffmpeg, where do I start it ?

peterpan
09-02-2014, 10:08 AM
http://bit.ly/1r08l6c

Littledogs2
09-02-2014, 10:28 AM
Ok, I got it

Littledogs2
09-02-2014, 10:33 AM
It worked ! Excellent ! Is there a way to retrieve the higher resolution file ?

Littledogs2
09-02-2014, 11:08 AM
There probably is...but I need access to the original link so I can play it on my browser ;)OK, Could I try ?

peterpan
09-02-2014, 11:15 AM
Here you go... 2400 res ;)

ffmpeg -i "path-to-file-location\78011850_deadmau5_vod_2400.m3u8" -c copy "Concert.mkv"

Littledogs2
09-02-2014, 12:51 PM
Bravo. Thanks

babyhails
09-29-2014, 06:45 AM
hi, i'm new here. is there anyway i can save the script from itunes festival?

i tried recording it with video capture but my computer isnt the best and the frame rate was too high so i'm looking for the best quality orginal file from the stream.

https://search.itunes.apple.com/WebObjects/MZContentLink.woa/wa/link?path=thescript



using http sniffer i found this:
http://streaming.itunesfestival.com/auth/eu1/vod/20140915/v2/1800_256/277228393_thescript_vod.m3u8


i tried using the deadmau5 one as template and i inputted this:

ffmpeg -i "C:\Users\hails\Desktop\277228393_thescript_vod.m3u 8" -c copy "Concert.mkv"

it said: invalid data found when processing input.

i then tried downloading the deadmau5 file from the m3u8 on this forum. it said http error 403 forbidden... failed to open segment of playlist 0.... failed to open first segment... input/output error.

the deadmau5 m3u8 file opens in itunes. it says internet songs but doesnt play.
my script m3u8 does not open at all in itunes.

would be really grateful for any help. thanks

babyhails
09-29-2014, 11:48 AM
anyone know what im doing wrong? ^^

Stream Ripper
09-29-2014, 09:27 PM
Have you tried Replay Music (http://applian.com/replay-music/) yet?

It's usually what I use for iTunes playlists etc

babyhails
09-29-2014, 11:37 PM
Have you tried Replay Music (http://applian.com/replay-music/) yet?

It's usually what I use for iTunes playlists etc


Thanks for the advice but it's a video stream playing through itunes, I've seen on here the stream is many .ts files in a .m3u8 playlist. I need access to that playlist file as I think that's where I'm going wrong with ffmpeg.
Thanks.

BlueCop
09-30-2014, 06:24 PM
here is a shell script I found that can save the itunes festival streams.

https://gist.github.com/TheMooseHut/5307792c4fd0966babd9

I wrote a little script to generate chapter marks from song changes in file names. I also took the setlist to add the song titles for chapter marks. I have them for several shows. I adjusted them because some cut in the middle of speech, little too early or late. if anyone is interested.

here is one for pharrell. http://pastebin.com/Va8RpREi
if you save that as pharrellwilliams.txt
you can add the chapter marks with this command.
ffmpeg -i pharrellwilliams.ts -f ffmetadata -i pharrellwilliams.txt -c copy pharrellwilliams.mkv
if shouldn't matter the input format but the output would need chapter support(ex. mkv).

the raw ts stream has some kind of timed id3 meta data. I haven't been able to find anything to parse these tags. If you download with ffmpeg then they are auto-stripped anyway though. I was hoping these would be song titles and/or timecodes. I am not sure.

The song number change in the file titles and the segment duration in the m3u8 is enough to calculate the chapter points though

babyhails
10-01-2014, 10:21 AM
here is a shell script I found that can save the itunes festival streams.

https://gist.github.com/TheMooseHut/5307792c4fd0966babd9

I wrote a little script to generate chapter marks from song changes in file names. I also took the setlist to add the song titles for chapter marks. I have them for several shows. I adjusted them because some cut in the middle of speech, little too early or late. if anyone is interested.

here is one for pharrell. http://pastebin.com/Va8RpREi
if you save that as pharrellwilliams.txt
you can add the chapter marks with this command.

if shouldn't matter the input format but the output would need chapter support(ex. mkv).

the raw ts stream has some kind of timed id3 meta data. I haven't been able to find anything to parse these tags. If you download with ffmpeg then they are auto-stripped anyway though. I was hoping these would be song titles and/or timecodes. I am not sure.

The song number change in the file titles and the segment duration in the m3u8 is enough to calculate the chapter points though

Thanks for the help but I don't understand anything about script or what I do with it. Where do I need to put the script into?

I downloaded wireshark (cant get it to work), i have http sniffer and ffmpeg.

I don't really care about the chapters I just want the 1hr25 concert. Any type or format would do.
Thanks.


i tried to create a script but .sh is for linux isn't it? i only run windows 7.

this was the script i had, it was a txt file i renamed .js for windows but it says line 1 character 1 error or something like that. what am i doing wrong?


this was the script:


#!/bin/bash
cookie=$1
day=$2
artist=$3

mkdir -p $thescript
cd $thescript

index=$(curl -s -b "$cookie" http://streaming.itunesfestival.com/...cript_vod.m3u8 | tail -n1)
files=$(curl -s -b "token=expires=1412223303~access=/auth/*~md5=ca2f408cd8c0397c7a200a7235b327f3" http://streaming.itunesfestival.com/auth/eu1/vod/20140915/v2/$index)
for i in $files; do
if [[ "$i" =~ ".ts" ]]; then
curl -b "$cookie" http://streaming.itunesfestival.com/auth/eu1/vod/20140915/v2//$i > $i
fi
done
cat * > $thescript.ts
mv $thescript.ts ../
cd ..
rm -r $thescript

babyhails
10-01-2014, 12:01 PM
anyone got any other ideas for saving the itunes festival stream? i really dont understand scripts and stuff like that.
thanks