On Sat, 2007-02-03 at 14:48 -0500, oleksandr korneta wrote: > > on 02/03/2007 01:39 PM Paul Smith wrote: > > On 2/3/07, Alexandru Ciobanu <alex@xxxxxxxxxxxxxxxxx> wrote: > >>> Is there some tool for downloading video/audio files from YouTube? > >>> > >> For a single file you can use this sh script: > >> > >> #!/bin/bash > >> bu="http://youtube.com/get_video.php?"; > >> read -p "URL to YouTube video? " ur; > >> read -p "Name of file to be saved? " nv > >> wget ${ur} -O /var/tmp/y1;uf=${bu}`grep player2.swf /var/tmp/y1 | cut > >> -d? -f2 | > >> cut -d\" -f1`; > >> wget "${uf}" -O /var/tmp/y.flv > >> ffmpeg -i /var/tmp/y.flv -r 24 -ab 56 -ar 22050 -b 500 -s 320x240 ${nv}.mpg; > >> rm /var/tmp/y.flv; > >> rm /var/tmp/y1; > >> exit > >> > >> You need ffmpeg, of course. For multiple files you can loop this or > >> something... > > > > Thanks to all. The command > > > > ffmpeg -i get_video.flv -r 24 -ab 56 -ar 22050 -b 500 -s 320x240 out.avi > > > > works fine. > > I remember using something similar, but the resulting video looks much > crappier than the original .flv > > I found > > ffmpeg -i input.flv -ar 48000 -ac 2 output.mpg Crap. I get this error which isn't found with google. ffmpeg: symbol lookup error: /usr/lib/libavcodec.so.51: undefined symbol: NeAACDecOpen Anyone seen this one? Ric -- ================================================ My father, Victor Moore (Vic) used to say: "There are two Great Sins in the world... ..the Sin of Ignorance, and the Sin of Stupidity. Only the former may be overcome." R.I.P. Dad. Linux user# 44256 Sign up at: http://counter.li.org/ http://www.sourceforge.net/projects/oar http://www.wayward4now.net ================================================