So, I configured my ipcams to send event videos to a FTP server that saves it locally, and run a script that convert every video into something that can be opened in a generic browser, then send it to a S3 (I am using pyftpdlib + my modifications).
But i don't think that I am doing it in the most effective way. On my computer (a fairly good laptop) it usually takes half the video playtime to convert into a mp4 using a generic ffmpeg command that i simple copy and paste from stackoverflow. I tried to look up the documentation, but i simple don't have the multimedia background to understand it.
What would be the most time effective format and how to convert a raw h.265 video to it?