This post was updated on .
i have codeck (cs42888) with 4 input channels on it and 2 channels spdif to play audio. my linein connected to last two channels(3,4) of this codeck and i try to play it byt there is nothing on spdif :(
gst-launch-1.0 -v alsasrc device="sysdefault:CARD=cs42888audio" ! "audio/x-raw,rate=48000,channels=4" ! \ deinterleave name=d interleave name=i ! alsasink device="sysdefault:CARD=imxspdif" d.src_2 ! i.sink_0 d.src_3 ! i.sink_1 Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstAudioSrcClock /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-buffer-time = 192000 /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 21333 Redistribute latency... /GstPipeline:pipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)4\,\ channel-mask\=\(bitmask\)0x0000000000000033" /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)4\,\ channel-mask\=\(bitmask\)0x0000000000000033" /GstPipeline:pipeline0/GstDeinterleave:d.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)4\,\ channel-mask\=\(bitmask\)0x0000000000000033" /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)4\,\ channel-mask\=\(bitmask\)0x0000000000000033" /GstPipeline:pipeline0/GstInterleave:i.GstInterleavePad:sink_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)1" /GstPipeline:pipeline0/GstInterleave:i.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000000" /GstPipeline:pipeline0/GstInterleave:i.GstInterleavePad:sink_1: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)48000\,\ channels\=\(int\)1" handling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:07.030366334 Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... |
Free forum by Nabble | Edit this page |