imx6 gstreamer mfw_v4lsrc from ov5640 camera fails when matroskamux debug at level 5

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6 gstreamer mfw_v4lsrc from ov5640 camera fails when matroskamux debug at level 5

2,012 Views
normancheung
Contributor III

I have a running gstreamer pipeline running on Wandboard iMx6 solo below

gst-launch --gst-debug=2 mfw_v4lsrc capture-mode=4 ! queue max-size-buffers=1 ! vpuenc codec=6 bitrate= 2097152 ! queue !  mux. alsasrc ! mfw_mp3encoder bitrate=64 optmod=0 channels=1 ! queue ! mux. matroskamux name=mux ! filesink location=test.mkv

When I turn up the traces for matroskamux to 4, it fails.  It seems to fail at init or not getting any data from the sensor.

gst-launch --gst-debug=*:2,matroskamux:4 mfw_v4lsrc capture-mode=4 ! queue max-size-buffers=1 ! vpuenc codec=6 bitrate= 2097152 ! queue !  mux. alsasrc ! mfw_mp3encoder bitrate=64 optmod=0 channels=1 ! queue ! mux. matroskamux name=mux ! filesink location=dtest.mkv

[ 5790.920024] ERROR: v4l2 capture: mxc_v4l_dqueue timeout enc_counter 0

0:00:11.831708335  2094   0x1473b0 ERROR             mfw_v4lsrc mfw_gst_v4lsrc.c:1215:mfw_gst_v4lsrc_buffer_new: >>V4L_SRC: VIDIOC_DQBUF failed.

0:00:11.832200335  2094   0x1473b0 WARN                 basesrc /home/norman/dev_branch_sep16/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c:2625:gst_base_src_loop:<video_src> error: Internal data flow error.

0:00:11.832366001  2094   0x1473b0 WARN                 basesrc /home/norman/dev_branch_sep16/fsl-community-bsp/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/gstreamer/0.10.36-r2/gstreamer-0.10.36/libs/gst/base/gstbasesrc.c:2625:gst_base_src_loop:<video_src> error: streaming task paused, reason error (-5)

This seems to be some timing issue that is troubling.  I appreciate any help ideas to explain this.

Thanks,

Norman

0 Kudos
Reply
1 Reply

809 Views
angelo_d
Senior Contributor I

I have the same issue. Any solution ?

0 Kudos
Reply