From da6c03ba796ec72ecca19d620aa3bf1350ae6a8a Mon Sep 17 00:00:00 2001 From: Bernat Arlandis Date: Tue, 4 Feb 2025 16:42:08 +0100 Subject: [PATCH] Add information about video seeks --- tutorials/animation/playing_videos.rst | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tutorials/animation/playing_videos.rst b/tutorials/animation/playing_videos.rst index c556e87eff4..c5c8864cbf0 100644 --- a/tutorials/animation/playing_videos.rst +++ b/tutorials/animation/playing_videos.rst @@ -152,11 +152,11 @@ Playback limitations There are several limitations with the current implementation of video playback in Godot: -- Seeking a video to a certain point is not supported. - Changing playback speed is not supported. VideoStreamPlayer also won't follow :ref:`Engine.time_scale`. - Streaming a video from a URL is not supported. -- Only mono and stereo audio output is supported. +- Only mono and stereo audio output is supported. Videos with 4, 5.1 and 7.1 + audio channels are supported but down-mixed to stereo. .. _doc_playing_videos_recommended_theora_encoding_settings: @@ -238,6 +238,13 @@ increases. The default size (``12``) is too low for most types of content, it's therefore recommended to test higher GOP sizes before reducing video quality. Values between ``64`` and ``512`` usually give the best compression. +.. note:: + + Higher GOP sizes will increase max seek times with a sudden increase when + going beyond powers of two starting at ``64``. Max seek times with GOP size + ``65`` can be almost twice as long as with GOP size ``64``, depending on + decoding speed. + FFmpeg: Convert while preserving original video resolution ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~