Skip to content

Audio offset issue #121

Description

@radpopl

PXL-copy.mp4 - original file (shortened to 2s)
PXL-BestSource - avs script for this file

After loading the AviSynth script into VirtualDub, if you replace the audio track with the original MP4 using Audio->Audio from another file, the audio is shifted by ~0.02 seconds (1 frame).

ffmpeg seems to correctly convert the MP4 to WAV (PXL-wav.wav file), as the WAV perfectly matches the original MP4 on the timeline.

(BestSource from 7.01.2026)

AVS+BSSource:
Image

original MP4:
Image

ffmpeg's WAV:
Image

PXL-wav.wav
https://github.com/user-attachments/assets/71bc1a79-30b4-4460-b901-45cf884e5142

AVS script:
BSSource("PXL-copy.mp4",timecodes=".PXL_20241224_181006359.txt",atrack=-1).TimeCodeFPS(".PXL_20241224_181006359.txt",fpsnum=60000,fpsden=1001,report=false)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions