基本思路:
网络摄像机(IPC)由摄像头 编码器 网络 推流 这几个部分组成
摄像头获取图像帧 交给编码器编码 通过网络推流到流媒体服务器 最后从流媒体服务器拉流到就能看到摄像头的画面了
摄像头用的是ov2640 接荔枝派zero的DVP接口 需要配置设备树的DVP引脚和i2c引脚 使用Linux的V4L2框架进行操作摄像头 需要配置内核V4L和多媒体支持 在获取图像时要配置成NV21格式给编码器 配置参考: https://whycan.com/t_2039.html
完成以上操作后 要保证有/dev/video0
编码器是用的主线cedar硬编码 将NV21的图像编码成H264 配置参考: https://whycan.com/t_4219.html
完成以上操作后 要保证能在/dev目录下找到cedar_dev和ion
网络是用的WIFI模块rtl8723bs 配置参考: https://whycan.com/t_652.html
推流是使用ffmpeg库进行RTMP推流到PC的nginx的RTMP流媒体服务器
演示环境搭建
荔枝派zero配置
附件中提供了完成以上配置的用于演示的荔枝派镜像 wifi固件 编译好的应用程序
lichee_zero-linux.dd是镜像文件 在linux下使用dd命令烧录进tf卡 以tf卡是/dev/sdb为例
sudo dd if=lichee_zero-linux.dd of=/dev/sdb bs=1M
烧录好镜像到tf卡后 把tf卡拔了再插进入 然后把下面文件复制进tf卡第二分区200多M的 目录/root里
ipc_cedarc_venc
rtl8723bs_nic.bin
烧录完成后启动系统 需要插入ov2640驱动模块 和配置wifi模块
insmod /lib/modules/5.2.0-licheepi-zero/kernel/drivers/media/i2c/ov2640.ko
复制rtl8723bs固件
mkdir -p /lib/firmware/rtlwifi/
cp /root/rtl8723bs_nic.bin /lib/firmware/rtlwifi/
加载驱动 打开网卡
modprobe r8723bs.ko
ifconfig wlan0 up
替换wifi配置内容
编辑要连接的wifi名和密码 替换wifiname 和password
vi /etc/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
network={
ssid="wifiname"
scan_ssid=1
key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
pairwise=TKIP CCMP
group=CCMP TKIP WEP104 WEP40
psk="password"
priority=5
}
根据配置开始扫描并连接指定wifi
wpa_supplicant -B -d -i wlan0 -c /etc/wpa_supplicant.conf
等wifi连接后 获取ip等信息
udhcpc -i wlan0
至此荔枝派zero演示环境已经配置好了
PC操作系统为win10
在PC上安装Nginx 并加入RTMP插件 配置好nginx-win.conf文件
附件上有配置好的Nginx 可以直接用
在PC上安装ffmpeg 并配置好环境变量
附件上有ffmpeg 要配置一下环境变量
“计算机”->“属性”->“高级系统设置“->”环境变量“->“系统变量”->“Path“->“编辑” 将.exe文件所在的路径添加进去即可。
例如:
D:\CS\ffmpeg\ffmpeg-4.3.1-win64-shared\bin
配置好环境变量后在cmd输入命令检验
ffmpeg -version
在安装好Nginx和ffmpeg后 进行流媒体服务器推流拉流测试
启动Nginx
打开cmd 进入Nginx目录执行命令启动
比如路径在d:\cs\nginx 1.7.11.3 Gryphon
依次执行以下命令
d:
cd cs\nginx 1.7.11.3 Gryphon
nginx.exe -c conf\nginx-win.conf
执行完后cmd不会输出什么信息 流媒体服务器已经启动了 此时可以关掉这个cmd
再打开两个cmd 进行ffmpeg推流拉流
先进行ffmpeg 拉流:
ffplay rtmp://localhost:1935/live/home
再进行ffmpeg推流:
ffmpeg -re -i d:\bad_apple.mp4 -vcodec libx264 -acodec aac -f flv rtmp://127.0.0.1:1935/live/home
附件上有测试文件bad_apple.mp4
执行完后 出现正在播放视频窗口 说明流媒体服务器和推流拉流测试正常 PC演示环境已经配置好了
推流拉流可能会出现失败提示
[rtmp @ 0x42b50] Cannot read RTMP handshake response
重新再执行一次命令就行 荔枝派推流失败出现同样的提示时同理
在推流的cmd按ctrl+c关掉推流 用同样的方式关掉拉流或者直接关掉视频窗口
接下来用荔枝派zero推流给PC
再在PC打开拉流
ffplay rtmp://localhost:1935/live/home
在荔枝派推流
./ipc_cedarc_venc 800x600 /dev/video0 rtmp://192.168.43.64/live/home
参数分别是 分辨率 输入摄像头设备 输出RTMP流媒体服务器地址
其中192.168.43.64要换成你的PC的IP地址 确保PC和荔枝派在同一个局域网
过一会 就可以在PC看到摄像头画面的视频窗口
有时候过了10-20秒还没出现视频窗口则需要重新执行拉流推流 如果还不行则需要重启荔枝派
至此演示环境搭建好了
演示效果:
验证平台:
硬件 荔枝派zero 主控V3s
Linux 主线内核5.2荔枝派官方的
根目录 Buildroot 2019.08
编译器 Buildroot 里的gcc 8.3
流媒体服务器Nginx 1.7.11.3 Gryphon 带RTMP插件
PC拉流 ffmpeg 4.3.1
荔枝派推流 ffmpeg 4.2
应用程序编译
项目功能由编程实现 项目附件中有工程源码 交叉编译产生应用程序 工程是用CMake构建Makefile
在PC上安装Cmake
apt-get install cmake
然后在CMakeLists.txt修改链接库路径和编译器路径 修改好后 在源码目录下 输入(注意有个点)
cmake .
再输入
make
就编译出了应用程序 复制进荔枝派就可以运行了
系统构建配置
自己构建系统会比较容易遇到问题 所以我在附件里提供了设备树 内核配置文件 Buildrood配置文件
离线
离线
Hello, what is a ipc_cedarc_venc?
where can I get it?
最近编辑记录 niyazfattahov (2021-08-14 19:49:10)
离线
Hello, what is a ipc_cedarc_venc?
where can I get it?
exec 荔枝派zero主线内核使用cedar硬编码和RTMP推流的网络摄像机附件\演示环境\应用程序\ipc_cedarc_venc
source 荔枝派zero主线内核使用cedar硬编码和RTMP推流的网络摄像机附件\源码工程\ipc_cedarc_venc
离线
Hello, why libomxil-bellagio.so is listed in cmakelist? I removed him and it works fine without him.
I'm streaming 1280x720 and get low fps ~15, could you please explain me whats the reason for that? I see cpu load ~ 86%, but cannot understand whats the reason.
I use buildroot-2021.08 & linux-5.13.9, the camera is ov5640
离线
我擦,忽然发现这个nigix在Windows上很难装rtmp插件啊,这个插件从github上下载回来的全是源代码,又不知道怎么编译,烦请大神指点一二啊。
离线
好吧,参考这篇博文[https://blog.csdn.net/mengzhengjie/article/details/50977752],我安装好nginx+rtmp了。
现在已经能在PC上推流拉流了。
忽然发现必须使用LZ的 ipc_cedarc_venc
搜了一圈没有这个资料啊,还是得下载LZ的源码包吗???可怜我只有1.5分。
离线
请问大佬,我使用的是荔枝派5.2的内核,buildroot使用的是2019.08,和你的是一样的;按照流程配置完内核和buildroot之后,能找到/dev/cedar_dev和/dev/ion,能用Cedar硬件解码并播放ban_apple,并且我能用fswebcam -S 1 -d /dev/video0 -p UYVY -r 800x600 test.jpg命令顺利拍照。但是在自己编译运行你发布的ipc_cedarc_venc应用程序之后,出现了Segmentation fault,我从debug信息中看到:error : venc <videodev_out_buf:171>:ioctl VIDIOC_DQBUF fail ret = ffffffff这样一段错误,请问问题可能出在哪里呢?求大佬指点一二~
完整log信息如下
# ./ipc_cedarc_venc 800x600 /dev/video0 rtmp://192.168.0.103/live/home
warning: venc <pix_arg_get:149>:pix_arg_get 800x600
warning: venc <main:58>:video dev :/dev/video0
warning: venc <main:59>:rtmp url :rtmp://192.168.0.103/live/home
warning: venc <videodev_init:67>:ioctl VIDIOC_G_FMT ret = 0
warning: venc <main:68>:videodev_init succ
Output #0, flv, to 'rtmp://192.168.0.103/live/home':
Stream #0:0: Video: h264 (libopenh264), nv21, 800x600, q=2-31, 2097 kb/s, 1k tbn
debug : omx_thread <createThread:123>:+++++ self->mThread: 3038561360
debug : omx_thread <OmxThread_Run:151>:thread venc start to run!
debug : omx_thread <createThread:123>:+++++ self->mT[ 8.982947] ------------[ cut here ]------------
hread: 3030168656
debug : omx_thread <OmxThread_Run:151>:threa[ 8.988878] WARNING: CPU: 0 PID: 139 at mm/page_alloc.c:4711 __alloc_pages_nodemask+0x2d4/0xd7c
d rtmp start to run!
error : venc <videodev_out_buf:171>: 9.003050] Modules linked in:
31mioctl VIDIOC_DQBUF fail ret = ffffffff
debug : ionAlloc[ 9.011652] CPU: 0 PID: 139 Comm: venc Not tainted 5.2.0-licheepi-zero+ #78
[ 9.024124] Hardware name: Allwinner sun8i Family
[ 9.028849] [<c010ede4>] (unwind_backtrace) from [<c010b774>] (show_stack+0x10/0x14)
[ 9.036589] [<c010b774>] (show_stack) from [<c07e2bd8>] (dump_stack+0x88/0x9c)
[ 9.043808] [<c07e2bd8>] (dump_stack) from [<c011ddb4>] (__warn+0xdc/0xf4)
[ 9.050677] [<c011ddb4>] (__warn) from [<c011dee4>] (warn_slowpath_null+0x40/0x48)
[ 9.058237] [<c011dee4>] (warn_slowpath_null) from [<c01fd914>] (__alloc_pages_nodemask+0x2d4/0xd7c)
[ 9.067361] [<c01fd914>] (__alloc_pages_nodemask) from [<c0114704>] (__dma_alloc_buffer.constprop.4+0x34/0x8c)
[ 9.077349] [<c0114704>] (__dma_alloc_buffer.constprop.4) from [<c0114780>] (__alloc_remap_buffer+0x24/0x9c)
[ 9.087162] [<c0114780>] (__alloc_remap_buffer) from [<c0114824>] (remap_allocator_alloc+0x2c/0x34)
[ 9.096195] [<c0114824>] (remap_allocator_alloc) from [<c01149d8>] (__dma_alloc+0x17c/0x2a0)
[ 9.104622] [<c01149d8>] (__dma_alloc) from [<c0114b74>] (arm_dma_alloc+0x40/0x48)
[ 9.112183] [<c0114b74>] (arm_dma_alloc) from [<c017ccc4>] (dma_alloc_attrs+0xd0/0x110)
[ 9.120182] [<c017ccc4>] (dma_alloc_attrs) from [<c0603a34>] (ion_cma_allocate+0x58/0x108)
[ 9.128437] [<c0603a34>] (ion_cma_allocate) from [<c0600d88>] (ion_alloc+0xec/0x438)
[ 9.136171] [<c0600d88>] (ion_alloc) from [<c06018c0>] (ion_ioctl+0x1e4/0x424)
[ 9.143386] [<c06018c0>] (ion_ioctl) from [<c022adf0>] (do_vfs_ioctl+0xac/0x8c8)
[ 9.150775] [<c022adf0>] (do_vfs_ioctl) from [<c022b640>] (ksys_ioctl+0x34/0x58)
[ 9.158162] [<c022b640>] (ksys_ioctl) from [<c0101000>] (ret_fast_syscall+0x0/0x54)
[ 9.165805] Exception stack(0xc2441fa8 to 0xc2441ff0)
[ 9.170852] 1fa0: b40005b8 b6f75080 00000005 c0144900 b51cbb34 00000003
[ 9.179018] 1fc0: b40005b8 b6f75080 b6f750cc 00000036 00000000 b40005b8 b6f2d138 b40005d0
[ 9.187181] 1fe0: b58a08d0 b51cbafc b6f639ac b58a08dc
<__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug : ion[ 9.192276] ---[ end trace 4fe1418e4497cb7c ]---
Alloc <ion_alloc_open:134>:begin ion_alloc_open
debug : ced[ 9.202445] platform cma: Fail to allocate buffer
arc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
error : ionAlloc <ion_alloc_palloc:335>:ION_IOC_ALLOC error
error : cedarc <BitStreamCreate:45>: pSbmBuf == NULL.
error : cedarc <H264InitMemory:904>: h264Context->pBSMamager == NULL
Segmentation fault
最近编辑记录 TooomChow (2022-05-11 17:02:55)
离线
@TooomChow
问题已经解决,因为我开了网络根文件系统NFS root,所以我在内核里配置CMA_SIZE_MBYTES的时候,导致申请不到足够的空间,在log中报了[ 0.000000] cma: Failed to reserve 32 MiB的错误,直接导致运行楼主ipc应用程序时Cedar报ION_IOC_ALLOC error的错误,目前将CMA_SIZE_MBYTES大小改到较小数值之后能够申请到空间,ipc应用程序也能正常运行了
离线
摄像头用的是ov2640 接荔枝派zero的DVP接口 需要配置设备树的DVP引脚和i2c引脚 使用Linux的V4L2框架进行操作摄像头 需要配置内核V4L和多媒体支持 在获取图像时要配置成NV21格式给编码器 配置参考: https://whycan.com/t_2039.html
完成以上操作后 要保证有/dev/video0
请问怎么将ov2640的图像格式修改为NV21,我的ov2640默认是UYVY 格式。
最近编辑记录 helo (2022-06-01 18:15:51)
离线
我的运行之后,提示 error : venc <av_rtmp_send:235>:av_interleaved_write_frame failed ret = -104 错误:
# ./ipc_cedarc_venc 800x600 /dev/video0 rtmp://192.168.19.105/live/home
warning: venc <pix_arg_get:149>:pix_arg_get 800x600
warning: venc <main:58>:video dev :/dev/video0
warning: venc <main:59>:rtmp url :rtmp://192.168.19.105/live/home
warning: venc <videodev_init:67>:ioctl VIDIOC_G_FMT ret = 0
warning: venc <main:68>:videodev_init succ
Output #0, flv, to 'rtmp://192.168.19.105/live/home':
Stream #0:0: Video: h264 (libopenh264), nv21, 800x600, q=2-31, 2097 kb/s, 1k tbn
debug : omx_thread <createThread:123>:+++++ self->mThread: 3031700544
debug : omx_thread <OmxThread_Run:151>:thread venc start to run!
debug : omx_thread <createThread:123>:+++++ self->mThread: 3023307840
debug : omx_thread <OmxThread_Run:151>:thread rtmp start to run!
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:176>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK
debug : cedarc <VeRelease:1253>: ve release ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:176>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
error : cedarc <H264SetParameter:3365>: IcVersion 1681 don't support this eGopMode:-1225615132
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK
debug : cedarc <VeRelease:1253>: ve release ok
error : venc <av_rtmp_send:235>:av_interleaved_write_frame failed ret = -104
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:176>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
error : cedarc <H264SetParameter:3365>: IcVersion 1681 don't support this eGopMode:-1225615132
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK
debug : cedarc <VeRelease:1253>: ve release ok
error : venc <av_rtmp_send:235>:av_interleaved_write_frame failed ret = -104
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:176>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
error : cedarc <H264SetParameter:3365>: IcVersion 1681 don't support this eGopMode:-1225615132
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK
debug : cedarc <VeRelease:1253>: ve release ok
error : venc <av_rtmp_send:235>:av_interleaved_write_frame failed ret = -104
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <ion_alloc_open:176>:** phy offset = 40000000
debug : cedarc <VeRelease:1253>: ve release ok
debug : cedarc <LogVersionInfo:40>:
>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : createBranch_customize_sylix
branch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------^Cbranch: CedarC-v1.1.9
commit: 4a182bd42c931bea2f77b0ff9a531d233df8541e
date : Thu May 25 15:34:03 2017 +0800
author: jenkins8080
patch :
----------------------------------------------------------------------
warning: venc <sigint_handler:108>:exit sig
debug : omx_thread <OmxDestroyThread:335>:running destroy
debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 360 Mhz ***
debug : cedarc <VeInitialize:1198>: ve init ok
debug : ionAlloc <__GetIonMemOpsS:986>:*** get __GetIonMemOpsS ***
debug : ionAlloc <ion_alloc_open:135>:begin ion_alloc_open
error : cedarc <H264SetParameter:3365>: IcVersion 1681 don't support this eGopMode:-1225615132
debug : cedarc <VideoEncInit:195>: (f:VideoEncInit, l:195)
debug : cedarc <VideoEncInit:210>: (f:VideoEncInit, l:210)
debug : omx_thread <loopEntryWrapper:72>:exit thread rtmp truely!!!
debug : omx_thread <OmxDestroyThread:335>:running destroy
debug : cedarc <BitStreamCreate:102>: BitStreamCreate OK
debug : cedarc <VeRelease:1253>: ve release ok
debug : omx_thread <loopEntryWrapper:72>:exit thread venc truely!!!
[flv @ 0x41270] Failed to update header with correct duration.
[flv @ 0x41270] Failed to update header with correct filesize.
warning: venc <main:99>:exit succ
离线