dm355压缩1027x768的视频
压缩的时候一开始会报错
@0x000a3d45:[T:0x40018CMEMK Error: Failed to find a pool which fits 2740224
070] venc - App-> Application started.
CMEM Error: getPool: Failed to get a pool fitting a size 2740224
@0x000a6b2b:[T:0x40018070] venc - ERROR: can't open mpeg4enc
@0x000a7176:[T:0x40018070] venc - app done.
root@192.168.1.222:/opt/dvsdk#
root@192.168.1.222:/opt/dvsdk# ./venc foreman
_vga_422i.yuv 2.mpeg4@0x000aea7a:[T:0x40018070] venc - main> venc
这是因为cmemk.ko分配的缓冲区太小导致的,在loadmodules.sh里将其改大
增加两个3M的pool
启动的时候会报错,说cmemk.ko占用了内核的内存空间,
在uboot内核参数中中将mem=116M
改成mem=109M即可,
正常的进行1024x768的视频压缩。
@0x000a3d45:[T:0x40018CMEMK Error: Failed to find a pool which fits 2740224
070] venc - App-> Application started.
CMEM Error: getPool: Failed to get a pool fitting a size 2740224
@0x000a6b2b:[T:0x40018070] venc - ERROR: can't open mpeg4enc
@0x000a7176:[T:0x40018070] venc - app done.
root@192.168.1.222:/opt/dvsdk#
root@192.168.1.222:/opt/dvsdk# ./venc foreman
_vga_422i.yuv 2.mpeg4@0x000aea7a:[T:0x40018070] venc - main> venc
这是因为cmemk.ko分配的缓冲区太小导致的,在loadmodules.sh里将其改大
增加两个3M的pool
启动的时候会报错,说cmemk.ko占用了内核的内存空间,
在uboot内核参数中中将mem=116M
改成mem=109M即可,
正常的进行1024x768的视频压缩。