VideoHelp Forum
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. I am looking for a test MP4 file where each frame has its frame number visible. It would even be okay for the frame to contain a white background and just the frame number. Does anyone have such a reference file on the web that they can point to?
    Quote Quote  
  2. You can easily make one with AviSynth:

    Code:
    BlankClip()
    ShowFrameNumber()
    Encode that with any MP4 encoder that supports AviSynth scripts. Like x264 CLI.

    Code:
    x264 --preset=veryfast --output "output.mp4" "input.avs"
    Image Attached Files
    Last edited by jagabo; 2nd Jan 2019 at 07:13.
    Quote Quote  
  3. Thank you for the video and thank you for the command line tool references.

    In your example, what is it that set the number of frames to create at 240 (0 frame + 239 others)? What is it that set the first frame to 0 instead of 1?
    Quote Quote  
  4. Originally Posted by pone44 View Post

    In your example, what is it that set the number of frames to create at 240 (0 frame + 239 others)?
    It's the default framecount for BlankClip. It can easily be changed

    What is it that set the first frame to 0 instead of 1?
    AviSynth framecounting begins with zero. An easy manipulation of the script can remove the zero frame and have it begin with one.
    Quote Quote  
  5. BlankClip() allows you to specify frame dimensions, frame rate, length... http://avisynth.nl/index.php/BlankClip

    If you want the count to start at 1 instead of 0 trim away the first frame:
    Code:
    BlankClip()
    ShowFrameNumber()
    Trim(1,0) # keep frames 1 to the end
    Quote Quote  



Similar Threads

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