Gstreamer Mac OS X udpsink error

前端 未结 3 1741
萌比男神i
萌比男神i 2021-02-11 00:51

I’m trying to stream audio in Mac OS X but I keep getting this error:

gst-launch osxaudiosrc ! audioresample ! audioconvert ! alawenc ! rtppcmapay ! udpsink port         


        
3条回答
  •  春和景丽
    2021-02-11 01:28

    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!

提交回复
热议问题