Toybrick

楼主: hisping

RK3399Pro入门教程(10)RTSP推流介绍

guozhaozhong

注册会员

积分
58
楼主
发表于 2020-11-7 15:18:39 | 显示全部楼层
you_big_father 发表于 2019-12-11 20:38
你好  我才看到你的问题。
就是将rga例程的“rockchip_rga”文件夹源码放到RTSP例程根目录下,头文件放到 ...

要修改,V4L2.cpp,不是 V4L2.h
回复

使用道具 举报

guozhaozhong

注册会员

积分
58
沙发
发表于 2020-11-7 17:00:36 | 显示全部楼层
[toybrick@localhost IPCamera]$ ./RTSPServer

"h264ESVideoTest" stream, from the file "test.264"
Play this stream using the URL "rtsp://172.23.100.12:8554/h264ESVideoTest"

(We use port 8000 for optional RTSP-over-HTTP tunneling.)

camera driver name is : uvcvideo
camera device name is : USB2.0 Camera
camera bus information: usb-xhci-hcd.9.auto-1.2
Success in VIDIOC_S_FMT
Success in VIDIOC_G_FMT getSizeInfo()
fmt.fmt.pix.bytesperline:1280
format:YUYV
camera_width:640        ,camera_height:480
video_format:16  YUV 4:2:2

end open_camera
Success in VIDIOC_G_FMT getSizeInfo()
fmt.fmt.pix.bytesperline:1280
format:YUYV
camera_width:640        ,camera_height:480
video_format:16  YUV 4:2:2

end open_camera
creater
pictureSize=460800
SDP Info:a=fmtp:96 packetization-mode=1;profile-level-id=000000;sprop-parameter-sets=H264

__StreamEncoder::H264_encode_close__
closed the camera!

camera driver name is : uvcvideo
camera device name is : USB2.0 Camera
camera bus information: usb-xhci-hcd.9.auto-1.2
Success in VIDIOC_S_FMT
Success in VIDIOC_G_FMT getSizeInfo()
fmt.fmt.pix.bytesperline:1280
format:YUYV
camera_width:640        ,camera_height:480
video_format:16  YUV 4:2:2

end open_camera
Success in VIDIOC_G_FMT getSizeInfo()
fmt.fmt.pix.bytesperline:1280
format:YUYV
camera_width:640        ,camera_height:480
video_format:16  YUV 4:2:2

end open_camera
creater
pictureSize=460800
__DD_H264VideoFileServerMediaSubsession::startStream__
StreamOn success!
Segmentation fault (core dumped)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表