Git Product home page Git Product logo

mp4ize-python's Introduction

mp4ize, python, mp4ize-python (dev)

Welcome!

This is the current development version of mp4ize-python.

Original Work

This is a python implementation of the mp4ize ruby script available here:

http://thomer.com/howtos/mp4ize

Convert any video file for an iPod or iPhone

Copyright (C) 2007-2010 Thomer M. Gil

mp4ize python

This program converts video files to mp4, suitable to be played on an iPod or an iPhone. It is careful about maintaining the proper aspect ratio.

Requirements

  • python
  • python-argparse
  • ffmpeg
  • libavcodec-extra-52

Usage

A simple script to provide a simple, easy to use interface to calculate a span of time between two dates. To be able to calculate a future date based on a span of time. To illustrate the difference in time using conventional methods that are technically accurate.

usage: mp4ize.py [-h] [--version] [-a RATE] [-b RATE] [-v] [-w WIDTH]
                 [-t HEIGHT] [-i] [-4] [-n THREADS] [-o dir] [-f]
                 file [file ...]

encode videos to mp4 for an iPod or an iPhone

positional arguments:
  file                  list of file names to process

optional arguments:
  -h, --help            show this help message and exit
  --version             show program verison
  -a RATE, --audio RATE
                        override default audio bitrate (128k)
  -b RATE, --video RATE
                        override default video bitrate (400k)
  -v, --verbose
  -w WIDTH, --width WIDTH
                        override default width (320)
  -t HEIGHT, --height HEIGHT
                        override default height (240)
  -i, --iphone          use default iphone height and width (480x320)
  -4, --iphone4         use default iphone4 height and width (960x640)
  -n THREADS, --threads THREADS
                        number of encoding threads
  -o dir, --outdir dir  write files to given directory
  -f, --force           overwrite .mp4 if it already exists

mp4ize-python's People

Contributors

anchepiece avatar mbarkhau avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.