Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Frame Rate Conversion Results In Audio Out Of Sync
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
4N4
Posted: Oct 9 2013, 02:09 AM


Advanced Member


Group: Members
Posts: 31
Member No.: 34901
Joined: 20-May 12



If I use Frame rate conversion to convert a source file from 25.0017 25.017 to 25 fps, the audio gradually goes more out-of-sync.

I'm assuming this is because the audio is not being adjusted, but I thought that the Frame rate conversion feature kept audio in-sync, but the Source rate adjustment feature did not.

If neither keep the audio in sync, then what's the difference between using Source rate adjustment and Frame rate conversion to change FPS to 25 ?


How can I use VirtualDub to change video frame rate and have the audio rate auto-adjusted so it keeps in sync ?


EDIT: Corrected the FPS to 25.017 in case it is a bug in VirtualDub and is relevant.
 
    Top
jpsdr
Posted: Oct 9 2013, 07:45 AM


Advanced Member


Group: Members
Posts: 335
Member No.: 20490
Joined: 23-December 06



I think it's not possible to do this with VDub only. VDub is video processing only. You have to process audio with another software, slowing it down with the ratio 25/25.0017.
 
     Top
raffriff42
Posted: Oct 9 2013, 09:48 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



>I thought that the Frame rate conversion feature kept audio in-sync, but the Source rate adjustment feature did not.
I think you are right, but maybe not for such a subtle framerate change. You can adjust the audio with the timestretch filter...

(EDIT - malky - simul-posts!)

user posted image
 
     Top
malky
Posted: Oct 9 2013, 09:48 AM


Advanced Member


Group: Members
Posts: 290
Member No.: 22386
Joined: 6-November 07



Could it not be done in the Audio menu using Full processing mode > Use advanced filtering > Filters.

'Input' > 'Time Stretch' > 'Output'.

Double click on 'Time Stretch' and enter '.999932' (which is 25/25.007).
 
    Top
raffriff42
Posted: Oct 9 2013, 10:12 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



I am more comfortable using Avisynth for framerate conversions, as there are several methods available - AssumeFPS changes run time; ChangeFPS drops or repeats frames; ConvertFPS blends frames. I think I would go with ChangeFPS - dropping a few video frames to avoid having to resample the audio.
http://avisynth.nl/index.php/FPS
 
     Top
-vdub-
Posted: Oct 9 2013, 11:11 PM


Advanced Member


Group: Members
Posts: 613
Member No.: 27087
Joined: 24-February 10



Did 4N4 mean when using Video > Frame Rate... sometimes we see difference for the audio for the option 'video and audio durations match'. A virtualdub bug maybe ! or the source video has an error audio sync cannot be maintained !
 
    Top
4N4
Posted: Oct 20 2013, 08:14 PM


Advanced Member


Group: Members
Posts: 31
Member No.: 34901
Joined: 20-May 12



Many thanks @raffriff42 and @malky! Time stretch worked perfectly, although I'm going to try with Avisynth so I don't have to manually calculate the ratio each time.

Would be great if some option could be added into VDub to handle this synchronisation when changing frame rate.

@-vdub- Yes, I'm talking about Video > Frame Rate. Don't think video or audio had an error as time stretch worked perfectly.
 
    Top
meowmeow
Posted: Oct 20 2013, 10:33 PM


Advanced Member


Group: Members
Posts: 98
Member No.: 37160
Joined: 21-September 13



QUOTE (4N4 @ Oct 20 2013, 08:14 PM)
Would be great if some option could be added into VDub to handle this synchronisation when changing frame rate.

Then you have to be sure VD is doing it best way possible or it'll just crew your audio.

Maybe something like that

user posted image
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
7 replies since Oct 9 2013, 02:09 AM Track this topic | Email this topic | Print this topic

<< Back to Testing / Bug Reports