Here is a puzzle for you. I tried all variations I could think of without success. I then thought to try the audiblesrc, not expecting it to work as there was a authentication property and I had no idea where to find it. IT PLAYED! Here is a log from it:
Code:
[root@kindle mplayer]# /usr/bin/gst-launch -v audiblesrc location=/mnt/us/audible/Free_Excerpt__Star_Wars__Heir_to_the_Empire_-_Behi
nd_the_Scenes_B005JZ4RJ6.aax ! queue ! mixersink
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstAudibleSrc:audiblesrc0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
/GstPipeline:pipeline0/MixerSink:mixersink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
^CCaught interrupt -- handling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 14439976002 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/MixerSink:mixersink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstAudibleSrc:audiblesrc0.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
[root@kindle mplayer]#
I see caps I was using and a few more above in a different order. Trying with my line edited it runs as well, although I heard noting on the headset:
Code:
[root@kindle mplayer]# /usr/bin/gst-launch -v filesrc location=./audiodump.pcm ! 'audio/x-raw-int,endianness=(int)1234,signed=(boole
an)true,width=(int)16,depth=(int)16,rate=(int)22050,channels=(int)1' ! queue ! mixersink
Setting pipeline to PAUSED ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
New clock: GstSystemClock
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
/GstPipeline:pipeline0/MixerSink:mixersink0.GstPad:sink: caps = audio/x-raw-int, endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16, rate=(int)22050, channels=(int)1
Caught interrupt -- ^Chandling interrupt.
Interrupt: Stopping pipeline ...
Execution ended after 5376706001 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/MixerSink:mixersink0.GstPad:sink: caps = NULL
/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 ...
[root@kindle mplayer]#
Now I need to figure how to get mplayer to output in this format. Obviously I will be resampling and converting to monoral from stereo, but getting the rest right will take some time.
Dave