Show: Delphi C++
Display Preferences

FMX.Media.TMediaCodecManager

From RAD Studio API Documentation
Jump to: navigation, search

System.TObjectTMediaCodecManager

Delphi

TMediaCodecManager = class sealed

C++

class PASCALIMPLEMENTATION TMediaCodecManager : /*[[sealed]]*/ public System::TObject

Properties

Type Visibility Source Unit Parent
class public
FMX.Media.pas
FMX.Media.hpp
FMX.Media FMX.Media

Description

Media codecs manager.

Use TMediaCodecManager to access, manage, and register codecs to be used when playing media files.

TMediaCodecManager determines the appropriate media codec to play a certain file according to its file extension.

The following table lists the registered extensions:

Media type / OS Windows OS X iOS Android

Audio

.wma .mp3 .wav

.wav .m4a .caf .mp3

.wav .m4a .caf .mp3

.mp3 .caf

Video

.avi .wmv .mp4 .m4v .mov

.mov .m4v .mp4 .avi

.mov .m4v .mp4

.mov .m4v .mp4 .3gp

Note: Embedded FireMonkey media codecs need the OS of the computer/device to have the appropriate decoding abilities to successfully decode the file.

The following extensions can usually be opened without OS modifications:

Media type / OS Windows OS X iOS Android

Audio

.wma .mp3 .wav

.wav .mp3

.wav .mp3

.mp3

Video

.avi .wmv

.mov .m4v .mp4

.mov .m4v .mp4

.mp4 .3gp

Note: Using TMediaCodecManager, it is possible to register media codecs to extend the audio/video feature support.

There is a default codec for each of the different platforms: Windows, OS X, iOS, and Android. When the extension of the media file is not registered, the TMediaPlayer attemps to play it with the codec by default.

See Also

Personal tools
RAD Studio 10.2 Tokyo
In Other Languages
Previous Versions
Assistance