Navigation to a specific frame in a video file in FAB Subtitler can be fast or slow. This may depend on the structure of the video file and the codec used in the video file.
Video files contain frames (pictures) and generally 24, 25, 30, 50 or 60 frames per seconds are used in video files. Different codecs are used for different compression types: MPEG1, MPEG2, H.264, H.265/HEVC, VC1 and others. The file extension .MP4 does not define the codec which is used in the video file. MP4 only defines the container format and not the codec (codec=encoder/decoder).
Some frames in the video file are called “Keyframes”. To be able to display any frame in the video file FAB Subtitler must search for the last Keyframe before the selected frame, process the Keyframe and all following frames until the selected frame. This process will be fast if a Keyframe is present often in the video file and it will be slow if a Keyframe is not present very often in the video file. The distance between two Keyframes is called the “Keyframe distance” and is generally expressed in the number of frames.
The examples below show sequences of frames in video files. Frames generally have names (I-Frame, B-Frame, P-Frame) and I-Frames are also called Keyframes.
Therefore for fast navigation the Keyframe distance must be as small as possible. Video files which cause slow navigation in FAB Subtitler probably have a high Keyframe distance. You can check the Keyframe distance in FAB Subtitler by opening the video file and clicking on Video / Display video file info.
In the above example the Keyframe distance is 373 which is extremely high and the file feels very slow to navigate in FAB Subtitler.
The solution is to use the function “Video / Convert video file” in FAB Subtitler to convert the original video file to a new MP4 file which will have a shorter Keyframe distance and will be much easier to use in FAB Subtitler. Please make sure to enable “Optimize for fast navigation” when converting the file:
The resulting file will have the Keyframe distance of 3 and will feel very fast when navigating to a certain frame in FAB Subtitler:
This page was last updated on 2024-04-05