Menu
Login
Language
DE EN FR ES IT CZ
Back

Wait until Video finished? And Subtitles.

  • #1, by joerg-burbach Wednesday, 26. April 2017, 14:39 9 years ago Quote
    Hi there!

    I want to use a video for the intro of my game as well as for other occasions. They just work better for my scenes than doing manual cutscenes in Visionaire.

    Is there something like "Wait until video finished"?

    And - how do you guys add subtitles to your video? I will be supporting German, English, and maybe other languages, and don't want to render different versions of the video...

    Thanks!
    Best
    Jörg

    Newbie

    32 Posts

  • #2, by afrlme Wednesday, 26. April 2017, 14:46 9 years ago Quote
    The only thing I can point you towards in regards to video & subtitles is this page in the wiki that David (BigStans) wrote a couple years or so back.

    As for videos. They automatically trigger a wait until video has finished action before resuming any action parts you list after it.

    Imperator

    7290 Posts

  • #3, by ke4 Wednesday, 26. April 2017, 15:27 9 years ago Quote
    You need to have your video in a MKV container and your subtitles in it. You can add them with MKVToolNix . You need to mark them with a language there.

    Then to select the subtitles you need inside of Visionaire:
    game.GameVideoSubtitleLanguage = "eng"

    To select a font for your subtitles:
    game.GameVideoSubtitleFont = Fonts["font_name"]

    If you can't render videos into MKV, i recommend using ffmpeg for conversion, however there are other softwares that might be more user friendly. ffmpeg is not that complicated though.
    Btw VP9 codec is out, so i would recommend using that instead of VP8.

    Key Killer

    810 Posts

  • #4, by joerg-burbach Wednesday, 26. April 2017, 16:34 9 years ago Quote
    The only thing I can point you towards in regards to video & subtitles is this page in the wiki that David (BigStans) wrote a couple years or so back. As for videos. They automatically trigger a wait until video has finished action before resuming any action parts you list after it.
    Now that is some good news. Will try that. Thanks, AFRLme!
    There should be some hint stating this behaviour in the Wiki, I suppose...
    You need to have your video in a MKV container and your subtitles in it. You can add them with MKVToolNix . You need to mark them with a language there.
    Thanks, ke4. Will try that as well. Hopefully, I won't need videos for each language.
    I already converted my video to mkv with vp8 and ogg (using VLC :-)

    Newbie

    32 Posts

  • #5, by afrlme Wednesday, 26. April 2017, 17:21 9 years ago Quote
    mkv container lets you embed multiple language audio tracks & subtitles, which I think is why it's become a lot more popular these days.

    Imperator

    7290 Posts