Welcome to Gaia! ::

The Linux Guild: Closing down. Merging with new guild

Back to Guilds

 

 

Reply Empty
Fun Bash stuff

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

LinuxGod

PostPosted: Sat Jul 29, 2006 12:06 am



.......................................................................................................................................
#!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
PostPosted: Thu Aug 03, 2006 1:58 pm


And that does.....?

[N0M4D]
Crew


Dark_Stang

PostPosted: Fri Aug 04, 2006 8:48 pm


Something about playing a flash movie from youtube. I didn't try it I'm just reading through it and trying to understand.
PostPosted: Fri Aug 18, 2006 12:42 pm


It has something to do with downloading a movie...hence the wget...

EdThaSlayer


Lieutenant--Dan
Captain

PostPosted: Sun Aug 20, 2006 5:49 pm


I don't quite understand Bash yet, but i believe it goes past the flash on Youtube vids and downloads the file, not the player overskin.
PostPosted: Tue Sep 12, 2006 4:16 am


leiutenant_dan
I don't quite understand Bash yet, but i believe it goes past the flash on Youtube vids and downloads the file, not the player overskin.


Nice guess!
mrgreen

it does look like that...
but there is a firefox extension that can download from almost every site--
videodownloader its called

EdThaSlayer


Tia Marie

PostPosted: Wed Oct 11, 2006 10:02 am


It looks like it will try to download and crosscode YouTube videos to what is stated as a MPG at 320x240, using a 500kbps codec.
PostPosted: Sun Oct 15, 2006 4:27 pm


* Presses nose against the plate glass, looking in. *

When I grow up to understand the BASH I hope I'll be able to do stuff like this. But right now I am still at the point where the CD-ROMs are in the box and not uploaded to the computer.

(Live Distro Newbie)

Futurist

Reply
Empty

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum