Gstreamer Mac OS X udpsink错误 [英] Gstreamer Mac OS X udpsink error
本文介绍了Gstreamer Mac OS X udpsink错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试在Mac OS X中流式传输音频,但始终出现此错误:
gst-launch osxaudiosrc ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! udpsink port=10001 host=192.168.2.10
Setting pipeline to PAUSED …
ERROR: Pipeline doesn’t want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSink:udpsink0: Could not get/set settings from/on resource.
Additional debug info:
gstmultiudpsink.c(804): gst_multiudpsink_configure_client (): /GstPipeline:pipeline0/GstUDPSink:udpsink0:
Could not set TTL socket option (22): Invalid argument
Setting pipeline to NULL …
Freeing pipeline …
这在Windows中可用autoaudiosrc
替换osxaudiosrc
的方法有效,有人知道这是什么问题吗?
谢谢
解决方案
您可能缺少 gst-ffmpeg 插件.我之所以这样说,是因为我遇到了类似的问题.>
You might be missing the gst-ffmpeg plugin. I'm saying this because I'd encoutered a similiar problem.
You can install it using Homebrew (preferred) or MacPorts.
Homebrew command: brew install gst-ffmpeg
I would also suggest installing the other packages. This command will install GStreamer and all it's packages: brew install gstreamer gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-ffmpeg
.
Use brew search gst
to search for other packages that you might need concerning GStreamer.
Good luck!
这篇关于Gstreamer Mac OS X udpsink错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文