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
|
|
|
|
2017-03-07 10:53:27 +02:00
|
|
|
#include "libavutil/thread.h"
|
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
|
|
|
|
2017-03-07 10:53:27 +02:00
|
|
|
static void register_all(void)
|
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);
|
2015-07-19 23:16:36 +02:00
|
|
|
REGISTER_DEMUXER (AA, aa);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (AAC, aac);
|
|
|
|
REGISTER_MUXDEMUX(AC3, ac3);
|
2015-10-30 18:45:33 +02:00
|
|
|
REGISTER_DEMUXER (ACM, acm);
|
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);
|
2015-10-14 11:58:38 +02:00
|
|
|
REGISTER_DEMUXER (ADS, ads);
|
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);
|
2016-04-05 14:05:10 +02:00
|
|
|
REGISTER_DEMUXER (AIX, aix);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(AMR, amr);
|
|
|
|
REGISTER_DEMUXER (ANM, anm);
|
|
|
|
REGISTER_DEMUXER (APC, apc);
|
|
|
|
REGISTER_DEMUXER (APE, ape);
|
2015-03-28 10:06:24 +02:00
|
|
|
REGISTER_MUXDEMUX(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);
|
2015-06-28 13:05:45 +02:00
|
|
|
REGISTER_DEMUXER (ASF_O, asf_o);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2015-06-17 10:09:52 +02:00
|
|
|
REGISTER_DEMUXER (BFSTM, bfstm);
|
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);
|
2015-10-28 15:10:01 +02:00
|
|
|
REGISTER_DEMUXER (DCSTR, dcstr);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2015-02-13 09:36:17 +02:00
|
|
|
REGISTER_DEMUXER (DSS, dss);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2016-02-16 04:05:10 +02:00
|
|
|
REGISTER_DEMUXER (DVBTXT, dvbtxt);
|
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);
|
2016-08-09 13:26:03 +02:00
|
|
|
REGISTER_MUXER (FIFO, fifo);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2016-04-12 16:16:18 +02:00
|
|
|
REGISTER_MUXER (FRAMEHASH, framehash);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXER (FRAMEMD5, framemd5);
|
2013-01-06 05:58:15 +03:00
|
|
|
REGISTER_DEMUXER (FRM, frm);
|
2015-10-19 14:42:56 +02:00
|
|
|
REGISTER_DEMUXER (FSB, fsb);
|
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);
|
2015-10-12 22:58:05 +02:00
|
|
|
REGISTER_DEMUXER (GENH, genh);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(GIF, gif);
|
2016-04-09 11:44:50 +02:00
|
|
|
REGISTER_MUXDEMUX(GSM, gsm);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_MUXDEMUX(GXF, gxf);
|
|
|
|
REGISTER_MUXDEMUX(H261, h261);
|
|
|
|
REGISTER_MUXDEMUX(H263, h263);
|
|
|
|
REGISTER_MUXDEMUX(H264, h264);
|
2016-04-12 16:16:18 +02:00
|
|
|
REGISTER_MUXER (HASH, hash);
|
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);
|
2015-11-11 23:04:57 +02:00
|
|
|
REGISTER_DEMUXER (IVR, ivr);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(JACOSUB, jacosub);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (JV, jv);
|
2015-10-15 01:11:17 +02:00
|
|
|
REGISTER_MUXER (LATM, latm);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2016-10-11 15:36:40 +02:00
|
|
|
REGISTER_DEMUXER (MJPEG_2000, mjpeg_2000);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2015-05-16 17:03:28 +02:00
|
|
|
REGISTER_MUXDEMUX(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);
|
2015-10-17 21:41:18 +02:00
|
|
|
REGISTER_DEMUXER (MSF, msf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp);
|
2016-05-15 20:35:14 +02:00
|
|
|
REGISTER_DEMUXER (MTAF, mtaf);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (MTV, mtv);
|
2016-04-03 12:10:09 +02:00
|
|
|
REGISTER_DEMUXER (MUSX, musx);
|
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);
|
2015-01-29 05:44:21 +02:00
|
|
|
REGISTER_MUXER (MXF_OPATOM, mxf_opatom);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2016-07-21 02:55:12 +02:00
|
|
|
REGISTER_MUXER (OGV, ogv);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2017-01-27 14:58:11 +02:00
|
|
|
REGISTER_MUXDEMUX(SCC, scc);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (SDP, sdp);
|
2014-01-16 17:25:38 +03:00
|
|
|
REGISTER_DEMUXER (SDR2, sdr2);
|
2017-01-20 18:01:31 +02:00
|
|
|
REGISTER_DEMUXER (SDS, sds);
|
2017-01-21 13:29:44 +02:00
|
|
|
REGISTER_DEMUXER (SDX, sdx);
|
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);
|
2015-06-08 03:28:33 +02:00
|
|
|
REGISTER_MUXER (SINGLEJPEG, singlejpeg);
|
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);
|
2015-10-16 14:01:53 +02:00
|
|
|
REGISTER_DEMUXER (SVAG, svag);
|
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);
|
2015-10-27 21:58:23 +02:00
|
|
|
REGISTER_DEMUXER (THREEDOSTR, threedostr);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2016-08-04 21:21:25 +02:00
|
|
|
REGISTER_MUXDEMUX(TTA, tta);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (TXD, txd);
|
|
|
|
REGISTER_DEMUXER (TTY, tty);
|
2014-01-16 01:08:43 +03:00
|
|
|
REGISTER_MUXER (UNCODEDFRAMECRC, uncodedframecrc);
|
2015-11-08 01:59:01 +02:00
|
|
|
REGISTER_DEMUXER (V210, v210);
|
|
|
|
REGISTER_DEMUXER (V210X, v210x);
|
2015-10-13 12:52:54 +02:00
|
|
|
REGISTER_DEMUXER (VAG, vag);
|
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);
|
2015-11-11 11:49:30 +02:00
|
|
|
REGISTER_DEMUXER (VPK, vpk);
|
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);
|
2015-03-30 23:46:10 +02:00
|
|
|
REGISTER_MUXER (WEBM_CHUNK, webm_chunk);
|
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);
|
2016-04-29 18:48:45 +02:00
|
|
|
REGISTER_DEMUXER (WSD, wsd);
|
2012-12-25 17:29:39 +03:00
|
|
|
REGISTER_DEMUXER (WSVQA, wsvqa);
|
2012-12-29 16:27:38 +03:00
|
|
|
REGISTER_MUXDEMUX(WTV, wtv);
|
2015-10-19 00:03:10 +02:00
|
|
|
REGISTER_DEMUXER (WVE, wve);
|
2012-12-29 16:27:38 +03:00
|
|
|
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);
|
2015-10-23 12:03:28 +02:00
|
|
|
REGISTER_DEMUXER (XVAG, xvag);
|
2012-12-25 17:29:39 +03:00
|
|
|
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);
|
2015-06-29 16:13:26 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_DDS_PIPE, image_dds_pipe);
|
2014-06-21 22:43:19 +03:00
|
|
|
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);
|
2016-06-08 15:16:34 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PAM_PIPE, image_pam_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_PBM_PIPE, image_pbm_pipe);
|
2016-02-29 16:49:52 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PCX_PIPE, image_pcx_pipe);
|
2016-06-08 15:16:34 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PGMYUV_PIPE, image_pgmyuv_pipe);
|
|
|
|
REGISTER_DEMUXER (IMAGE_PGM_PIPE, image_pgm_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);
|
2016-06-08 15:16:34 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PPM_PIPE, image_ppm_pipe);
|
2016-11-24 22:26:56 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_PSD_PIPE, image_psd_pipe);
|
2015-05-07 01:10:45 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_QDRAW_PIPE, image_qdraw_pipe);
|
2014-06-21 22:43:19 +03: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 17:14:18 +03:00
|
|
|
REGISTER_DEMUXER (IMAGE_WEBP_PIPE, image_webp_pipe);
|
2017-03-11 23:01:23 +02:00
|
|
|
REGISTER_DEMUXER (IMAGE_XPM_PIPE, image_xpm_pipe);
|
2014-06-21 22:43:19 +03:00
|
|
|
|
2012-02-13 21:37:25 +03:00
|
|
|
/* external libraries */
|
2015-10-04 00:24:06 +02:00
|
|
|
REGISTER_MUXER (CHROMAPRINT, chromaprint);
|
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);
|
2016-07-14 19:30:27 +02:00
|
|
|
REGISTER_DEMUXER (LIBOPENMPT, libopenmpt);
|
2017-03-07 10:53:27 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
void av_register_all(void)
|
|
|
|
{
|
|
|
|
AVOnce control = AV_ONCE_INIT;
|
2016-04-07 12:46:23 +02:00
|
|
|
|
2017-03-07 10:53:27 +02:00
|
|
|
ff_thread_once(&control, register_all);
|
2002-07-25 19:03:55 +03:00
|
|
|
}
|