whb 发表于 2019-3-15 10:17:05

MY-IMX6-EK314测试多媒体有问题,请帮忙看下

1.使用贵公司sdk,烧写的系统,文件系统是qt版本的;
2.测试命令:gst-launch-1.0 v4l2src device=/dev/video0 ! vpuenc_h264 ! rtph264pay ! udpsink host=192.168.1.111
打印如下:
Setting pipeline to PAUSED ...
Product Info: i.MX6Q/D/S
====== VPUENC: 4.0.8 build on Dec 15 2015 12:18:29. ======
wrapper: 1.0.62 (VPUWRAPPER_ARM_LINUX Build on Dec 15 2015 11:24:32)
vpulib: 5.4.32
firmware: 3.1.1.46070
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error.
Additional debug info:
/home/tangb/yocto/imx-3.14.52-1.1.0_ga/build-x11/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0/1.4.5-r0/gstreamer-1.4.5/libs/gst/base/gstbasesrc.c(2933): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
streaming task paused, reason not-negotiated (-4)
Execution ended after 0:00:00.122682333
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
3.命令是参考:《i.MX_Linux_User's_Guide.pdf 》使用gstramer 测试, 只要涉及vpuenc_h264这个插件,都会报错。
请给一个解决问题思路。

唐斌 发表于 2019-3-18 17:29:44

去网盘下载新的烧录工具试试。
http://wiki.myzr.com.cn/index.php?title=MY-IMX6_MfgTool-v2.6_User_Guide
MfgTool-MYIMX6A9-L3.14.52-Base.svn256.20181228.rar
MfgTool-MYIMX6A9-L3.14.52-Patch.svn298.20190219.rar

whb 发表于 2019-3-19 15:30:32

https://pan.baidu.com/s/1eQNrhAU 这个地址的 文件已经下载不了了,请核实下 。谢谢

whb 发表于 2019-3-20 11:08:33

重新烧写了打了补丁的的sdk,文件系统是L31452-fsl-image-qt5-myimx6a9.tar.bz2,但是启动后的界面是个字符终端,而且usb 摄像头打开都失败了 /dev/video0 和/dev/video1 都是打开失败

root@myimx6ek314:~# gst-launch-1.0 v4l2src device=/dev/video0 ! 'video/x-raw,width=640,height=480' ! imxv4l2sink

ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
display(/dev/fb0) resolution is (1024x600).
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
Product Info: i.MX6Q/D/S
ERROR: v4l2 capture: slave not found!
ERROR: v4l2 capture: slave not found!
====== IMXV4L2SINK: 4.0.8 build on Sep 28 2018 02:00:00. ======
ERROR: v4l2 capture: slave not found!
Setting pipeline to PAUSED ...
display(/dev/fb0) resolution is (1024x600).
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not open device '/dev/video0' for reading and writing.
Additional debug info:
/home/myzr/my-yocto/imx-3.14.52-1.1.0_ga/imx6qdlsolo__fsl-imx-fb/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer1.0-plugins-good/1.4.5-r0/gst-plugins-good-1.4.5/sys/v4l2/v4l2_calls.c(620): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
system error: Resource temporarily unavailable
Setting pipeline to NULL ...
Freeing pipeline ...


页: [1]
查看完整版本: MY-IMX6-EK314测试多媒体有问题,请帮忙看下