VideoHelp Forum




+ Reply to Thread
Results 1 to 10 of 10
  1. Hi,

    Read the tutorials on this and cannot seem to append 2 AVI's together.
    It keeps saying " the audio stream have incompatible audio formats, mismatch detected in opaque codec data at byte 20 of the format data."

    When viewing the file information in VirtualDub, everything is exactly the same except for the file size and frame count of course.

    Audio Stream Video 1:
    32000Hz
    2 (stereo)
    N/A
    Microsoft IMA ADPCM CODEC
    78085 chunks (0.51s preload)
    81995 samples (43:25.92)
    1024/1075/16384 (81995K)
    258kbps (2.18% overhead)

    Audio Stream Video 2:
    32000Hz
    2 (stereo)
    N/A
    Microsoft IMA ADPCM CODEC
    160820 chunks (0.51s preload)
    168857 samples (1:29:26.52)
    1024/1075/16384 (168857K)
    258kbps (2.18% overhead)

    What is the difference and how can I merge theses 2 files?
    Quote Quote  
  2. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    Grab gspot , it is very handy .

    As for those avi's that wont join ... I am not sure this will work but it might be a possibility .

    Open first avi in virtualdub , go to audio , sellect full processing , then under audio , conversion ... set to 41khz , stereo , 16bit .

    Save wav .

    Close this file .

    Open other avi and repeat step's as before .

    Close this file .

    ----------------------------------------------------------------------------------

    Open first avi , go to audio , sellect wav , locate that audio file you extracted from that avi before .

    Now append .

    Open second avi , again audio , wav , locate the audio file you extracted from second avi .

    Of course you will need to setup audio compressor ... not sure if the video will also need this ...

    Append is normally used when both source's match ... your's show's audio is matched ... however , not all error message's relate to what they report is wrong ... you may find it has to do with the video source instead .

    That's why gspot is an important tool worth having .

    -------------------------------------------------------------------------------

    See if that work's ... as I said it might be worth a go .
    Quote Quote  
  3. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    The 258 kbps audio bitrate indicates that you have a VBR audio, and VD wont merge this.
    When I handle something like that, I disable both audios and merge just both videos with no sound. Then I extract both audio to wav and merge them with, for instance, Audacity.
    Never tried what Bjs wrote, so far, looks fine

    Cheers.
    Quote Quote  
  4. Bjs,

    I tried this and it still came up with cannot merge.

    After installing Gspot, I see that between the 2 avi's there is one with 1139k/s video and the other is 1153kb/s

    How do I make them both the same?

    Originally Posted by Bjs
    Grab gspot , it is very handy .

    As for those avi's that wont join ... I am not sure this will work but it might be a possibility .

    Open first avi in virtualdub , go to audio , sellect full processing , then under audio , conversion ... set to 41khz , stereo , 16bit .

    Save wav .

    Close this file .

    Open other avi and repeat step's as before .

    Close this file .

    ----------------------------------------------------------------------------------

    Open first avi , go to audio , sellect wav , locate that audio file you extracted from that avi before .

    Now append .

    Open second avi , again audio , wav , locate the audio file you extracted from second avi .

    Of course you will need to setup audio compressor ... not sure if the video will also need this ...

    Append is normally used when both source's match ... your's show's audio is matched ... however , not all error message's relate to what they report is wrong ... you may find it has to do with the video source instead .

    That's why gspot is an important tool worth having .

    -------------------------------------------------------------------------------

    See if that work's ... as I said it might be worth a go .
    Quote Quote  
  5. im trying to setup virtualDub to encode in Constant BitRate but dont know how or where to set this up...

    Can anyone please help, I guess as per Gspot, the problem is that both avi are Variable bitrate video hence cannot be merged du to the difference in bitrate.
    Quote Quote  
  6. I'm a Super Moderator johns0's Avatar
    Join Date
    Jun 2002
    Location
    canada
    Search Comp PM
    The easiest way i found to append avi files with different audio is to open each avi file with virtualdub and save as avi with video on direct stream copy and audio on full processing mode,then append the saved avi's.
    I think,therefore i am a hamster.
    Quote Quote  
  7. but by doing this, will this match the bitrate? See, that is what my problem here is, I cannot append as the bitrate is different between the 2 files.
    Quote Quote  
  8. Member
    Join Date
    Aug 2005
    Location
    Right here
    Search Comp PM
    No. The reason that you cannot append is not the different video bitrate, but tha audio VBR thing.
    This is why we are suggesting you to append either both avi with no sound, or both avi with wav uncompressed.
    Quote Quote  
  9. Member
    Join Date
    Feb 2004
    Location
    Australia
    Search Comp PM
    I have a habit of re-editing my previous posts ... which dose confuse user's ... I just dont like making the reply posting's longer than needed .

    Anyway .

    In virtualdub , under option's , preference's , goto avi tab , check second option , accept ... it should prevent vitualdub from coming up with that warning .

    Then repeat the audio extraction process as mentioned before .

    If the audio is still unavailable , run these avi's through super , convert them , only change the audio preset so both match in frequency and bitrate .

    Then try again ... super should help bypass the issue with the audio .

    Extract the audio from both new file's and use these as replacement's for the actual audio from the avi's that wont join ... as they will nolonger be in vbr format .

    You may also want to try this :

    http://www-user.tu-chemnitz.de/%7Enoe/Video-Zeug/AVIMux%20GUI/

    These would then be joinable from append point of view .
    Quote Quote  
  10. VH Veteran jimmalenko's Avatar
    Join Date
    Aug 2003
    Location
    Down under
    Search PM
    What johns0 said.

    Video > Direct Stream Copy.
    Audio > Full Processing.
    File > Save as AVI.

    For both.

    Open 1st file, append 2nd file.
    If in doubt, Google it.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!