Download streaming flv

From OnnoWiki
Revision as of 04:30, 6 February 2014 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

Coba menggunakan

wget -O outfile.flv "http://www.youtube.com/get_video.php?video_id=xxxxx&t=xxxxx&fmt=18"

Download Wawancara Habibie di Mata Najwa

wget http://image.metrotvnews.com/bank_video/newsprograms/22098_1.flv
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_2.flv
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_3.flv
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_4.flv
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_5.flv
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_6.flv

Menyatukan jadi satu file flv menggunakan

apt-get install mencoder
mencoder -forceidx -of lavf -oac copy -ovc copy -o habibie-najwa.flv 22098_1.flv 22098_2.flv 22098_3.flv 22098_4.flv 22098_5.flv 22098_6.flv

Mengkonversikan ke mpeg

sudo apt-get install ffmpeg
ffmpeg -i output.flv -s 320x240 output.mpg
ffmpeg -i output.flv -s 640x480 output.mpg
ffmpeg -i output.flv -s 1024x768 output.mpg