Back Forum Reply New

problem with mkvmerge and mp3 in avi

I often use mmg and mkvmerge to correct the aspect ratio of a badly encoded avi.
And sometimes I have error messages like those:

Warning: The MPEG audio track 1 from 'D:\videos\acces\vid.avi' contained 84 bytes of garbage at the beginning which were skipped. The audio/video synchronization may have been lost.
Warning: The MPEG audio track 1 from 'D:\videos\acces\vid.avi' contained 12 bytes of garbage at the beginning which were skipped. The audio/video synchronization may have been lost.
Warning: The MPEG audio track 1 from 'D:\videos\acces\vid.avi' contained 84 bytes of garbage at the beginning which were skipped. The audio/video synchronization may have been lost.
Warning: The MPEG audio track 1 from 'D:\videos\acces\vid.avi' contained 12 bytes of garbage at the beginning which were skipped. The audio/video synchronization may have been lost.Indeed, the synchronisation is really lost. When I use virtual dub mod to create mkv, I don't have such problems. This proves it could be possible to simply copy my audio track into my newly created mkv without loosing sychronisation.
I know that garbage is probably created by a transfer error. But usually I don't care. Even if my avis contain errors, I can still view them with a good synchronisation. When I reencode the mp3 track, it works perfectly. But nobody likes to reencode isn't it?

Does anyone know how to set mkvmerge to solve this problem?

I precise that the mp3 track is cbr and that I've encountered this type of problem with many avis (maybe 15-20).

it can be that the avis were created with VirtualDub(Mod) and also a delay has been set. VD(M) does this by padding the stream with 0's, which indeed is invalid for mp3. The best way to go around this is either use VDM for creating your MKVs or finding out the delay that has to be set.

No, that's not the problem.
First mkvmerge don't show those messages at the beginning of the muxing and there is often many messages of that type for the same avi.
Second, I've just done my own test with a valid avi by inserting my own delay (positive and negative) and then converting it with mkvmerge. Result: no error message.
This messages only appear with files that suffer from transfer errors.
¥
Back Forum Reply New