2Bdecided
7th November 2007, 15:33
I have an old Cinepak video I'm trying to restore.
I face two problems with it...
1. The 2x2 pixel blocks this format is based on are sometimes very visible (see attached image). The motion compensated denoising I'm trying often locks onto these blocks rather than the actual movement - this makes the blocks stronger rather than smoothing them! What would be a suitable deblocker for these 2x2 pixel blocks?
2. I'm using DirectShowSource, and the audio / video sync is weird. There's about 10 seconds of black at the start of the file which is there when watching in VLC and _skipping_ through the AVS in VirtualDub, but which goes missing when I perform an actual dub or press play in VirtualDub: it jumps to the first non-black frame (but the audio doesn't!). seeking=true or false doesn't help. I can use trim to cut the audio to almost match the video at the start ("trim" doesn't trim the video, as long as I keep the trim amount within the sometimes missing black 10 seconds!), but the audio drifts out of sync.
According to AVIsynth info(), it's 320x240, 14.8478fps(!). It would have come from a PAL source.
I won't mention the fact that there are parts which weren't even deinterlaced before being resized to 320x240 - I'm concentrating on fixing the parts that "only" have the above two problems!
Any ideas?
Cheers,
David.
I face two problems with it...
1. The 2x2 pixel blocks this format is based on are sometimes very visible (see attached image). The motion compensated denoising I'm trying often locks onto these blocks rather than the actual movement - this makes the blocks stronger rather than smoothing them! What would be a suitable deblocker for these 2x2 pixel blocks?
2. I'm using DirectShowSource, and the audio / video sync is weird. There's about 10 seconds of black at the start of the file which is there when watching in VLC and _skipping_ through the AVS in VirtualDub, but which goes missing when I perform an actual dub or press play in VirtualDub: it jumps to the first non-black frame (but the audio doesn't!). seeking=true or false doesn't help. I can use trim to cut the audio to almost match the video at the start ("trim" doesn't trim the video, as long as I keep the trim amount within the sometimes missing black 10 seconds!), but the audio drifts out of sync.
According to AVIsynth info(), it's 320x240, 14.8478fps(!). It would have come from a PAL source.
I won't mention the fact that there are parts which weren't even deinterlaced before being resized to 320x240 - I'm concentrating on fixing the parts that "only" have the above two problems!
Any ideas?
Cheers,
David.