ffmpegcommandhtml5-videomilliseconds

ffmpeg video editing command in milliseconds timestamp


I am editing a video with ffmpeg where I have to keep in view the timestamp further deep from seconds to milliseconds. I know such command : ffmpeg -i a.ogg -ss 00:01:02 -to 00:01:03 -c copy x2.ogg. This uses seconds, but I want down to milliseconds.


Solution

  • you can try:

    ffmpeg -i a.ogg -ss 00:01:02.500 -t 00:01:03.250 -c copy x2.ogg
    

    Timestamps need to be in HH:MM:SS.xxx format for advanced precision (where xxx are milliseconds).

    Let me know if it works.