首页> 外文会议>IEEE international conference on computer science and information technology;ICCSIT 2010 >Incorporating Video in Platform-Independent Video Games Using Open-Source Software
【24h】

Incorporating Video in Platform-Independent Video Games Using Open-Source Software

机译:使用开源软件将视频整合到与平台无关的视频游戏中

获取原文

摘要

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 tit 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.
机译:在视频游戏中,通常出于游戏中叙事,教程,提示或开发人员在游戏中看到山雀的任何其他目标的目的,嵌入预先录制的视频并在游戏中的不同时间播放。在跨平台视频游戏中同时在屏幕的多个位置和任意表面上播放嵌入式视频是一项艰巨的任务。本文介绍了使用开源资源完成此任务的过程。开源FFmpeg库用于解码以常用视频格式(例如MPEG-4,AVI或MOV)保存的视频。独立于平台的简单DirectMedia层(SDL)库用于呈现视频和音频并处理线程功能。生产者-消费者范例用于将数据解码任务与数据渲染任务分开,这些任务在不同的线程中运行。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号