News:

--

Main Menu

r7969 - avidemux causes audio shift

Started by MiStr, May 20, 2012, 02:31:49 PM

Previous topic - Next topic

MiStr

I was very pleased to find out that version 2.6 of avidemux was able to process the AVCHD files recorded by my camcorder.

However, I noticed that the time line always started at 0.444 s. Looking at the terminal output I found:

  [addReferenceVideo]  The first frame has a PTS >0, adjusting to 444 ms

During playback and after playing back the avidemux encoded file, a shift between audio and video became apparent.
When clicking on "Audio output - shift" I get an error message. It seems that this function is not implemented - yet.

The audio shift is not present in the source material (VLC).

It seems that avidemux demuxes the audio portion without problems, skips the beginning of the video stream, but failed to adjust the beginning of the audio accordingly.

Is there any work-around?

Thanks

Ubuntu amd64, 11.10, r7969-git

mean

Could you provide a sample source file + your tinypy project ?

MiStr

While preparing the test case I noticed that the audio shift only occurs if the audio is "copied" through.
The same file with the audio re-encoded to MP3 seems to stay in sync.

Attached are the two project files (1. copy, 2. MP3).

I would also attached the source file, but 6 secs of HD footage are approx. 11 MB in size - too large to attach them. Where can I put it?

mean



mean

I think the problem is the avi plugin that does not handle correctly the "does not start at 0" audio
When re-encoding avidemux adds silence at the beginning so it works

Real fix : Improve avi writter plugin
workaround : use another format, mp4 or mkv