[FFmpeg-user] From .m4s to .ts

Ted Park kumowoon1025 at gmail.com
Thu Feb 20 10:06:29 EET 2020


> I want to perform a repackaging from .m4s (DASH segments) to .ts (HLS segments). Is that possible to do with FFmpeg? How can I proceed?

Does a simple remux work?

% ffmpeg -i input.m4s -c copy output.ts

Or if m4s isn’t a recognized extension, 

% ffmpeg -f mp4 -i input.m4s -c copy output.ts

(IIRC, DASH segments are each complete ISO MBFF)



More information about the ffmpeg-user mailing list