我在使用Gstreamer的gst-launch命令行工具从RTSP live stream创建HLS播放列表时遇到了问题。我的命令是-
gst-launch-1.0 -v -e rtspsrc protocols=tcp location=rtsp://admin:admin@192.168.1.15:554/Streaming/channels/202 ! queue ! rtph264depay ! h264parse config-interval=-1 ! hlssink location="D:\\wamp\\www\\stream\\%06d.ts" playlist-location="D:\\wamp\\www\\stream\\play.m3u8" target-duration=5创建.ts文件和播放列表文件,但我无法在VLC或FFMPEG的ffplay中播放它。在谷歌上搜索时,我注意到大多数完成相同任务的命令都指定了mpegtsmux插件,但是当我将它包含在命令中时,我得到的是WARNING: erroneous pipeline: no element "mpegtsmux"。Windows Gstreamer的二进制文件不包含此插件吗?还是我做错了什么?
发布于 2018-08-17 22:52:51
在GStreamer的安装过程中,我不得不选择'Complete‘安装选项来获得所有需要的插件。
https://stackoverflow.com/questions/51886502
复制相似问题