Log in

View Full Version : AVS input to FFMPEG and A/V sync...


ianken
30th August 2011, 10:08
...is there a known way to get this to work reliably?

I've got a simple AVS script that works fine in VDub and sundry other tools.

But, for fun, I wanted to try to get it to go through FFMPEG directly since that is supported in FFMPEG. It works, but A/V sync is off. I assume it's an issue with FFMPEG given the positive results with my usual tools.

b66pak
30th August 2011, 17:29
it is impossible to give competent help without your avs script and the ffmpeg line...
_

ianken
31st August 2011, 06:02
it is impossible to give competent help without your avs script and the ffmpeg line...
_

AVS Script which encodes or plays without sync issues in MPC-HC, graphedt and VDUB:


directshowsource("test.ts")
converttoyuy2()
decimate(cycle=2)
decimate(cycle=5)


FFMPEG line:


ffmpeg -threads 6 -i "test.avs" -s 720x480 -aspect 16:9 -vcodec libx264 -vpre "test" -strict experimental -acodec aac -ac 2 -ab 128k "test.mkv"


The preset contains:

crf=22
coder=1
bf=0
refs=1
flags2=-wpred-dct8x8
level=30
wpredp=0