Wowza Community

Matroska MKV file support in 2022? how convert to aac and mp4 ondemand?

Hello, many people have been wanting to support mkv in wowza for years, I would like to know if we can finally enjoy this benefit that would help many to avoid gambiarras in the development of their projects, or even migration to other competitors.

I would not like to know because I needed to convert the container from mkv to mp4, and the audio to acc for full compatibility with the various devices.

Could I be able to do this, if so how?

How could I cache this conversion to a certain location, so that it wouldn’t be done every time a client requests access to the content, and when requesting the same content again, it would only request the already converted content.

No we don’t support it @Florida_Stream and it’s not a top priority request from our customers over other issues, but i can share with you how to quickly do this:

How do I convert MKV files to MP4 for free?

A problem people often face is converting videos from mkv to mp4 container/file formats for free and easily . It is actually effortless to convert mkv to mp4 using open-source software so that you don’t have to pay a dime!


Or in FFMPEG:
ffmpeg -i LostInTranslation.mkv -codec copy LostInTranslation.mp4

`


Hope that helps! `

If you are not serving the files through Wowza you can use AWS Elemental MediaConvert to convert files and store them on s3. I haven’t seen but there are some caching options there as well. Saves some complexity on storage and conversion. If the load is less then by all means set up your own EC2 instance to handle this.

For fun here is a way to build this on small scale. Whether you serve file over HTTP or through wowza, you can always detect a 404 request when request did not exist. At that moment record it and log it to a database from where a program can look up and convert the respective mkv to mp4.

1 Like