__/ [ brian.northstrom@xxxxxxxxx ] on Monday 25 September 2006 12:57 \__
> Are there any utilty (or any other smart way) that will
> allow you to save a streamed movie usually displayed
> embedded on a web page? I'm especially after something
> that'll allow me to save TouTube-streams (those were
> "save" is not an option).
http://bashscripts.org/pastebin/pastebin.php?show=54
#!/bin/bash
bu="http://youtube.com/get_video.php?";mkdir -p ~/YouTube;cd ~/YouTube;read
-p "YouTube url? " ur;read -p "Name? " nv
wget ${ur} -O /tmp/y1;uf=${bu}`grep player2.swf /tmp/y1 | cut -d? -f2 | cut
-d\" -f1`;wget "${uf}" -O /tmp/y.flv
ffmpeg -i /tmp/y.flv -ab 56 -ar 22050 -b 500 -s 320x240 ${nv}.mpg;rm
/tmp/y.flv; rm /tmp/y1;rm gmon.out; exit
echo 'Enjoy!'
Best wishes,
Roy
--
Roy S. Schestowitz | "Software sucks. Open Source sucks less."
http://Schestowitz.com | SuSE Linux | PGP-Key: 0x74572E8E
1:05pm up 67 days 1:17, 9 users, load average: 2.82, 1.23, 0.87
http://iuron.com - Open Source knowledge engine project
|
|