Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Interactive Movie MatroskaScript commands #658

Open
robUx4 opened this issue Aug 7, 2022 · 1 comment · May be fixed by #835
Open

Add Interactive Movie MatroskaScript commands #658

robUx4 opened this issue Aug 7, 2022 · 1 comment · May be fixed by #835
Labels
format addition matroska-v5 spec_chapter_codec Chapter Codec Matroska spec document target

Comments

@robUx4
Copy link
Contributor

robUx4 commented Aug 7, 2022

Following the work on a VLC GSoC (Google Summer of Code) to bring interactive movie support to Matroska, it has become clear that the logic of "choice handling" needs to be handled in a Chapter Codec.

The Chapter Codec creates the list of choices that the player should "show" when entering the "chapter where the choice is made". The Chapter Codec then applies the selection of the user at the end of this "chapter where the choice is made".

The way the choices are shown to the user can vary. It could just be text that the player should show in a fancy way. It could be coupled with a button track (similar to the button track found in DVDs and used by the "DVD menu" chapter codec) that can dynamically highlight some areas of the video.

The proposed addition to MatroskaScript are:

  • choice_variable = CreateChoice();
  • choice_variable.SetText('some text', <BCP47 language>);
  • choice_variable.SetOnSelected( <function call> );
  • MakeDefaultChoice(a_choice_variable);

For now the only possible function call possible would be the GotoAndPlay( ChapterUID ) already existing in MatroskaScript.

@robUx4 robUx4 added format addition matroska-v5 spec_chapter_codec Chapter Codec Matroska spec document target labels Aug 7, 2022
@robUx4
Copy link
Contributor Author

robUx4 commented Aug 7, 2022

These commands do not provide support for Button Tracks interaction.

@robUx4 robUx4 changed the title Add MatroskaScript commands Add Interactive Movie MatroskaScript commands Aug 7, 2022
@robUx4 robUx4 linked a pull request Oct 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
format addition matroska-v5 spec_chapter_codec Chapter Codec Matroska spec document target
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant