How to send raw audio to kvssink? #977
-
Hi, We are trying to publish raw audio from a USB microphone as part of our We've confirmed we're able to successfully source this raw audio over However, we get an assertion error on Here is the command (also includes video):
Below, I've included output from this command, along with output of Any help is much appreciated! ** Logging **
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Your pipeline seems fine. But, can you try adding |
Beta Was this translation helpful? Give feedback.
-
Thanks! Below is the output of the original command with alaw_log_no_secret_no_access.txt Also, if we add
|
Beta Was this translation helpful? Give feedback.
-
@mikewadhera indeed this is expected, if you use
If you you look at the |
Beta Was this translation helpful? Give feedback.
@mikewadhera indeed this is expected, if you use
gst-inspect-1.0 kvssink
you'll find whatkvssink
accepts. Today it does not acceptaudio/x-raw
, here is what is accepted:https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/blob/master/src/gstreamer/gstkvssink.cpp#L189-L193
audioconvert
will actually not give you this hence the error you see is telling you exact that,audioconvert
cannot handle capsaudio/x-alaw
. If you look at the sink/src pads (https://gstreamer.freedesktop.org/documentation/audioconvert/index.html?gi-language=c) it only givesaudio/x-raw
. Ok so if you need to convert this to try it out just usealawenc
for example: https://gstreamer.freedesktop.org/…