I'm trying to convert some video from VHS to digital using an (old) video capture card (and obviously an old VHS player). Due to the input from my video capture card and the output available from the VHS, I have no other choice than capture with an S-Video cable to a computer.
Almost everything works except a little mis-synchronization between chroma and luma which do not happen on TV.
For example, in the original video, I have something like that:
After capturing the video looks like this:
As you may see, there is a little desynchronization of the chroma with the luma channel (I will say about 10 lines errors).
I'm capturing with ffmpeg on a Linux system with the following commands:
$ v4lctl setnorm PAL-BG
$ v4lctl setinput S-video
$ ffmpeg -y -f alsa -ac 2 -i pulse -f video4linux2 -i /dev/video0 -c:a pcm_s16le -vcodec rawvideo -t $duration -r 25 -loglevel error -stats ~/tmp/tmp.mkv
I tried other input norm in v4l, tried an other VHS player, tried an other conversion cable from SCART to S-Video but it didn't change anything,
My question is simple: is there a way to fix this with a post-processing video filter in ffmpeg?
I already looked at the long list of video filter available in ffmpeg but I didn't find anything.
Also, please note I can't apply filter during the capture commands (old capture cards, old cpu, ..), this is why I capture in rawvideo and native audio. When the capture is done I convert the video/audio into h264/vorbis, at this step I can apply as much as audio/video filtering needed (even if it include extracting chroma & luma to new files, fixing and merging again).
Thanks!