Eretria-chan
27th August 2013, 22:37
Maybe someone can enlighten me here...
I'm using this video (http://archive.org/download/DsCastlevaniaDawnOfSorrowall-soulsIn3508.59ByKriole/castlevaniados-tas-100souls-kriole.mkv) as source for my simple script:
Clip = "castlevaniados-tas-100souls-kriole.mkv"
# Load clips
Video = FFVideoSource(Clip)
Upper = Video.Crop(0, 0, 0, -192)
Bottom = Video.Crop(0, 192, 0, 0)
Both = Video
Audio = FFAudioSource(Clip)
# Fix top right screen
TopRight = Upper
# Fix left pane
Left = Bottom.LanczosResize(768, 576)
# Set right pane
RightPane = StackVertical(TopRight, Both)
# Put all together
StackHorizontal(Left, RightPane).AudioDub(Audio)
The problem is that whatever I do, I get audio/video desync because the video plays about 5x as fast as it should in the beginning. It only happens with the avisynth script and not with the original file. I've also tried reencoding it with huffyuv and with x264 with --force-cbr, but apparently the same issue happens. Same thing happens with DirectShowSource.
Anyone have any ideas on how to fix this desync?
I'm using this video (http://archive.org/download/DsCastlevaniaDawnOfSorrowall-soulsIn3508.59ByKriole/castlevaniados-tas-100souls-kriole.mkv) as source for my simple script:
Clip = "castlevaniados-tas-100souls-kriole.mkv"
# Load clips
Video = FFVideoSource(Clip)
Upper = Video.Crop(0, 0, 0, -192)
Bottom = Video.Crop(0, 192, 0, 0)
Both = Video
Audio = FFAudioSource(Clip)
# Fix top right screen
TopRight = Upper
# Fix left pane
Left = Bottom.LanczosResize(768, 576)
# Set right pane
RightPane = StackVertical(TopRight, Both)
# Put all together
StackHorizontal(Left, RightPane).AudioDub(Audio)
The problem is that whatever I do, I get audio/video desync because the video plays about 5x as fast as it should in the beginning. It only happens with the avisynth script and not with the original file. I've also tried reencoding it with huffyuv and with x264 with --force-cbr, but apparently the same issue happens. Same thing happens with DirectShowSource.
Anyone have any ideas on how to fix this desync?