# How to change start time using ffmpeg?

I am recording a live stream to .ts file. But when I run this file through ffmpeg using

ffmpeg -i myRecordedFile.ts


it gives me wrong start time which is way out of the range. For example, my file's duration is 45 minutes but ffmpeg returns start 18910.272911

Is there a way to change the start value of a video file?

ffmpeg -i myRecordedFile.ts -map 0 -c copy -muxpreload 0 -muxdelay 0 newFile.ts

• I think ffmpeg will make the starting timestamp 0 even without -map and the mux* options, at least for single audio streams, unless you use -copyts. – jarno Oct 8 '20 at 20:30