maxfu
18th January 2007, 08:49
How to use ffmpeg commandline encoding tool to encode high quality files. Is my commandline good enough?
My commandline:
ffmpeg.exe -i "D:\Video\Fearless\Fearless.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -trellis -cgop -g 12 -bf 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:\Fearless.m2v"
ffmpeg.exe -i "D:\Video\Fearless\Fearless.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -trellis -cgop -g 12 -bf 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:\Fearless.m2v"
This setting can encode at a speed of 40fps on my computer.
What do -qblur and -qcomp mean?
And why is the output file still OGOP file?
Is there any GUI for ffmpeg to encode to MPEG2 files?
MPEG2 encoding is really an interesting thing. I used to encode with TMPG, but there is a problem. It is not free. I have to pay for the MPEG2 encoder of TMPG. And it is not fast enough. So several months ago, I tried mencoder. It is fast. But it doesn't obey my my maxbitrate setting. The maxbitrate of the output file is too high for my Pioneer standard DVD Player. Then I tried QuEnc. To be honest it is really really good. It is faster than TMPG and it obeys the maxbitrate setting. But it is still not fast enough to encode high quality files with trellis matrix. Finally I found ffmpeg, the core of QuEnc. It is really fast because it is a commandline program.
My commandline:
ffmpeg.exe -i "D:\Video\Fearless\Fearless.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -trellis -cgop -g 12 -bf 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:\Fearless.m2v"
ffmpeg.exe -i "D:\Video\Fearless\Fearless.avi" -target film-dvd -s 720x352 -padtop 64 -padbottom 64 -maxrate 7350000 -b 3700000 -sc_threshold 1000000000 -trellis -cgop -g 12 -bf 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:\Fearless.m2v"
This setting can encode at a speed of 40fps on my computer.
What do -qblur and -qcomp mean?
And why is the output file still OGOP file?
Is there any GUI for ffmpeg to encode to MPEG2 files?
MPEG2 encoding is really an interesting thing. I used to encode with TMPG, but there is a problem. It is not free. I have to pay for the MPEG2 encoder of TMPG. And it is not fast enough. So several months ago, I tried mencoder. It is fast. But it doesn't obey my my maxbitrate setting. The maxbitrate of the output file is too high for my Pioneer standard DVD Player. Then I tried QuEnc. To be honest it is really really good. It is faster than TMPG and it obeys the maxbitrate setting. But it is still not fast enough to encode high quality files with trellis matrix. Finally I found ffmpeg, the core of QuEnc. It is really fast because it is a commandline program.