VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Aug 2014
    Location
    Switzerland
    Search PM
    Hi,
    I have 2 files OP & ED
    I am trying to append both files but when I append the 2nd one (ED)
    it tell me this
    http://cjoint.com/?EAros1ElXnX
    Quote Quote  
  2. Use AviFRate to make the frame rates identical. The second one is 24000/1001. Make the first one match.
    Quote Quote  
  3. Member
    Join Date
    Mar 2011
    Location
    Nova Scotia, Canada
    Search Comp PM
    That seems a very, very minor difference.

    What program are you using to join?

    Post mediainfo data of both files.
    Quote Quote  
  4. He's using VirtualDub. You can see it in the error message dialog. VirtualDub requires that the numerator and denominator have exactly the same values.
    Quote Quote  
  5. Member
    Join Date
    Aug 2014
    Location
    Switzerland
    Search PM
    Correct, and I strictly don't know how to proceed
    all my files are correct, except that one called ''ED''
    here are media info check:

    OPENING (OP)
    http://cjoint.com/?EAroZdJCNGk

    ENDING (ED)
    http://cjoint.com/?EAroZL4siBn

    Jagabo> about AVIFrate
    here are my 2 files on AVIFrate
    which value must I change to match with opening file (OP file)

    OP file
    http://cjoint.com/?EArrZzsUxnV

    ED file
    http://cjoint.com/?EArrZWIc5Zz
    Last edited by erzane; 17th Jan 2015 at 10:42.
    Quote Quote  
  6. In the ED file set Scale to 1001 and Rate to 24000 (that's what they are in the OP file) then Apply. But there's a trick. The program recalculates fps after you enter a value into scale or rate. It then calculates a new rate based on that fps value. Unfortunately that generates rounding errors so the value you entered as the rate changes. So, if you enter 24000 it will change to 23999. The way around this is to first set the scale to 1001. Then enter 24001 as the scale and without hitting Tab or Enter or pressing any other buttons press the Apply button. It will still calculate a new rate but it will round down to 24000. After writing the value to the AVI file it will again recalculate fps and rate and the GUI will show 23999 again. But the value written to the AVI file was 24000. Stupid little program.
    Quote Quote  
  7. Member
    Join Date
    Aug 2014
    Location
    Switzerland
    Search PM
    so, I prefer not to touch AVIFrate, perhaps it's better to change something on VD...
    Quote Quote  
  8. Originally Posted by erzane View Post
    so, I prefer not to touch AVIFrate, perhaps it's better to change something on VD...
    VirtualDub will not append files if the scale and rate aren't exactly the same integer values.

    You could use a hex editor to change the values in the header.
    Quote Quote  
  9. I tried AVIFrate and couldn't get it to run on XP, but I did find the following in the help file, so the issue jagabo described may no longer apply. Even if it does, it still shouldn't stop you using it (as long as you can get it to run).

    Original 2001 version has a feature that may be your problem in some cases. For your convenience after you edit any numeric value and leave it (move cursor to another one) AVIfrate tried to calculate new frame rate, total duration etc. AND unfortunately this might change the previously values due to int->float->int calculations and rounding.
    So, now I decided to change this logic and in AVIFrate 2009 the fps value is calculated but doesn't affect scale/rate anymore.
    The end result will probably be the same as changing it the way jagabo suggested, but VirtualDub will also change the frame rate. Open each AVI (it might pay to do both so you know they're the same), and via the Video/FrameRate menu, enter the desired frame rate (23.976). Save that as a new AVI after selecting Direct Stream Copy for the video compression method. If you re-save both AVIs that way while specifying the same frame rate, the new versions may append.

    I do wonder though, because if you change the frame rate significantly and open the AVI with MediaInfo, you'll see it displays "frame rate" and "original frame rate" so I assume the original frame rate is also written to the video stream. I don't know if that'd effect the ability to append. Anyway, you can try adjusting the frame rates with VirtualDub to see what happens. It won't take long.
    Quote Quote  
  10. Originally Posted by hello_hello View Post
    I tried AVIFrate and couldn't get it to run on XP, but I did find the following in the help file, so the issue jagabo described may no longer apply. Even if it does, it still shouldn't stop you using it (as long as you can get it to run).

    Original 2001 version has a feature that may be your problem in some cases. For your convenience after you edit any numeric value and leave it (move cursor to another one) AVIfrate tried to calculate new frame rate, total duration etc. AND unfortunately this might change the previously values due to int->float->int calculations and rounding.
    So, now I decided to change this logic and in AVIFrate 2009 the fps value is calculated but doesn't affect scale/rate anymore.
    I didn't realize there was a newer version (I had the 2001 version). I checked the 2009 version and it doesn't have the rounding problem.

    It will run under XP but it has another idiosyncrasy: it won't run right if the exe is in a folder with a space in the folder name. So it has problems if you put it in a folder like "C:\Program Files\AviFrate\AviFrate.exe". So I just put AviFrate.exe in the root of drive C.
    Quote Quote  
  11. Originally Posted by jagabo View Post
    It will run under XP but it has another idiosyncrasy: it won't run right if the exe is in a folder with a space in the folder name. So it has problems if you put it in a folder like "C:\Program Files\AviFrate\AviFrate.exe". So I just put AviFrate.exe in the root of drive C.
    Ahhhh... that was it. Now it runs. Cheers.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!