This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Re-Encoding VFR to CFR Audio is out of Sync
#1
I Have a VFR source and I want it to be CFR (23.976FPS)... Using x265...
The Video data is Like This⬇⬇⬇⬇⬇

ID                          : 1

Format                      : AVC
Format/Info                : Advanced Video Codec
Format profile              : High@L4.1
Format settings            : CABAC / 5 Ref Frames
Format settings, CABAC      : Yes
Format settings, Reference  : 5 frames
Codec ID                    : V_MPEG4/ISO/AVC
Duration                    : 30 min 57 s
Bit rate                    : 595 kb/s
Width                      : 720 pixels
Height                      : 480 pixels
Display aspect ratio        : 16:9
Frame rate mode            : Variable
Frame rate                  : 27.948 FPS
Original frame rate        : 29.970 (30000/1001) FPS
Color space                : YUV
Chroma subsampling          : 4:2:0
Bit depth                  : 8 bits
Scan type                  : Progressive

So the Problem is When I Re-encode this at 23.976 FPS the audio is out of sync..
For that 23.976 I use Filtering>speed Change>Scale output frame rate>23.976 FPS...
and the Audio is in Auto Add first (I don't want to mess With audio)
The Audio data is Like this⬇⬇⬇
Format                      : AAC LC

Format/Info                : Advanced Audio Codec Low Complexity
Codec ID                    : A_AAC-2
Duration                    : 30 min 57 s
Bit rate                    : 254 kb/s
Channel(s)                  : 2 channels
Channel layout              : L R
Sampling rate              : 48.0 kHz
Frame rate                  : 46.875 FPS (1024 SPF)
Compression mode            : Lossy
Stream size                : 56.1 MiB (30%)

So How can get the audio sync with the Video?
I want it CFR 23.976 FPS
I don't want to change the duration of the video...
Reply
#2
Just using "Filtering>speed Change>Scale output frame rate>23.976 FPS..." will cause synch issues if the input really is vfr.

Try enabling:
"Config->Input->Decoding->CFR output"
and/or
"Config->Internals->Handling->Ignore all input time codes" (<- this needs to be enabled before loading the source)

Cu Selur
Reply
#3
What's the best way to be The video at 23.976FPS since I have VFR source?
Reply
#4
There's is no 'best' option. Personally I would try those options and use sRestore to archive the desired frame rate.

Cu Selur
Reply
#5
So I will try those two Options and In vaporsynth tab If i just adjust like this will it be okay? (I Don't want to change the Duration or blended frame)



https://ibb.co/kBtc2ZS
Reply
#6
no visible image,..
Reply
#7
(29.01.2021, 20:57)Selur Wrote: no visible image,..

I have edited..
didn't knew it will be weird like that!!
Reply
#8
Yes, using that and enabling CFR output should work.
Reply
#9
Now that I thought over it again, using sRestore should already force CFR output.

Cu Selur
Reply
#10
(29.01.2021, 21:00)Selur Wrote: Yes, using that and enabling CFR output should work.
Okay So I will try These Three... First one will be that Ignore timecode (before loading the source)
after loading all I have to try this!!!

https://ibb.co/6r0hNsv
https://ibb.co/RPgYjcP
https://ibb.co/fQKK1gB


And not use that Filtering>speed Change>Scale output frame rate>23.976 FPS...

Will it be alright?

I encoded a thing for 25 hours and i am getting that (audio out of sync)
SO I just want to be make sure... Smile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)