如何使用GStreamer 0.10将mp4文件RC流式传输到rtspsink

如何使用GStreamer 0.10将mp4文件RC流式传输到rtspsink,gstreamer,gstreamer-0.10,Gstreamer,Gstreamer 0.10,我必须使用gstreamer0.10并尝试流式传输mp4文件 为此我试过了 gst-launch-0.10 filesrc位置=./test.mp4!qtdemux!队列h264parse!视频/x-h264,映射=/stream!udpsinkrtsp://192.168.192.100:12345/test 并收到警告: 警告:错误管道:没有元素“h264parse” 如何将文件流式传输为rtsp流?要获取h264parse插件,请运行 “sudo apt安装gstreamer1.0-plu

我必须使用gstreamer0.10并尝试流式传输mp4文件

为此我试过了

gst-launch-0.10 filesrc位置=./test.mp4!qtdemux!队列h264parse!视频/x-h264,映射=/stream!udpsinkrtsp://192.168.192.100:12345/test

并收到警告: 警告:错误管道:没有元素“h264parse”


如何将文件流式传输为rtsp流?

要获取h264parse插件,请运行 “sudo apt安装gstreamer1.0-plugins-bad”

管道

寄件人

gst-launch-1.0 filesrc location=~/file.mp4!qtdemux!队列h264parse!RTPH264支付配置间隔=10!udpsink host=ip\地址\到\流\到端口=9999-v

接受者


gst-launch-1.0 udpsrc port=9999 caps=“应用程序/x-rtp,媒体=(字符串)视频,时钟速率=(int)90000,有效负载=(int)96,编码名称=(字符串)H264”!rtph264depay!身份沉默=0!avdec_h264!视频转换!ximagesink

h264parse是gst-plugins-bad1.0的一部分,请确保您已经安装了它。要流式传输mp4文件,请参阅此链接