obs-gstreamer

obs-gstreamer 0.3.1

ntoonio

New Member
Hi! Thanks for this great project!

I'm having some problems with using audio.

I have this
Code:
shmsrc socket-path=/tmp/test is-live=true do-timestamp=true ! queue ! audio/x-raw,rate=48000,channels=2,format=S16LE ! audio.
And I'm getting the error

Filter caps do not completely specify the output format

0:00:15.093086703 10535 0x56492dfef6a0 FIXME default gstutils.c:3980:gst_pad_create_stream_id_internal:<shmsrc3:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
0:00:15.098204982 10535 0x56492e0329e0 WARN capsfilter gstcapsfilter.c:453:gst_capsfilter_prepare_buf:<capsfilter11> error: Filter caps do not completely specify the output format
0:00:15.098267305 10535 0x56492e0329e0 WARN capsfilter gstcapsfilter.c:453:gst_capsfilter_prepare_buf:<capsfilter11> error: Output caps are unfixed: audio/x-raw, rate=(int)48000, format=(string)S16LE, channels=(int)2, layout=(string){ interleaved, non-interleaved }
0:00:15.098379089 10535 0x56492e0329e0 WARN basetransform gstbasetransform.c:2167:default_generate_output:<capsfilter11> could not get buffer from pool: error
error: Filter caps do not completely specify the output format

Although I can hear it when I change audio. to autoaudiosink. Then it's going though my speakers but not into OBS.

I'm guessing I have to add some field to the caps filter, but I can't figure out what that would be...
 

Tuna

Member
Instead of a caps filter I would try to use "rawaudioparse" element.

But probably it wants to know whether the data is interleaved of not.
 
Top