linux即时通讯开发---s3c6410编解码测试

简介:

硬件环境:

开发板: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://ishare.iask.sina.com.cn/f/33855035.html



本文转自 fanxiaojun 51CTO博客,原文链接:http://blog.51cto.com/2343338/1008967,如需转载请自行联系原作者

相关文章
|
7月前
|
Linux Shell
linux自动崩溃,模拟测试
该脚本创建一个 systemd 服务和定时器,在系统启动3分钟后触发崩溃。通过向 /proc/sysrq-trigger 写入 "c" 来实现内核崩溃,用于测试系统崩溃后的恢复机制。
170 4
|
4月前
|
SQL 安全 Linux
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
251 1
Metasploit Pro 4.22.8-20251014 (Linux, Windows) - 专业渗透测试框架
|
4月前
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
338 1
Metasploit Framework 6.4.95 (macOS, Linux, Windows) - 开源渗透测试框架
|
5月前
|
安全 Linux 网络安全
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
391 2
Metasploit Pro 4.22.8-2025091701 (Linux, Windows) - 专业渗透测试框架
|
5月前
|
Linux 网络安全 iOS开发
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
464 1
Metasploit Framework 6.4.90 (macOS, Linux, Windows) - 开源渗透测试框架
|
6月前
|
运维 Linux 开发者
Linux系统中使用Python的ping3库进行网络连通性测试
以上步骤展示了如何利用 Python 的 `ping3` 库来检测网络连通性,并且提供了基本错误处理方法以确保程序能够优雅地处理各种意外情形。通过简洁明快、易读易懂、实操性强等特点使得该方法非常适合开发者或系统管理员快速集成至自动化工具链之内进行日常运维任务之需求满足。
416 18
|
5月前
|
安全 Linux 网络安全
Metasploit Framework 6.4.88 (macOS, Linux, Windows) - 开源渗透测试框架
Metasploit Framework 6.4.88 (macOS, Linux, Windows) - 开源渗透测试框架
605 0
|
5月前
|
存储 安全 Linux
Kali Linux 2025.3 发布 (Vagrant & Nexmon) - 领先的渗透测试发行版
Kali Linux 2025.3 发布 (Vagrant & Nexmon) - 领先的渗透测试发行版
700 0
|
安全 Linux 测试技术
OpenText Static Application Security Testing (Fortify) 25.3 (macOS, Linux, Windows) - 静态应用安全测试
OpenText Static Application Security Testing (Fortify) 25.3 (macOS, Linux, Windows) - 静态应用安全测试
411 0
|
5月前
|
存储 测试技术 API
数据驱动开发软件测试脚本
今天刚提交了我的新作《带着ChatGPT玩转软件开发》给出版社,在写作期间跟着ChatGPT学到许多新知识。下面分享数据驱动开发软件测试脚本。
174 0