Video streaming HTTP实时流媒体不使用摄像头源

Video streaming HTTP实时流媒体不使用摄像头源,video-streaming,gstreamer,live-streaming,http-live-streaming,Video Streaming,Gstreamer,Live Streaming,Http Live Streaming,我正在尝试使用带有tcamsrc的GStreamer通过HTTP创建实时流。我对HLS接收器使用了以下命令: sudo gst-launch-1.0 tcamsrc serial=<id> ! video/x-bayer,format=bggr,width=1280, \ height=960,framerate=15/1 ! capssetter join=false replace=true caps="video/x-bayer, \ format=rggb,width=128

我正在尝试使用带有
tcamsrc
的GStreamer通过HTTP创建实时流。我对HLS接收器使用了以下命令:

sudo gst-launch-1.0 tcamsrc serial=<id> ! video/x-bayer,format=bggr,width=1280, \
height=960,framerate=15/1 ! capssetter join=false replace=true caps="video/x-bayer, \
format=rggb,width=1280, height=960,framerate=15/1" ! tcamwhitebalance ! \
tcamautoexposure ! capssetter join=false replace=true caps="video/x-bayer, \
format=bggr,width=1280,height=960,framerate=15/1" ! bayer2rgb ! videoconvert ! \
video/x-raw,format=I420 ,width=1280, height=960,framerate=15/1 ! videoscale ! \
video/x-raw,format=I420,width=800,height=600,framerate=15/1 ! x264enc ! \
video/x-h264, profile=main ! mpegtsmux ! hlssink max-files=5
sudo gst-launch-1.0 tcamsrc serial=!视频/x-bayer,格式=bggr,宽度=1280\
高度=960,帧率=15/1!capssetter join=false replace=true caps=“video/x-bayer\
格式=rggb,宽度=1280,高度=960,帧速率=15/1“!tcamwhitebalance\
不要暴露!capssetter join=false replace=true caps=“video/x-bayer\
格式=bggr,宽度=1280,高度=960,帧速率=15/1“!拜耳2GB!视频转换\
视频/x-raw,格式=I420,宽度=1280,高度=960,帧速率=15/1!电子秤\
视频/x-raw,格式=I420,宽度=800,高度=600,帧速率=15/1!x264enc\
视频/x-h264,配置文件=main!mpegtsmux!hlssink max files=5
这会导致静态视频播放器不播放流,即使您单击“播放”按钮。我通过
jetty
服务器托管它,这就是浏览器中显示的内容: 正确生成
ts
文件,并成功找到
m3u8
播放列表(否则播放机会给出错误信息)。我假设我以某种方式错误地将流从
x-raw
格式转换为
x-h264
,但我无法使用各种GStreamer元素使其工作


我在
OS X Yosemite 10.10.5上运行此程序,Safari版本是
10.1版(10603.1.30.0.34)

找到了解决方案吗?不幸的是,没有。