Quote:
Originally Posted by BlueCop
here is a shell script I found that can save the itunes festival streams.
https://gist.github.com/TheMooseHut/...2c4fd0966babd9
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