© Jan Newmarch 2017

Jan Newmarch, Raspberry Pi GPU Audio Video Programming , 10.1007/978-1-4842-2472-4_16

16. Playing Multimedia Files on the Raspberry Pi

Jan Newmarch

(1)Oakleigh, Victoria, Australia

This chapter covers how to play multiplexed files on the Raspberry Pi such as MP4 files, which consist of both audio and video streams. OpenMAX does not support demultiplexing such files, so you must use a software demuxer such as FFmpeg or LibAV. The libraries available on the RPi do not support the decoding of encoded audio streams, so you need to use a software decoder. Finally, you need to manage the synchronization of video and audio streams.

This chapter would not have been possible without seeing what was done in omxplayer . Many thanks to its ...

Get Raspberry Pi GPU Audio Video Programming now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.