Giter Site home page Giter Site logo

mkvtomp4's Introduction

gavinbeatty

Mostly just my own dotfiles and scripts. Not meant to be much use to others.

Though this is not a showcase repository by any means, my occasionally up-to-date CV is here.

mkvtomp4's People

Contributors

gavinbeatty avatar mjc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mkvtomp4's Issues

Passthrough / Constant bit rate Audio

What steps will reproduce the problem?

  1. Any mkv
  2. set Audio Quality

What is the expected output? What do you see instead?

Basically the AAC Audio encoding is set at levels between 0 and 1 however given this is used for high quality BD files by my self it would be great to be able to use a constant bit rate or even more so to be able to use pass through (Bit rate wise but still encode to AAC

What version of the product are you using? On what operating system?

Please provide any additional information below.

This would be a superb addition to your already superb software

(from [email protected], originally https://code.google.com/p/mkvtomp4/issues/detail?id=6)

h265 support

I am not sure if this project is entirely focused on h264 (as the description suggests) but I've run into an issue when I was trying to convert a h265 file. (see gpac/gpac#291)

As it turns out MP4box detects the format from the file extension. If there is any chance it would be great to change mkvtomp4 to honor this requirement and thereby support more than just h264.

If it could call

['MP4Box', '-add', 'foo.mkv.h265#video:trackID=1', '-hint', '-fps', '23.976', 'foo.mp4']

if necessary - that would be great.

(Note the foo.mkv.h265 instead of foo.mkv.h264)

Drop mp4creator support, make mp4box default

mpeg4-ip / mp4creator seems to be a dead project, while GPAC mp4box is being actively developed. Add in the fact that mp4box seems more readily available in package managers, and I feel mp4box is the way to go.

Plus, as I've been working on my various enhancements / PRs, I've realized the entire script can be improved significantly by standardizing on a single muxer.

If this direction is desired I'll submit a PR starting the process.

Python 3 support and new release

Hi. Homebrew maintainer here (Homebrew is a package manager for mac, linux and windows). I wanted to ask what the status is for Python 3 support?

We are going through the list of Python 2 libraries, see Homebrew/homebrew-core#47050.

Any timeline for proper Python 3 support?

Random noise during conversion

This program makes a random popping noise during conversion with no way of disabling it. It's really loud and annoying and I can't go into volume mixer to disable it because it only lasts for half a second before the sound stops and disappears from volume mixer.

Major overhaul

I've really been finding this script useful, but I found tons of features I wanted to add, and wasn't really able to separate them out cleanly at a point, so I've gone ahead and just made my master a complete collection of all the changes.

If you're interested in collaborating I can do a PR against your master, and you'd probably want to do a major version bump given all the changes. They include, "intelligent" audio and subtitles track selection, a faster implementation that builds flags for a single mp4box command (meaning, only one isotmp write), support for all major audio codecs (FLAC, VORBIS, DTS, AC3) and the concept of safety tracks, which is a little like the default Handbrake settings.

I also brought in the idea of device feature profiles (again, Handbrake) allowing sets of features and formats to be defined, and then working the output into those parameters.

I hope to get burned subs working for PS3 at some point in the future.

If you're not as interested in doing the PR, then I'll probably rewrite the docs, try to figure out a snappy name, and go ahead with my own version.

My goal, basically, is to have a script that can conform mkvs to apple playable m4vs and will just run as a background process on my media server, no manual intervention whatsoever. So far, I think I've got it!

This project has been a fantastic starting point -- I wouldn't have figured out that mp4 profile fix for ages!

Does not work on CubieTruck

[root@cubietruck mkvtomp4]# python setup.py
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    from simplemkv.tomp4 import __doc__
  File "/root/mkvtomp4/simplemkv/tomp4.py", line 104
    except OSError, e:
                  ^
SyntaxError: invalid syntax

Feature Request: Add support for Transcoding non H.264 streams

Hi there,

I have some MKV files that don't have an H.264 video stream, it would be good to enable support to transcode those, e.g.

$ mkvtomp4 test.mkv
error: appropriate video track not found: [{'number': 0, 'type': 'video', 'codec': 'MS/VFW/FOURCC'}, {'number': 1, 'type': 'audio', 'codec': 'AAC', 'language': 'und'}, {'number': 2, 'type': 'subtitles', 'codec': 'TEXT/ASS', 'language': 'und'}]

Another example:

$ mkvtomp4 test.mkv
error: appropriate audio track not found: [{'number': 0, 'type': 'video', 'codec': 'MPEGH/ISO/HEVC', 'language': 'und', 'fps': 23.976}, {'number': 1, 'type': 'audio', 'codec': 'OPUS'}]

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.