Giter Site home page Giter Site logo

2mp4's Introduction

2mp4 GitHub license PyPI Build Status

Easily convert video files to .mp4

Description

'2mp4' is a utility that simplifies conversion of video files to mp4 format. It uses 'ffmpeg' with 'libx264' to do the required video and audio conversion.

Installation

  1. Install ffmpeg version 1.0 or greater
  2. Install mediainfo
  3. Install 2mp4
$ [sudo] pip install 2mp4

Usage

$ 2mp4 -h
usage: 2mp4 [-h] [-n] [-f] [-v] input_file

Convert [input_file] to mp4. The output video file will be created in the same
directory named [input_file].mp4

positional arguments:
  input_file          file or directory to convert to mp4

optional arguments:
  -h, --help          show this help message and exit
  -n, --dry-run       Don't actually do the conversion, just show the
                      command(s) that would be executed
  -f, --force-encode  Force a re-encode of the video stream, even if it is
                      already in a format supported by mp4 container.
  -v, --version       show program's version number and exit

2mp4's People

Contributors

skonakov avatar

Watchers

 avatar  avatar  avatar

Forkers

python3pkg

2mp4's Issues

from progressbar import ( ImportError: cannot import name Timer

Hello ,
no Timer included in progressbar.

after run :~$ 2mp4

Traceback (most recent call last):
File "/usr/bin/2mp4", line 9, in
load_entry_point('2mp4==0.1.4', 'console_scripts', '2mp4')()
File "/usr/lib64/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib64/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 2281, in load_entry_point
return ep.load()
File "/usr/lib64/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1991, in load
entry = import(self.module_name, globals(),globals(), ['name'])
File "/usr/lib64/python2.7/site-packages/2mp4/2mp4.py", line 35, in
from progressbar import (
ImportError: cannot import name Timer

Regards,

dslackw

Copy metadata

So far it seems to lose metadata (such as language of the audio stream).

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.