2002-07-25 19:03:55 +03:00
|
|
|
/*
|
|
|
|
* Register all the formats and protocols
|
|
|
|
* Copyright (c) 2000, 2001, 2002 Fabrice Bellard
|
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* This file is part of FFmpeg.
|
|
|
|
*
|
|
|
|
* FFmpeg is free software; you can redistribute it and/or
|
2002-07-25 19:03:55 +03:00
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
2006-10-07 18:30:46 +03:00
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2002-07-25 19:03:55 +03:00
|
|
|
*
|
2006-10-07 18:30:46 +03:00
|
|
|
* FFmpeg is distributed in the hope that it will be useful,
|
2002-07-25 19:03:55 +03: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 18:30:46 +03:00
|
|
|
* License along with FFmpeg; if not, write to the Free Software
|
2006-01-13 00:43:26 +02:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2002-07-25 19:03:55 +03:00
|
|
|
*/
|
2012-12-25 17:29:39 +03:00
|
|
|
|
2002-07-25 19:03:55 +03:00
|
|
|
#include "avformat.h"
|
2009-01-27 14:23:16 +02:00
|
|
|
#include "rtp.h"
|
2008-09-07 04:21:24 +03:00
|
|
|
#include "rdt.h"
|
2011-04-04 21:35:04 +03:00
|
|
|
#include "url.h"
|
2012-02-14 13:00:49 +03:00
|
|
|
#include "version.h"
|
2002-07-25 19:03:55 +03:00
|
|
|
|
2012-12-25 17:29:39 +03: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 15:39:13 +02:00
|
|
|
|
2012-12-25 17:29:39 +03: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 15:39:13 +02:00
|
|
|
|
2013-01-02 08:05:55 +03:00
|
|
|
#define REGISTER_MUXDEMUX(X, x) REGISTER_MUXER(X, x); REGISTER_DEMUXER(X, x)
|
2008-12-13 15:39:13 +02:00
|
|
|
|
2012-12-25 17:29:39 +03:00
|
|
|
#define REGISTER_PROTOCOL(X, x) \
|
|
|
|
{ \
|
|
|
|
extern URLProtocol ff_##x##_protocol; \
|
|
|
|
if (CONFIG_##X##_PROTOCOL) \
|
2013-10-29 23:52:09 +03:00
|
|
|
ffurl_register_protocol(&ff_##x##_protocol); \
|
2012-12-25 17:29:39 +03:00
|
|
|
}
|
2006-11-27 14:55:24 +02:00
|
|
|
|
2002-07-25 19:03:55 +03:00
|
|
|
void av_register_all(void)
|
|
|
|
{
|
2008-02-13 11:26:10 +02:00
|
|
|
static int initialized;
|
2005-12-17 20:14:38 +02:00
|
|
|
|
2008-02-13 11:26:10 +02:00
|
|
|
if (initialized)
|
2004-10-08 00:11:08 +03:00
|
|
|
return;
|
2008-02-13 11:26:10 +02:00
|
|
|
initialized = 1;
|
2004-10-08 00:11:08 +03:00
|
|
|
|
2002-07-25 19:03:55 +03:00
|
|
|
avcodec_register_all();
|
|
|
|
|
2007-11-08 00:02:02 +02:00
|
|
|
/* (de)muxers */
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (A64, a64);
|
|
|
|
REGISTER_DEMUXER (AAC, aac);
|
|
|
|
REGISTER_MUXDEMUX(AC3, ac3);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (ACT, act);
|
|
|
|
REGISTER_DEMUXER (ADF, adf);
|
2013-05-04 00:08:05 +03:00
|
|
|
REGISTER_DEMUXER (ADP, adp);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (ADTS, adts);
|
|
|
|
REGISTER_MUXDEMUX(ADX, adx);
|
|
|
|
REGISTER_DEMUXER (AEA, aea);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (AFC, afc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(AIFF, aiff);
|
|
|
|
REGISTER_MUXDEMUX(AMR, amr);
|
|
|
|
REGISTER_DEMUXER (ANM, anm);
|
|
|
|
REGISTER_DEMUXER (APC, apc);
|
|
|
|
REGISTER_DEMUXER (APE, ape);
|
2014-11-20 16:07:18 +02:00
|
|
|
REGISTER_DEMUXER (APNG, apng);
|
2012-12-28 05:49:02 +03:00
|
|
|
REGISTER_DEMUXER (AQTITLE, aqtitle);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(ASF, asf);
|
|
|
|
REGISTER_MUXDEMUX(ASS, ass);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(AST, ast);
|
2012-12-25 17:29:39 +03: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 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (AVR, avr);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (AVS, avs);
|
|
|
|
REGISTER_DEMUXER (BETHSOFTVID, bethsoftvid);
|
|
|
|
REGISTER_DEMUXER (BFI, bfi);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (BINTEXT, bintext);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (BINK, bink);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(BIT, bit);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (BMV, bmv);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (BRSTM, brstm);
|
2013-04-23 00:39:46 +03:00
|
|
|
REGISTER_DEMUXER (BOA, boa);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (C93, c93);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(CAF, caf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(CAVSVIDEO, cavsvideo);
|
|
|
|
REGISTER_DEMUXER (CDG, cdg);
|
|
|
|
REGISTER_DEMUXER (CDXL, cdxl);
|
2014-03-15 09:28:01 +03:00
|
|
|
REGISTER_DEMUXER (CINE, cine);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (CONCAT, concat);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (CRC, crc);
|
2014-10-06 11:36:17 +03:00
|
|
|
REGISTER_MUXER (DASH, dash);
|
2013-04-29 21:46:00 +03:00
|
|
|
REGISTER_MUXDEMUX(DATA, data);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(DAUD, daud);
|
|
|
|
REGISTER_DEMUXER (DFA, dfa);
|
|
|
|
REGISTER_MUXDEMUX(DIRAC, dirac);
|
|
|
|
REGISTER_MUXDEMUX(DNXHD, dnxhd);
|
2014-04-17 14:01:08 +03:00
|
|
|
REGISTER_DEMUXER (DSF, dsf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (DSICIN, dsicin);
|
|
|
|
REGISTER_MUXDEMUX(DTS, dts);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (DTSHD, dtshd);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(DV, dv);
|
2015-01-05 00:20:52 +02:00
|
|
|
REGISTER_DEMUXER (DVBSUB, dvbsub);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (DXA, dxa);
|
|
|
|
REGISTER_DEMUXER (EA, ea);
|
|
|
|
REGISTER_DEMUXER (EA_CDATA, ea_cdata);
|
|
|
|
REGISTER_MUXDEMUX(EAC3, eac3);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (EPAF, epaf);
|
|
|
|
REGISTER_MUXER (F4V, f4v);
|
2012-12-25 17:29:39 +03: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 06:06:12 +03:00
|
|
|
REGISTER_DEMUXER (LIVE_FLV, live_flv);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (FOURXM, fourxm);
|
|
|
|
REGISTER_MUXER (FRAMECRC, framecrc);
|
|
|
|
REGISTER_MUXER (FRAMEMD5, framemd5);
|
2013-01-06 05:58:15 +03:00
|
|
|
REGISTER_DEMUXER (FRM, frm);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(G722, g722);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(G723_1, g723_1);
|
|
|
|
REGISTER_DEMUXER (G729, g729);
|
|
|
|
REGISTER_MUXDEMUX(GIF, gif);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (GSM, gsm);
|
|
|
|
REGISTER_MUXDEMUX(GXF, gxf);
|
|
|
|
REGISTER_MUXDEMUX(H261, h261);
|
|
|
|
REGISTER_MUXDEMUX(H263, h263);
|
|
|
|
REGISTER_MUXDEMUX(H264, h264);
|
2013-08-15 16:06:52 +03:00
|
|
|
REGISTER_MUXER (HDS, hds);
|
2013-10-02 17:46:25 +03:00
|
|
|
REGISTER_MUXDEMUX(HEVC, hevc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(HLS, hls);
|
2013-10-28 03:38:02 +03:00
|
|
|
REGISTER_DEMUXER (HNM, hnm);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(ICO, ico);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (IDCIN, idcin);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (IDF, idf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (IFF, iff);
|
|
|
|
REGISTER_MUXDEMUX(ILBC, ilbc);
|
|
|
|
REGISTER_MUXDEMUX(IMAGE2, image2);
|
|
|
|
REGISTER_MUXDEMUX(IMAGE2PIPE, image2pipe);
|
2014-03-28 19:23:32 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE2_ALIAS_PIX, image2_alias_pix);
|
2014-03-28 19:24:10 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE2_BRENDER_PIX, image2_brender_pix);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (INGENIENT, ingenient);
|
|
|
|
REGISTER_DEMUXER (IPMOVIE, ipmovie);
|
|
|
|
REGISTER_MUXER (IPOD, ipod);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(IRCAM, ircam);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (ISMV, ismv);
|
|
|
|
REGISTER_DEMUXER (ISS, iss);
|
|
|
|
REGISTER_DEMUXER (IV8, iv8);
|
|
|
|
REGISTER_MUXDEMUX(IVF, ivf);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(JACOSUB, jacosub);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (JV, jv);
|
|
|
|
REGISTER_MUXDEMUX(LATM, latm);
|
|
|
|
REGISTER_DEMUXER (LMLM4, lmlm4);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (LOAS, loas);
|
2014-07-09 09:24:05 +03:00
|
|
|
REGISTER_MUXDEMUX(LRC, lrc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (LVF, lvf);
|
2012-12-25 17:29:39 +03: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 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (MGSTS, mgsts);
|
|
|
|
REGISTER_MUXDEMUX(MICRODVD, microdvd);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(MJPEG, mjpeg);
|
|
|
|
REGISTER_MUXDEMUX(MLP, mlp);
|
2014-04-17 13:43:11 +03:00
|
|
|
REGISTER_DEMUXER (MLV, mlv);
|
2012-12-25 17:29:39 +03: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);
|
|
|
|
REGISTER_MUXER (MPJPEG, mpjpeg);
|
2012-12-27 16:49:33 +03:00
|
|
|
REGISTER_DEMUXER (MPL2, mpl2);
|
2012-12-28 03:38:50 +03:00
|
|
|
REGISTER_DEMUXER (MPSUB, mpsub);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp);
|
|
|
|
REGISTER_DEMUXER (MTV, mtv);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (MV, mv);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (MVI, mvi);
|
|
|
|
REGISTER_MUXDEMUX(MXF, mxf);
|
|
|
|
REGISTER_MUXER (MXF_D10, mxf_d10);
|
|
|
|
REGISTER_DEMUXER (MXG, mxg);
|
|
|
|
REGISTER_DEMUXER (NC, nc);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (NISTSPHERE, nistsphere);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (NSV, nsv);
|
|
|
|
REGISTER_MUXER (NULL, null);
|
|
|
|
REGISTER_MUXDEMUX(NUT, nut);
|
|
|
|
REGISTER_DEMUXER (NUV, nuv);
|
2014-03-25 17:47:55 +03:00
|
|
|
REGISTER_MUXER (OGA, oga);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(OGG, ogg);
|
|
|
|
REGISTER_MUXDEMUX(OMA, oma);
|
2013-12-01 14:03:34 +03:00
|
|
|
REGISTER_MUXER (OPUS, opus);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (PAF, paf);
|
2012-12-25 17:29:39 +03: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 07:15:00 +03:00
|
|
|
REGISTER_DEMUXER (PJS, pjs);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (PMP, pmp);
|
|
|
|
REGISTER_MUXER (PSP, psp);
|
|
|
|
REGISTER_DEMUXER (PVA, pva);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (PVF, pvf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (QCP, qcp);
|
|
|
|
REGISTER_DEMUXER (R3D, r3d);
|
|
|
|
REGISTER_MUXDEMUX(RAWVIDEO, rawvideo);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (REALTEXT, realtext);
|
2013-05-10 22:53:02 +03:00
|
|
|
REGISTER_DEMUXER (REDSPARK, redspark);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (RL2, rl2);
|
|
|
|
REGISTER_MUXDEMUX(RM, rm);
|
|
|
|
REGISTER_MUXDEMUX(ROQ, roq);
|
|
|
|
REGISTER_DEMUXER (RPL, rpl);
|
2013-05-10 22:52:10 +03:00
|
|
|
REGISTER_DEMUXER (RSD, rsd);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(RSO, rso);
|
|
|
|
REGISTER_MUXDEMUX(RTP, rtp);
|
2011-05-09 16:44:54 +03:00
|
|
|
REGISTER_MUXER (RTP_MPEGTS, rtp_mpegts);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(RTSP, rtsp);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (SAMI, sami);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(SAP, sap);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (SBG, sbg);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SDP, sdp);
|
2014-01-16 17:25:38 +03:00
|
|
|
REGISTER_DEMUXER (SDR2, sdr2);
|
2010-10-21 15:18:48 +03:00
|
|
|
#if CONFIG_RTPDEC
|
2013-10-28 09:31:13 +03:00
|
|
|
ff_register_rtp_dynamic_payload_handlers();
|
|
|
|
ff_register_rdt_dynamic_payload_handlers();
|
2006-07-11 00:14:37 +03:00
|
|
|
#endif
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SEGAFILM, segafilm);
|
|
|
|
REGISTER_MUXER (SEGMENT, segment);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXER (SEGMENT, stream_segment);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SHORTEN, shorten);
|
|
|
|
REGISTER_DEMUXER (SIFF, siff);
|
2014-05-22 16:15:04 +03:00
|
|
|
REGISTER_DEMUXER (SLN, sln);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SMACKER, smacker);
|
|
|
|
REGISTER_MUXDEMUX(SMJPEG, smjpeg);
|
|
|
|
REGISTER_MUXER (SMOOTHSTREAMING, smoothstreaming);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (SMUSH, smush);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SOL, sol);
|
|
|
|
REGISTER_MUXDEMUX(SOX, sox);
|
2014-08-17 21:55:37 +03:00
|
|
|
REGISTER_MUXER (SPX, spx);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(SPDIF, spdif);
|
|
|
|
REGISTER_MUXDEMUX(SRT, srt);
|
|
|
|
REGISTER_DEMUXER (STR, str);
|
2014-10-20 23:25:39 +03:00
|
|
|
REGISTER_DEMUXER (STL, stl);
|
2012-12-29 02:04:44 +03:00
|
|
|
REGISTER_DEMUXER (SUBVIEWER1, subviewer1);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (SUBVIEWER, subviewer);
|
2014-09-24 18:38:58 +03:00
|
|
|
REGISTER_DEMUXER (SUP, sup);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(SWF, swf);
|
|
|
|
REGISTER_DEMUXER (TAK, tak);
|
2013-06-01 03:35:42 +03:00
|
|
|
REGISTER_MUXER (TEE, tee);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (TEDCAPTIONS, tedcaptions);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (TG2, tg2);
|
|
|
|
REGISTER_MUXER (TGP, tgp);
|
|
|
|
REGISTER_DEMUXER (THP, thp);
|
|
|
|
REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXER (MKVTIMESTAMP_V2, mkvtimestamp_v2);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (TMV, tmv);
|
|
|
|
REGISTER_MUXDEMUX(TRUEHD, truehd);
|
|
|
|
REGISTER_DEMUXER (TTA, tta);
|
|
|
|
REGISTER_DEMUXER (TXD, txd);
|
|
|
|
REGISTER_DEMUXER (TTY, tty);
|
2014-01-16 01:08:43 +03:00
|
|
|
REGISTER_MUXER (UNCODEDFRAMECRC, uncodedframecrc);
|
2012-12-09 15:17:52 +03:00
|
|
|
REGISTER_MUXDEMUX(VC1, vc1);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(VC1T, vc1t);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (VIVO, vivo);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (VMD, vmd);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (VOBSUB, vobsub);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(VOC, voc);
|
2012-12-28 00:36:47 +03:00
|
|
|
REGISTER_DEMUXER (VPLAYER, vplayer);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (VQF, vqf);
|
2012-12-28 16:40:55 +03:00
|
|
|
REGISTER_MUXDEMUX(W64, w64);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(WAV, wav);
|
|
|
|
REGISTER_DEMUXER (WC3, wc3);
|
|
|
|
REGISTER_MUXER (WEBM, webm);
|
2014-07-14 19:52:23 +03:00
|
|
|
REGISTER_MUXDEMUX(WEBM_DASH_MANIFEST, webm_dash_manifest);
|
2014-10-31 17:10:33 +02:00
|
|
|
REGISTER_MUXER (WEBP, webp);
|
2013-06-12 22:46:16 +03:00
|
|
|
REGISTER_MUXDEMUX(WEBVTT, webvtt);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (WSAUD, wsaud);
|
|
|
|
REGISTER_DEMUXER (WSVQA, wsvqa);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(WTV, wtv);
|
|
|
|
REGISTER_MUXDEMUX(WV, wv);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (XA, xa);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (XBIN, xbin);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (XMV, xmv);
|
|
|
|
REGISTER_DEMUXER (XWMA, xwma);
|
|
|
|
REGISTER_DEMUXER (YOP, yop);
|
|
|
|
REGISTER_MUXDEMUX(YUV4MPEGPIPE, yuv4mpegpipe);
|
2004-10-22 05:04:30 +03:00
|
|
|
|
2014-06-21 22:43:19 +03:00
|
|
|
/* image demuxers */
|
|
|
|
REGISTER_DEMUXER (IMAGE_BMP_PIPE, image_bmp_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_DPX_PIPE, image_dpx_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_EXR_PIPE, image_exr_pipe);
|
2014-07-04 03:10:26 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_J2K_PIPE, image_j2k_pipe);
|
2014-09-26 00:02:06 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_JPEG_PIPE, image_jpeg_pipe);
|
2014-08-08 22:19:29 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_JPEGLS_PIPE, image_jpegls_pipe);
|
2014-06-21 22:43:19 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_PICTOR_PIPE, image_pictor_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_PNG_PIPE, image_png_pipe);
|
|
|
|
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 17:14:18 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_WEBP_PIPE, image_webp_pipe);
|
2014-06-21 22:43:19 +03:00
|
|
|
|
|
|
|
|
2007-11-08 00:02:02 +02:00
|
|
|
/* protocols */
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_PROTOCOL(BLURAY, bluray);
|
|
|
|
REGISTER_PROTOCOL(CACHE, cache);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_PROTOCOL(CONCAT, concat);
|
|
|
|
REGISTER_PROTOCOL(CRYPTO, crypto);
|
2012-12-26 22:26:08 +03:00
|
|
|
REGISTER_PROTOCOL(DATA, data);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_PROTOCOL(FFRTMPCRYPT, ffrtmpcrypt);
|
|
|
|
REGISTER_PROTOCOL(FFRTMPHTTP, ffrtmphttp);
|
|
|
|
REGISTER_PROTOCOL(FILE, file);
|
2013-05-15 17:08:11 +03:00
|
|
|
REGISTER_PROTOCOL(FTP, ftp);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_PROTOCOL(GOPHER, gopher);
|
|
|
|
REGISTER_PROTOCOL(HLS, hls);
|
|
|
|
REGISTER_PROTOCOL(HTTP, http);
|
|
|
|
REGISTER_PROTOCOL(HTTPPROXY, httpproxy);
|
|
|
|
REGISTER_PROTOCOL(HTTPS, https);
|
2014-07-28 11:36:19 +03:00
|
|
|
REGISTER_PROTOCOL(ICECAST, icecast);
|
2012-12-25 17:29:39 +03: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-12 01:22:48 +03:00
|
|
|
REGISTER_PROTOCOL(SRTP, srtp);
|
2014-02-25 23:50:54 +03:00
|
|
|
REGISTER_PROTOCOL(SUBFILE, subfile);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_PROTOCOL(TCP, tcp);
|
|
|
|
REGISTER_PROTOCOL(TLS, tls);
|
|
|
|
REGISTER_PROTOCOL(UDP, udp);
|
2014-11-05 11:59:44 +02:00
|
|
|
REGISTER_PROTOCOL(UDPLITE, udplite);
|
2013-07-30 02:34:56 +03:00
|
|
|
REGISTER_PROTOCOL(UNIX, unix);
|
2012-02-13 21:37:25 +03:00
|
|
|
|
|
|
|
/* external libraries */
|
2013-06-28 11:36:00 +03:00
|
|
|
REGISTER_DEMUXER (LIBGME, libgme);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_DEMUXER (LIBMODPLUG, libmodplug);
|
|
|
|
REGISTER_MUXDEMUX(LIBNUT, libnut);
|
2013-04-04 09:22:32 +03:00
|
|
|
REGISTER_DEMUXER (LIBQUVI, libquvi);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_PROTOCOL(LIBRTMP, librtmp);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPE, librtmpe);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPS, librtmps);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPT, librtmpt);
|
|
|
|
REGISTER_PROTOCOL(LIBRTMPTE, librtmpte);
|
2013-09-18 15:08:11 +03:00
|
|
|
REGISTER_PROTOCOL(LIBSSH, libssh);
|
2014-07-13 01:54:23 +03:00
|
|
|
REGISTER_PROTOCOL(LIBSMBCLIENT, libsmbclient);
|
2002-07-25 19:03:55 +03:00
|
|
|
}
|