On 2/5/07, Ric Moore <wayward4now@xxxxxxxxx> 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 > > > > Yep, you have to install ffmpeg-devel package Yum ain't finding it and I tried livna, atrpms and freshrpms <boggles> got any ideas? Ric
Surprising, as: $ rpm -qi ffmpeg-devel Name : ffmpeg-devel Relocations: (not relocatable) Version : 0.4.9 Vendor: ATrpms.net Release : 19_r7407.fc6.at Build Date: Wed 03 Jan 2007 09:19:09 PM WET Install Date: Thu 04 Jan 2007 12:10:46 PM WET Build Host: junior.physik.fu-berlin.de Group : Development/Libraries Source RPM: ffmpeg-0.4.9-19_r7407.fc6.at.src.rpm Size : 6090752 License: GPL Signature : DSA/SHA1, Wed 03 Jan 2007 09:19:32 PM WET, Key ID 508ce5e666534c2b Packager : ATrpms <http://ATrpms.net/> URL : http://ffmpeg.sourceforge.net/ Summary : Development files for building against the ffmpeg package Description : This package provides the files neccessary for development against ffmpeg. Use this package if you need to build a package depending on ffmpeg at build time, or if you want to do your own development against ffmpeg. $ Paul