Need help Appending two AVI's to convert to DVD [Recieved Error Messege trying to Append]

Discussion in 'MPEG-1 and MPEG-2 encoding (AVI to DVD)' started by blitzace, Aug 31, 2005.

  1. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    (I apologize if I've posted in the wrong place)
    I have two AVI files that I want to join together so I can convert that joined file to a DVD. I am using VirtualDub and keep recieving an error messege, "Cannot append segments. The video streams have different sampling rates (23.97600 vs. 23.97600)". But as you can see, they're both at the same rates.

    Here is file information on the videos from VirtualDub:

    Video 01
    [​IMG]

    Video 02
    [​IMG]

    They both look quite the same to me.. Anyone spot the differences?
    Is there a way that VirtualDub (or any other program) can change/adjust the video stream sampling rates for them both to be exact?.. But then again, I don't see a reason to change'em 'cause they're both at the same sampling rates. I'm not really experienced in VirtualDub but, any help/feedbacks/step-by-steps guide would be much appreciated. Thanks.
     
  2. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Sorry, but I see the same sampling rates (23.976 both), the same codec (Xvid) for audio video, all equal, and in this case you can join them with VirtualDub. What's the trouble?
     
    Last edited: Aug 31, 2005
  3. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Yeah... They're all similar and SHOULB be able to join but, I have no idea why VirtualDub keeps giving me this error messege..
    [​IMG]

    I SHOULD be able to join'em, but I'm clueless of why VirtualDub would not let me. The codec packs I have installed are FFDShow and K-Lite Codec Pack. I've tried uninstalling, and then re-installing the codec packs but there seems to be no change what-so-ever of VirtualDub letting me append the two AVI's. I've also tried to append'em in VirtualDubMOD. But still, same error messege, no success... I don't see what I am doing wrong or using wrong. Maybe a different program is needed for these files besides V-Dubs? If so, Can someone point directions for this lost newbie... Thanks.
     
    Last edited: Sep 1, 2005
  4. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    I really didn't understand that error.
    If you want to risk: uninstall FFDShow, Install Xvuid, re-start the computer and try. I had bad stories on my computer when I installed FFDShow: Now (even if I uninstalled it) I cannot load, with TMPGenc many AVI's sound unless I didn't put the priority of the 'AVI2(OPEN DML)File Reader' higher than 'DirectShow Multimedia File Reader'.

    Or (but, if this is an error of DirectShow this won't make any good): what if you try to re-compress the AVIs (use the Xvid codec set at maximum bitrate ad you on't have any loss)?
    Otherwise I can only suggest to try to join the encoded movies (.M2V for DVD, I assume), but I don't know how to join .M2V files, I only know how to join MPG and AVI movies....

    [bold]ah, [​IMG]
     
    Last edited: Sep 1, 2005
  5. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Okay. I've uninstalled FFDShow, installed Xvid, restarted, and tried joining again. But still, same error messege pops up... no success. I've also tried re-compressing the files (as you said, at maximum bitrates with Xvid codec). The good news, I have two new re-compress files in smaller size (no quality loss). The bad news, I'm STILL not able to join the two files together in V-Dub... Damn that error messege!... I'm so exhausted, I've been at this all day. I guess I'll just google around and dig deeper into this "video stream different sampling rates error" until I (hopefully) find a solution or a fix-around. Until then, Thanks a bunch for your support aldaco12.
     
  6. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    Your experiments with FFDshow mean the problem is a corruption range exists in the AVI. A thing you might do:
    1) FIND THE CORRUPTION RANGE.
    2) SAVE 2 AVI PIECES, ONLY OUTSIDE THE CORRUPTION RANGE.
    You'll get 2 AVIs with a small 'jump' betseen the 2 parts.
    If you use TMPGenc changing Settings___Source Range (keep pressed the arrow) the movie could skip fast untill you arrive a flashing part where the AVI is troubled. Lets's suppose you're PAL (25 fps) and want to encode into PAL, that the movie is 'perfect' from frame 0 to frame 46520 (31" 00') and is corrupted for some frames, then is again OK from frame, say, 49100 (32' 44") to end.
    Now you just have to use VirtualDub with both Video and Audio set on Direct Stream Copy and save movie__p1.AVI and movie__p2.AVI
    Of course you'll lose 1' 44", but is a unavoidable thing, since the video was corrupt, isn't it?
     
    Last edited: Sep 1, 2005
  7. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    I have solved this Problem before by useing "AVI Frame Rate Changer" to set the Frame Rates of each file to 23.976fps and then Join them with V-Dub....


     
  8. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    (I apologize for haven't been checking in lately, I've been really busy with school and all.)
    Minion, Thanks for your support but I've also tried using "AVI Frame Rate Changer" and still haven't gotten them to join in V-Dub...
    Aldaco12, Sorry but I'm so lost as to what you are trying to tell me... I'm a real newb at this and couldn't complete anything without a fancy step-by-step guideance. About the video file being corrupted, I don't think it is because I have watched it through already and didn't seem to catch any corrupted "frames?".

    Oh and one more thing Aldaco12... This is a real bummer. But, remember when you said to uninstall FFDShow, Install Xvid, and try joining again in V-Dub? As stated before, I've tooken that risk of "Not being able to load and AVI's including the audio with TMPGEnc unless I didn't put the priority of the 'AVI2(OPEN DML)File Reader' higher than 'DirectShow Multimedia File Reader'." The thing is, I've raised the priority of 'AVI2(OPEN DML)File Reader' higher than 'DirectShow Multimedia File Reader' (hopefully there's audio in my AVI Conversions now...) but was not able to follow through converting to DVD [.m2v+.mp2] because of TMPGEnc keeps reading that the AVI file is two to three times larger than the original... Have you found a way to fix this little "error/bug"? Or is this what I have to live with by taking that risk...? Again, Thank you both for your support.
     
  9. Minion

    Minion Senior member

    Joined:
    Sep 28, 2003
    Messages:
    5,623
    Likes Received:
    0
    Trophy Points:
    116
    If Tmpgenc is Reading your AVI files being 2 or 3 Times Longer than they really are then try this to try to Fix the Problem:

    Go into "Settings" to "Advanced" and double click on the "Source Range" and then select the Beginning and end frames of your File ,Now when tmpgenc encodes your File it should only encode between the Beginning and end frames you selected which should make it so Tmpgenc reads you file as being the Proper Length....

    Cheers
     
  10. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Thanks Minion, That fixed the problem.
    I was able to follow through on the DVD conversion but there was no audio in my outcome .m2v+.mp2 files... Aldaco12, Have you figured out how to load the AVI's WITH the audio in TMPGEnc? I really regret uninstalling FFDShow and having to "corrupt" the process of converting my AVI's to DVD with the outcome of an audio-less .m2v+.mp2 files... Thank you both for your supports and hopefully I or someone can find a fix to this.
     
  11. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    I've tried uninstalling ALL of the codecs I had installed on my PC, then re-installing them. Still, I get outcomes of converted AVI's that are audio-less. Eh, I guess there's no solution to it. My only choice now is to burn everything out as Data onto DVD-R's and FORMAT my harddrive, after that do a clean install of Windows XP Pro. But I'll give it a couple more days until (hopefully) someone catches up on this post and pops up with some helpful information... 'Till then, Thank you all...
     
  12. aldaco12

    aldaco12 Active member

    Joined:
    Nov 6, 2002
    Messages:
    2,544
    Likes Received:
    0
    Trophy Points:
    66
    I also had a similar problem installing and uninstalling FFDShow (what did that lousy codec - so much appreciated in Afterdawn - did to my PC? Modified Windows' DirectShow!).

    A solution: open the AVI with VirtualDub, set Audio to Full Processng Mode, do File___Save WAV.
    Unless the AVI has an .AC3 audio , the extracted WAV file will be a real uncompressed WAV file (10.1 MB x minute large) and can be used by TMPGenc as 'Audio input' (or used ignored during .AVI -> .M2V encoding of the video and used during the ".M2V + audio -> DVD" 'authoring' phase as audio stream, once you Resample it to 48 kHz - many aplications can do this: Womble MPEG encoder, HeadAC3he which is also free... - by TMPGenc).

    Another possible sulution (but I just found it and I still haven't verified its results, so beware): download the nice (and free) program [bold]DirectShow Filter Manager[/bold] (http://www.softpedia.com/get/Multimedia/Video/Codec-Packs-Video-Codecs/DirectShow-Filter-Manager.shtml ) and use it to remove, from DirectShow, all references to FFDshow that have remained. I used it and saw (and removed) 4 or 5 still remaining references to 'audio encoders' , pointing to the [bold]no more existing directory[/bold] C:\Programs\ffdshow ...
     
    Last edited: Sep 15, 2005
  13. blitzace

    blitzace Member

    Joined:
    Jun 7, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    11
    Yes! Your first method works aldaco12, Thanks!
    This is what I've done:
    Loaded up the AVI file into V-Dub, set Audio to "Full Processing" and went to "File___Save WAV" (as audio.wav) After that I opened up TMPGEnc and loaded the AVI file and Audio file (audio.wav) and then continued on with the conversion to DVD [.m2v+.mp2]. The outcome, NO AUDIO! BUT, that wasn't the final prcoess. Next, I've loaded the .m2v file and the audio.wav into IFOEdit and Multiplexed it. Outcome, VIDEO+AUDIO! Thanks again aldaco12!
    Okay, this post is getting kinda off-topic. I still haven't been able to join those two [corrupted?] AVI files with V-Dub. I've jumped onto a new little proggy called "Quick AVI Joiner" (probably an unknown prog. but I googled! eh =/). With that, I was able to join the two AVI's. BUT, the outcome of the joined file was 2X larger than the two AVI's seperately! Plus with bad quality -_-.
    Is there any other prog. that can join AVI's instead of the two that I have already mentioned and used? If so, care to share? Thanks...
     

Share This Page