lavf/brstm: add support for BFSTM files
[ffmpeg.git] / libavformat / allformats.c
1 /*
2  * Register all the formats and protocols
3  * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
4  *
5  * This file is part of FFmpeg.
6  *
7  * FFmpeg is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * FFmpeg is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with FFmpeg; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21
22 #include "avformat.h"
23 #include "rtp.h"
24 #include "rdt.h"
25 #include "url.h"
26 #include "version.h"
27
28 #define REGISTER_MUXER(X, x)                                            \
29     {                                                                   \
30         extern AVOutputFormat ff_##x##_muxer;                           \
31         if (CONFIG_##X##_MUXER)                                         \
32             av_register_output_format(&ff_##x##_muxer);                 \
33     }
34
35 #define REGISTER_DEMUXER(X, x)                                          \
36     {                                                                   \
37         extern AVInputFormat ff_##x##_demuxer;                          \
38         if (CONFIG_##X##_DEMUXER)                                       \
39             av_register_input_format(&ff_##x##_demuxer);                \
40     }
41
42 #define REGISTER_MUXDEMUX(X, x) REGISTER_MUXER(X, x); REGISTER_DEMUXER(X, x)
43
44 #define REGISTER_PROTOCOL(X, x)                                         \
45     {                                                                   \
46         extern URLProtocol ff_##x##_protocol;                           \
47         if (CONFIG_##X##_PROTOCOL)                                      \
48             ffurl_register_protocol(&ff_##x##_protocol);                \
49     }
50
51 void av_register_all(void)
52 {
53     static int initialized;
54
55     if (initialized)
56         return;
57     initialized = 1;
58
59     avcodec_register_all();
60
61     /* (de)muxers */
62     REGISTER_MUXER   (A64,              a64);
63     REGISTER_DEMUXER (AAC,              aac);
64     REGISTER_MUXDEMUX(AC3,              ac3);
65     REGISTER_DEMUXER (ACT,              act);
66     REGISTER_DEMUXER (ADF,              adf);
67     REGISTER_DEMUXER (ADP,              adp);
68     REGISTER_MUXER   (ADTS,             adts);
69     REGISTER_MUXDEMUX(ADX,              adx);
70     REGISTER_DEMUXER (AEA,              aea);
71     REGISTER_DEMUXER (AFC,              afc);
72     REGISTER_MUXDEMUX(AIFF,             aiff);
73     REGISTER_MUXDEMUX(AMR,              amr);
74     REGISTER_DEMUXER (ANM,              anm);
75     REGISTER_DEMUXER (APC,              apc);
76     REGISTER_DEMUXER (APE,              ape);
77     REGISTER_MUXDEMUX(APNG,             apng);
78     REGISTER_DEMUXER (AQTITLE,          aqtitle);
79     REGISTER_MUXDEMUX(ASF,              asf);
80     REGISTER_MUXDEMUX(ASS,              ass);
81     REGISTER_MUXDEMUX(AST,              ast);
82     REGISTER_MUXER   (ASF_STREAM,       asf_stream);
83     REGISTER_MUXDEMUX(AU,               au);
84     REGISTER_MUXDEMUX(AVI,              avi);
85     REGISTER_DEMUXER (AVISYNTH,         avisynth);
86     REGISTER_MUXER   (AVM2,             avm2);
87     REGISTER_DEMUXER (AVR,              avr);
88     REGISTER_DEMUXER (AVS,              avs);
89     REGISTER_DEMUXER (BETHSOFTVID,      bethsoftvid);
90     REGISTER_DEMUXER (BFI,              bfi);
91     REGISTER_DEMUXER (BINTEXT,          bintext);
92     REGISTER_DEMUXER (BINK,             bink);
93     REGISTER_MUXDEMUX(BIT,              bit);
94     REGISTER_DEMUXER (BMV,              bmv);
95     REGISTER_DEMUXER (BFSTM,            bfstm);
96     REGISTER_DEMUXER (BRSTM,            brstm);
97     REGISTER_DEMUXER (BOA,              boa);
98     REGISTER_DEMUXER (C93,              c93);
99     REGISTER_MUXDEMUX(CAF,              caf);
100     REGISTER_MUXDEMUX(CAVSVIDEO,        cavsvideo);
101     REGISTER_DEMUXER (CDG,              cdg);
102     REGISTER_DEMUXER (CDXL,             cdxl);
103     REGISTER_DEMUXER (CINE,             cine);
104     REGISTER_DEMUXER (CONCAT,           concat);
105     REGISTER_MUXER   (CRC,              crc);
106     REGISTER_MUXER   (DASH,             dash);
107     REGISTER_MUXDEMUX(DATA,             data);
108     REGISTER_MUXDEMUX(DAUD,             daud);
109     REGISTER_DEMUXER (DFA,              dfa);
110     REGISTER_MUXDEMUX(DIRAC,            dirac);
111     REGISTER_MUXDEMUX(DNXHD,            dnxhd);
112     REGISTER_DEMUXER (DSF,              dsf);
113     REGISTER_DEMUXER (DSICIN,           dsicin);
114     REGISTER_DEMUXER (DSS,              dss);
115     REGISTER_MUXDEMUX(DTS,              dts);
116     REGISTER_DEMUXER (DTSHD,            dtshd);
117     REGISTER_MUXDEMUX(DV,               dv);
118     REGISTER_DEMUXER (DVBSUB,           dvbsub);
119     REGISTER_DEMUXER (DXA,              dxa);
120     REGISTER_DEMUXER (EA,               ea);
121     REGISTER_DEMUXER (EA_CDATA,         ea_cdata);
122     REGISTER_MUXDEMUX(EAC3,             eac3);
123     REGISTER_DEMUXER (EPAF,             epaf);
124     REGISTER_MUXER   (F4V,              f4v);
125     REGISTER_MUXDEMUX(FFM,              ffm);
126     REGISTER_MUXDEMUX(FFMETADATA,       ffmetadata);
127     REGISTER_MUXDEMUX(FILMSTRIP,        filmstrip);
128     REGISTER_MUXDEMUX(FLAC,             flac);
129     REGISTER_DEMUXER (FLIC,             flic);
130     REGISTER_MUXDEMUX(FLV,              flv);
131     REGISTER_DEMUXER (LIVE_FLV,         live_flv);
132     REGISTER_DEMUXER (FOURXM,           fourxm);
133     REGISTER_MUXER   (FRAMECRC,         framecrc);
134     REGISTER_MUXER   (FRAMEMD5,         framemd5);
135     REGISTER_DEMUXER (FRM,              frm);
136     REGISTER_MUXDEMUX(G722,             g722);
137     REGISTER_MUXDEMUX(G723_1,           g723_1);
138     REGISTER_DEMUXER (G729,             g729);
139     REGISTER_MUXDEMUX(GIF,              gif);
140     REGISTER_DEMUXER (GSM,              gsm);
141     REGISTER_MUXDEMUX(GXF,              gxf);
142     REGISTER_MUXDEMUX(H261,             h261);
143     REGISTER_MUXDEMUX(H263,             h263);
144     REGISTER_MUXDEMUX(H264,             h264);
145     REGISTER_MUXER   (HDS,              hds);
146     REGISTER_MUXDEMUX(HEVC,             hevc);
147     REGISTER_MUXDEMUX(HLS,              hls);
148     REGISTER_DEMUXER (HNM,              hnm);
149     REGISTER_MUXDEMUX(ICO,              ico);
150     REGISTER_DEMUXER (IDCIN,            idcin);
151     REGISTER_DEMUXER (IDF,              idf);
152     REGISTER_DEMUXER (IFF,              iff);
153     REGISTER_MUXDEMUX(ILBC,             ilbc);
154     REGISTER_MUXDEMUX(IMAGE2,           image2);
155     REGISTER_MUXDEMUX(IMAGE2PIPE,       image2pipe);
156     REGISTER_DEMUXER (IMAGE2_ALIAS_PIX, image2_alias_pix);
157     REGISTER_DEMUXER (IMAGE2_BRENDER_PIX, image2_brender_pix);
158     REGISTER_DEMUXER (INGENIENT,        ingenient);
159     REGISTER_DEMUXER (IPMOVIE,          ipmovie);
160     REGISTER_MUXER   (IPOD,             ipod);
161     REGISTER_MUXDEMUX(IRCAM,            ircam);
162     REGISTER_MUXER   (ISMV,             ismv);
163     REGISTER_DEMUXER (ISS,              iss);
164     REGISTER_DEMUXER (IV8,              iv8);
165     REGISTER_MUXDEMUX(IVF,              ivf);
166     REGISTER_MUXDEMUX(JACOSUB,          jacosub);
167     REGISTER_DEMUXER (JV,               jv);
168     REGISTER_MUXDEMUX(LATM,             latm);
169     REGISTER_DEMUXER (LMLM4,            lmlm4);
170     REGISTER_DEMUXER (LOAS,             loas);
171     REGISTER_MUXDEMUX(LRC,              lrc);
172     REGISTER_DEMUXER (LVF,              lvf);
173     REGISTER_DEMUXER (LXF,              lxf);
174     REGISTER_MUXDEMUX(M4V,              m4v);
175     REGISTER_MUXER   (MD5,              md5);
176     REGISTER_MUXDEMUX(MATROSKA,         matroska);
177     REGISTER_MUXER   (MATROSKA_AUDIO,   matroska_audio);
178     REGISTER_DEMUXER (MGSTS,            mgsts);
179     REGISTER_MUXDEMUX(MICRODVD,         microdvd);
180     REGISTER_MUXDEMUX(MJPEG,            mjpeg);
181     REGISTER_MUXDEMUX(MLP,              mlp);
182     REGISTER_DEMUXER (MLV,              mlv);
183     REGISTER_DEMUXER (MM,               mm);
184     REGISTER_MUXDEMUX(MMF,              mmf);
185     REGISTER_MUXDEMUX(MOV,              mov);
186     REGISTER_MUXER   (MP2,              mp2);
187     REGISTER_MUXDEMUX(MP3,              mp3);
188     REGISTER_MUXER   (MP4,              mp4);
189     REGISTER_DEMUXER (MPC,              mpc);
190     REGISTER_DEMUXER (MPC8,             mpc8);
191     REGISTER_MUXER   (MPEG1SYSTEM,      mpeg1system);
192     REGISTER_MUXER   (MPEG1VCD,         mpeg1vcd);
193     REGISTER_MUXER   (MPEG1VIDEO,       mpeg1video);
194     REGISTER_MUXER   (MPEG2DVD,         mpeg2dvd);
195     REGISTER_MUXER   (MPEG2SVCD,        mpeg2svcd);
196     REGISTER_MUXER   (MPEG2VIDEO,       mpeg2video);
197     REGISTER_MUXER   (MPEG2VOB,         mpeg2vob);
198     REGISTER_DEMUXER (MPEGPS,           mpegps);
199     REGISTER_MUXDEMUX(MPEGTS,           mpegts);
200     REGISTER_DEMUXER (MPEGTSRAW,        mpegtsraw);
201     REGISTER_DEMUXER (MPEGVIDEO,        mpegvideo);
202     REGISTER_MUXDEMUX(MPJPEG,           mpjpeg);
203     REGISTER_DEMUXER (MPL2,             mpl2);
204     REGISTER_DEMUXER (MPSUB,            mpsub);
205     REGISTER_DEMUXER (MSNWC_TCP,        msnwc_tcp);
206     REGISTER_DEMUXER (MTV,              mtv);
207     REGISTER_DEMUXER (MV,               mv);
208     REGISTER_DEMUXER (MVI,              mvi);
209     REGISTER_MUXDEMUX(MXF,              mxf);
210     REGISTER_MUXER   (MXF_D10,          mxf_d10);
211     REGISTER_MUXER   (MXF_OPATOM,       mxf_opatom);
212     REGISTER_DEMUXER (MXG,              mxg);
213     REGISTER_DEMUXER (NC,               nc);
214     REGISTER_DEMUXER (NISTSPHERE,       nistsphere);
215     REGISTER_DEMUXER (NSV,              nsv);
216     REGISTER_MUXER   (NULL,             null);
217     REGISTER_MUXDEMUX(NUT,              nut);
218     REGISTER_DEMUXER (NUV,              nuv);
219     REGISTER_MUXER   (OGA,              oga);
220     REGISTER_MUXDEMUX(OGG,              ogg);
221     REGISTER_MUXDEMUX(OMA,              oma);
222     REGISTER_MUXER   (OPUS,             opus);
223     REGISTER_DEMUXER (PAF,              paf);
224     REGISTER_MUXDEMUX(PCM_ALAW,         pcm_alaw);
225     REGISTER_MUXDEMUX(PCM_MULAW,        pcm_mulaw);
226     REGISTER_MUXDEMUX(PCM_F64BE,        pcm_f64be);
227     REGISTER_MUXDEMUX(PCM_F64LE,        pcm_f64le);
228     REGISTER_MUXDEMUX(PCM_F32BE,        pcm_f32be);
229     REGISTER_MUXDEMUX(PCM_F32LE,        pcm_f32le);
230     REGISTER_MUXDEMUX(PCM_S32BE,        pcm_s32be);
231     REGISTER_MUXDEMUX(PCM_S32LE,        pcm_s32le);
232     REGISTER_MUXDEMUX(PCM_S24BE,        pcm_s24be);
233     REGISTER_MUXDEMUX(PCM_S24LE,        pcm_s24le);
234     REGISTER_MUXDEMUX(PCM_S16BE,        pcm_s16be);
235     REGISTER_MUXDEMUX(PCM_S16LE,        pcm_s16le);
236     REGISTER_MUXDEMUX(PCM_S8,           pcm_s8);
237     REGISTER_MUXDEMUX(PCM_U32BE,        pcm_u32be);
238     REGISTER_MUXDEMUX(PCM_U32LE,        pcm_u32le);
239     REGISTER_MUXDEMUX(PCM_U24BE,        pcm_u24be);
240     REGISTER_MUXDEMUX(PCM_U24LE,        pcm_u24le);
241     REGISTER_MUXDEMUX(PCM_U16BE,        pcm_u16be);
242     REGISTER_MUXDEMUX(PCM_U16LE,        pcm_u16le);
243     REGISTER_MUXDEMUX(PCM_U8,           pcm_u8);
244     REGISTER_DEMUXER (PJS,              pjs);
245     REGISTER_DEMUXER (PMP,              pmp);
246     REGISTER_MUXER   (PSP,              psp);
247     REGISTER_DEMUXER (PVA,              pva);
248     REGISTER_DEMUXER (PVF,              pvf);
249     REGISTER_DEMUXER (QCP,              qcp);
250     REGISTER_DEMUXER (R3D,              r3d);
251     REGISTER_MUXDEMUX(RAWVIDEO,         rawvideo);
252     REGISTER_DEMUXER (REALTEXT,         realtext);
253     REGISTER_DEMUXER (REDSPARK,         redspark);
254     REGISTER_DEMUXER (RL2,              rl2);
255     REGISTER_MUXDEMUX(RM,               rm);
256     REGISTER_MUXDEMUX(ROQ,              roq);
257     REGISTER_DEMUXER (RPL,              rpl);
258     REGISTER_DEMUXER (RSD,              rsd);
259     REGISTER_MUXDEMUX(RSO,              rso);
260     REGISTER_MUXDEMUX(RTP,              rtp);
261     REGISTER_MUXER   (RTP_MPEGTS,       rtp_mpegts);
262     REGISTER_MUXDEMUX(RTSP,             rtsp);
263     REGISTER_DEMUXER (SAMI,             sami);
264     REGISTER_MUXDEMUX(SAP,              sap);
265     REGISTER_DEMUXER (SBG,              sbg);
266     REGISTER_DEMUXER (SDP,              sdp);
267     REGISTER_DEMUXER (SDR2,             sdr2);
268 #if CONFIG_RTPDEC
269     ff_register_rtp_dynamic_payload_handlers();
270     ff_register_rdt_dynamic_payload_handlers();
271 #endif
272     REGISTER_DEMUXER (SEGAFILM,         segafilm);
273     REGISTER_MUXER   (SEGMENT,          segment);
274     REGISTER_MUXER   (SEGMENT,          stream_segment);
275     REGISTER_DEMUXER (SHORTEN,          shorten);
276     REGISTER_DEMUXER (SIFF,             siff);
277     REGISTER_MUXER   (SINGLEJPEG,       singlejpeg);
278     REGISTER_DEMUXER (SLN,              sln);
279     REGISTER_DEMUXER (SMACKER,          smacker);
280     REGISTER_MUXDEMUX(SMJPEG,           smjpeg);
281     REGISTER_MUXER   (SMOOTHSTREAMING,  smoothstreaming);
282     REGISTER_DEMUXER (SMUSH,            smush);
283     REGISTER_DEMUXER (SOL,              sol);
284     REGISTER_MUXDEMUX(SOX,              sox);
285     REGISTER_MUXER   (SPX,              spx);
286     REGISTER_MUXDEMUX(SPDIF,            spdif);
287     REGISTER_MUXDEMUX(SRT,              srt);
288     REGISTER_DEMUXER (STR,              str);
289     REGISTER_DEMUXER (STL,              stl);
290     REGISTER_DEMUXER (SUBVIEWER1,       subviewer1);
291     REGISTER_DEMUXER (SUBVIEWER,        subviewer);
292     REGISTER_DEMUXER (SUP,              sup);
293     REGISTER_MUXDEMUX(SWF,              swf);
294     REGISTER_DEMUXER (TAK,              tak);
295     REGISTER_MUXER   (TEE,              tee);
296     REGISTER_DEMUXER (TEDCAPTIONS,      tedcaptions);
297     REGISTER_MUXER   (TG2,              tg2);
298     REGISTER_MUXER   (TGP,              tgp);
299     REGISTER_DEMUXER (THP,              thp);
300     REGISTER_DEMUXER (TIERTEXSEQ,       tiertexseq);
301     REGISTER_MUXER   (MKVTIMESTAMP_V2,  mkvtimestamp_v2);
302     REGISTER_DEMUXER (TMV,              tmv);
303     REGISTER_MUXDEMUX(TRUEHD,           truehd);
304     REGISTER_DEMUXER (TTA,              tta);
305     REGISTER_DEMUXER (TXD,              txd);
306     REGISTER_DEMUXER (TTY,              tty);
307     REGISTER_MUXER   (UNCODEDFRAMECRC,  uncodedframecrc);
308     REGISTER_MUXDEMUX(VC1,              vc1);
309     REGISTER_MUXDEMUX(VC1T,             vc1t);
310     REGISTER_DEMUXER (VIVO,             vivo);
311     REGISTER_DEMUXER (VMD,              vmd);
312     REGISTER_DEMUXER (VOBSUB,           vobsub);
313     REGISTER_MUXDEMUX(VOC,              voc);
314     REGISTER_DEMUXER (VPLAYER,          vplayer);
315     REGISTER_DEMUXER (VQF,              vqf);
316     REGISTER_MUXDEMUX(W64,              w64);
317     REGISTER_MUXDEMUX(WAV,              wav);
318     REGISTER_DEMUXER (WC3,              wc3);
319     REGISTER_MUXER   (WEBM,             webm);
320     REGISTER_MUXDEMUX(WEBM_DASH_MANIFEST, webm_dash_manifest);
321     REGISTER_MUXER   (WEBM_CHUNK,       webm_chunk);
322     REGISTER_MUXER   (WEBP,             webp);
323     REGISTER_MUXDEMUX(WEBVTT,           webvtt);
324     REGISTER_DEMUXER (WSAUD,            wsaud);
325     REGISTER_DEMUXER (WSVQA,            wsvqa);
326     REGISTER_MUXDEMUX(WTV,              wtv);
327     REGISTER_MUXDEMUX(WV,               wv);
328     REGISTER_DEMUXER (XA,               xa);
329     REGISTER_DEMUXER (XBIN,             xbin);
330     REGISTER_DEMUXER (XMV,              xmv);
331     REGISTER_DEMUXER (XWMA,             xwma);
332     REGISTER_DEMUXER (YOP,              yop);
333     REGISTER_MUXDEMUX(YUV4MPEGPIPE,     yuv4mpegpipe);
334
335     /* image demuxers */
336     REGISTER_DEMUXER (IMAGE_BMP_PIPE,        image_bmp_pipe);
337     REGISTER_DEMUXER (IMAGE_DPX_PIPE,        image_dpx_pipe);
338     REGISTER_DEMUXER (IMAGE_EXR_PIPE,        image_exr_pipe);
339     REGISTER_DEMUXER (IMAGE_J2K_PIPE,        image_j2k_pipe);
340     REGISTER_DEMUXER (IMAGE_JPEG_PIPE,       image_jpeg_pipe);
341     REGISTER_DEMUXER (IMAGE_JPEGLS_PIPE,     image_jpegls_pipe);
342     REGISTER_DEMUXER (IMAGE_PICTOR_PIPE,     image_pictor_pipe);
343     REGISTER_DEMUXER (IMAGE_PNG_PIPE,        image_png_pipe);
344     REGISTER_DEMUXER (IMAGE_QDRAW_PIPE,      image_qdraw_pipe);
345     REGISTER_DEMUXER (IMAGE_SGI_PIPE,        image_sgi_pipe);
346     REGISTER_DEMUXER (IMAGE_SUNRAST_PIPE,    image_sunrast_pipe);
347     REGISTER_DEMUXER (IMAGE_TIFF_PIPE,       image_tiff_pipe);
348     REGISTER_DEMUXER (IMAGE_WEBP_PIPE,       image_webp_pipe);
349
350
351     /* protocols */
352     REGISTER_PROTOCOL(BLURAY,           bluray);
353     REGISTER_PROTOCOL(CACHE,            cache);
354     REGISTER_PROTOCOL(CONCAT,           concat);
355     REGISTER_PROTOCOL(CRYPTO,           crypto);
356     REGISTER_PROTOCOL(DATA,             data);
357     REGISTER_PROTOCOL(FFRTMPCRYPT,      ffrtmpcrypt);
358     REGISTER_PROTOCOL(FFRTMPHTTP,       ffrtmphttp);
359     REGISTER_PROTOCOL(FILE,             file);
360     REGISTER_PROTOCOL(FTP,              ftp);
361     REGISTER_PROTOCOL(GOPHER,           gopher);
362     REGISTER_PROTOCOL(HLS,              hls);
363     REGISTER_PROTOCOL(HTTP,             http);
364     REGISTER_PROTOCOL(HTTPPROXY,        httpproxy);
365     REGISTER_PROTOCOL(HTTPS,            https);
366     REGISTER_PROTOCOL(ICECAST,          icecast);
367     REGISTER_PROTOCOL(MMSH,             mmsh);
368     REGISTER_PROTOCOL(MMST,             mmst);
369     REGISTER_PROTOCOL(MD5,              md5);
370     REGISTER_PROTOCOL(PIPE,             pipe);
371     REGISTER_PROTOCOL(RTMP,             rtmp);
372     REGISTER_PROTOCOL(RTMPE,            rtmpe);
373     REGISTER_PROTOCOL(RTMPS,            rtmps);
374     REGISTER_PROTOCOL(RTMPT,            rtmpt);
375     REGISTER_PROTOCOL(RTMPTE,           rtmpte);
376     REGISTER_PROTOCOL(RTMPTS,           rtmpts);
377     REGISTER_PROTOCOL(RTP,              rtp);
378     REGISTER_PROTOCOL(SCTP,             sctp);
379     REGISTER_PROTOCOL(SRTP,             srtp);
380     REGISTER_PROTOCOL(SUBFILE,          subfile);
381     REGISTER_PROTOCOL(TCP,              tcp);
382     REGISTER_PROTOCOL(TLS_SECURETRANSPORT, tls_securetransport);
383     REGISTER_PROTOCOL(TLS_GNUTLS,       tls_gnutls);
384     REGISTER_PROTOCOL(TLS_OPENSSL,      tls_openssl);
385     REGISTER_PROTOCOL(UDP,              udp);
386     REGISTER_PROTOCOL(UDPLITE,          udplite);
387     REGISTER_PROTOCOL(UNIX,             unix);
388
389     /* external libraries */
390     REGISTER_DEMUXER (LIBGME,           libgme);
391     REGISTER_DEMUXER (LIBMODPLUG,       libmodplug);
392     REGISTER_MUXDEMUX(LIBNUT,           libnut);
393     REGISTER_DEMUXER (LIBQUVI,          libquvi);
394     REGISTER_PROTOCOL(LIBRTMP,          librtmp);
395     REGISTER_PROTOCOL(LIBRTMPE,         librtmpe);
396     REGISTER_PROTOCOL(LIBRTMPS,         librtmps);
397     REGISTER_PROTOCOL(LIBRTMPT,         librtmpt);
398     REGISTER_PROTOCOL(LIBRTMPTE,        librtmpte);
399     REGISTER_PROTOCOL(LIBSSH,           libssh);
400     REGISTER_PROTOCOL(LIBSMBCLIENT,     libsmbclient);
401 }