Log in

View Full Version : simple muxing library needed


jwregme
17th June 2013, 09:24
I'd need a library for these needs:

- h264 encoded stream with no audio
- encoding of whole steam or by passing single frames is both fine
- timestamping would be useful, else container does not matter
- used commercially, so licensing is an issue


My needs are quite simple. I'd love to have a very simple way of muxing, something like 5-6 lines in my code. i had a look at some code of some tools and they're either full with dlls and things I don't need (GPAC) or quite complicated to use (YAMKA).
Does anyone know of a muxing library that suits my needs and that minimizes my time&effort for muxing my streams?

LoRd_MuldeR
17th June 2013, 17:14
GPAC would be the first thing that comes to my mind. But what about L-SMASH (http://code.google.com/p/l-smash/)?

nhakobian
17th June 2013, 19:18
I'd need a library for these needs:

- h264 encoded stream with no audio
- encoding of whole steam or by passing single frames is both fine
- timestamping would be useful, else container does not matter
- used commercially, so licensing is an issue


You don't specify which container format you are trying to target. GPAC targets MP4, while (from what I can tell) YAMKA targets MKV. Are you looking to target a specific container or do you just need it in any container?

L-SMASH looks like it has a very permissible license, so it might be easier to use in a commercial project if your target is MP4. But then, I am not a lawyer.

EDIT: GPAC is LGPL so you should be able to use in commercial projects too as long as you follow the LGPL rules. Unfortunately, I couldn't find this info anywhere on their website. Had to dig into the sources to find the license info. Their website seems to have a lot of info, but its seriously in need of some maintenance to make things easier to find.

jwregme
25th June 2013, 13:04
L-SMASH is just what I was looking for!
I had a bit of a hard time converting everything so I could compile it in MSVS... how tedious! But now it works like a charm.
Thanks a lot for the help!