View Single Post
Old 04-16-2020, 03:46 PM   #42
dhdurgee
Guru
dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.dhdurgee ought to be getting tired of karma fortunes by now.
 
Posts: 910
Karma: 3000002
Join Date: Jun 2010
Device: K3W, PW4
I did a bit of a web search looking for further information and aproaches to attacking the gstreamer problem. This led me to try this:

Code:
[root@kindle mplayer]# /usr/bin/gst-launch -v filesrc location=./audiodump.wav ! 'audio/x-raw-int,rate=(int)44100,channels=(int)2' !
 queue ! mixersink
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = audio/x-raw-int, rate=(int)44100, channels=(int)2
ERROR: from element /GstPipeline:pipeline0/MixerSink:mixersink0: The stream is in the wrong format.
Additional debug info:
gstbaseaudiosink.c(706): gst_base_audio_sink_setcaps (): /GstPipeline:pipeline0/MixerSink:mixersink0:
cannot parse audio format.
Execution ended after 20550000 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
Perhaps someone can help me interpret this further. Looking at the gst-inspect output for mixersink I believe I have the capabilities matched. Is this implying that my audiodump.wav is in incorrect format and I need to try again? Other suggestions?

Dave

PS: I have tried this with and without the WAV header -ao pcm -format s16le

Last edited by dhdurgee; 04-16-2020 at 04:05 PM.
dhdurgee is offline   Reply With Quote