********************************************************************************************************************
2009-06-01
Gentoo Linux amd64 stable CFLAGS="-march=core2 -O2 -pipe"
MPlayer SVN-r28450-4.3.2 (C) 2000-2009 MPlayer Team
x264 - core 67 r1163M 3f56e27 - H.264/MPEG-4 AVC codec - Copyleft 2003-2009 -
http://www.videolan.org/x264.html ********************************************************************************************************************
#!/bin/bash
# x264-enc-3p.sh
source="$1"
bitrate="$2"
filters="$3"
name="$(date +%F-%T)".avi
log="$name".log
# 21 for x264 v 0.67.1145M d2e1e1c
e="mencoder-svn "$source" -vf pullup,softskip,"$filters"harddup -ovc x264 -x264encopts threads=auto:psnr:ssim:b_adapt=2:deblock:cabac:chroma_me:subq=9:partitions=all:8x8dct:me=umh:nofast_pskip:nodct_decimate:me_range=32:trellis=2:frameref=16:bframes=16:b_pyramid:weight_b:mixed_refs:direct_pred=auto:keyint=750:keyint_min=25:aq_mode=1:aq_strength=1.0:psy_rd=1.0,0.0:bitrate=$bitrate"
tail -F "$log" 2>/dev/null &
(time (\
time $e:pass=1 -o /dev/null && \
time $e:pass=3 -o /dev/null && \
time $e:pass=3 -o "$name" && \
echo "Encoding time:") &> "$log";\
rm -v divx2pass.log*\
)
sleep 1
kill $!
********************************************************************************************************************
Поток видео: 1877.021 кбит/с (234627 Б/с) размер: 1033478219 байт(а/ов) 4404.760 сек. 110125 кадр(а/ов)
x264 [info]: slice I:373 Avg QP:19.40 size: 38133 PSNR Mean Y:43.72 U:100.00 V:100.00 Avg:45.48 Global:44.66
x264 [info]: slice P:34039 Avg QP:22.13 size: 16315 PSNR Mean Y:40.49 U:100.00 V:100.00 Avg:42.25 Global:41.82
x264 [info]: slice B:75706 Avg QP:23.60 size: 6127 PSNR Mean Y:39.61 U:100.00 V:100.00 Avg:41.37 Global:40.97
x264 [info]: consecutive B-frames: 0.7% 11.9% 51.4% 14.1% 8.5% 7.2% 2.5% 1.3% 0.9% 0.4% 0.3% 0.2% 0.1% 0.1% 0.1% 0.1% 0.0%
x264 [info]: mb I I16..4: 4.1% 78.9% 17.0%
x264 [info]: mb P I16..4: 0.4% 7.9% 1.1% P16..4: 46.3% 25.0% 16.0% 0.9% 0.8% skip: 1.6%
x264 [info]: mb B I16..4: 0.0% 0.8% 0.1% B16..8: 52.9% 2.4% 3.6% direct:10.2% skip:30.0% L0:40.3% L1:47.9% BI:11.8%
x264 [info]: 8x8 transform intra:83.4% inter:59.0%
x264 [info]: direct mvs spatial:99.4% temporal:0.6%
x264 [info]: coded y,uvDC,uvAC intra:93.8% 0.0% 0.0% inter:40.7% 0.0% 0.0%
x264 [info]: ref P L0 50.0% 18.1% 7.3% 4.7% 3.1% 3.4% 2.5% 1.7% 1.3% 1.5% 1.2% 1.2% 1.0% 1.1% 1.0% 0.9%
x264 [info]: ref B L0 60.7% 15.7% 5.4% 3.8% 2.4% 2.5% 1.8% 1.4% 1.1% 1.2% 0.9% 1.0% 0.8% 0.9% 0.6%
x264 [info]: ref B L1 89.9% 10.1%
x264 [info]: SSIM Mean Y:0.9655823
x264 [info]: PSNR Mean Y:39.894 U:99.999 V:99.999 Avg:41.655 Global:41.224 kb/s:1877.01
********************************************************************************************************************