

If your input file contains codecs that are not well supported in a TS container you will need to re-encode either video or audio streams or both. Your input file's codecs are not supported in a TS container: This will give great results although you may need to vary this command line depending on your actual use of the output file (streaming, a certain playback device etc).Ģ.

If the file contains codecs that are well supported in a TS container, for example H.264 video and AAC sound, you can simply copy the streams across: ffmpeg -i input.mp4 -c copy output.ts Your input file's codecs are supported in TS container:Įxamine your input file with FFmpeg as follows: ffmpeg -i input.mp4 As always with FFmpeg there are a number of choices to make, and I have narrowed this down a little further to create a clear answer:ġ.
