Difference between revisions of "Download streaming flv"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
wget -O outfile.flv "http://www.youtube.com/get_video.php?video_id=xxxxx&t=xxxxx&fmt=18" | wget -O outfile.flv "http://www.youtube.com/get_video.php?video_id=xxxxx&t=xxxxx&fmt=18" | ||
− | + | Contoh download Wawancara Habibie di Mata Najwa. Kadang kala harus di ulang, karena web server MetroTV membatasi jumlah sambungan & membuat connection refused. Sebaiknya, download dari Web MetroTV dilakukan subuh :) | |
wget http://image.metrotvnews.com/bank_video/newsprograms/22098_1.flv | wget http://image.metrotvnews.com/bank_video/newsprograms/22098_1.flv | ||
Line 15: | Line 15: | ||
apt-get install mencoder | 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 | + | mencoder -forceidx -of lavf -oac copy -ovc copy -o habibie-najwa-20140205.flv 22098_1.flv 22098_2.flv 22098_3.flv 22098_4.flv 22098_5.flv 22098_6.flv |
− | + | Instalasi ffmpeg | |
sudo apt-get install ffmpeg | sudo apt-get install ffmpeg | ||
− | ffmpeg -i | + | Konversi ke mpg |
− | ffmpeg -i | + | |
− | ffmpeg -i | + | # ffmpeg -i habibie-najwa-20140205.flv -s 320x240 habibie-najwa-20140205.mpg |
+ | # ffmpeg -i habibie-najwa-20140205.flv -s 640x480 habibie-najwa-20140205.mpg | ||
+ | |||
+ | ffmpeg -i habibie-najwa-20140205.flv -s 1024x768 habibie-najwa-20140205.mpg | ||
+ | |||
+ | |||
+ | Konversi ke avi | ||
+ | |||
+ | # ffmpeg -i habibie-najwa-20140205.flv habibie-najwa-20140205.avi | ||
+ | # ffmpeg -sameq -i habibie-najwa-20140205.flv habibie-najwa-20140205.avi | ||
+ | # ffmpeg -i habibie-najwa-20140205.flv -s 1024x768 -b 3000k habibie-najwa-20140205.avi | ||
+ | |||
+ | ffmpeg -async 1 -i habibie-najwa-20140205.flv -f avi -b 1000k -ab 160k -ar 44100 habibie-najwa-20140205.avi | ||
+ | |||
+ | |||
+ | ==Pranala Menarik== | ||
+ | |||
+ | * [[Multimedia di Linux]] |
Latest revision as of 05:38, 6 February 2014
Coba menggunakan
wget -O outfile.flv "http://www.youtube.com/get_video.php?video_id=xxxxx&t=xxxxx&fmt=18"
Contoh download Wawancara Habibie di Mata Najwa. Kadang kala harus di ulang, karena web server MetroTV membatasi jumlah sambungan & membuat connection refused. Sebaiknya, download dari Web MetroTV dilakukan subuh :)
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-20140205.flv 22098_1.flv 22098_2.flv 22098_3.flv 22098_4.flv 22098_5.flv 22098_6.flv
Instalasi ffmpeg
sudo apt-get install ffmpeg
Konversi ke mpg
# ffmpeg -i habibie-najwa-20140205.flv -s 320x240 habibie-najwa-20140205.mpg # ffmpeg -i habibie-najwa-20140205.flv -s 640x480 habibie-najwa-20140205.mpg
ffmpeg -i habibie-najwa-20140205.flv -s 1024x768 habibie-najwa-20140205.mpg
Konversi ke avi
# ffmpeg -i habibie-najwa-20140205.flv habibie-najwa-20140205.avi # ffmpeg -sameq -i habibie-najwa-20140205.flv habibie-najwa-20140205.avi # ffmpeg -i habibie-najwa-20140205.flv -s 1024x768 -b 3000k habibie-najwa-20140205.avi
ffmpeg -async 1 -i habibie-najwa-20140205.flv -f avi -b 1000k -ab 160k -ar 44100 habibie-najwa-20140205.avi