1

我以前从未使用过 gstreamer,但我正在尝试使用它和 video4linuxloopback 将我的 iPad 变成一个陪审团操纵的网络摄像头。我有一个应用程序,可以将摄像机中的视频输出到本地网络上的 IP,但无论我做什么,我都一直从“pipeline0”获取 EOS。当尝试使用 decodebin 运行它以查看它是否可以自动检测所需内容时,它说它需要一个 text/html 插件,但我似乎找不到它,假设它存在。这是完整的日志

$ gst-launch-1.0 souphttpsrc location=http://192.168.1.6/ ! decodebin ! videoconvert ! v4l2sink device=/dev/video0
libv4l2: error getting pixformat: Invalid argument
Setting pipeline to PAUSED ...
libv4l2: error getting pixformat: Invalid argument
Pipeline is PREROLLING ...
Got context from element 'souphttpsrc0': gst.soup.session=context, session=(SoupSession)NULL, force=(boolean)false;
Missing element: text/html decoder
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0: Your GStreamer installation is missing a plug-in.
Additional debug info:
../gst-plugins-base/gst/playback/gstdecodebin2.c(4678): gst_decode_bin_expose (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0:
no suitable plugins found:
Missing decoder: text/html (text/html)

ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
4

0 回答 0