硬件環境:
開發板:mini6410
CPU:arm s3c6410 主頻(532,666)
軟件環境:
OS: linux
指令集:armv6
硬件編解碼:未啟用
1:xin.3gp(320*240)----->out.3gp(176*144)
命令參數1:
./ffmpeg -i /mnt/xin.3gp -vcodec libx264 -b 60k -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -refs 1 -coder 0 -me_range 16 -subq 5 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 -s 176x144 -acodec libamr_wb -ac 1 -ar 16000 -ab 14250 /mnt/out.3gp
CPU主頻 665: fps=6 bitrate=47.49kb/s
CPU主頻 530: fps=5 bitrate=47.49kb/s
命令參數2:
./ffmpeg -i /mnt/xin.3gp -vcodec libx264 -b 60k -flags -loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -me_method dia -subq 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 0 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 0 -refs 1 -directpred 1 -trellis 0 -flags2 -bpyramid-mixed_refs-wpred-dct8x8+fastpskip-mbtree -wpredp 0 -aq_mode 0 -rc_lookahead 0 -s 176x144 -acodec libamr_wb -ac 1 -ar 16000 -ab 14250 /mnt/out.3gp
CPU主頻 665: fps=9 bitrate=64.37kb/s
CPU主頻 530: fps=8 bitrate=64.37kb/s
2:foreman.qcif(176x144)----->out4.avi(176x144)
命令參數1:
./ffmpeg -y -s 176x144 -i /mnt/foreman.qcif -r 25 -vcodec libx264 -b 60k -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -refs 1 -coder 0 -me_range 16 -subq 5 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 /mnt/out4.avi
CPU主頻 665: fps=8 bitrate=139.12kb/s
CPU主頻 530: fps=7 bitrate=139.12kb/s
命令參數2:
./ffmpeg -y -s 176x144 -i /mnt/foreman.qcif -r 25 -vcodec libx264 -coder 0 -flags -loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -me_method dia -subq 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 0 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 0 -refs 1 -directpred 1 -trellis 0 -flags2 -bpyramid-mixed_refs-wpred-dct8x8+fastpskip-mbtree -wpredp 0 -aq_mode 0 -rc_lookahead 0 /mnt/out4.avi
CPU主頻 665: fps=21 bitrate=210.93kb/s
CPU主頻 530: fps=18 bitrate=210.93kb/s
3:320x240.yuv(320x240)----->out3.avi(320x240)
命令參數1:
./ffmpeg -y -s 320x240 -i /mnt/320x240.yuv -r 25 -vcodec libx264 -b 60k -flags +loop -cmp +chroma -deblockalpha 0 -deblockbeta 0 -crf 24 -refs 1 -coder 0 -me_range 16 -subq 5 -g 250 -keyint_min 25 -level 30 -qmin 10 -qmax 51 -trellis 2 -sc_threshold 40 -i_qfactor 0.71 /mnt/out3.avi
CPU主頻 665: fps=6 bitrate=214.66kb/s
CPU主頻 530: fps=4~5 bitrate=214.66kb/s
命令參數2:
./ffmpeg -y -s 320x240 -i /mnt/320x240.yuv -r 25 -vcodec libx264 -coder 0 -flags -loop -cmp +chroma -partitions -parti8x8-parti4x4-partp8x8-partb8x8 -me_method dia -subq 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 0 -i_qfactor 0.71 -b_strategy 0 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 0 -refs 1 -directpred 1 -trellis 0 -flags2 -bpyramid-mixed_refs-wpred-dct8x8+fastpskip-mbtree -wpredp 0 -aq_mode 0 -rc_lookahead 0 /mnt/out3.avi
CPU主頻 665: fps=8 bitrate=204.76kb/s
CPU主頻 530: fps=7 bitrate=204.76kb/s
解碼 x264----->yuv
3:out3.avi(320x240)----->out10.yuv(320x240)
命令參數:
./ffmpeg -y -i out3.avi -s 320x240 out10.yuv
CPU主頻 665:fps=40 bitrate=23040kb/s
CPU主頻 530:fps=21 bitrate=23040kb/s
即時通訊包:
免費下載地址在 http://linux.linuxidc.com/
用戶名與密碼都是www.linuxidc.com
具體下載目錄在 /2012年資料/9月/28日/Linux即時通訊開發---S3C6410編解碼測試