2002-07-25 18:03:55 +02:00
|
|
|
/*
|
|
|
|
* Register all the formats and protocols
|
|
|
|
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
|
|
|
|
*
|
2006-10-07 17:30:46 +02:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2002-07-25 18:03:55 +02:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 17:30:46 +02:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-07-25 18:03:55 +02:00
|
|
|
*
|
2006-10-07 17:30:46 +02:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2002-07-25 18:03:55 +02:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2006-10-07 17:30:46 +02:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-12 23:43:26 +01:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-07-25 18:03:55 +02:00
|
|
|
*/
|
2012-12-25 15:29:39 +01:00
|
|
|
|
2002-07-25 18:03:55 +02:00
|
|
|
#include "avformat.h"
|
2009-01-27 13:23:16 +01:00
|
|
|
#include "rtp.h"
|
2008-09-07 03:21:24 +02:00
|
|
|
#include "rdt.h"
|
2011-04-04 20:35:04 +02:00
|
|
|
#include "url.h"
|
2012-02-14 11:00:49 +01:00
|
|
|
#include "version.h"
|
2002-07-25 18:03:55 +02:00
|
|
|
|
2012-12-25 15:29:39 +01:00
|
|
|
#define REGISTER_MUXER(X, x) \
|
|
|
|
{ \
|
|
|
|
extern AVOutputFormat ff_##x##_muxer; \
|
|
|
|
if (CONFIG_##X##_MUXER) \
|
|
|
|
av_register_output_format(&ff_##x##_muxer); \
|
|
|
|
}
|
2008-12-13 14:39:13 +01:00
|
|
|
|
2012-12-25 15:29:39 +01:00
|
|
|
#define REGISTER_DEMUXER(X, x) \
|
|
|
|
{ \
|
|
|
|
extern AVInputFormat ff_##x##_demuxer; \
|
|
|
|
if (CONFIG_##X##_DEMUXER) \
|
|
|
|
av_register_input_format(&ff_##x##_demuxer); \
|
|
|
|
}
|
2008-12-13 14:39:13 +01:00
|
|
|
|
2013-01-02 06:05:55 +01:00
|
|
|
#define REGISTER_MUXDEMUX(X, x) REGISTER_MUXER(X, x); REGISTER_DEMUXER(X, x)
|
2008-12-13 14:39:13 +01:00
|
|
|
|
2012-12-25 15:29:39 +01:00
|
|
|
#define REGISTER_PROTOCOL(X, x) \
|
|
|
|
{ \
|
|
|
|
extern URLProtocol ff_##x##_protocol; \
|
|
|
|
if (CONFIG_##X##_PROTOCOL) \
|
2013-10-29 21:52:09 +01:00
|
|
|
ffurl_register_protocol(&ff_##x##_protocol); \
|
2012-12-25 15:29:39 +01:00
|
|
|
}
|
2006-11-27 13:55:24 +01:00
|
|
|
|
2002-07-25 18:03:55 +02:00
|
|
|
void av_register_all(void)
|
|
|
|
{
|
2008-02-13 10:26:10 +01:00
|
|
|
static int initialized;
|
2005-12-17 19:14:38 +01:00
|
|
|
|
2008-02-13 10:26:10 +01:00
|
|
|
if (initialized)
|
2004-10-07 23:11:08 +02:00
|
|
|
return;
|
2008-02-13 10:26:10 +01:00
|
|
|
initialized = 1;
|
2004-10-07 23:11:08 +02:00
|
|
|
|
2002-07-25 18:03:55 +02:00
|
|
|
avcodec_register_all();
|
|
|
|
|
2007-11-07 23:02:02 +01:00
|
|
|
/* (de)muxers */
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (A64, a64);
|
2015-07-19 23:16:36 +02:00
|
|
|
REGISTER_DEMUXER (AA, aa);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (AAC, aac);
|
|
|
|
REGISTER_MUXDEMUX(AC3, ac3);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (ACT, act);
|
|
|
|
REGISTER_DEMUXER (ADF, adf);
|
2013-05-03 23:08:05 +02:00
|
|
|
REGISTER_DEMUXER (ADP, adp);
|
2015-10-14 11:58:38 +02:00
|
|
|
REGISTER_DEMUXER (ADS, ads);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (ADTS, adts);
|
|
|
|
REGISTER_MUXDEMUX(ADX, adx);
|
|
|
|
REGISTER_DEMUXER (AEA, aea);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (AFC, afc);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(AIFF, aiff);
|
|
|
|
REGISTER_MUXDEMUX(AMR, amr);
|
|
|
|
REGISTER_DEMUXER (ANM, anm);
|
|
|
|
REGISTER_DEMUXER (APC, apc);
|
|
|
|
REGISTER_DEMUXER (APE, ape);
|
2015-03-28 09:06:24 +01:00
|
|
|
REGISTER_MUXDEMUX(APNG, apng);
|
2012-12-28 03:49:02 +01:00
|
|
|
REGISTER_DEMUXER (AQTITLE, aqtitle);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(ASF, asf);
|
2015-06-28 13:05:45 +02:00
|
|
|
REGISTER_DEMUXER (ASF_O, asf_o);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(ASS, ass);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(AST, ast);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (ASF_STREAM, asf_stream);
|
|
|
|
REGISTER_MUXDEMUX(AU, au);
|
|
|
|
REGISTER_MUXDEMUX(AVI, avi);
|
|
|
|
REGISTER_DEMUXER (AVISYNTH, avisynth);
|
|
|
|
REGISTER_MUXER (AVM2, avm2);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (AVR, avr);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (AVS, avs);
|
|
|
|
REGISTER_DEMUXER (BETHSOFTVID, bethsoftvid);
|
|
|
|
REGISTER_DEMUXER (BFI, bfi);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (BINTEXT, bintext);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (BINK, bink);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(BIT, bit);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (BMV, bmv);
|
2015-06-17 10:09:52 +02:00
|
|
|
REGISTER_DEMUXER (BFSTM, bfstm);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (BRSTM, brstm);
|
2013-04-22 23:39:46 +02:00
|
|
|
REGISTER_DEMUXER (BOA, boa);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (C93, c93);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(CAF, caf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(CAVSVIDEO, cavsvideo);
|
|
|
|
REGISTER_DEMUXER (CDG, cdg);
|
|
|
|
REGISTER_DEMUXER (CDXL, cdxl);
|
2014-03-15 07:28:01 +01:00
|
|
|
REGISTER_DEMUXER (CINE, cine);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (CONCAT, concat);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (CRC, crc);
|
2014-10-06 10:36:17 +02:00
|
|
|
REGISTER_MUXER (DASH, dash);
|
2013-04-29 20:46:00 +02:00
|
|
|
REGISTER_MUXDEMUX(DATA, data);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(DAUD, daud);
|
2015-10-28 14:10:01 +01:00
|
|
|
REGISTER_DEMUXER (DCSTR, dcstr);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (DFA, dfa);
|
|
|
|
REGISTER_MUXDEMUX(DIRAC, dirac);
|
|
|
|
REGISTER_MUXDEMUX(DNXHD, dnxhd);
|
2014-04-17 13:01:08 +02:00
|
|
|
REGISTER_DEMUXER (DSF, dsf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (DSICIN, dsicin);
|
2015-02-13 08:36:17 +01:00
|
|
|
REGISTER_DEMUXER (DSS, dss);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(DTS, dts);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (DTSHD, dtshd);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(DV, dv);
|
2015-01-04 23:20:52 +01:00
|
|
|
REGISTER_DEMUXER (DVBSUB, dvbsub);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (DXA, dxa);
|
|
|
|
REGISTER_DEMUXER (EA, ea);
|
|
|
|
REGISTER_DEMUXER (EA_CDATA, ea_cdata);
|
|
|
|
REGISTER_MUXDEMUX(EAC3, eac3);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (EPAF, epaf);
|
|
|
|
REGISTER_MUXER (F4V, f4v);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(FFM, ffm);
|
|
|
|
REGISTER_MUXDEMUX(FFMETADATA, ffmetadata);
|
|
|
|
REGISTER_MUXDEMUX(FILMSTRIP, filmstrip);
|
|
|
|
REGISTER_MUXDEMUX(FLAC, flac);
|
|
|
|
REGISTER_DEMUXER (FLIC, flic);
|
|
|
|
REGISTER_MUXDEMUX(FLV, flv);
|
2014-06-06 05:06:12 +02:00
|
|
|
REGISTER_DEMUXER (LIVE_FLV, live_flv);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (FOURXM, fourxm);
|
|
|
|
REGISTER_MUXER (FRAMECRC, framecrc);
|
|
|
|
REGISTER_MUXER (FRAMEMD5, framemd5);
|
2013-01-06 03:58:15 +01:00
|
|
|
REGISTER_DEMUXER (FRM, frm);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(G722, g722);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(G723_1, g723_1);
|
|
|
|
REGISTER_DEMUXER (G729, g729);
|
2015-10-12 22:58:05 +02:00
|
|
|
REGISTER_DEMUXER (GENH, genh);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(GIF, gif);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (GSM, gsm);
|
|
|
|
REGISTER_MUXDEMUX(GXF, gxf);
|
|
|
|
REGISTER_MUXDEMUX(H261, h261);
|
|
|
|
REGISTER_MUXDEMUX(H263, h263);
|
|
|
|
REGISTER_MUXDEMUX(H264, h264);
|
2013-08-15 15:06:52 +02:00
|
|
|
REGISTER_MUXER (HDS, hds);
|
2013-10-02 16:46:25 +02:00
|
|
|
REGISTER_MUXDEMUX(HEVC, hevc);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(HLS, hls);
|
2013-10-28 01:38:02 +01:00
|
|
|
REGISTER_DEMUXER (HNM, hnm);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(ICO, ico);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (IDCIN, idcin);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (IDF, idf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (IFF, iff);
|
|
|
|
REGISTER_MUXDEMUX(ILBC, ilbc);
|
|
|
|
REGISTER_MUXDEMUX(IMAGE2, image2);
|
|
|
|
REGISTER_MUXDEMUX(IMAGE2PIPE, image2pipe);
|
2014-03-28 17:23:32 +01:00
|
|
|
REGISTER_DEMUXER (IMAGE2_ALIAS_PIX, image2_alias_pix);
|
2014-03-28 17:24:10 +01:00
|
|
|
REGISTER_DEMUXER (IMAGE2_BRENDER_PIX, image2_brender_pix);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (INGENIENT, ingenient);
|
|
|
|
REGISTER_DEMUXER (IPMOVIE, ipmovie);
|
|
|
|
REGISTER_MUXER (IPOD, ipod);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(IRCAM, ircam);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (ISMV, ismv);
|
|
|
|
REGISTER_DEMUXER (ISS, iss);
|
|
|
|
REGISTER_DEMUXER (IV8, iv8);
|
|
|
|
REGISTER_MUXDEMUX(IVF, ivf);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(JACOSUB, jacosub);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (JV, jv);
|
2015-10-15 01:11:17 +02:00
|
|
|
REGISTER_MUXER (LATM, latm);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (LMLM4, lmlm4);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (LOAS, loas);
|
2014-07-09 08:24:05 +02:00
|
|
|
REGISTER_MUXDEMUX(LRC, lrc);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (LVF, lvf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (LXF, lxf);
|
|
|
|
REGISTER_MUXDEMUX(M4V, m4v);
|
|
|
|
REGISTER_MUXER (MD5, md5);
|
|
|
|
REGISTER_MUXDEMUX(MATROSKA, matroska);
|
|
|
|
REGISTER_MUXER (MATROSKA_AUDIO, matroska_audio);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (MGSTS, mgsts);
|
|
|
|
REGISTER_MUXDEMUX(MICRODVD, microdvd);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(MJPEG, mjpeg);
|
|
|
|
REGISTER_MUXDEMUX(MLP, mlp);
|
2014-04-17 12:43:11 +02:00
|
|
|
REGISTER_DEMUXER (MLV, mlv);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (MM, mm);
|
|
|
|
REGISTER_MUXDEMUX(MMF, mmf);
|
|
|
|
REGISTER_MUXDEMUX(MOV, mov);
|
|
|
|
REGISTER_MUXER (MP2, mp2);
|
|
|
|
REGISTER_MUXDEMUX(MP3, mp3);
|
|
|
|
REGISTER_MUXER (MP4, mp4);
|
|
|
|
REGISTER_DEMUXER (MPC, mpc);
|
|
|
|
REGISTER_DEMUXER (MPC8, mpc8);
|
|
|
|
REGISTER_MUXER (MPEG1SYSTEM, mpeg1system);
|
|
|
|
REGISTER_MUXER (MPEG1VCD, mpeg1vcd);
|
|
|
|
REGISTER_MUXER (MPEG1VIDEO, mpeg1video);
|
|
|
|
REGISTER_MUXER (MPEG2DVD, mpeg2dvd);
|
|
|
|
REGISTER_MUXER (MPEG2SVCD, mpeg2svcd);
|
|
|
|
REGISTER_MUXER (MPEG2VIDEO, mpeg2video);
|
|
|
|
REGISTER_MUXER (MPEG2VOB, mpeg2vob);
|
|
|
|
REGISTER_DEMUXER (MPEGPS, mpegps);
|
|
|
|
REGISTER_MUXDEMUX(MPEGTS, mpegts);
|
|
|
|
REGISTER_DEMUXER (MPEGTSRAW, mpegtsraw);
|
|
|
|
REGISTER_DEMUXER (MPEGVIDEO, mpegvideo);
|
2015-05-16 17:03:28 +02:00
|
|
|
REGISTER_MUXDEMUX(MPJPEG, mpjpeg);
|
2012-12-27 14:49:33 +01:00
|
|
|
REGISTER_DEMUXER (MPL2, mpl2);
|
2012-12-28 01:38:50 +01:00
|
|
|
REGISTER_DEMUXER (MPSUB, mpsub);
|
2015-10-17 21:41:18 +02:00
|
|
|
REGISTER_DEMUXER (MSF, msf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp);
|
|
|
|
REGISTER_DEMUXER (MTV, mtv);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (MV, mv);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (MVI, mvi);
|
|
|
|
REGISTER_MUXDEMUX(MXF, mxf);
|
|
|
|
REGISTER_MUXER (MXF_D10, mxf_d10);
|
2015-01-29 04:44:21 +01:00
|
|
|
REGISTER_MUXER (MXF_OPATOM, mxf_opatom);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (MXG, mxg);
|
|
|
|
REGISTER_DEMUXER (NC, nc);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (NISTSPHERE, nistsphere);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (NSV, nsv);
|
|
|
|
REGISTER_MUXER (NULL, null);
|
|
|
|
REGISTER_MUXDEMUX(NUT, nut);
|
|
|
|
REGISTER_DEMUXER (NUV, nuv);
|
2014-03-25 15:47:55 +01:00
|
|
|
REGISTER_MUXER (OGA, oga);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(OGG, ogg);
|
|
|
|
REGISTER_MUXDEMUX(OMA, oma);
|
2013-12-01 12:03:34 +01:00
|
|
|
REGISTER_MUXER (OPUS, opus);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (PAF, paf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(PCM_ALAW, pcm_alaw);
|
|
|
|
REGISTER_MUXDEMUX(PCM_MULAW, pcm_mulaw);
|
|
|
|
REGISTER_MUXDEMUX(PCM_F64BE, pcm_f64be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_F64LE, pcm_f64le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_F32BE, pcm_f32be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_F32LE, pcm_f32le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S32BE, pcm_s32be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S32LE, pcm_s32le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S24BE, pcm_s24be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S24LE, pcm_s24le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S16BE, pcm_s16be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S16LE, pcm_s16le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_S8, pcm_s8);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U32BE, pcm_u32be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U32LE, pcm_u32le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U24BE, pcm_u24be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U24LE, pcm_u24le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U16BE, pcm_u16be);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U16LE, pcm_u16le);
|
|
|
|
REGISTER_MUXDEMUX(PCM_U8, pcm_u8);
|
2012-12-28 05:15:00 +01:00
|
|
|
REGISTER_DEMUXER (PJS, pjs);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (PMP, pmp);
|
|
|
|
REGISTER_MUXER (PSP, psp);
|
|
|
|
REGISTER_DEMUXER (PVA, pva);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (PVF, pvf);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (QCP, qcp);
|
|
|
|
REGISTER_DEMUXER (R3D, r3d);
|
|
|
|
REGISTER_MUXDEMUX(RAWVIDEO, rawvideo);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (REALTEXT, realtext);
|
2013-05-10 21:53:02 +02:00
|
|
|
REGISTER_DEMUXER (REDSPARK, redspark);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (RL2, rl2);
|
|
|
|
REGISTER_MUXDEMUX(RM, rm);
|
|
|
|
REGISTER_MUXDEMUX(ROQ, roq);
|
|
|
|
REGISTER_DEMUXER (RPL, rpl);
|
2013-05-10 21:52:10 +02:00
|
|
|
REGISTER_DEMUXER (RSD, rsd);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(RSO, rso);
|
|
|
|
REGISTER_MUXDEMUX(RTP, rtp);
|
2011-05-09 15:44:54 +02:00
|
|
|
REGISTER_MUXER (RTP_MPEGTS, rtp_mpegts);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(RTSP, rtsp);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (SAMI, sami);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(SAP, sap);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (SBG, sbg);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (SDP, sdp);
|
2014-01-16 15:25:38 +01:00
|
|
|
REGISTER_DEMUXER (SDR2, sdr2);
|
2010-10-21 14:18:48 +02:00
|
|
|
#if CONFIG_RTPDEC
|
2013-10-28 07:31:13 +01:00
|
|
|
ff_register_rtp_dynamic_payload_handlers();
|
|
|
|
ff_register_rdt_dynamic_payload_handlers();
|
2006-07-10 23:14:37 +02:00
|
|
|
#endif
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (SEGAFILM, segafilm);
|
|
|
|
REGISTER_MUXER (SEGMENT, segment);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXER (SEGMENT, stream_segment);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (SHORTEN, shorten);
|
|
|
|
REGISTER_DEMUXER (SIFF, siff);
|
2015-06-08 03:28:33 +02:00
|
|
|
REGISTER_MUXER (SINGLEJPEG, singlejpeg);
|
2014-05-22 15:15:04 +02:00
|
|
|
REGISTER_DEMUXER (SLN, sln);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (SMACKER, smacker);
|
|
|
|
REGISTER_MUXDEMUX(SMJPEG, smjpeg);
|
|
|
|
REGISTER_MUXER (SMOOTHSTREAMING, smoothstreaming);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (SMUSH, smush);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (SOL, sol);
|
|
|
|
REGISTER_MUXDEMUX(SOX, sox);
|
2014-08-17 20:55:37 +02:00
|
|
|
REGISTER_MUXER (SPX, spx);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(SPDIF, spdif);
|
|
|
|
REGISTER_MUXDEMUX(SRT, srt);
|
|
|
|
REGISTER_DEMUXER (STR, str);
|
2014-10-20 22:25:39 +02:00
|
|
|
REGISTER_DEMUXER (STL, stl);
|
2012-12-29 00:04:44 +01:00
|
|
|
REGISTER_DEMUXER (SUBVIEWER1, subviewer1);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (SUBVIEWER, subviewer);
|
2014-09-24 17:38:58 +02:00
|
|
|
REGISTER_DEMUXER (SUP, sup);
|
2015-10-16 14:01:53 +02:00
|
|
|
REGISTER_DEMUXER (SVAG, svag);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(SWF, swf);
|
|
|
|
REGISTER_DEMUXER (TAK, tak);
|
2013-06-01 02:35:42 +02:00
|
|
|
REGISTER_MUXER (TEE, tee);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (TEDCAPTIONS, tedcaptions);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXER (TG2, tg2);
|
|
|
|
REGISTER_MUXER (TGP, tgp);
|
|
|
|
REGISTER_DEMUXER (THP, thp);
|
2015-10-27 20:58:23 +01:00
|
|
|
REGISTER_DEMUXER (THREEDOSTR, threedostr);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXER (MKVTIMESTAMP_V2, mkvtimestamp_v2);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (TMV, tmv);
|
|
|
|
REGISTER_MUXDEMUX(TRUEHD, truehd);
|
|
|
|
REGISTER_DEMUXER (TTA, tta);
|
|
|
|
REGISTER_DEMUXER (TXD, txd);
|
|
|
|
REGISTER_DEMUXER (TTY, tty);
|
2014-01-15 23:08:43 +01:00
|
|
|
REGISTER_MUXER (UNCODEDFRAMECRC, uncodedframecrc);
|
2015-10-13 12:52:54 +02:00
|
|
|
REGISTER_DEMUXER (VAG, vag);
|
2012-12-09 13:17:52 +01:00
|
|
|
REGISTER_MUXDEMUX(VC1, vc1);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(VC1T, vc1t);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (VIVO, vivo);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (VMD, vmd);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (VOBSUB, vobsub);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(VOC, voc);
|
2012-12-27 22:36:47 +01:00
|
|
|
REGISTER_DEMUXER (VPLAYER, vplayer);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (VQF, vqf);
|
2012-12-28 14:40:55 +01:00
|
|
|
REGISTER_MUXDEMUX(W64, w64);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_MUXDEMUX(WAV, wav);
|
|
|
|
REGISTER_DEMUXER (WC3, wc3);
|
|
|
|
REGISTER_MUXER (WEBM, webm);
|
2014-07-14 18:52:23 +02:00
|
|
|
REGISTER_MUXDEMUX(WEBM_DASH_MANIFEST, webm_dash_manifest);
|
2015-03-30 23:46:10 +02:00
|
|
|
REGISTER_MUXER (WEBM_CHUNK, webm_chunk);
|
2014-10-31 16:10:33 +01:00
|
|
|
REGISTER_MUXER (WEBP, webp);
|
2013-06-12 21:46:16 +02:00
|
|
|
REGISTER_MUXDEMUX(WEBVTT, webvtt);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (WSAUD, wsaud);
|
|
|
|
REGISTER_DEMUXER (WSVQA, wsvqa);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(WTV, wtv);
|
2015-10-19 00:03:10 +02:00
|
|
|
REGISTER_DEMUXER (WVE, wve);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_MUXDEMUX(WV, wv);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (XA, xa);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (XBIN, xbin);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (XMV, xmv);
|
2015-10-23 12:03:28 +02:00
|
|
|
REGISTER_DEMUXER (XVAG, xvag);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_DEMUXER (XWMA, xwma);
|
|
|
|
REGISTER_DEMUXER (YOP, yop);
|
|
|
|
REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe);
|
2004-10-22 04:04:30 +02:00
|
|
|
|
2014-06-21 21:43:19 +02:00
|
|
|
/* image demuxers */
|
|
|
|
REGISTER_DEMUXER (IMAGE_BMP_PIPE, image_bmp_pipe);
|
2015-06-29 16:13:26 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_DDS_PIPE, image_dds_pipe);
|
2014-06-21 21:43:19 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_DPX_PIPE, image_dpx_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_EXR_PIPE, image_exr_pipe);
|
2014-07-04 02:10:26 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_J2K_PIPE, image_j2k_pipe);
|
2014-09-25 23:02:06 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_JPEG_PIPE, image_jpeg_pipe);
|
2014-08-08 21:19:29 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_JPEGLS_PIPE, image_jpegls_pipe);
|
2014-06-21 21:43:19 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PICTOR_PIPE, image_pictor_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_PNG_PIPE, image_png_pipe);
|
2015-05-07 01:10:45 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_QDRAW_PIPE, image_qdraw_pipe);
|
2014-06-21 21:43:19 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_SGI_PIPE, image_sgi_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_SUNRAST_PIPE, image_sunrast_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_TIFF_PIPE, image_tiff_pipe);
|
2014-08-08 16:14:18 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_WEBP_PIPE, image_webp_pipe);
|
2014-06-21 21:43:19 +02:00
|
|
|
|
|
|
|
|
2007-11-07 23:02:02 +01:00
|
|
|
/* protocols */
|
2015-07-16 09:04:42 +02:00
|
|
|
REGISTER_PROTOCOL(ASYNC, async);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_PROTOCOL(BLURAY, bluray);
|
|
|
|
REGISTER_PROTOCOL(CACHE, cache);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(CONCAT, concat);
|
|
|
|
REGISTER_PROTOCOL(CRYPTO, crypto);
|
2012-12-26 20:26:08 +01:00
|
|
|
REGISTER_PROTOCOL(DATA, data);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(FFRTMPCRYPT, ffrtmpcrypt);
|
|
|
|
REGISTER_PROTOCOL(FFRTMPHTTP, ffrtmphttp);
|
|
|
|
REGISTER_PROTOCOL(FILE, file);
|
2013-05-15 16:08:11 +02:00
|
|
|
REGISTER_PROTOCOL(FTP, ftp);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(GOPHER, gopher);
|
|
|
|
REGISTER_PROTOCOL(HLS, hls);
|
|
|
|
REGISTER_PROTOCOL(HTTP, http);
|
|
|
|
REGISTER_PROTOCOL(HTTPPROXY, httpproxy);
|
|
|
|
REGISTER_PROTOCOL(HTTPS, https);
|
2014-07-28 10:36:19 +02:00
|
|
|
REGISTER_PROTOCOL(ICECAST, icecast);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(MMSH, mmsh);
|
|
|
|
REGISTER_PROTOCOL(MMST, mmst);
|
|
|
|
REGISTER_PROTOCOL(MD5, md5);
|
|
|
|
REGISTER_PROTOCOL(PIPE, pipe);
|
|
|
|
REGISTER_PROTOCOL(RTMP, rtmp);
|
|
|
|
REGISTER_PROTOCOL(RTMPE, rtmpe);
|
|
|
|
REGISTER_PROTOCOL(RTMPS, rtmps);
|
|
|
|
REGISTER_PROTOCOL(RTMPT, rtmpt);
|
|
|
|
REGISTER_PROTOCOL(RTMPTE, rtmpte);
|
|
|
|
REGISTER_PROTOCOL(RTMPTS, rtmpts);
|
|
|
|
REGISTER_PROTOCOL(RTP, rtp);
|
|
|
|
REGISTER_PROTOCOL(SCTP, sctp);
|
2012-12-11 23:22:48 +01:00
|
|
|
REGISTER_PROTOCOL(SRTP, srtp);
|
2014-02-25 21:50:54 +01:00
|
|
|
REGISTER_PROTOCOL(SUBFILE, subfile);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(TCP, tcp);
|
2015-05-28 21:46:16 +02:00
|
|
|
REGISTER_PROTOCOL(TLS_SECURETRANSPORT, tls_securetransport);
|
2015-05-27 12:57:50 +02:00
|
|
|
REGISTER_PROTOCOL(TLS_GNUTLS, tls_gnutls);
|
|
|
|
REGISTER_PROTOCOL(TLS_OPENSSL, tls_openssl);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(UDP, udp);
|
2014-11-05 10:59:44 +01:00
|
|
|
REGISTER_PROTOCOL(UDPLITE, udplite);
|
2013-07-30 01:34:56 +02:00
|
|
|
REGISTER_PROTOCOL(UNIX, unix);
|
2012-02-13 19:37:25 +01:00
|
|
|
|
|
|
|
/* external libraries */
|
2015-10-04 00:24:06 +02:00
|
|
|
REGISTER_MUXER (CHROMAPRINT, chromaprint);
|
2013-06-28 10:36:00 +02:00
|
|
|
REGISTER_DEMUXER (LIBGME, libgme);
|
2012-12-29 14:27:38 +01:00
|
|
|
REGISTER_DEMUXER (LIBMODPLUG, libmodplug);
|
|
|
|
REGISTER_MUXDEMUX(LIBNUT, libnut);
|
2013-04-04 08:22:32 +02:00
|
|
|
REGISTER_DEMUXER (LIBQUVI, libquvi);
|
2012-12-25 15:29:39 +01:00
|
|
|
REGISTER_PROTOCOL(LIBRTMP, librtmp);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPE, librtmpe);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPS, librtmps);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPT, librtmpt);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPTE, librtmpte);
|
2013-09-18 14:08:11 +02:00
|
|
|
REGISTER_PROTOCOL(LIBSSH, libssh);
|
2014-07-13 00:54:23 +02:00
|
|
|
REGISTER_PROTOCOL(LIBSMBCLIENT, libsmbclient);
|
2002-07-25 18:03:55 +02:00
|
|
|
}
|