Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: jfx on August 25, 2012, 05:42:15 PM

Title: Audio is broken when saving mp4v2/mkv
Post by: jfx on August 25, 2012, 05:42:15 PM
When a mp4v2/mkv file is saved in copy mode to a new file, the audio is broken.
Title: Re: Audio is broken when saving mp4v2/mkv file
Post by: jfx on August 26, 2012, 01:14:31 PM
The problem can be reproduced with MP4v2 and MKV format by using the test.mp4 file linked in this topic: http://www.avidemux.org/smf/index.php?topic=10872.0

Steps to reproduce:
1) open test.mp4
2) save as MP4v2 in copy mode
3) save as MKV in copy mode

When the resulting MP4v2 and MKV file is played in VLC 2.0.2, there is no audio. When the MP4v2 is played in Avidemux, there is only 5 seconds of audio.
Title: Re: Audio is broken when saving mp4v2/mkv
Post by: Jan Gruuthuse on August 26, 2012, 02:27:46 PM
Weird isn't it? For some reason the audio is chopped, on the 3 tracks.
Top track is showing original AC3 track, tracks below it is what audio is left after repacking in mkv on the 3 tracks.
Original this was a HD mpeg-ts and saved with copy using one of the mp4 muxers, most likely mp4v2 with reordering audio track 2 to 0 (ac3)
Title: Re: Audio is broken when saving mp4v2/mkv
Post by: mean on August 29, 2012, 12:39:04 PM
Confirmed & i know why
Fix in progress
Title: Re: Audio is broken when saving mp4v2/mkv
Post by: mean on August 29, 2012, 05:41:29 PM
should be okay from r8166
Title: Audio is broken when saving mp4v2/mkv (Fixed)
Post by: Jan Gruuthuse on August 29, 2012, 07:02:17 PM
all 3 tracks are OK now (here)