FFMS / ffms2

An FFmpeg based source library and Avisynth/VapourSynth plugin for easy frame accurate access
Other
574 stars 104 forks source link

Audio from MKV is out of sync and shows crackling noises #374

Closed Roemer closed 2 years ago

Roemer commented 3 years ago

A video file (mkv) I try to use in dubbing has strange issues:

The AVS script only contains the bare minimum: FFmpegSource2("video.mkv", vtrack=-1, atrack=-1)

If I first encode the audio from the original video file to like mp3 with ffmpeg and then use this mp3 as audio track, everything is fine. So I guess this plugin cannot handle that audio for some reason. Althoug it seems to be failry normal: Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp (default)

Do you need any more information to look at it? In worst case, I can provide the audio file.

Edit: Might be related to #370

myrsloik commented 2 years ago

Add an option to disable/enable audio gap filling and by default enables it based on container.