Hi,
I've got TI AM5728 evm and try to work with Gstreamer. I want to record lossless sound from tlv320aic3104 to file and then to play it with the same audio codec.
But I've got strange issue, this pipelines work well on PC with Ubuntu 16 and Gstreamer 1.8.2:
gst-launch-1.0 -v alsasrc num-buffers=1000 device="hw:0,0" ! avimux ! filesink location=test.avi
gst-launch-1.0 filesrc location=Linkin.avi ! avidemux ! alsasink
But on evm first pipeline writes test incorrect file (11 sec and size is about 2 Mb) with no sound.
Second pipeline gets an error:
"Internal data stream error".
On evm version of Gstreamer is 1.6.3.
Is it an issue of old Gstreamer's version on ARM or problem is in another things?
Gstreamer log Ubuntu:
user1@ubuntu:~$ gst-launch-1.0 -v alsasrc num-buffers=1000 device="hw:0,0" ! avimux ! filesink location=test.avi
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 = 200000
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0: actual-latency-time = 10000
/GstPipeline:pipeline0/GstAlsaSrc:alsasrc0.GstPad:src: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:audio_0: caps = "audio/x-raw\,\ format\=\(string\)S16LE\,\ layout\=\(string\)interleaved\,\ rate\=\(int\)44100\,\ channels\=\(int\)2\,\ channel-mask\=\(bitmask\)0x0000000000000003"
Redistribute latency...
/GstPipeline:pipeline0/GstAviMux:avimux0.GstPad:src: caps = video/x-msvideo
/GstPipeline:pipeline0/GstFileSink:filesink0.GstPad:sink: caps = video/x-msvideo
Got EOS from element "pipeline0".
Execution ended after 0:00:10.074552188
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
The log is the same on evm, exept "Redistribute latency..." string. There is no this string.
Alexander Romanovskiy.