mikeytown2
18th February 2008, 22:16
I added the Notch matrix to the mix, the video looks wrong/off in some areas. Any ideas?
ffmpeg.exe -i in.avs -pass 0 -y -vcodec flv -b 358400 -flags mv4+obmc+qpel+loop+gmc+mv0+umv+trell+aic+cbp+qprd -g 250 -strict 5 -pred 3 -cmp 3 -subcmp 3 -mbcmp 3 -ildctcmp 3 -precmp 3 -skipcmp 3 -subq 1 -coder 5 -mbd 2 -flags2 mixed_refs+brdo+skiprd+non_linear_q -refs 5 -trellis 1 -partitions parti4x4+parti8x8+partp4x4+partp8x8 -i_qfactor 0.71 -qcomp 0.6 -qblur 1 -intra_matrix "8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,31,36,37,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79" -inter_matrix "16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44" out.flv
EDIT
I've been playing around with the matrix settings as well as some others. This is what i've come up with
For Low Bitrate 2pass Encodes (notch matrix (http://www.kvcd.net/portal/articles.php?lng=en&pg=20)); using the idea more=better
Pass 1ffmpeg.exe -i in.avs -pass 1 -y -vcodec flv -b 346112 -flags mv4+obmc+qpel+loop+gmc+mv0+umv+trell+aic+cbp+qprd -g 250 -strict 5 -pred 3 -cmp 3 -subcmp 3 -mbcmp 3 -ildctcmp 3 -precmp 3 -skipcmp 3 -subq 9 -coder 5 -mbd 2 -trellis 10 -i_qfactor 0.71 -qcomp 0.6 -qblur 1 -flags2 mixed_refs+brdo+skiprd+non_linear_q -partitions parti4x4+parti8x8+partp4x4+partp8x8 -inter_matrix "16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44" out.flv
Pass 2ffmpeg.exe -i in.avs -pass 2 -y -vcodec flv -b 346112 -flags mv4+obmc+qpel+loop+gmc+mv0+umv+trell+aic+cbp+qprd -g 250 -strict 5 -pred 3 -cmp 3 -subcmp 3 -mbcmp 3 -ildctcmp 3 -precmp 3 -skipcmp 3 -subq 9 -coder 5 -mbd 2 -trellis 10 -i_qfactor 0.71 -qcomp 0.6 -qblur 1 -flags2 mixed_refs+brdo+skiprd+non_linear_q -partitions parti4x4+parti8x8+partp4x4+partp8x8 -inter_matrix "16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44" out.flv
For Higher Bitrate 2pass Encodes (h.264 HighDetail-V3.1 matrix (http://forum.doom9.org/showthread.php?p=887125)); using the idea more=better
Pass 1ffmpeg.exe -i in.avs -pass 1 -y -vcodec flv -b 716800 -flags mv4+obmc+qpel+loop+gmc+mv0+umv+trell+aic+cbp+qprd -g 250 -strict 5 -pred 3 -cmp 3 -subcmp 3 -mbcmp 3 -ildctcmp 3 -precmp 3 -skipcmp 3 -subq 9 -coder 5 -mbd 2 -trellis 10 -i_qfactor 0.71 -qcomp 0.6 -qblur 1 -flags2 mixed_refs+brdo+skiprd+non_linear_q -partitions parti4x4+parti8x8+partp4x4+partp8x8 -inter_matrix "12,12,12,12,13,16,19,25,12,12,12,12,13,16,21,27,12,12,13,15,18,21,26,33,12,12,15,21,25,30,37,45,13,13,18,25,34,43,54,64,16,16,21,30,43,60,76,94,19,21,26,37,54,76,102,132,25,27,33,45,64,94,132,177" out.flvPass 2ffmpeg.exe -i in.avs -pass 2 -y -vcodec flv -b 716800 -flags mv4+obmc+qpel+loop+gmc+mv0+umv+trell+aic+cbp+qprd -g 250 -strict 5 -pred 3 -cmp 3 -subcmp 3 -mbcmp 3 -ildctcmp 3 -precmp 3 -skipcmp 3 -subq 9 -coder 5 -mbd 2 -trellis 10 -i_qfactor 0.71 -qcomp 0.6 -qblur 1 -flags2 mixed_refs+brdo+skiprd+non_linear_q -partitions parti4x4+parti8x8+partp4x4+partp8x8 -inter_matrix "12,12,12,12,13,16,19,25,12,12,12,12,13,16,21,27,12,12,13,15,18,21,26,33,12,12,15,21,25,30,37,45,13,13,18,25,34,43,54,64,16,16,21,30,43,60,76,94,19,21,26,37,54,76,102,132,25,27,33,45,64,94,132,177" out.flv
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.