How do I add a narration textbox during a video?

  • #1, by madisongeronimoMonday, 05. June 2017, 02:30 8 years ago
    I was wondering how could you add a narration textbox during a movie? 

    Newbie

    33 Posts


  • #2, by afrlmeMonday, 05. June 2017, 02:46 8 years ago
    I was wondering how could you add a narration textbox during a movie? 

    I believe Simon mentioned something about now being able to directly add videos into the scenes in 5.x, but that requires Lua script.

    Anyway, if you use mkv video format then you can embed multiple audio & subtitle languages into each video. One of the other members on here like Ke4, will likely be able better explain how to sort out videos & add subtitles to them as he spent a while getting them to work for the game he's working on.

    Imperator

    7285 Posts

  • #3, by ke4Monday, 05. June 2017, 09:04 8 years ago
    Sure, if that's what you need i can explain it in more details.

    Key Killer

    810 Posts

  • #4, by doroboMonday, 05. June 2017, 09:12 8 years ago


    I believe Simon mentioned something about now being able to directly add videos into the scenes in 5.x, but that requires Lua script.



    Im really interested if this thing really works? So a game could run as normal while having video playing? I would gladly use it. 

    Newbie

    46 Posts

  • #5, by ke4Monday, 05. June 2017, 09:19 8 years ago
    In the docs there's something called movieOpen(file)
    Can't tell you how that works though.

    This is what i would expect to be like:

    local movie = graphics.movieOpen("vispath:resources/videos/intro.mkv")
    
    movie.draw(0,0,1280,720)

    Key Killer

    810 Posts