Other Parts Discussed in Thread: TVP5150AM1, TMDSEVM572X
Hello
I have a problem with capturing interlaced video from TVP5150AM1 in TMDSEVM572x and deinterlacing it.
I have used this commands :
root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=-1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288, framerate=(fraction)50/1' ! deinterlace ! vpe num-input-buffers=1 ! ducatih264enc inter-interval=1 bitrate=5000 ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=720,height=288' ! waylandsink sync=false
root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=-1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288, framerate=(fraction)50/1 , interlaced=false' ! deinterlace ! vpe num-input-buffers=1 ! ducatih264enc inter-interval=1 bitrate=5000 ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=720,height=288' ! waylandsink sync=false
root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=-1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288, framerate=(fraction)50/1' ! deinterlace ! vpe num-input-buffers=1 ! ducatih264enc inter-interval=1 bitrate=5000 ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=720,height=576' ! waylandsink sync=false
root@am57xx-evm:~# gst-launch-1.0 -e v4l2src device=/dev/video1 num-buffers=-1 io-mode=4 ! 'video/x-raw, format=(string)YUY2, width=(int)720, height=(int)288, framerate=(fraction)50/1 , interlaced=false' ! deinterlace ! vpe num-input-buffers=1 ! ducatih264enc inter-interval=1 bitrate=5000 ! h264parse ! ducatih264dec ! vpe ! 'video/x-raw,format=(string)NV12, width=720,height=576' ! waylandsink sync=false
the number of interrupts gotten is about 50 interrupts per second (50 fps).
root@am57xx-evm:~# cat /proc/interrupts | grep vi
103: 183157 0 CBAR 352 Level vin3
104: 0 0 CBAR 393 Level vin4
I expect that after deinterlacing, the frame rate to be 25 and the video to be correct without jitter.
in all above examples there is jitter in video. I think the deinterlace element does not work correctly !
does anyone know why it is so that?
BR,
Ali