PDA

View Full Version : FFDShow key&remote function decrease or increase Video delay from 20ms step to 1ms...


LoopDeMack
12th September 2006, 00:44
Is it possible that I could edit one of the ffdshow default values for the key&remote function (decrease or increase Video delay) I want to change the value to step of 1ms, because now the delay step is to big, its 20ms, and I need 1ms, because I'm doing a lot of sync fix's for a incorrect audio interlave, and this function in ffdshow is the best for this job, I tried a lot of other tools but I didn't found any tool for that like ffdshow key&remote function for the video delay.

joelancer
12th September 2006, 01:35
What are you trying to do?

Fix a Sync problem? or temporarily fix a sync problem?

i never used that ffdshow feature but it dounds like you will only temporarily fix the sync prob for that playback session.

you can permanantly fix a sync problem by using for example - Virtualdubmod, or MKVtoolNix for Mkv. and ad the aproprieat Delay in ms(millisections, either +/-) to the audio track, and then re-transmux the streams.

also note, (i would assume) there is no way you would need anything lower then 20ms intervals, cause 1Frame = 40ms, so 20ms is Half a frame. and there is no way you can notice a Half-fram out of sync. you will actualy probably wont to use a 40ms interval.

EDIT): jsut FYI incase you dont know - 1second = 1000ms /25(frames) = 40ms per frame.
EDIT again) Incase you dont know - Transmux = Direct Stream copy, no decoding/encoding takes place.

EDIT yet again: FYI heres a old basic sync guide iv had booked marked, witch may help you if you dont already know the basics - http://nickyguides.digital-digest.com/audio-synch.htm

LoopDeMack
12th September 2006, 01:53
No, no, no (you didn't understand) I use ffdshow to visually find correct value, and after that I use
Virtualdub/nandub for correcting the interleaving.
Please I feel bad when you put me down like that:scared: :eek:

Call me crazy but I can see big or enormous visual difference in 5ms steps, or even small difference in 1ms steps.
I did over 300 Video fix syncs nandub scripts for the public.
I think I can find in 3 steps sync points to +-10000ms

LoopDeMack
12th September 2006, 02:06
40ms interval is such a big value, lets have example if the perfect sync point is +33 or +66 ms and you want to have a perfect sync point with a step of 20 you can have the right value.
You always need to change the manual value.

foxyshadis
12th September 2006, 02:40
Sound only travels at ~1 foot per ms. Thus tv has a built-in lag of 5-10ms between the visual and audio between the tv and the couch, even if the video is edited perfectly, but no one notices because the minimum perception of audio lag is around 120ms for normal people and 40ms for experienced editors. When film is only 24 frames per second an audio impulse can begin and end anywhere within that 41ms window and there's no real way to authoritatively state where the exact point was, along with variable audio delays in the recording and mastering process; even with 60fps ntsc it isn't as clean as it should be, even if the window is shorter.

LoopDeMack
12th September 2006, 03:32
I use Sennheiser headset HD530 and I can hear and I can see 2-3ms withouth any problems(like from 30 to 33ms I feel the diff.)
40ms is by far to high for any pro.

joelancer
12th September 2006, 05:07
loopdemack.

doesnt matter what kinda audio equipment your using, there are ~25 frames in 1second, .002seconds is impossible to tell the difference between normal and lag.

What kind of system are you using with that ffdshow setting?(i havnt used FFdshow ina long time) but i suspect if your comp isnt fast enough, ffdshows filter itself will probably add its own lag to the sync problem.

I havnt used any of those programs ina while actually, but cant you just open the file in Vdubmod, and then select the Delay you wont for the audio stream, and then only enable the Ouput preview screen and play it back.. will that show you realtime delay setting changes? if so that may be more accurate.

and what kind of scene are you using to judge this sync lag? cause i dont know if you already now or not, but - you cant judge sync lag from like speach or added special effects like when someone gets punched.

LoopDeMack
12th September 2006, 18:05
It seems that you're not so quite into this matter, ffdshow video delay control is the best tool for finding the right audio delay, I've done over 300 public sync fix's. I think that I'm the best on the scene for this matter.

What kind of system are you using with that ffdshow setting?(i havnt used FFdshow ina long time) but i suspect if your comp isnt fast enough, ffdshows filter itself will probably add its own lag to the sync problem.
I dont know what are you talking about, but you are on the wrong way, completely. Leave this matter to pros.
It seems that you didn't comprehend this situation as you should. This is not my problem but its a scene problem, if something needs to be fixed this will be fixed, I'm just talking about a lots easier finding the appropriate audio delay.
Its not related to my video, my machine, my ffdshow settings or anything mine. Its related to others.

I dont know anyone who's using vdub or nundub for audio delay "!!!findings!!!", its a crazy job, I can find with ffdshow right delay for just 15 sec. to a couple of minutes, for the delays between a 15ms to 350ms I can find a right fix for just 20 seconds with error of 2-3ms, for a 3000-6000ms delay I need 30seconds to 1.5 minutes, and for a delays over 8000ms, I need from 1min. - 2.5 min.
Stretched audio is little bit catchy but its not some problem,
and the most difficult job is joining the video and audio from a different sources with a different time and the different frames, and with a different audio points,(there is lots of cutting, stretching, and recompiling in a Sound Forge).
I'm talking about finding the audio delay in a real time.

(i havnt used FFdshow ina long time)
I'm shocked, there is anything even closer to the ffdshow (GPL).

I just asked is there some way that I edit ffdshow for a different step value from 20ms to 1ms, I would be kindly grateful.

foxyshadis
12th September 2006, 21:18
Well, what the client wants, the client gets. Special Order (http://foxyshadis.slightlydark.com/random/ffdshow_specialorder.rar) based on the latest sources. No idea whether it works, honestly, since I don't use that function, but I changed the important parameter. Just copy over your current ffdshow install.

LoopDeMack
12th September 2006, 22:19
Well foxyshadis, what can I say but perfect, key&remote function Video delay works in a steps of 1ms like a charm.

Thank you mate.