VideoHelp Forum
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. Hi. I have an mp4 file which, to my eyes, plays OK but I've just realised that there are 2 identical frames for each image throughout. Presumably, it would be better to reduce the file to 25fps by removing the duplicate frames. Is TDecimate() my best option here? And, if so, is the command simply this:
    last.TDecimate()

    Thank you.
    Quote Quote  
  2. You need to set the cycle.

    TDecimate(cycle=2)
    https://avisynth.org.ru/docs/english/externalfilters/tivtc_tdecimate.htm

    If the pattern is constant something simple like SelectEven() should also do the trick.

    Note: if the frames are exact duplicates they usually compress to almost zero anyways. So if your goal is just to reduce the file size I would not do this because you will lose quality, waste time and achieve nothing.
    Quote Quote  
  3. Thanks, sneaker. File size isn't an issue, just the possiblity of getting a better video. I said at the beginning that it plays OK as far as I can see - that must be your 'compress to almost zero' kicking in. I'll probably just leave it, then.
    Quote Quote  
  4. Decompressing the source and compressing it again (with a lossy codec) can only make the picture quality worse.
    Quote Quote  
  5. I wouldn't bother unless you need to re-encode for some other reason. If you're using a 50Hz TV you'll get one screen refresh per frame at 50fps, or two screen refreshes per frame at 25fps, so it should look exactly the same if every frame is repeated for 50fps.
    Quote Quote  
  6. I did a re-encode simply because the original vid was so large. SelectEven() did a fine job so thanks to you all for the advice.
    Quote Quote  



Similar Threads

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