Frequently Asked Questions

Is file conversion for playback possible?

QUESTION:
Is file conversion for playback possible? Could I save the publish stream as an mp4 or other formats on the server?

ANSWER:

A lot of developers have been asking us detailed questions about recording streams using Red5 Pro. The one question that comes up the most lately is how to create an MP4 file for easy playback on mobile devices. While you can use our SDK to playback the recorded file as is (Red5 records in FLV format), this requires that the user always use your native app, and sometimes it would just be nice to provide a link to an MP4 for progressive download.

The first step is to build your own custom server-side application for Red5 extending the live example here.

Then, follow the instructions in this blog article to get you up and running with a custom Red5 application that converts recorded files to MP4 for easy playback.

See the examples here for the implementation:

https://github.com/red5pro/red5pro-server-examples/tree/develop/FileConversion
https://github.com/red5pro/red5pro-server-examples/blob/develop/FileConversion/src/com/infrared5/red5pro/live/Red5ProLive.java