Other Parts Discussed in Thread: TMDSEVM572X
Hi TI, I am developing a custom am5728 board on SDK05.02.00.10 which can be used to capture interlace video.
Just now i can capture the video successfully, but the video have some jitter.
My am5728 capture is 50 fields per second (used tw2964 decoder), the field is width 704, height 280 (non-standard resolution after video croped 720/288)
I can get 50 interrupts from the vin3a per second.
I doubt whether am5728 take each field as a frame to display which result in jitter.
I studied topic in the forum:
1.
2.
But I did not find a solution to the problem in them, but I found a promise to release a patch from Manisha.
Sep 19, 2017 2:40 AM
We will look into the vpe and v4l2src gstreamer plugin to root cause the jitter with gstreamer pipeline. Please expect the patch with the fix in next 3 weeks or so.
Regards,
Manisha
I tried to use :
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)YUY2, width=(int)704, height=(int)280, framerate=(fraction)50/1' ! vpe num-input-buffers=8 ! 'video/x-raw,format=(string)YUY2, width=(int)704, height=(int)560, framerate=(fraction)50/1, interlace-mode=progressive' ! queue ! waylandsink use-drm=true
It will successful display non deinterlaced video with jitter.
If I insert " interlace-mode=interlaced " in v4l2src caps:
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=4 ! 'video/x-raw,format=(string)YUY2, width=(int)704, height=(int)280, framerate=(fraction)50/1, interlace-mode=interlaced' ! vpe num-input-buffers=8 ! 'video/x-raw,format=(string)YUY2, width=(int)704, height=(int)560, framerate=(fraction)50/1, interlace-mode=progressive' ! queue ! waylandsink use-drm=true
It will report "ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data flow error."
Please help solve the problem, how can deinterlace the video with gstreamer?