Hi, all! Sorry for the last response
Steve G, we are happy that our work was valuable to you! Thanks for saying that! We managed to capture and compress video on the fly, with these lines:
NTSC:
gst-launch-0.10 -e mfw_v4lsrc sensor-width=720 sensor-height=480 capture-width=720 capture-height=480 preview=true preview-width=360 preview-height=240 preview-top=180 preview-left=220 ! 'video/x-raw-yuv,format=(fourcc)NV12,width=720,height=480' ! queue max-size-buffers=1000 ! mfw_vpuencoder codec-type=0 bitrate=2000 width=720 height=480 ! avimux name=mux ! filesink location=NTSCfps30.avi alsasrc device=hw:0,0 ! 'audio/x-raw-int,rate=44100,channels=2,depth=16' ! queue ! mfw_mp3encoder ! mux.
PAL:
gst-launch-0.10 -e mfw_v4lsrc sensor-width=720 sensor-height=576 capture-width=720 capture-height=576 preview=true preview-width=360 preview-height=288 preview-top=156 preview-left=220 ! 'video/x-raw-yuv,format=(fourcc)NV12,width=720,height=576,framerate=(fraction)30/1' ! mfw_ipucsc ! 'video/x-raw-yuv,format=(fourcc)I420,wifth=720,height=576,framerate=(fraction)30/1' ! videorate ! 'video/x-raw-yuv,framerate=(fraction)25/1' ! queue max-size-buffers=1000 ! mfw_vpuencoder codec-type=0 bitrate=2000 width=720 height=576 framerate=25 ! avimux name=mux ! filesink location=PALfps25.avi alsasrc device=hw:0,0 ! 'audio/x-raw-int,rate=44100,channels=2,depth=16' ! queue ! mfw_mp3encoder ! mux
Alex, thanks for your sharing your experience with us! After asking here in imxcommunity about the deinterlacer, we've been told that it works while playing, but now while capturing video, just as you say. About accelerated video, with the lines above, we didn't have problems with NTSC video, but with PAL video we still needed to use the videorate plugin. Anyway, we're still experiencing some lags with the audio sync with PAL.
Thanks both of you for replying!