ffmpegtransport-stream

Encoding *.h264 to *.ts in ffmpeg failure


I want to encode an h.264 elementarystream to a transportstream with ffmpeg. The command ffmpeg -i in.264 -c copy out.ts gives me a *ts file, but it is not decodable from VCL and it is also 0kb. Is there an non-cost alternative?


Solution

  • Use mp4box or ffmpeg to mux to MP4 first, and then remux that to TS.