'''Animated Textures'''[[br]] '''Goal'''[[br]] Our goal is to implement a container which can handle different media files like avi or mpeg. Through this we will be able to create animated textures or playing ingame movies. If we have enough time we will implement some cool features like recording. '''Library'''[[br]] We are using [http://ffmpeg.sourceforge.net/index.php FFmpeg] to record and stream the audio and video files.[[br]] "FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows." '''Design'''[[br]] UML-Classdiagram:[[br]] https://www.orxonox.net/cgi-bin/trac.cgi/attachment/wiki/AnimatedTextures/animatedTexture.png?format=raw '''Usage'''[[br]] Multitex opens a media file and loads the frames as textures into a list.[[br]] The textures are displayed on the screen.[[br]] Try this only with short clips ~200frames[[br]] ./multitex yourMovie[[br]] Controls:[[br]] 8 Decrement fps by 1[[br]] 9 Increment fps by 1[[br]] There is a short clip in the data/media folder named crash.mpg[[br]] Movie_player_test opens a media file and plays the movie. It loads the frames at runtime.[[br]] This one can play long movies.[[br]] ./movie_player_test yourMovie[[br]] Controls:[[br]] 1 Play[[br]] 2 Resume[[br]] 3 Pause[[br]] 4 Stop[[br]] 9 Decrement speed by 0.5[[br]] 0 Increment speed by 0.5[[br]] There is a movie in the data/media folder named test_clip.mpg[[br]] '''Roadmap'''[[br]] -30.11.05 Project design[[br]] -07.12.05 Implementation[[br]] -14.12.05 Implementation[[br]] -21.12.05 Implementation[[br]] -11.01.06 Debug, Code Freeze[[br]] -18.01.06 Presentation[[br]] -25.01.06 Documentation[[br]] '''Examples'''[[br]] [http://www.inb.uni-luebeck.de/~boehme/avcodec_sample.0.4.9.cpp simple example][[br]] '''Links'''[[br]] [http://ffmpeg.sourceforge.net/index.php FFmpeg][[br]] [http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=35 NeHe: Lesson 35][[br]] '''Programmers'''[[br]] [http://hdavid@ee.ethz.ch David Hasenfratz][[br]] [http://stefalie@ee.ethz.ch Stefan Lienhard][[br]]