Giter Site home page Giter Site logo

zumer / ts2mp4 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from keemotion/ts2mp4

0.0 1.0 0.0 10.16 MB

TS2MP4 allow you to convert TS files to MP4 files on your iDevice.

License: Other

C 9.48% Objective-C 43.56% C++ 30.57% Objective-C++ 9.54% Ruby 4.83% TypeScript 2.01%

ts2mp4's Introduction

TS2MP4

Version Platform

TS2MP4 converts a set of TS files to a MP4 file.

How it works

The conversion of a TS file into a MP4 file is done in two steps.

  1. The first step is the demuxing of the TS files. It consist of extracting the audio and the video elementary streams of the TS files and saving them into two distinct files on the disk. (using a modified version of tsdemux 1.52 )
  2. The second step is the muxing of the two elementary streams. It consist of assemble the two elementary streams into one MP4 file. (using the libgpac library as external lib, which is distributed as a GPAC4iOS Pod)

The concatenation of multiple TS files into a single MP4 file follow the same steps but the elementary streams are concatenated.

The C and C++ library are wrapped by an Objective-C interface KMMedia.

Usage

To run the example project: clone the repo, and launch the TS2MP4 project and run the TS2MP4Demo target. You have to manually put some TS files into the ressources directory of the App to be able to test it.

Installation

TS2MP4 is available through CocoaPods, to install it simply add the following line to your Podfile:

pod "TS2MP4"

Authors

  • Jonathan Gailliez, Keemotion s.a.
  • Damien Leroy, Keemotion s.a.
  • Anton Burdinuk (parts of TSDemux in /Classes/TSDemux)
  • GPAC (parts of MP4Box in /Classes/MP4Mux)

License

  • TS2MP4 is distributed under the GPLv2 license. See the LICENSE file for more info.
  • TSDemux (parts in /Classes/TSDemux) is distributed under the GPLv2 license.
  • GPAC (parts in /Classes/MP4Mux) is distributed under the LGPLv2 license.

ts2mp4's People

Contributors

jonathangailliez avatar

Watchers

Evgeny 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.