VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    Hi, I am having the infamous Virtualdub error "Cannot apped segment: The video streams have different data formats".
    I threw my two videos into Gspot and the 'Large Piece' is using XviD 1.0.3, the 'Small Piece' is using XviD ISO MPEG-4.
    Re-encoding the large piece is out of the question. I have been looking for the XVID 1.0.3 codec since yesterday but cannot find any websites that are hosting it. I am hoping that someone here has the codec install on their computer or can point me in the right direction. Thank you to anyone that can help!
    Quote Quote  
  2. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    Ok, now I am complete confused. I found XVID 1.0.3 and reencoded but virtualdub still refuses to append, this makes no sense
    Quote Quote  
  3. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    Can you post the gspot or mediainfo details from the two videos? Maybe it's something else.

    You could also try join using avidemux.
    Quote Quote  
  4. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    I think I will save you the headache and go ahead and use avidemux, was really trying to avoid that program but from what I have read on the net this seems like a pain in Vdub. I can say the gspot are identicle however. Thank you for your quick reply
    Quote Quote  
  5. Frame rate is the likely problem. In an AVI file the frame rate is determined by two values in the header, A numerator and a denominator. A file that GSpot shows as 24 fps could have the two values as 24/1, 24000/1000, or any of many other possible numerator/denominator combinations. Even though those both represent 24 fps VirtualDub will see them as different. The solution is to use AviFRate to set the frame rate of both files to the exact same numbers.
    Quote Quote  
  6. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    Thank you for that information. I had read before that slight variations in framerate occur and I did confirm they were off by a thousandth of a frame but I assumed I would receive a different error is that were the case. I will look into AVIFRate - I have a question though. Wouldn't Vdub's framerate control window be able to do the same job? (I haven't tried doing this with the 'new' 1.0.3 codec yet)
    Quote Quote  
  7. AviFRate changes the values right in the AVI file's header. So it is instantaneous. If you want to change it in VirtualDub you will have to open a file, change the frame rate, then save the file in Direct Stream Copy mode. That won't take too long but it's slower than AviFRate.

    I just checked what happens when the frame rates are slightly different. The error dialog does mention the different sample rates. I also checked what happens when you use two different encoders (Divx, Xvid). VirtualDub says they videos use "different compression schemes." When the fourcc code was changed to match it said "The video streams have incompatible data formats. (Mismatch detected in opaque codec data at byte 14 of the format data.)"

    Maybe it's a VBR vs CBR issue? Audio issue?
    Quote Quote  
  8. Member
    Join Date
    Jan 2009
    Location
    United States
    Search Comp PM
    I agree syncing issues would arise but with the ammount of change in fps I don't think it would be noticeable...I just loaded both pieces up in AviFRate. Both files load and show 25.000fps, I hit apply to both of them in hopes that it would somehow set 25.000 in stone. However when trying to append in Vdub it still failed. AviDemux worked well for my first video I made, but that was with appending during a scene change. I worry that avidemux will not be smooth when trying to append together two pieces in the middle of a scene which is why I wish Vdub would work
    Quote Quote  
  9. Originally Posted by TheVille
    I agree syncing issues would arise but with the ammount of change in fps I don't think it would be noticeable...I just loaded both pieces up in AviFRate. Both files load and show 25.000fps, I hit apply to both of them in hopes that it would somehow set 25.000 in stone.
    It's the Scale and Rate fields that matter. fps = rate/scale. AviFRate has some quirks though. Changing one field changes the others in a somewhat unpredictable ways. In any case, I suspect that's not the source of your problem. I would just go ahead and use AviDemux. Appending is very simple with it: File -> Open, File -> Append, File -> Save.
    Quote Quote  



Similar Threads

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