[FFmpeg-user] Encoding /Decoding

Liam Condron-Farnos 23liam at googlemail.com
Wed Feb 6 18:43:15 CET 2013


So, you just want to remux the streams into a new mpegts container?

ffmpeg -i input.mp4 -c copy output.ts

...should do it. If you have h.264 video, you'll have to use a bit stream
filter:

ffmpeg -i input.mp4 -bsf:v h264_mp4toannexb -c copy output.ts


More information about the ffmpeg-user mailing list