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