-
-
Notifications
You must be signed in to change notification settings - Fork 373
Video Playback
Phil Schatzmann edited this page Aug 28, 2026
·
2 revisions
The function to extract audio and video from a container is called demuxing.The audio needs to be fed into an audio decoder and the video into a video decoder.
Here are the supported Demuxers:
- DemuxerAVI
- DemuxerMPG
- DemuxerMP4
- MultiVideoDemuxer add Demuxers above
- MultiVideoDemuxerFull AVI, MPG and MP4 support
Details can be found in the generic Audio Codec documentation. I recommend to use a MultiDecoder so that you can support multiple formats.
The Video Decoders provided by this library have a common API. In order to use the class below, you need to install the corresponsing codec library.
| Format | Class | Library |
|---|---|---|
| MJPEG | MJPEGDecoder | TinyJPEG |
| MPEG-2 | MPGDecoder | TinyMPGDecoder |
| H.264 | H264Decoder | TinyH264 |
| H.264 | H264DecoderESP32S3 | codec-h264-ESP32S3 |
| - | MultiVideoDecoder | add one ore multiple decoders |
| - | MultiVideoDecoderFull | MJPEG, MPEG-3 and H.264 support |