maxfu
8th February 2007, 02:14
My commandline:
ffmpeg.exe -i "D:\Source\Source.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -cgop -g 12 -bf 2 -qmin 2 -qblur 0.3 -qcomp 0.7 -me full -dc 10 -mbd 2 -aspect 16:9 -pass 1 -passlogfile "D:\Video\ffmpegencode" -an -f mpeg2video "D:\Source.m2v"
ffmpeg.exe -i "D:\Source\Source.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -cgop -g 12 -bf 2 -qmin 2 -qblur 0.3 -qcomp 0.7 -me full -dc 10 -mbd 2 -aspect 16:9 -pass 2 -passlogfile "D:\Video\ffmpegencode" -an -f mpeg2video "D:\Source.m2v"
This setting can encode at a speed of 40fps on my P4D 3.4G computer.
the size of the a frame of the Source.avi file is 1920x798
-target fps=23.976:film-dvd
fps=29.97: ntsc-dvd ntsc-vcd ntsc-svcd
fps=25: pal-dvd pal-vcd pal-svcd
-s with -pad NTSC 720x480
PAL 720x576
-padtop -padbottom:
720x((420 or 576)-(padtop+padbottom))
-padleft -padright:
(720-(padleft+padright))x(420 or 576)
16:9: 798*853/1920=354 => multiple of 4 => 352 => 720x352
-padtop = -padbottom = 64
4:3: 798*640/1920=266 => multiple of 4 => 264 => 720x264
-padtop = -padbottom = 108
-b bitrate bit/s 60000000 => 6000kbps
-maxrate Can but should not be bigger than 8000.
-aspect 4:3 (1.3333) or 16:9 (1.7777)
DAR of source 〉1.77 =〉16:9,other 4:3
ffmpeg.exe -i "D:\Source\Source.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -cgop -g 12 -bf 2 -qmin 2 -qblur 0.3 -qcomp 0.7 -me full -dc 10 -mbd 2 -aspect 16:9 -pass 1 -passlogfile "D:\Video\ffmpegencode" -an -f mpeg2video "D:\Source.m2v"
ffmpeg.exe -i "D:\Source\Source.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -cgop -g 12 -bf 2 -qmin 2 -qblur 0.3 -qcomp 0.7 -me full -dc 10 -mbd 2 -aspect 16:9 -pass 2 -passlogfile "D:\Video\ffmpegencode" -an -f mpeg2video "D:\Source.m2v"
This setting can encode at a speed of 40fps on my P4D 3.4G computer.
the size of the a frame of the Source.avi file is 1920x798
-target fps=23.976:film-dvd
fps=29.97: ntsc-dvd ntsc-vcd ntsc-svcd
fps=25: pal-dvd pal-vcd pal-svcd
-s with -pad NTSC 720x480
PAL 720x576
-padtop -padbottom:
720x((420 or 576)-(padtop+padbottom))
-padleft -padright:
(720-(padleft+padright))x(420 or 576)
16:9: 798*853/1920=354 => multiple of 4 => 352 => 720x352
-padtop = -padbottom = 64
4:3: 798*640/1920=266 => multiple of 4 => 264 => 720x264
-padtop = -padbottom = 108
-b bitrate bit/s 60000000 => 6000kbps
-maxrate Can but should not be bigger than 8000.
-aspect 4:3 (1.3333) or 16:9 (1.7777)
DAR of source 〉1.77 =〉16:9,other 4:3