完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
如何使用gstreamer访问8MP前置CSI摄像头? 我已经阅读了这个页面但是没有真正提到它:06相机和视频·intel-aero / meta-intel-aero Wiki·GitHub 我尝试了类似的命令:sudo gst-launch-1.0 v4l2src device = / dev / video13 do-timestamp = true! video / x-raw,format = YUY2,width = 640,height = 480,framerate = 15/1! autovideoconvert! vaapih264enc! rtph264pay! udpsink host = 192.168.1.147 port = 5600 (显然我的IP)和尝试不同的/ dev / video *端口,但它没有真正起作用。 它在哪个设备上? 谢谢 翁 以上来自于谷歌翻译 以下为原文 Hi, How can I access the 8MP front facing CSI camera to stream using gstreamer? I've read this page but there isn't really a mention of it: 06 Cameras and Video · intel-aero/meta-intel-aero Wiki · GitHub I tried a command similar to: sudo gst-launch-1.0 v4l2src device=/dev/video13 do-timestamp=true ! video/x-raw, format=YUY2, width=640, height=480, framerate=15/1 ! autovideoconvert ! vaapih264enc ! rtph264pay ! udpsink host=192.168.1.147 port=5600 (with my IP obviously) and tried different /dev/video* ports but it hasn't really worked. Which device is it on? Thanks Dion |
|
相关推荐
3个回答
|
|
嗨Dion,感谢您对英特尔®Aero计算板的兴趣。请您提供有关您的设置的更多详细信息?您打算在哪里打开流:直接在无人机或远程计算机上?如果是
远程计算机,请确保它已正确连接到无人机的接入点。另外,请确保您正在更改QGC中的视频设置:https://github.com/intel-aero/meta-intel-aero/wiki / 06-Cameras-and-VideoDid你试试/ dev / video0?当你运行那个命令时什么不能正常工作?你能提供你收到的输出吗?任何可以帮助我们识别问题的其他信息会 非常感激。理查德,乔治 以上来自于谷歌翻译 以下为原文 Hi Dion, Thank you for your interest in Intel® Aero Compute Board. Could you please provide more details about your set-up? Where are you trying to open the stream: directly on the drone or on a remote computer? If it is a remote computer, please make sure it is connected to the drone's access point properly. Also, please make sure that you are changing the video settings in QGC: https://github.com/intel-aero/meta-intel-aero/wiki/06-Cameras-and-Video Did you try /dev/video0? What isn't really working when you are running that command? Could you please provide the output that you receive? Any additional information that could help us to identify the problem would be much appreciated. Regards, George |
|
|
|
jerry1978 发表于 2018-10-31 08:49 HI George, 我只是试图直接在aero上启动UDP或RTSP流,所以我可以在其他地方接收它。 我想运行类似的命令 sudo gst-launch-1.0 v4l2src device = / dev / video0 do-timestamp = true! video / x-raw,format = YUY2,width = 640,height = 480,framerate = 15/1! autovideoconvert! vaapih264enc! rtph264pay! udpsink host = 192.168.1.147 port = 5600 但我得到这个错误,它立即退出: aero @ ubuntu-aero:〜$ sudo gst-launch-1.0 v4l2src device = / dev / video0 do-timestamp = true! video / x-raw,format = YUY2,width = 640,height = 480,framerate = 15/1! autovideoconvert! vaapih264enc! rtph264pay! udpsink host = 192.168.1.147 port = 5600 航空的[sudo]密码: 将管道设置为PAUSED ... 错误:未在环境中设置XDG_RUNTIME_DIR。 libva info:VA-API版本0.39.0 libva info:va_getDriverName()返回0 libva info:试图打开/usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info:找到init函数__vaDriverInit_0_39 libva info:va_openDriver()返回0 管道现场直播,不需要PREROLL ...... 从元素'vaapiencodeh264-0'获得上下文:gst.vaapi.Display = context,gst.vaapi.Display =(GstVaapiDisplay)NULL; 将管道设置为播放... 新时钟:GstSystemClock 错误:来自element / GstPipeline:pipeline0 / GstV4l2Src:v4l2src0:设备'/ dev / video0'无法捕获640x480 其他调试信息: gstv4l2object.c(3458):gst_v4l2_object_set_format_full():/ GstPipeline:pipeline0 / GstV4l2Src:v4l2src0: 对于YUYV @ 640x480,调用S_FMT失败:参数无效 执行在0:00:01.030384570之后结束 将管道设置为PAUSED ... 将管道设置为READY ... 将管道设置为NULL ... 释放管道...... 航空@ Ubuntu的航空:〜$ 我也停止了csd所以它没有干扰(systemctl stop csd)。 使用video13运行命令工作正常! 只是没有视频0。 我对QGC很熟悉,问题不在于此。 只是无法打开前置摄像头...... 干杯 翁 以上来自于谷歌翻译 以下为原文 HI George, I'm just attempting to start the UDP or RTSP stream on the aero directly so I can receive it elsewhere. I'd like to run a command similar to sudo gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true ! video/x-raw, format=YUY2, width=640, height=480, framerate=15/1 ! autovideoconvert ! vaapih264enc ! rtph264pay ! udpsink host=192.168.1.147 port=5600but i get this error with it exiting immediately: aero@ubuntu-aero:~$ sudo gst-launch-1.0 v4l2src device=/dev/video0 do-timestamp=true ! video/x-raw, format=YUY2, width=640, height=480, framerate=15/1 ! autovideoconvert ! vaapih264enc ! rtph264pay ! udpsink host=192.168.1.147 port=5600I also stopped csd so it wasn't interfering (systemctl stop csd). Running the command with video13 works fine! just not video0. I'm familiar with QGC, the the issue doesn't lay there. Just can't open the front facing camera... Cheers Dion |
|
|
|
您好Dion,这是工程团队正在研究的800万像素摄像头的一个已知问题。您可以找到一个可用于从800万像素摄像头捕获帧的示例应用程序但不幸的是,它太暗了.https:// github.com/intel-aero/sample-apps/tree/master/hd-cameraBest问候,乔治 以上来自于谷歌翻译 以下为原文 Hello Dion, This is a known issue with the 8MP camera that the engineering team is looking into. You can find a sample app that can be used to capture a frame from the 8MP camera but unfortunately, it is too dark. https://github.com/intel-aero/sample-apps/tree/master/hd-camera Best regards, George |
|
|
|
只有小组成员才能发言,加入小组>>
538浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-12 04:22 , Processed in 0.522217 second(s), Total 50, Slave 44 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号