Page 1 of 1

Audio cut by silences on MKV with stretched audio track

Posted: 08 Sep 2013 05:57
by myumyuz
Hi,

I currently have a problem playing some audio track of my MKV movies on VLC.

I am using Mkvmerge a lot in order to assemble multiple audio track in one movie, however sometimes we need to stretch that track in order for it to fit to the video one.

For cases where the stretch has to be applied on a ~5min length difference, I discovered that the sound was played and often cut by some silences.
While inspecting into MKmerge, I discovered that the problem was actually coming from VLC (Audio track run smoothly on media player classic).

I tried to modify some options in VLC but no success until now, so I am finally posting here.

You can find a 50Mo sample of the file (the concerned audio track is the french one): http://www.embedupload.com/?d=81KXKSQLEF
And the full log file corresponding: http://pastebin.com/bkpu6whL

Sample of the error part:
main warning: buffer too early (-41000), down-sampling
main warning: timing screwed, stopping resampling
main warning: buffer too early (-63813), down-sampling
main warning: audio output out of sync, adjusting dates (-48853 us)
main warning: not synchronized (-48852 us), resampling
main warning: buffer way too early (-127582), clearing queue
main warning: timing screwed, stopping resampling
main debug: audio output is starving (-1644131), playing silence


If somebody as a lead, I would appreciate

Re: Audio cut by silences on MKV with stretched audio track

Posted: 08 Sep 2013 08:02
by myumyuz
Actually, if we stretch an audio from a 25fps video to a 23.976fps we have the problem.
One way to avoid the silence is to do it the other way around (passing the video and audio from 23.976fps to 25fps)

Re: Audio cut by silences on MKV with stretched audio track

Posted: 10 Sep 2013 00:17
by Jean-Baptiste Kempf
Try VLC 2.1.0-rc2

Re: Audio cut by silences on MKV with stretched audio track

Posted: 21 Sep 2013 05:23
by jnsunkersett
But the latest/ stable version seems to be VLC 2.0.8, (Windows)

Re: Audio cut by silences on MKV with stretched audio track

Posted: 21 Sep 2013 11:24
by Lotesdelere
Yes, but we are close to a release of v2.1.0 so please try with VLC 2.1.0-rc2.