Log in

View Full Version : Non-MP3 data error - how do I fix it?


Lincoln Burrows
1st September 2012, 03:18
Folks,
I created a dubbing and inserted the MP3 file in a video. However, when I decided to extract (Direct Stream Copy, Virtual Dub) that same audio and insert anywhere else, look what happened:

Warning: 'C:\Users\Q9450\Desktop\1.mp3': Skipping 20799 bytes at the beginning (no valid MP3 header found).
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 131 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 60 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 21 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 41 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 116 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 78 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 84 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 129 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
Warning: 'C:\Users\Q9450\Desktop\1.mp3' track 0: This MPEG audio track contains 383 bytes of non-MP3 data which were skipped. The audio/video synchronization may have been lost.
It's funny: when you watch the video from where the audio was extracted, the synchronization is correct (or perhaps not correct, but the player is ignoring those issues).

But when you try to insert that same MP3 in another video, you have this problem.

Question: how do I fix this corrupt (?) audio? I want this MP3 to be fixed, without having to create this dubbing again.

This audio, after I extracted, is not synchronized with the new video. But the new video is the same as the other one.

hello_hello
1st September 2012, 07:56
Did you edit the video with VirtualDubMod, or VirtualDub? I've experienced a similar problem using VirtualDubMod. I thought VirtualDub was better behaved... maybe not. Maybe there's a reason for it. MP3s use frames so I guess when a whole frame needs to be discarded at an edit point, VirtualDub might fill any little audio gaps with junk data to maintain sync. Something like that.....
It's probably best to keep the audio as a wave file if you can, then convert it to MP3 after you've finished editing.

I don't know how to "fix" the MP3.

VirtualDubMod (and probably VirtualDub) don't discard non-audio data, so you could probably demux the MP3, add it back using VirtualDub, resave the AVI and not have any sync issues. I've sometimes wondered why MKVMergeGUI doesn't do the same (I assume that's where your log file comes from?), or at least insert an appropriate delay to compensate when non-audio stuff is removed.

Rather than demux the MP3 and add it to a new file you might try opening the original video (AVI?) with MKVMergeGUI directly and remuxing it that way. I'm not sure, but MKVMergeGUI might be a little more clever and maintain audio sync even if it doesn't keep the junk data, if it's just remuxing an existing AVI.

I assume you've edited the audio/video and saved the whole lot as an AVI? Which format are you wanting to end up with from there?

sneaker_ger
3rd September 2012, 14:04
In addition to what hello_hello said:
(1) Try remuxing with AVI Mux GUI once
(2) Try re-encoding the audio from the AVI directly (ffmpeg/ffms2)