使用 gstreamer 录制音频/视频

问题描述

我使用的是 Windows 10,我应该编写一个管道,以便从网络摄像头录制音频(opus)和视频(mpegts)。

目前我已经编写了这个管道:

gst-launch-1.0 videotestsrc !视频/x-raw,宽度=1280,高度=720,帧率=10/1! x264enc!队列 !多路复用器2。 mpegtsmux 名称=mux2 ! hlssink max-files=0 target-duration=7 location=outut-hls/segment_%05d.ts playlist-location=output-hls/playlist.m3u8 audiotestsrc !操作!队列 ! mux2。

可以正常工作,因为有:videotestsrc 和 audiotestsrc。

你能帮我编辑这个管道,以便从网络摄像头和麦克风录制音频(opus)和视频(mpegts)并将其存储在一个文件中吗?

谢谢!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)