Using MEncoder on Fedora 7 Linux and a bt878 TV card, how do I avoid or work around duplicate frames when encoding video from a VHS tape?
I have a 1Ghz system with 1GB of RAM running Fedora 7 Linux as its OS. It has a bt878 chipset TV tuner card with RCA video in. I've downloaded and installed MPlayer and MEncoder using yum and the Livna 3rd-party repository. I have a VCR, and it's video out goes in the video in of my TV tuner card.
When I try to run MEncoder to encode the video output of my VCR, it generally works fine. However, with some tapes, I will get many duplicate frame warnings. When I play back the resulted video file, I obtain many ghost or looping images from frames preceding the current one being played. The audio stays fine.
This happens with some tapes. With others, I will get very few or no duplicate frames at all. When I view those tapes live on my computer using my TV card and a program like TVTime or xawtv, or using a real TV, everything looks fine. The VCR system I have is quite recent, as it was bought brand new just around four years ago and has good picture quality and its auto-tracking feature is great. (WIth some old tapes that I have, this is really handy.)
The command I tried initially is the following:
mencoder \
-tv driver=v4l2:device=/dev/video0:input=1:normid=1:width=640:height=480 \
-ovc lavc -ofps 29.97 -lavcopts vcodec=mpeg4:vbitrate=1800:vhq:v4mv \
-oac mp3lame -vf harddup
For the -lavcopts, I've tried several options, including different codecs and framerates. I also tried to use the "harddup" option, but it has no effect. I also tried resolutions like 720x576 and 320x240, but this also doesn't help.
Also, I'm at my parents' home and keep in mind that they only have dial-up. If I really have to, I'm willing to download more software. If I really can't complete the transfer of my tapes by Saturday, I may just bring those tapes back with me, buy a USB TV tuner for my Mac mini, and transfer the tapes there instead.
Any suggestion would be greatly appreciated. Thanks in advance!
posted by ijsbrand at 6:09 AM on August 16, 2007