View Single Post
(#2 (permalink))
Old
royan's Avatar
royan (Offline)
512-Bit Member
My System
Rep Power: 12
royan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond reputeroyan has a reputation beyond repute
 
Posts: 691
Join Date: Jun 2005
Re: MPlayer/MEncoder command line - 01-06-2006, 09:40

Quote:
Originally Posted by prof_unto
Ingin mentransfer film DVD ke iPod, PSP, atau HP?
Cukup dengan MPlayer/MEncoder kamu bisa melakukannya, gratis lagi!

1. Download Mplayer di sini, pilih Windows releases, jangan lupa Fonts bila ingin menampilkan subtitle dan Codecs bila ingin membuka format lain macam Quicktime, Real, WMV. Alternatif (MPlayer/MEncoder saja): Celtic Druid @ Japan
Untuk codec H.264 beberapa CVS kemungkinan ada yang belum bisa.

2. Ekstrak ke C:\Windows (atau buat PATH di autoexec.bat, misal: PATH=F:\mPlayer), sedangkan untuk Font dan Codecs baca readmenya

3. Rip DVD ke harddisk misal, dengan DVDFab Decrypter Express ke drive H:

4. Identifikasi DVD dengan:
mplayer dvd:// -dvd-device h:/DVD -v > catatan.txt
tunggu beberapa detik lalu tekan ESC

5. Buka catatan.txt dan perhatikan (contoh):
[open] audio stream: 0 audio format: ac3 (5.1) language: en aid: 128
[open] audio stream: 1 audio format: dts (5.1) language: en aid: 137
[open] number of audio channels on disk: 2.
[open] subtitle ( sid ): 0 language: en
[open] subtitle ( sid ): 1 language: fr
[open] subtitle ( sid ): 2 language: es
[open] subtitle ( sid ): 3 language: zh
[open] subtitle ( sid ): 4 language: ms
[open] subtitle ( sid ): 5 language: th
[open] subtitle ( sid ): 6 language: in
[open] number of subtitles on disk: 7


6. Untuk memilih audio AC3 berbahasa Inggris:
-aid 128
Penting, karena ada beberapa DVD men-default-kan DTS, sedangkan MPlayer saat ini belum bisa mendecode DTS dengan baik.

7. Untuk memilih subtitle Indonesia:
-sid 6
Perhatian! Subtitle akan PERMANEN, bisa menyebabkan ringing apabila video bitrate terlalu kecil. Sebaiknya gunakan SubRip, terserah Anda.

8. Jika hanya ingin meng-encode chapter tertentu, tambah ini sebelum -dvd-device: (contoh chapter 2 saja)
-chapter 2-2

9. Jika ingin menghindari frame skip pakai ini sesudah h:/dvd:
-noskip
Kadang tidak berhasil

10. Jika audio terlalu kecil ganti perintah -af volnorm=1:0.25 dengan:
-af volume=10
Perhatian! Bila audio sudah keras perintah ini bisa menyebabkan CLIPPING yang sangat mengganggu

11. Jika ingin 2-pass, tambah perintah ini sebelum vcodec=xxxx dengan:
vpass=1:
Untuk pass yang ke 2, cukup rubah vpass=1 ke vpass=2

12. Dibawah ini adalah perintah dari DVD ke berbagai format dengan audio sumber AC3, subtitle Indonesia, Widescreen (16:9), dan NTSC FILM (23,976 fps)
"Disadur" dari CloneDVDmobile dengan beberapa sedikit perubahan

Code:
 
iPod (beta)
mencoder dvd:// -dvd-device h:/dvd -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=445:abitrate=128 -vf scale=320:180,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.mp4"
 
Archos AV/PMA/Gmini (400/500/700)
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=1002:abitrate=128 -vf scale=480:270,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
 
Archos AV300
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -srate 32000 -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=1002:abitrate=128 -vf scale=480:270,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
 
Archos AV320 (beta)
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -srate 44100 -aid 128 -sid 6 -af volnorm=1:0.25 -aspect 16:9  -of lavf -lavfopts format=avi:i_certify_that_my_video_stream_does_not_use_b_frames -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=445:abitrate=128 -vf scale=320:180,expand=320:240,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
 
Creative Labs ZEN Vision
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=445:abitrate=128 -vf scale=320:180,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
 
Epson P-2000/P-4000
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=1782:abitrate=128 -vf scale=640:360,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
 
iAudio X5
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=137:abitrate=128 -vf scale=160:90,harddup -info name="Constantine" -ofps 14 -o "H:\cons.avi"
 
Motorola V710 & E815
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=3g2:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=237:abitrate=64 -vf scale=176:144,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.3g2"
 
Nintendo Play-Yan for GameBoy
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=mp4:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=252:abitrate=64 -vf scale=240:136,expand=240:176,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.mp4"
 
Nokia 6630
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=3gp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=153:abitrate=64 -vf scale=170:96,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.3gp"
 
Nokia 9300
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=3gp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=237:abitrate=64 -vf scale=176:144,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.3gp"
 
Samsung D600
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=3gp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=158:abitrate=64 -vf scale=176:96,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.3gp"
 
Sony Ericsson K750i / W800i
mencoder dvd:// -dvd-device h:/dvd -srate 22050 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=3gp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=158:abitrate=64 -vf scale=176:96,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.3gp"
 
Sony PSP < 2.6
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=740:abitrate=128 -vf scale=368:208,harddup -info name="Constantine" -ofps 30000/1001 -o "H:\MP_ROOT\100MNV01\M4V10001.mp4"
 
Sony PSP >= 2.6
mencoder dvd:// -dvd-device h:/dvd -srate 24000 -aid 128 -sid 6 -af volnorm=1:0.25 -of lavf -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -aspect 16:9  -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac:vbitrate=592:abitrate=128 -vf scale=368:208,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\MP_ROOT\100MNV01\M4V10001.mp4"
 
Sony PSP H.264 >= 2.6
mencoder dvd:// -dvd-device h:/dvd -aid 128 -sid 6 -af volnorm=1:0.25 -aspect 16:9  -of lavf -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames -oac lavc -ovc lavc -lavcopts aglobal=1:vglobal=1:vcodec=h264:coder=1:acodec=aac:vbitrate=448:abitrate=64 -vf scale=368:208,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\MP_ROOT\100ANV01\MAQ10001.mp4"
 
Windows Mobile Smartphone
mencoder dvd:// -dvd-device h:/dvd -ffourcc DIVX -aid 128 -sid 6 -af volnorm=1:0.25 -of avi -aspect 16:9  -oac lavc -ovc lavc -lavcopts vcodec=mpeg4:acodec=mp3:vbitrate=594:abitrate=64 -vf scale=320:240,harddup -info name="Constantine" -ofps 24000/1001 -o "H:\cons.avi"
12. Mohon di coba dan sumbang sarannya



aduh...emang dech prof yang satu ini, aku perhatiin suka utak atik encoder yg pake command line dech...semakin sulit semakin tinggi tantanggannya ya ?..hee..he...kalo aku pribadi lebih suka pake Staxrip aja dach..Mplayer...hmmm....ntar dech...

btw..good info ..


Luck is when preparation met opportunities
Reply With Quote