I think the maths is correct, and the times are formatted correctly for tsMuxeR input.
The only thing I would note is that if the frame at that timecode is not an I frame then your player may skip ahead (or back) to the nearest decode-able frame.
I think the maths is correct, and the times are formatted correctly for tsMuxeR input.
The only thing I would note is that if the frame at that timecode is not an I frame then your player may skip ahead (or back) to the nearest decode-able frame.