There are two parts to multimedia file support in TealPlay: support from the TealPlay Python code and support from the Qt library. Subtitle, playlist, and metadata files are all processed directly by TealPlay and therefore have less support variability between platforms.
For audio and video files, TealPlay detects the container format based upon the file extension. However, the container format doesn't guarantee that your system will actually be able to play back such files. Qt Multimedia must also support the audio and video codec, and that support varies based on platform and which multimedia backend is in use. The best way to determine if a particular file can be played by TealPlay on your system is to add it to the playlist directly and try to play it.
Support for image file formats depends upon the libraries against which Qt has been compiled. See the QImageReader documentation for a programmatic way to query this information on your system. TealPlay has file extension detection for image files that is based upon the supported image formats in the Alpine Linux package for Qt.
TealPlay recognizes the following file extensions:
| Extension | Description |
|---|---|
.aac, .adts, .f4a, .flac, .m4a, .mp3, .ogg, .wav, .wma |
Audio files played using Qt Multimedia. Codec support varies by platform. |
.avf, .avi, .divx, .f4v, .lrv, .m4v, .mkv, .moov, .mov, .mp4,
.ogv, .qt, .qtvr, .webm, .wmv
|
Video files played using Qt Multimedia. Codec support varies by platform. |
.3fr, .ani, .arw, .avif, .avifs, .bmp, .bw, .cr2, .cr3, .crw,
.cur, .dcr, .dds, .dng, .erf, .fff, .gif, .hdr, .heic, .heif,
.icns, .ico, .iiq, .im1, .im24, .im32, .im8, .jfif, .jpeg, .jpg,
.jxl, .k25, .kdc, .kra, .mdc, .mef, .mng, .mos, .mrw, .nef, .nrw,
.ora, .orf, .pbm, .pcx, .pdd, .pdf, .pef, .pfm, .pgm, .phm, .pic,
.png, .ppm, .psb, .psd, .psdt, .pxr, .qoi, .raf, .ras, .raw, .rgb,
.rgba, .rw2, .rwl, .sct, .sgi, .sr2, .srf, .srw, .sti, .sun, .svg,
.svgz, .tga, .tif, .tiff, .wbmp, .webp, .x3f, .xbm, .xcf, .xpm
|
Image files. Platform support for image formats may vary among Qt builds. |
.ini, .nfo |
Metadata files. See Library Metadata for more information. |
.lrc, .srt, .vtt |
Subtitle and lyric files (see below) |
TealPlay supports the following file types for subtitles and lyrics. Note that there is no requirement for matching audio or video, so a .srt file could be used for audio lyrics, while a .lrc file could theoretically be used for video. Not all features of these formats are supported.