How to encode mp4 files to work with livepkgr
Hy guys,
I have 2 servers, Server 1 with FMS 4.5 and Server 2 with AMS 5 both on Ubuntu 14.04. On Server 1 a build a custom application, Server 2 uses just livepkgr for serving clients.
My appliction on Server 1 receive 3 streams from FMLE. In this application i have a "chain" of streams that carry out each stream independent. At the end of streams chain i republish each stream to Server 2 livepkgr application.
So, this is working great with live streams, i can serve RTMP, HTTP, HLS, HDS.
In Server 1 in the chain of streams i get a stream and play an mp4 file. The livepkgr application on Server 2 works well with this "switch" on RTMP, but the application don't record the stream, so on mobile i don`t see the switch... i see something green till the file ends and the stream that switched on file goes back on live.
I tried to encode a file with Adobe Media Encoder with H264 on profile Main and Level 3.2, and it works great on mobile too.
I tried to encode the same file with ffmpeg, handbreak... and doesent work on mobile.
So, i need a solution to re-encode files on linux and the output files to be good to work with AMS livepkgr application.
Thaks.
