TS2MP4 converts a set of TS files to a MP4 file.
The conversion of a TS file into a MP4 file is done in two steps.
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.
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.
TS2MP4 is available through CocoaPods, to install it simply add the following line to your Podfile:
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.