Skip to content
/ refps Public

Python utility to change video framerate using ffmpeg

License

Notifications You must be signed in to change notification settings

Ablinne/refps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dependencies:

    This program requires very few prerequisites:

    * mediainfo (http://sourceforge.net/projects/mediainfo/)
    * ffmpeg (http://ffmpeg.org/)
    * mkvmerge (https://www.bunkus.org/videotools/mkvtoolnix/)
    * python 2.7

Documentation:

usage: refps [-h] [-n] [-r FPS] [-o OUTPUT] [-t TMP] [-C] [-k TID] [-c TID]
             [-p TID] [-s TID:FPS]
             input

Change FPS of a Video and adjust audio.

positional arguments:
  input                 input filename

optional arguments:
  -h, --help            show this help message and exit
  -n, --dry-run         do only a dry run and only print the commands that
                        would otherwise be executed
  -r FPS, --fps FPS     target fps FPS
  -o OUTPUT, --output OUTPUT
                        output file or folder name
  -t TMP, --tmp TMP     folder for temporary files
  -C, --copy            copy source file to temporary directory while
                        processing

Track specific options:
  These options specify what should be done to specific tracks. Repeat
  options for multiple tracks. For each track at most one of -k, -c or -p
  can be specified. Counting starts at 0.

  -k TID, --keep-pitch TID
                        change tempo of track TID while keeping the pitch
  -c TID, --no-keep-pitch TID
                        change tempo of track TID without keeping the pitch
  -p TID, --passthrough TID
                        do not filter track TID
  -s TID:FPS, --sfps TID:FPS
                        assume source FPS for track TID


License:

refps.py by Alexander Blinne
[email protected]

mediainfo.py by [email protected]
https://code.google.com/p/medianav/

Both published under GPL v3, see COPYING

About

Python utility to change video framerate using ffmpeg

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages