How do I add a narration textbox during a video?

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

    Bažant

    33 Posts


  • #2, z afrlmeMonday, 05. June 2017, 02:46 hodinky 7 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.

    Imperátor

    7285 Posts

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

    Zabiják klíčů

    810 Posts

  • #4, z doroboMonday, 05. June 2017, 09:12 hodinky 7 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. 

    Bažant

    46 Posts

  • #5, z ke4Monday, 05. June 2017, 09:19 hodinky 7 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)

    Zabiják klíčů

    810 Posts