-
Notifications
You must be signed in to change notification settings - Fork 6
video
anthony.samms edited this page May 28, 2026
·
1 revision
This document will outline the video player library. The video library uses ffmpeg to convert video frames into raylib textures.
VideoPlayer(fs::path path);Create a video player object. Any format supported by ffmpeg will work.
void start(double current_ms);Start video playback at the given time.
bool is_finished() const;
bool is_started() const;A video is finished when both the audio and video playback have completed.
void set_volume(float volume);Control the volume of the video. Most useful for muting.
void update(double current_ms);Advance video playback.
void draw();Draw the current frame of the video. This will always fill to the width and height of the screen.
void stop();Stop playing the video.
Building
libs
- animation
- audio
- config
- filesystem
- global_data
- input
- logging
- ray
- scores
- screen
- script
- song_parser
- text
- texture
- video
- webcam
libs/parsers
objects
objects/game
- player
- background
- gauge
- judgment
- combo
- branch_indicator
- ending_animations
- gogo_time
- fireworks
- song_info
- transition
- result_transition
- judge_counter
- score_counter
- score_counter_animation
- balloon_counter
- drumroll_counter
- kusudama_counter
- drum_hit_effect
- lane_hit_effect
- gauge_hit_effect
- combo_announce
- note_arc
objects/global
objects/title
objects/entry
objects/settings
objects/result
objects/song_select
- player
- navigator
- box_base
- box_song
- box_folder
- neiro
- modifier
- ura_switch
- diff_sort
- search_box
- dan_transition
- genre_bg
- score_history
- song_select_script
scenes