This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
您可以在不开始录制的情况下启动 VLC,并通过各种界面之一来控制它。可能 rc 可能是您想要完成此任务的人。
如果你用这样的东西启动 vlc:
你可以像这样用 netcat 发送命令:
另外,根据你如何做,很多编程语言都有 vlc 的包装器,这可能会让你的生活更轻松:
You can start VLC without starting your recording and control it through one of it's various interfaces. Probably rc is probably the one you want for this task.
If you start vlc with something like this:
you can send it commands with netcat like this:
Also, depending how you're doing this, a lot of programming languages have wrappers for vlc which might make your life easier:
查看此博客,其中包含所有命令的详细描述可用的。
您的命令将是“add rtsp://teams....”。不过,VLC 必须先启动所有其他选项。
check out this blog with a nice description of all the commands available.
Your command would be "add rtsp://teams....". VLC must be started with all your other options before though.