【问题标题】:Gstreamer RTSP to HLS streaming on WindowsGstreamer RTSP 到 Windows 上的 HLS 流式传输
【发布时间】:2018-08-16 23:19:01
【问题描述】:

我在使用 Gstreamer 的 gst-launch 命令行工具从 RTSP 实时流创建 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 文件和 playlsit 文件,但我无法在 VLC 或 FFMPEG 的 ffplay 中播放它。在谷歌搜索时,我注意到大多数完成相同任务的命令都指定了mpegtsmux 插件,但是当我将它包含在我的命令中时,我得到WARNING: erroneous pipeline: no element "mpegtsmux"。 Windows Gstreamer 的二进制文件是否不包含此插件?还是我做错了什么?

【问题讨论】:

  • 检查您的安装。安装程序有不同的安装选项。也许选择“完全安装”。
  • 这正是问题所在,我忘了在这里发布答案,谢谢。

标签: video-streaming gstreamer rtsp http-live-streaming


【解决方案1】:

在 GStreamer 的安装过程中,我必须选择“完成”安装选项才能获得所有必需的插件。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-09-13
    • 2020-03-22
    • 2012-02-28
    • 2023-01-14
    • 2018-07-01
    • 1970-01-01
    • 1970-01-01
    • 2019-03-25
    相关资源
    最近更新 更多