View Single Post
Old 7th November 2017, 17:41   #10  |  Link
doomleox999
Registered User
 
Join Date: Nov 2015
Posts: 81
Quote:
Originally Posted by tebasuna51 View Post
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:


you can replace the second 0 with 21



and

mp4fpsmod -t timecodes.txt -x -c "ENCODED.mp4" -o "SYNC.mp4"
Wow! It worked! Thatīs awesome! Thanks man!!

However, I have a few final questions:

Why does this happen? Is the problem is the source?

Is there any way to prevent this when I encode with MeGUI or do I have to do all these steps everytime I encounter this issue?

Finally, is it possible to batch this? (meaning to extract timecodes from multiple original files to multiple encoded files and remux multiple "SYNC.mp4" files)
doomleox999 is offline   Reply With Quote