Cman21
31st May 2011, 14:17
hello, first off i would like to say im new to trying command line operations and it is kinda confusing with the way it was presented to me here: http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge.html
any way my question is how can i change the FPS on my video track, which is a .264 file, from the defaulted 25fps to 23.976fps?
i read this parts that look to be the right things to do but i just cant seem to get them to work right, prob due to the way im typin it.
--default-duration TID:x
Forces the default duration of a given track to the specified value. Also modifies the track's timecodes to match the default duration. The argument x must be postfixed with 's', 'ms', 'us', 'ns' or 'fps' to specify the default duration in seconds, milliseconds, microseconds, nanoseconds or 'frames per second' respectively. The number x itself can be a floating point number or a fraction.
If the default duration is not forced then mkvmerge will try to derive the track's default duration from the container and/or codec used. One case in which this option is of use is when adding AVC/h.264 elementary streams because these do not contain information about their number of frames or a default duration for each frame. For such files mkvmerge(1) will assume a default duration of '25fps' unless overridden.
This option can also be used to change the FPS of video tracks without having to use an external timecode file.
i have tried a few things so i'll just give you my latest try
"C:\Program Files (x86)\MKVtoolnix\mkvmerge.exe" -o "Ep 01.mkv" -A --default-duration TID:23.976fps "Ep 01 1080p.264" "Ep 01.ac3"
it errors out saying something about TID but i dont find anything useful on the site listed about as to what that is or could be. so if i could get this thing straighted out on how to properly change the fps on the .264 video track it will be a GREAT help over trying to do this individually over the gui interface.
also does anyone know if there is a gui that can give you the batch commands like mkvextract 2? as i quite often have more complicated merges that i would also like to make into a batch process.
any way my question is how can i change the FPS on my video track, which is a .264 file, from the defaulted 25fps to 23.976fps?
i read this parts that look to be the right things to do but i just cant seem to get them to work right, prob due to the way im typin it.
--default-duration TID:x
Forces the default duration of a given track to the specified value. Also modifies the track's timecodes to match the default duration. The argument x must be postfixed with 's', 'ms', 'us', 'ns' or 'fps' to specify the default duration in seconds, milliseconds, microseconds, nanoseconds or 'frames per second' respectively. The number x itself can be a floating point number or a fraction.
If the default duration is not forced then mkvmerge will try to derive the track's default duration from the container and/or codec used. One case in which this option is of use is when adding AVC/h.264 elementary streams because these do not contain information about their number of frames or a default duration for each frame. For such files mkvmerge(1) will assume a default duration of '25fps' unless overridden.
This option can also be used to change the FPS of video tracks without having to use an external timecode file.
i have tried a few things so i'll just give you my latest try
"C:\Program Files (x86)\MKVtoolnix\mkvmerge.exe" -o "Ep 01.mkv" -A --default-duration TID:23.976fps "Ep 01 1080p.264" "Ep 01.ac3"
it errors out saying something about TID but i dont find anything useful on the site listed about as to what that is or could be. so if i could get this thing straighted out on how to properly change the fps on the .264 video track it will be a GREAT help over trying to do this individually over the gui interface.
also does anyone know if there is a gui that can give you the batch commands like mkvextract 2? as i quite often have more complicated merges that i would also like to make into a batch process.