Log in

View Full Version : A/V Sync restore tool


mvdzwaan
21st August 2006, 12:37
Hello,

For the past few months I've been encoding TS files to WMV-HD using WME/Avisynth and have experienced a number of problems with lost A/V sync (mostly after mpeg2repair on the TS ;). To solve it once and for all I've written a A/V Sync restore tool and am thinking of releasing it.

The tool (written in vb.net 2.0 and Media Player 9+ is a required component) allows the user to watch any movie which WMP can render together with a sound file (again, if it's playable by WMP you can use it). While watching the movie (seek bar is working ofcourse), the audio sync can be adjusted and these adjustments can be saved. Once a sufficient number of delay corrected points have been saved the tool will decide which av sync method to use:

* Time shift (for constant delay)
* Sampling rate adjustment (gradual timeshift, for sliding delay adjustments)

these methods wil be segment based, so it's possible to have an overall timeshift, with a different time shift one hour into the video, and a gradual timeshift for the last 30 minutes. Currently the video is leading, and audio adjusted.

The tool outputs an Avisynth script which can be used as an audio source for the adjusted stream. I'm using the tool now with 5 mono wav files, using the center channel for adjustments, and feeding 5 avs audio files to Windows Media Encoder. But it can be used for any type of audio/video file, and any encoder which accepts avs files.

I was wondering wether there is any interest in this tool, and if someone wants to use it to give me feedback etc.

Guest
21st August 2006, 13:52
Of course your tool is interesting! Please post it and don't forget to make a good users manual. :) Thank you.

christopherw
21st August 2006, 22:34
I'd be very interested in beta testing this! I have two copies of a movie (Jet Li's Fearless), one with perfect English subs and separate subs which are correct, but out of sync (the movie is NTSC and the subs look like PAL) - I've tried to align them myself but I'm a proper subbing newb, never had to do it before and I couldn't get them aligned with various tools I'd found recommended on here.

So, I think I'm the perfect candidate for beta testing - if you ever make your app public, hit me up via PM and I'll be glad to help out and bugcheck etc, as I have good source material to make the comparison with (and an external B sample with which to make the comparisons).

Just don't neglect the fact that people will most probably want to alter subs for other formats of video - if possible, please please please include support for the common formats, and maybe even raw VOB (although that is a bit more than your original intended purpose) - I have a feeling your app could fill a gap which I've not found a solution for as of yet!

mvdzwaan
22nd August 2006, 08:21
I'd be very interested in beta testing this! I have two copies of a movie (Jet Li's Fearless), one with perfect English subs and separate subs which are correct, but out of sync (the movie is NTSC and the subs look like PAL) - I've tried to align them myself but I'm a proper subbing newb, never had to do it before and I couldn't get them aligned with various tools I'd found recommended on here.


Note that the app is mainly intended for audio syncing, but this harder to do than sub syncing ;)

As I'm using the Windows Media Player Control to play media, the tool will play everything that Windows Media Player itself will play.

~bT~
23rd August 2006, 14:15
When can we see this tool??

mvdzwaan
23rd August 2006, 14:20
When can we see this tool??

I'm putting the finishing touches on it (using it yourself or releasing it, be it an alpha requires some changes ;). Hope to get it ready at the latest this weekend

~bT~
23rd August 2006, 18:45
Look forward to it! Will it be possible to make a .vcf job for VDubMod out of the fix??? What I mean is the delay etc that you add to the file, can a job file be made automatically with all the parameters etc?

shunx
24th August 2006, 08:18
If this works then it is just what I've been looking for. Please release it when it's ready, thanks.

CruNcher
25th August 2006, 11:32
@mvdzwaan
sounds really nice @ the moment i use mplayer for such live corrections to get the right delay values wich also works nice but im looking forward to test your aproach :)

hameshatumkochaha
25th August 2006, 13:41
I am interested in the tool.
I recently posted a new post on a similar topic. Please see and comment.
Is it possible for the tool to take an avi / divx / mpg1-2 file as an input and output (single) file to be of the same format but the audio adjusted as requested by the user?