VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. hi,

    I got two same video, one is the intro and the other is the movie, they in different resolution and frame rate. I manage to fix the resolution and the frame rate to 29.970. When i join them together with Virtuadubmod i got this message

    "the video stream have different sample rate (29.97000 vs 29.97003)"

    How can i change the intro which is 29.97000 to 29.97003? I want to change the intro because tis one intro is use for the rest of the series.

    any help/suggestion please.

    thanksssss
    Quote Quote  
  2. Use AVIFrate to change them both to the same frame rate. You might have to change them to something else first, then back to 29.97. Note that 29.97003 is probably a rounding of 3000/1001 (29.9700299...) So you may need to change both to the exact value you want.
    Quote Quote  
  3. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    Or give AVIDemux a try
    Read my blog here.
    Quote Quote  
  4. neither app work for me, I use VDmod to change the frame rate, it seem to work, but once i try to join the video, i get a different error saying the video streams have different data formats.
    so i have no ideas what's wrong.
    I even use AVIRecomp to re-encode the video then change the prame rate with VDdub, but still same error above.

    anyother suggestion?

    thankssss
    Quote Quote  
  5. You can't join them if they have different frame sizes. You'll have to reencode one or both to the same frame size. They also must use the same audio and video codecs.
    Quote Quote  
  6. intro.avi = 25
    video.avi = 29.97003

    here is what i did:
    1. use avirecomp to encode the video and audio as well to 128kbps
    2. since avirecomp can't change the frame rate, i use virtuadubmod to change video.avi to 25 frame, then change it again to 29.970, then change intro.avi to 29.970.
    3. now both video is in xvid format and same frame rate, but once i try to join them, the error appear.
    i have no ideas what's wrong, i thought avirecomp make any avi the same? what other program can i use to make any avi the same?
    Quote Quote  
  7. In your first message you said the two videos had different resolutions as well as different bitrates. You have to make the resolutions the same too.
    Quote Quote  
  8. if you read my first post again, i already said i manage to fix the resolution.
    Quote Quote  
  9. Sorry, I missed the frame size fix.

    The frame rate in an AVI file is specified by two integers near the start of the file, a Scale and a Rate. The frame rate in frames per second is Scale/Rate. Two different programs may use two different pairs of numbers to represent the same rate. For example 30/1 is the same as 30000/1000. But VirtualDub may see those as two different rates. This is why I recommended using AVIFRate to change them both the same rate.

    AVIFRate also seems to not make the change if you specify the same rate the file already is. So if AVIFRate normally uses 30000/1000 to specify 30 fps, and the file is already 30/1 it will decide that is the same rate and not bother to update the file when you tell it to.

    So I recommend using AVIFrate to change both files to something else, like 25 fps, update, then change them both to 29.97. It takes no time at all because all the program is doing is changing those two numbers in the file. It will take you longer to select the rate from the pulldown and press the update button than it will take the program to make the change.

    If you've already done this, or if VirtualDub still won't join the files after this, there is something else wrong.
    Quote Quote  
  10. thanks jagabo, i think i got it now. last time i use the program, i only change the fps, and ignore the rest. I notice the scale and rate is very random for each file, so i guess that's the problem. This time i follow your detail and change the scale and rate to 25000/1000 for both file and the fps auto change to exact 25.000 and it work when join with virtuadubmod. I hope the sound wont goes out of sync, i stil haven't test both with audio yet.

    thanks again....a so little program can be so very useful this time.
    Quote Quote  
  11. Originally Posted by bennyvo
    This time i follow your detail and change the scale and rate to 25000/1000 for both file and the fps auto change to exact 25.000 and it work when join with virtuadubmod. I hope the sound wont goes out of sync...
    I thought your sources were 29.97 fps? Changing them to 25.000 fps with AVIFRate will definitely get the audio and video out of sync.
    Quote Quote  
  12. My source for the Intro is 25.000 and my Main Video is 29.970.
    When i was testing using your detail, I use 25.000 just to see if it can be join with virtuadubmod.
    Just reading your message now, I try change from 25.000 to 27.970 does make audio out of sync. What can I do to overcome this? Which tool can I use to convert video 25.000 to 29.970?
    Quote Quote  
  13. Always Watching guns1inger's Avatar
    Join Date
    Apr 2004
    Location
    Miskatonic U
    Search Comp PM
    With avi files, no. You can re-encode and have extra frames created to get the framerate up, but you will get jerkiness, and you will have to adjust the audio.

    If you were doing this with the ultimate aim of going to DVD, then there are other alternatives. The simplest is not to join them, but to encode at NTSC resolution and PAL framerates, then use DGPulldown to add the requisite pulldown flags to get 29.970 fps playback. You could then join them during authoring.
    Read my blog here.
    Quote Quote  
  14. If the intro isn't critical you can just use VirtualDub's frame rate conversion function. It will simply duplicate every 5th frame (except every 1001'th) to convert 25 fps to 29.97 fps. This will show up as 5 little jerks every second but depending on the nature of the video you may not notice it. Then encode with the approprite codec and settings.

    Quote Quote  
  15. The intro only have music, no vocal. I covert it to 29.970 with virtuadubmod and it seem to work ok, video syncED. I finally can join it now....

    many thanksssssss
    Quote Quote  



Similar Threads

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