Re: convert flash video flv file to other formats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



on 09/29/2006 09:16 AM Yuandan Zhang wrote:
Hi,

any knows linux tools to convert flv file to avi or mpg3?

here is the script I found somewhere on the web (and tweaked a bit) which downloads the
video from youtube.com and converts it to .mpg

--SCRIPT-------------------------------------------------------------
#!/bin/bash
bu="http://youtube.com/get_video.php?";;
mkdir -p ~/_download/youTube;
cd ~/_download/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 -r 24 -ab 56 -ar 22050 -b 500 -s 320x240 ${nv}.mpg;
rm /tmp/y.flv;
rm /tmp/y1;
exit
--SCRIPT-------------------------------------------------------------


as you can see it uses ffmpeg for .flv-->.mpg conversion.

hope it helps
--
regards,
Oleksandr Korneta

/The nice thing about standards is that there are so many to choose from./


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux