Extensions and mime types

Extension name can be used to force output formats using `ext=` option of sink filters.    
By default, GPAC does not rely on file extension for source processing unless `-no-probe` option is set, in which case `ext=` option may be set on source filter.    
_NOTE: This table does not include meta filters (ffmpeg, ...), use `gpac -hx formats` to list them._  
  
 Extension | Input Filter(s) | Output Filter(s) | Mime(s)   
 --- | --- | --- | ---    
mp4 | mp4dmx | mp4mx | video/mp4 audio/mp4 application/mp4   
mpg4 | mp4dmx | mp4mx | application/mp4   
m4a | mp4dmx | mp4mx | audio/mp4   
m4i | mp4dmx | mp4mx | application/mp4   
3gp | mp4dmx | mp4mx | video/3gpp audio/3gpp   
3gpp | mp4dmx | mp4mx | video/3gpp audio/3gpp   
3g2 | mp4dmx | mp4mx | video/3gp2 audio/3gp2   
3gp2 | mp4dmx | mp4mx | video/3gp2 audio/3gp2   
iso | mp4dmx | mp4mx | video/mp4 audio/mp4 application/mp4   
m4s | mp4dmx | mp4mx | video/iso.segment audio/iso.segment   
iff | mp4dmx | mp4mx | image/heif   
heif | mp4dmx | mp4mx | image/heif   
heic | mp4dmx | mp4mx | image/heic   
avif | mp4dmx | mp4mx | image/avci   
avci | mp4dmx | mp4mx | image/avci   
mj2 | mp4dmx | mp4mx | video/jp2   
ismv | mp4dmx | mp4mx | video/mp4 audio/mp4 application/mp4   
mov | mp4dmx | mp4mx | video/quicktime   
qt | mp4dmx | mp4mx | video/quicktime   
bt | btplay | n/a | application/x-bt   
btz | btplay | n/a | application/x-bt   
bt.gz | btplay | n/a | application/x-bt   
xmt | btplay | n/a | application/x-xmt   
xmt.gz | btplay | n/a | application/x-xmt   
xmtz | btplay | n/a | application/x-xmt   
wrl | btplay | n/a | model/vrml   
wrl.gz | btplay | n/a | model/vrml   
x3dv | btplay | n/a | model/x3d+vrml   
x3dv.gz | btplay | n/a | model/x3d+vrml   
x3dvz | btplay | n/a | model/x3d+vrml   
x3d | btplay | n/a | model/x3d+xml   
x3d.gz | btplay | n/a | model/x3d+xml   
x3dz | btplay | n/a | model/x3d+xml   
swf | btplay txtin | n/a | application/x-shockwave-flash   
xsr | btplay | n/a | application/x-LASeR+xml   
svg | svgplay | n/a | image/svg+xml   
svgz | svgplay | n/a | image/svg+xml   
svg.gz | svgplay | n/a | image/svg+xml   
jpg | rfimg | writegen | image/jpg   
jpeg | rfimg | writegen | image/jpg   
jp2 | rfimg | writegen | image/jp2   
j2k | rfimg | writegen | image/jp2   
bmp | rfimg | writegen | image/bmp   
png | rfimg | writegen | image/png   
aac | rfadts | writegen | audio/aac   
adts | rfadts | writegen | audio/aac   
latm | rflatm | writegen | audio/aac+latm   
usac | rflatm | writegen | audio/xheaac+latm   
xheaac | rflatm | writegen | audio/xheaac+latm   
mp3 | rfmp3 | writegen | audio/mp3 audio/x-mp3   
mp2 | rfmp3 | writegen | audio/mp3 audio/x-mp3   
mp1 | rfmp3 | writegen | audio/mp3 audio/x-mp3   
ac3 | rfac3 | writegen | audio/ac3   
eac3 | rfac3 | writegen | audio/eac3   
ec3 | rfac3 | n/a | audio/x-ac3 audio/ac3 audio/x-eac3 audio/eac3   
amr | rfamr | writegen | audio/amr   
awb | rfamr | writegen | audio/amr   
evc | rfamr | writegen | audio/x-evc   
smv | rfamr | writegen | audio/x-smv   
oga | oggdmx | oggmx | audio/ogg   
spx | oggdmx | writegen oggmx | audio/ogg   
ogg | oggdmx | oggmx | video/ogg   
ogv | oggdmx | oggmx | video/ogg   
oggm | oggdmx | oggmx | application/ogg   
opus | oggdmx | oggmx | audio/ogg   
ts | m2tsdmx | m2tsmx | video/mp2t   
m2t | m2tsdmx | m2tsmx | video/mp2t   
mts | m2tsdmx | m2tsmx | video/mp2t   
dmb | m2tsdmx | m2tsmx | video/mp2t   
trp | m2tsdmx | m2tsmx | video/mp2t   
saf | safdmx | n/a | application/x-saf application/saf   
lsr | safdmx | n/a | application/x-saf application/saf   
mpd | dashin | dasher | application/dash+xml   
m3u8 | dashin | dasher | application/vnd.apple.mpegurl   
3gm | dashin | dasher | application/vnd.3gpp.mpd   
ism | dashin | dasher | application/vnd.ms-sstr+xml   
qcp | rfqcp | writeqcp | audio/qcelp audio/evr-qcp audio/smv-qcp   
263 | rfh263 | writegen | video/h263   
h263 | rfh263 | writegen | video/h263   
s263 | rfh263 | writegen | video/h263   
cmp | rfmpgvid | writegen | video/mp4v-es video/mpgv-es   
m1v | rfmpgvid | writegen | video/mp4v-es video/mpgv-es   
m2v | rfmpgvid | writegen | video/mp4v-es video/mpgv-es   
m4v | rfmpgvid | writegen | video/mp4v-es video/mpgv-es   
nhnt | nhntr | nhntw | application/x-nhnt   
nhml | nhmlr | nhmlw | application/x-nhml application/dims   
dims | nhmlr | nhmlw | application/x-nhml application/dims   
dml | nhmlr | nhmlw | application/x-nhml application/dims   
264 | rfnalu | writegen | video/h264   
h264 | rfnalu | writegen | video/h264   
26l | rfnalu | writegen | video/h264   
h26l | rfnalu | writegen | video/h264   
avc | rfnalu | writegen | video/h264   
svc | rfnalu | writegen | video/svc   
mvc | rfnalu | writegen | video/mvc   
hevc | rfnalu | writegen | video/hevc   
hvc | rfnalu | writegen | video/hevc   
265 | rfnalu | writegen | video/hevc   
h265 | rfnalu | writegen | video/hevc   
lhvc | rfnalu | writegen | video/lhvc   
shvc | rfnalu | writegen | video/shvc   
mhvc | rfnalu | writegen | video/mhvc   
266 | rfnalu | writegen | video/vvc   
h266 | rfnalu | writegen | video/vvc   
vvc | rfnalu | writegen | video/vvc   
lvvc | rfnalu | writegen | video/vvc   
mpg | m2psdmx | n/a | video/mpeg audio/mpeg video/mpegps   
mpeg | m2psdmx | n/a | video/mpeg audio/mpeg video/mpegps   
vob | m2psdmx | n/a | video/mpeg audio/mpeg video/mpegps   
avi | avidmx | n/a | video/avi video/x-avi   
srt | txtin | writegen | subtitle/srt   
ttxt | txtin | writegen | subtitle/x-ttxt   
sub | txtin vobsubdmx | n/a | subtitle/sub   
vtt | txtin | writegen | subtitle/vtt   
txml | txtin | writegen | x-quicktime/text   
ttml | txtin | writegen | subtitle/ttml   
ssa | txtin | n/a | subtitle/ssa   
ass | txtin | n/a | subtitle/ssa   
sdp | rtpin | rtpout | application/sdp   
yuv | rfrawvid | writegen | video/x-raw   
yvu | rfrawvid | writegen | video/x-raw   
yuvl | rfrawvid | writegen | video/x-raw   
yuv2 | rfrawvid | writegen | video/x-raw   
yp2l | rfrawvid | writegen | video/x-raw   
yuv4 | rfrawvid | writegen | video/x-raw   
yp4l | rfrawvid | writegen | video/x-raw   
uyvy | rfrawvid | writegen | video/x-raw   
vyuy | rfrawvid | writegen | video/x-raw   
yuyv | rfrawvid | writegen | video/x-raw   
yvyu | rfrawvid | writegen | video/x-raw   
uyvl | rfrawvid | writegen | video/x-raw   
vyul | rfrawvid | writegen | video/x-raw   
yuyl | rfrawvid | writegen | video/x-raw   
yvyl | rfrawvid | writegen | video/x-raw   
nv12 | rfrawvid | writegen | video/x-raw   
nv21 | rfrawvid | writegen | video/x-raw   
nv1l | rfrawvid | writegen | video/x-raw   
nv2l | rfrawvid | writegen | video/x-raw   
yuva | rfrawvid | writegen | video/x-raw   
yuvd | rfrawvid | writegen | video/x-raw   
yp4a | rfrawvid | writegen | video/x-raw   
yv4p | rfrawvid | writegen | video/x-raw   
v308 | rfrawvid | writegen | video/x-raw   
y4ap | rfrawvid | writegen | video/x-raw   
v408 | rfrawvid | writegen | video/x-raw   
v410 | rfrawvid | writegen | video/x-raw   
v210 | rfrawvid | writegen | video/x-raw   
grey | rfrawvid | writegen | video/x-raw   
algr | rfrawvid | writegen | video/x-raw   
gral | rfrawvid | writegen | video/x-raw   
rgb4 | rfrawvid | writegen | video/x-raw   
rgb5 | rfrawvid | writegen | video/x-raw   
rgb6 | rfrawvid | writegen | video/x-raw   
rgba | rfrawvid | writegen | video/x-raw   
argb | rfrawvid | writegen | video/x-raw   
bgra | rfrawvid | writegen | video/x-raw   
abgr | rfrawvid | writegen | video/x-raw   
rgb | rfrawvid | writegen | video/x-raw   
bgr | rfrawvid | writegen | video/x-raw   
xrgb | rfrawvid | writegen | video/x-raw   
rgbx | rfrawvid | writegen | video/x-raw   
xbgr | rfrawvid | writegen | video/x-raw   
bgrx | rfrawvid | writegen | video/x-raw   
rgbd | rfrawvid | writegen | video/x-raw   
rgbds | rfrawvid | writegen | video/x-raw   
uncv | rfrawvid | writegen | video/x-raw   
pc8 | rfpcm | writegen | audio/x-pcm   
pcm | rfpcm | writegen | audio/x-pcm   
pcmb | rfpcm | writegen | audio/x-pcm   
s24 | rfpcm | writegen | audio/x-pcm   
s24b | rfpcm | writegen | audio/x-pcm   
s32 | rfpcm | writegen | audio/x-pcm   
s32b | rfpcm | writegen | audio/x-pcm   
flt | rfpcm | writegen | audio/x-pcm   
fltb | rfpcm | writegen | audio/x-pcm   
dbl | rfpcm | writegen | audio/x-pcm   
dblb | rfpcm | writegen | audio/x-pcm   
pc8p | rfpcm | writegen | audio/x-pcm   
pcmp | rfpcm | writegen | audio/x-pcm   
s24p | rfpcm | writegen | audio/x-pcm   
s32p | rfpcm | writegen | audio/x-pcm   
fltp | rfpcm | writegen | audio/x-pcm   
dblp | rfpcm | writegen | audio/x-pcm   
wav | rfpcm | writegen | audio/wav audio/wave   
obu | rfav1 | writegen | video/x-ivf video/av1   
av1 | rfav1 | writegen | video/x-ivf video/av1   
av1b | rfav1 | writegen | video/x-ivf video/av1   
ivf | rfav1 | writegen | video/x-ivf video/av1   
prores | rfprores | writegen | video/prores   
txt | n/a | writegen | x-subtitle/srt subtitle/srt text/srt   
xml | n/a | writegen | subtitle/ttml text/ttml application/xml+ttml   
qcelp | n/a | writegen | audio/x-qcelp   
theo | n/a | writegen | video/x-theora   
vorb | n/a | writegen | audio/x-vorbis   
flac | rfflac | writegen | audio/flac   
mhas | rfmhas | writegen | audio/mpegh   
vc1 | ffdmx | writegen | video/vc1   
mlp | rftruehd | writegen | audio/truehd   
thd | rftruehd | writegen | audio/truehd   
truehd | rftruehd | writegen | audio/truehd   
ffv1 | n/a | writegen | video/x-ffv1   
y4m | rfrawvid | writegen | video/x-yuv4mpeg   
dts | ffdmx | writegen | audio/dts   
idx | vobsubdmx | n/a | text/vobsub   
m3u | flist | n/a | application/x-gpac-playlist   
pl | flist | n/a | application/x-gpac-playlist   
ghix | ghidmx | dasher | application/dash+xml video/vnd.3gpp.mpd audio/vnd.3gpp.mpd video/vnd.mpeg.dash.mpd audio/vnd.mpeg.dash.mpd audio/mpegurl video/mpegurl application/vnd.ms-sstr+xml application/x-gpac-ghi application/x-gpac-ghix   
ghi | n/a | dasher | application/dash+xml video/vnd.3gpp.mpd audio/vnd.3gpp.mpd video/vnd.mpeg.dash.mpd audio/vnd.mpeg.dash.mpd audio/mpegurl video/mpegurl application/vnd.ms-sstr+xml application/x-gpac-ghi application/x-gpac-ghix   
gsf | gsfdmx | gsfmx | application/x-gpac-sf   
`ignore | `n/a | writeuf | n/a