Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
5th August 2011, 06:31 | #1 | Link | ||||
Registered User
Join Date: Sep 2010
Location: IN
Posts: 37
|
A/V out of sync in VFR encode!!
I was trying to encode a .ts recorded for my own veiwing purpose, I'm tring to make it vfr!
The video seems to be alrite, but the audio has some major delays... kinda like 10s-15s! Avs i used: Quote:
Encoded vfr Video Media info: Quote:
Now the problem is... Quote:
But audio is still at 29.97 fps.. I tried making the audio at 26.96 using behappy n then tried trimming/cutting it, but no use. Audio Clt file info Quote:
So someone can assist me on this? Thanks you very much! Last edited by ben13; 5th August 2011 at 19:45. |
||||
5th August 2011, 12:12 | #3 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
I take it you've never heard of hybrid content. Or the WMV format. Or... @ben13: I suggest you cut the audio before encoding the video (or doing anything at all to it, really). Remember that the audio does not have a framerate and that you're not changing the length of the video. Last edited by TheFluff; 5th August 2011 at 12:23. |
|
5th August 2011, 16:22 | #4 | Link |
͡҉҉ ̵̡̢̛̗̘̙̜̝̞̟̠͇̊̋̌̍̎̏̿̿
Join Date: Feb 2009
Location: No support in PM
Posts: 712
|
Trim before TDecimate, otherwise the generated timecodes won't match the final video stream, and all will go out of sync.
You have also a typo: Code:
trim(2487,6611) ... <startFrame>2287</startFrame> <endFrame>6611</endFrame>
__________________
dither 1.28.1 for AviSynth | avstp 1.0.4 for AviSynth development | fmtconv r30 for Vapoursynth & Avs+ | trimx264opt segmented encoding Last edited by cretindesalpes; 5th August 2011 at 16:25. |
5th August 2011, 19:45 | #5 | Link | |
Registered User
Join Date: Sep 2010
Location: IN
Posts: 37
|
Quote:
Sometimes, I see options like speedup- 23.97 t0 25fps or vice versa in audio encoders... what are they??? Last edited by ben13; 5th August 2011 at 19:58. |
|
5th August 2011, 20:06 | #6 | Link | |||
Registered User
Join Date: Sep 2010
Location: IN
Posts: 37
|
Quote:
It was when I was experimenting on it, original one was 2487(correct one, but no use) Quote:
Quote:
"test.d2v frame count does match the filter frame count" |
|||
6th August 2011, 03:26 | #7 | Link | |
Excessively jovial fellow
Join Date: Jun 2004
Location: rude
Posts: 1,100
|
Quote:
When doing VFR encodes you should under no circumstances change the length or the playback speed of the audio (just like you wouldn't do it when doing a normal CFR encode). If the audio requires cutting (such as in your case when you're working on a TS with what I assume to be commercial breaks) you should do the audio cutting first, before doing any video manipulation of any kind. If you prefer cutting the audio in Avisynth, you should put your trim() statements first, right after the source filter. If you absolutely need to use the d2v parameter to TFM, you can cut right after that filter (but before decimation), but if your source is a broadcast TS the d2v parameter is most likely not going to be useful at all, so you can just remove it (broadcasters rarely if ever use soft telecining). Last edited by TheFluff; 6th August 2011 at 03:29. |
|
8th August 2011, 18:54 | #8 | Link | |
Registered User
Join Date: Sep 2010
Location: IN
Posts: 37
|
Quote:
Thank you everyone! |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|