Hi igorpadykov,
when i tried from the command line
gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! queue ! vpuenc ! h264parse ! mux. alsasrc ! queue ! audioconvert ! voaacenc ! mux. mp4mux name=mux ! filesink -- working
every time it works fine but when i tried to pass caps with this some time it's working some time it's not working.
gst-launch-1.0 -e imxv4l2src device=/dev/video0 ! 'video/x-raw,framerate=30/1,width=1280,height=720' ! clockoverlay ! queue ! vpuenc bitrate=1024 ! h264parse ! mux. alsasrc device=plughw:0,0 ! 'audio/x-raw,rate=8000,channels=2,depth=16,width=16,endianness=1234,signed=true' ! queue ! audioconvert ! voaacenc bitrate=8000 ! mux. flvmux streamable=true name=mux ! filesink location=test.mp4 sync=false -- not working
attached the log here:
Non-Working:
LAV 20: snd_pcm_common_ioctl1
LAV 8: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 11: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 8: snd_pcm_common_ioctl1
LAV 11: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
New clock: GstAudioSrcClock
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
[INFO] ringBufferEnable 0, chromaInterleave 0, mapType 0, linear2TiledEnable 0
[WARN] VPU iram is less than needed, some parts don't uLAV 19: snd_pcm_common_ioctl1
se iram
LAV 1: snd_pcm_delay
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
after that it's not giving anything
Working case:
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
^Chandling interrupt.
Interrupt: Stopping pipeline .LAV 20: snd_pcm_common_ioctl1
..
EOS on shutdown enabled -- Forcing EOS on the pipeline
Waiting for EOS...LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
Got EOS from element "pipeline0".LAV 19: snd_pcm_common_ioctl1
EOS received - stopping pipelinLAV 20: snd_pcm_common_ioctl1
e...
Execution ended after 0:00:LAV 1: snd_pcm_delay
02.161966667
Setting pipeline toLAV 20: snd_pcm_common_ioctl1
PAUSED ...
LAV 20: snd_pcm_common_ioctl1
LAV 19: snd_pcm_common_ioctl1
LAV 1: snd_pcm_delay
Setting pipeline to READY ...
LAV 24: snd_pcm_common_ioctl1
LAV 11: snd_pcm_common_ioctl1
LAV 20: snd_pcm_common_ioctl1
LAV 24: snd_pcm_common_ioctl1
LAV 7: snd_pcm_common_ioctl1
LAV : imx_hifi_hw_free
*********play=1 capture=0 STOP FUNCTION wm8960_set_dai_pll
Setting pipeline to NULL ...
LAV : imx_hifi_hw_free
*********play=1 capture=0 STOP FUNCTION wm8960_set_dai_pll
In this working case continuously LAV 20: snd_pcm_common_ioctl1 this print is coming.
How can i solve this issue, kindly help me to sort it out i am new to gstreamer.
Thanks,
Lavanya