Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Saving YouTube-stream

  • Subject: Re: Saving YouTube-stream
  • From: Roy Schestowitz <newsgroups@xxxxxxxxxxxxxxx>
  • Date: Mon, 25 Sep 2006 13:09:03 +0100
  • Newsgroups: comp.os.linux.misc
  • Organization: schestowitz.com / ISBE, Manchester University / ITS / Netscape / MCC
  • References: <1159185438.183314.70240@d34g2000cwd.googlegroups.com>
  • Reply-to: newsgroups@xxxxxxxxxxxxxxx
  • User-agent: KNode/0.7.2
__/ [ 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

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index