Log in

View Full Version : Black frames dropped when transcoding


Buddy Casino
26th June 2006, 21:07
Hi!
I have a .wmv source (1024*768 / 60fps progressive) which I want to convert to DV using the old VfW MainConcept DV codec. I'm using VirtualDubMod for that in full processing mode, and since it can't handle .wmv natively, I'm using an AVS script as source. It looks like this:

DirectShowSource("source.wmv")
LanczosResize(720,576)

It works, but the black frames at the beginning and at the end are being dropped, they don't show up in the final result! Or at least thats what I believe to be the cause, maybe the start and the end are played back twice as fast altogether, but that doesn't make any sense? Of course, audio is out-of-sync because of that. Is there a trick I can use? What am I doing wrong?
Any help is very appreciated!

foxyshadis
26th June 2006, 21:31
Try DirectShowSource("..",fps=59.94,convertfps=true) because wmv is always vfr to some degree if identical frames are in it.

Buddy Casino
27th June 2006, 01:12
Thanks for the hint!
At least the audio is now in sync, but whenever there is a lot of movement going on, the frames start to flicker, as if it would switch between the current and the previous frame real fast and then proceed to the next one.

EDIT: problem might be related to CPU limitations. Will try on a faster machine tomorrow.