• DocumentCode
    1958206
  • Title

    Incorporating video in platform-independent video games using open-source software

  • Author

    Yu, Tong Lai ; Turner, David ; Stover, David ; Concepcion, Arturo

  • Author_Institution
    Dept. of Comput. Sci. & Eng., California State Univ., San Bernardino, CA, USA
  • Volume
    9
  • fYear
    2010
  • fDate
    9-11 July 2010
  • Firstpage
    466
  • Lastpage
    470
  • Abstract
    In a video game, it is common to embed a prerecorded video and play it at various times during the game for the purposes of narrative, tutorials, hints, or any other goal that the developer sees fit in the game. It is a challenging task to play the embedded video in a cross-platform video game at multiple locations of the screen simultaneously and on an arbitrary surface. This paper describes the use of open-source resources to accomplish such a task. The open-source FFmpeg library is employed to decode video saved in commonly-used video formats such as MPEG-4, AVI or MOV. The platform-independent Simple DirectMedia Layer (SDL) library is used to render video and audio and to handle threading features. The producer-consumer paradigm is employed to separate the tasks of data decoding from data rendering which are run in different threads.
  • Keywords
    computer games; public domain software; rendering (computer graphics); AVI; MOV; MPEG-4; data decoding; data rendering; embedded video; open-source FFmpeg library; open-source resources; open-source software; platform-independent video games; prerecorded video; producer-consumer paradigm; simple DirectMedia layer; video decoding; Data models; Engines; Graphical user interfaces; Graphics; Software; Streaming media; Transform coding;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Science and Information Technology (ICCSIT), 2010 3rd IEEE International Conference on
  • Conference_Location
    Chengdu
  • Print_ISBN
    978-1-4244-5537-9
  • Type

    conf

  • DOI
    10.1109/ICCSIT.2010.5565045
  • Filename
    5565045