完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
本人用的ROC-RK3568-PC开发板,ubuntu系统,两个开发板,一个用来录屏推流,一个用来取流播放,两个开发板设置在同一网段。
#本地mp4文件推rtp流 gst-launch-1.0 filesrc location=/home/firefly/Desktop/test.mp4 ! qtdemux ! rtph264pay config-interval=-1 ! udpsink host=238.0.0.1 port=5000 #本地ts文件推rtp流 gst-launch-1.0 filesrc location=/home/firefly/Desktop/test.ts ! tsdemux ! rtph264pay config-interval=-1 ! udpsink host=238.0.0.1 port=5000 #录屏推rtp流 gst-launch-1.0 ximagesrc remote=1 ! videoconvert ! video/x-raw,format=NV12,framerate=15/1 ! queue ! mpph264enc ! queue ! h264parse ! queue ! rtph264pay config-interval=-1 ! udpsink host=238.0.0.1 port=5000 #取流播放 gst-launch-1.0 -ve udpsrc uri=udp://238.0.0.1:5000 ! application/x-rtp, media=video, clock-rate=90000, encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! mppvideodec ! videoconvert ! rkximagesink sync=false |
|
|
|
你正在撰写答案
如果你是对答案或其他答案精选点评或询问,请使用“评论”功能。
【幸狐Omni3576边缘计算套件试用体验】CPU部署DeekSeek-R1模型(1B和7B)
801 浏览 0 评论
一文掌握RK3568开发板Android13挂载Windows共享目录
1115 浏览 0 评论
【幸狐Omni3576边缘计算套件试用体验】测试USB 摄像头
1715 浏览 1 评论
6263 浏览 0 评论
2799 浏览 0 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-5-10 15:14 , Processed in 0.564543 second(s), Total 37, Slave 32 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191