View Single Post
Old 7th November 2017, 14:48   #9  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,915
Quote:
Originally Posted by tebasuna51 View Post
Relevant data from source:

Duration at 23.810 fps = 34290 / 23.81 = 1466,610667 sec = 24:26.611
Duration at 23.976 fps = 34920 / 23.976 = 1456,455 sec = 24:16.455
Sorry, my fault. The correct value is:

Duration at 23.976 fps = 34290 / 23.976 = 1430,17875 sec = 23:50.178

Than match, with a frame of difference, with:
FromStats_Duration : 00:23:50.138

That diference and the error than show mp4fpsmod ("Timecode is not monotone increasing! at line 3") is because the wrong timecode of second frame:
Quote:
# timecode format v2
0
0
42
...
you can replace the second 0 with 21

Quote:
# timecode format v2
0
21
42
...
and

mp4fpsmod -t timecodes.txt -x -c "ENCODED.mp4" -o "SYNC.mp4"
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline   Reply With Quote