AnsweredAssumed Answered

mfw_f4lsrc does not work corretly if 'preview=false'

Question asked by Robbie Jiang on Mar 23, 2014
Latest reply on Oct 28, 2014 by Robbie Jiang

Hi all,


We have a platform with MX51/Linux-2.6.31.

The video input is from a TVP5150 chip in Bt.656 mode.


The working pipeline is as follows:


gst-launch mfw_v4lsrc sensor-width=720 sensor-height=288 capture-width=640 capture-height=480 preview=true preview-width=640 preview-height=480 ! 'video/x-raw-yuv, format=(fourcc)NV12, width=640, height=480, framerate=25/1' ! clockoverlay ! mfw_vpuencoder codec-type=std_avc width=640 height=480 ! filesink location=video.264


Everything  goes well with the above pipeline.


However, if we try to set the 'preview' property of mfw_v4lsrc to false,

the pipeline does not report any error, but the image /video we get in the file sink is not correct as desired.


IMHO,  the preview / display module in IPU should not have anything to do with the video capture.

But the fact seems my opinion is wrong.


How to explain this?

Is it possible to disable preview while capturing video?