I am capturing videos from Hi8 tapes.
I've got an old analogic camcorder that i connected to my computer through a USB adaptor (Terratec grabby).
The only way i found to get a decent quality was to capture the video under Linux using mencoder.
Its deinterlacing filter and ability to record to DV format was perfect for me.
My problem is that many frames are green on the captured movie (maybe more a hundred for each movie).
The frames before and after those bad frames are ok, normal, not green.
I've seen in that forum that the BadFrames filter for AviSynth can help me replace bad frames but i'm looking for a way to detect those frames. Manual seeking of those frames is quite difficult as i have 15 movies lasting 60 or 90 minutes each and that would mean carrefully watch them to write down the bad frames numbers.
So my question : is there a way (with avisynth?) to detect those frames ?
Thanks in advance.
Here's an exemple of what i call a green frame :
+ Reply to Thread
Results 1 to 5 of 5
green frames can be the sign of dropped frames (= not normal) if your video play fine on the camcorder you're in for a 2nd round
To avoid this make sure to record directly on another hdd , not on the OS hdd
Thanks themaster1 for your reply.
Green frames=dropped frames, that is exactly what I am supposing but I didn't find a way to completely avoid dropped frames.
The video plays fine on the camcorder and I'm already recording to a non system HDD..
Load is between 20% and 25% on both CPU cores during the capture and mencoder is the only software running.
Do you think that trying with another capture card on a PCI chip instead of USB could solve my problem ?
I'm not at home right now so I can't give you the exact command line I'm using but I use the following options with mencoder :
Video codec : dvvideo / Video source : USB device (Terratec Grabby)
Audio codec : mp3lame (CBR 128k) / Audio source : sound card line in
Filters : pp=lb for deinterlacing / crop for cleaning image / expand to stick to required resolution for DV encoding
Depends, if when you record no other usb device is in use that should be ok, pci is safer though
It may also be related to a YUV convert problem i mean most of the time the colorspace (out of your card, Raw) is YUY2 but sometimes it's another and i'm not sure mencoder handles this very well, buggy at best i'm guessing. Try with huffyuv lossless codec to have a better idea, if no dropped frames with huffyuv then you're onto something.