convert mp4 video in video/mp4; codecs="avc1.42E01E, mp4a.40.2 code example Example: how to convert ts to mp4 with ffmpeg ffmpeg -i input.ts -c:v libx264 -c:a aac output.mp4