Log in

View Full Version : Trouble joining VBR avi files created with GK


ZZZERO
25th October 2003, 21:17
I encoded two halves of a movie separately using GK and now need to join them. Even though I used the exact same settings in GK for both encodes I cannot join the two files. The problem is with the audio streams (the video joins fine without audio).

The audio settings I used for both halves were: mp3, 96 kBit/sec, average bitrate. This is the audio info from the 2 avi files.
AVI-1 32000Hz, MPEG Layer-3 Codec (Pro), 90 kpbs (5.59% overhead)
AVI-2 32000Hz, MPEG Layer-3 Codec (Pro), 91 kpbs (5.56% overhead)

vdubmod first warns me that it has "detected an improper VBR audio encoding" and asks if I want to rewrite the header. When I try to append AVI-2 I'm told that it "Cannot append segment: The audio streams have different data formats." Using vdubmp3 I can avoid the initial question about rewriting the header but still get the different audio stream data formats error.

I also tried creating an entirely new audio track using Cool Edit to join the 2 mp3 audio files besweet created, but CE gets the lengths of the mp3 files totally wrong.

There's probably an easy solution to this but I have searched the forums in vain for a solution. I'd like to know how to solve this particular problem and what settings I need to change in GK to avoid this problem in the future.

manono
26th October 2003, 01:34
Hi-

There's probably an easy solution to this...

None that I know of. This sort of thing can be real frustrating. I'd suggest converting the MP3s back to WAV first using BeSweet or HeadAC3he, and then using Cool Edit to join the WAVs. Then reencode the new WAV file back to MP3 with HeadAC3he or BeSweet. Check the lengths at each stage to make sure they're OK. You can do that easily by opening them in HeadAC3he. My guess is that Cool Edit's VBR MP3 support isn't so good. And that 32000HZ may not be helping much, either.

TheWEF
26th October 2003, 03:12
try nandub to join the files.

wef.

EDIT: oh, i just read mp3 PRO - that might be the problem...

Tuning
26th October 2003, 06:06
I have another suggestion....some times this will work...

Step:1
Convert both files to MKV in directstream copy,using VirualDub Mod.
Step:2
Append the second mkv file to first and save again in directstremcopy as mkv,again using VDM.
step:3
Open this output file(mkv) using VDM and re-convert to avi in directstream copy.

This is possible as Matroska converts audio to MKA format,which may be appendable.

-Tuning

ZZZERO
26th October 2003, 22:28
I was able to find a solution. A freeware program called mp3 merger joined the two VBR mp3 files properly. As mentioned earlier, the two video streams joined fine without audio so with the audio now joined it was a simple matter of merging the joined audio with the joined video in vdubmod.

For those interested, the freeware mp3merge program can be found at http://mp3merge.netfirms.com/

Next time I will give the solution offered by Tuning a try.

ZZZERO
29th October 2003, 08:25
Originally posted by Tuning
I have another suggestion....some times this will work...

Step:1
Convert both files to MKV in directstream copy,using VirualDub Mod.
Step:2
Append the second mkv file to first and save again in directstremcopy as mkv,again using VDM.
step:3
Open this output file(mkv) using VDM and re-convert to avi in directstream copy.

This is possible as Matroska converts audio to MKA format,which may be appendable.

-Tuning

I had another VBR mp3 audio avi to join so I tried this method. I could join the two Matroska files fine and I checked that the audio was still in perfect synch, but when I saved as avi the audio went way out of synch. In the end I went back to the merge mp3 method and that worked fine again.

Tuning
29th October 2003, 13:58
Sorry ZZZERO for not working for you by this method.But It has worked for me most of the time when avis are reluctunt to append.

BTW,Is your MKV file is working well without audio sync?

:rolleyes: - Tuning