By default nginx rtmp module records video stream in .flv format if record option is enabled, but I need .mp4
I found that video can be converted to .mp4 when record has finished with exec_record_done callback and ffmpeg
Is there any way to record video in .mp4 format or at least convert it to this format on the fly?