annotate allformats.c @ 3440:f9cf53254a61 libavformat

remove ugly ffm_nopts hack, use AVFormatContext->timestamp
author bcoudurier
date Mon, 09 Jun 2008 00:24:29 +0000
parents 0dfc37ba9453
children 5ad678c7e341
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
1 /*
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
2 * Register all the formats and protocols
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
3 * Copyright (c) 2000, 2001, 2002 Fabrice Bellard
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
4 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
5 * This file is part of FFmpeg.
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
6 *
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
11 *
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
15 * Lesser General Public License for more details.
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
16 *
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
1358
0899bfe4105c Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 1324
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
896
edbe5c3717f9 Update licensing information: The FSF changed postal address.
diego
parents: 885
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
20 */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
21 #include "avformat.h"
2545
213268d7594e move unrelated functions declarations out of allformats.h
aurel
parents: 2534
diff changeset
22 #include "rtp_internal.h"
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
23
2561
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
24 #define REGISTER_MUXER(X,x) { \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
25 extern AVOutputFormat x##_muxer; \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
26 if(ENABLE_##X##_MUXER) av_register_output_format(&x##_muxer); }
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
27 #define REGISTER_DEMUXER(X,x) { \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
28 extern AVInputFormat x##_demuxer; \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
29 if(ENABLE_##X##_DEMUXER) av_register_input_format(&x##_demuxer); }
1541
463d731628b3 cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents: 1483
diff changeset
30 #define REGISTER_MUXDEMUX(X,x) REGISTER_MUXER(X,x); REGISTER_DEMUXER(X,x)
2561
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
31 #define REGISTER_PROTOCOL(X,x) { \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
32 extern URLProtocol x##_protocol; \
4054c3ecddee remove last dependencies on allformats.h and allcodecs.h
aurel
parents: 2548
diff changeset
33 if(ENABLE_##X##_PROTOCOL) register_protocol(&x##_protocol); }
1541
463d731628b3 cleanup the #ifdef mess in muxer/demuxer registration
aurel
parents: 1483
diff changeset
34
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
35 /* If you do not call this function, then you can select exactly which
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
36 formats you want to support */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
37
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
38 /**
1975
d9386bc44b82 Fix copy and paste error in comment.
diego
parents: 1974
diff changeset
39 * Initialize libavformat and register all the (de)muxers and protocols.
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
40 */
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
41 void av_register_all(void)
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
42 {
3035
f5de7bad2bb9 typo fix: inited --> initialized
diego
parents: 2984
diff changeset
43 static int initialized;
885
da1d5db0ce5c COSMETICS: Remove all trailing whitespace.
diego
parents: 858
diff changeset
44
3035
f5de7bad2bb9 typo fix: inited --> initialized
diego
parents: 2984
diff changeset
45 if (initialized)
553
9e80f7595694 prevent multiple av_register_all()
michael
parents: 533
diff changeset
46 return;
3035
f5de7bad2bb9 typo fix: inited --> initialized
diego
parents: 2984
diff changeset
47 initialized = 1;
553
9e80f7595694 prevent multiple av_register_all()
michael
parents: 533
diff changeset
48
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
49 avcodec_init();
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
50 avcodec_register_all();
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
51
2715
c15be6c85ab4 Add some explanatory comments.
diego
parents: 2709
diff changeset
52 /* (de)muxers */
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
53 REGISTER_DEMUXER (AAC, aac);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
54 REGISTER_MUXDEMUX (AC3, ac3);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
55 REGISTER_MUXER (ADTS, adts);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
56 REGISTER_MUXDEMUX (AIFF, aiff);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
57 REGISTER_MUXDEMUX (AMR, amr);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
58 REGISTER_DEMUXER (APC, apc);
2548
276257e703af Monkey Audio decoder
kostya
parents: 2545
diff changeset
59 REGISTER_DEMUXER (APE, ape);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
60 REGISTER_MUXDEMUX (ASF, asf);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
61 REGISTER_MUXER (ASF_STREAM, asf_stream);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
62 REGISTER_MUXDEMUX (AU, au);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
63 REGISTER_MUXDEMUX (AVI, avi);
2580
f7e6f4b33f77 Fix avisynth compilation after allformats.h was removed
ramiro
parents: 2561
diff changeset
64 REGISTER_DEMUXER (AVISYNTH, avisynth);
2956
255cddcf7b35 reorder alphabetically
bcoudurier
parents: 2955
diff changeset
65 REGISTER_MUXER (AVM2, avm2);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
66 REGISTER_DEMUXER (AVS, avs);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
67 REGISTER_DEMUXER (BETHSOFTVID, bethsoftvid);
3213
d5ad219a794f BFI demuxer
vitor
parents: 3197
diff changeset
68 REGISTER_DEMUXER (BFI, bfi);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
69 REGISTER_DEMUXER (C93, c93);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
70 REGISTER_MUXER (CRC, crc);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
71 REGISTER_DEMUXER (DAUD, daud);
3272
07038dc492ab Import Dirac demuxer/muxer from SoC branch; written by Marco Gerards,
lu_zero
parents: 3269
diff changeset
72 REGISTER_MUXDEMUX (DIRAC, dirac);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
73 REGISTER_DEMUXER (DSICIN, dsicin);
3235
2a4192999b55 Raw dts muxer
banan
parents: 3220
diff changeset
74 REGISTER_MUXDEMUX (DTS, dts);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
75 REGISTER_MUXDEMUX (DV, dv);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
76 REGISTER_DEMUXER (DXA, dxa);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
77 REGISTER_DEMUXER (EA, ea);
2701
25028505671c add support for demuxing Electronic Arts .cdata files
aurel
parents: 2682
diff changeset
78 REGISTER_DEMUXER (EA_CDATA, ea_cdata);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
79 REGISTER_MUXDEMUX (FFM, ffm);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
80 REGISTER_MUXDEMUX (FLAC, flac);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
81 REGISTER_DEMUXER (FLIC, flic);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
82 REGISTER_MUXDEMUX (FLV, flv);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
83 REGISTER_DEMUXER (FOURXM, fourxm);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
84 REGISTER_MUXER (FRAMECRC, framecrc);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
85 REGISTER_MUXDEMUX (GIF, gif);
3269
55d4f01c9728 raw GSM demuxer (does not work yet as parser is missing)
michael
parents: 3235
diff changeset
86 REGISTER_DEMUXER (GSM, gsm);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
87 REGISTER_MUXDEMUX (GXF, gxf);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
88 REGISTER_MUXDEMUX (H261, h261);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
89 REGISTER_MUXDEMUX (H263, h263);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
90 REGISTER_MUXDEMUX (H264, h264);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
91 REGISTER_DEMUXER (IDCIN, idcin);
3189
f016d69a28b6 IFF demuxer
vitor
parents: 3186
diff changeset
92 REGISTER_DEMUXER (IFF, iff);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
93 REGISTER_MUXDEMUX (IMAGE2, image2);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
94 REGISTER_MUXDEMUX (IMAGE2PIPE, image2pipe);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
95 REGISTER_DEMUXER (INGENIENT, ingenient);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
96 REGISTER_DEMUXER (IPMOVIE, ipmovie);
3143
7f0f50bbfe23 ipod/iphone compatible mp4 muxer
bcoudurier
parents: 3035
diff changeset
97 REGISTER_MUXER (IPOD, ipod);
2911
ae79fd89ca8b Linux Media Labs MPEG-4 (LMLM4) demuxer
ivo
parents: 2888
diff changeset
98 REGISTER_DEMUXER (LMLM4, lmlm4);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
99 REGISTER_MUXDEMUX (M4V, m4v);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
100 REGISTER_MUXDEMUX (MATROSKA, matroska);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
101 REGISTER_MUXER (MATROSKA_AUDIO, matroska_audio);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
102 REGISTER_MUXDEMUX (MJPEG, mjpeg);
3405
9e77f940abc4 raw mlp demuxer
ramiro
parents: 3272
diff changeset
103 REGISTER_DEMUXER (MLP, mlp);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
104 REGISTER_DEMUXER (MM, mm);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
105 REGISTER_MUXDEMUX (MMF, mmf);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
106 REGISTER_MUXDEMUX (MOV, mov);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
107 REGISTER_MUXER (MP2, mp2);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
108 REGISTER_MUXDEMUX (MP3, mp3);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
109 REGISTER_MUXER (MP4, mp4);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
110 REGISTER_DEMUXER (MPC, mpc);
2709
8f923b7f5462 Musepack SV8 demuxer and decoder
kostya
parents: 2701
diff changeset
111 REGISTER_DEMUXER (MPC8, mpc8);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
112 REGISTER_MUXER (MPEG1SYSTEM, mpeg1system);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
113 REGISTER_MUXER (MPEG1VCD, mpeg1vcd);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
114 REGISTER_MUXER (MPEG1VIDEO, mpeg1video);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
115 REGISTER_MUXER (MPEG2DVD, mpeg2dvd);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
116 REGISTER_MUXER (MPEG2SVCD, mpeg2svcd);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
117 REGISTER_MUXER (MPEG2VIDEO, mpeg2video);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
118 REGISTER_MUXER (MPEG2VOB, mpeg2vob);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
119 REGISTER_DEMUXER (MPEGPS, mpegps);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
120 REGISTER_MUXDEMUX (MPEGTS, mpegts);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
121 REGISTER_DEMUXER (MPEGTSRAW, mpegtsraw);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
122 REGISTER_DEMUXER (MPEGVIDEO, mpegvideo);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
123 REGISTER_MUXER (MPJPEG, mpjpeg);
3148
f00aeedea66a MSN TCP Webcam stream demuxer.
ramiro
parents: 3143
diff changeset
124 REGISTER_DEMUXER (MSNWC_TCP, msnwc_tcp);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
125 REGISTER_DEMUXER (MTV, mtv);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
126 REGISTER_DEMUXER (MXF, mxf);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
127 REGISTER_DEMUXER (NSV, nsv);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
128 REGISTER_MUXER (NULL, null);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
129 REGISTER_MUXDEMUX (NUT, nut);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
130 REGISTER_DEMUXER (NUV, nuv);
2731
6b43751d7264 ogg muxer
bcoudurier
parents: 2720
diff changeset
131 REGISTER_MUXDEMUX (OGG, ogg);
3439
0dfc37ba9453 Oma demuxer
banan
parents: 3405
diff changeset
132 REGISTER_DEMUXER (OMA, oma);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
133 REGISTER_MUXDEMUX (PCM_ALAW, pcm_alaw);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
134 REGISTER_MUXDEMUX (PCM_MULAW, pcm_mulaw);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
135 REGISTER_MUXDEMUX (PCM_S16BE, pcm_s16be);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
136 REGISTER_MUXDEMUX (PCM_S16LE, pcm_s16le);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
137 REGISTER_MUXDEMUX (PCM_S8, pcm_s8);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
138 REGISTER_MUXDEMUX (PCM_U16BE, pcm_u16be);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
139 REGISTER_MUXDEMUX (PCM_U16LE, pcm_u16le);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
140 REGISTER_MUXDEMUX (PCM_U8, pcm_u8);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
141 REGISTER_MUXER (PSP, psp);
2880
a174a3a0c2c0 TechnoTrend PVA Demuxer
ivo
parents: 2776
diff changeset
142 REGISTER_DEMUXER (PVA, pva);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
143 REGISTER_MUXDEMUX (RAWVIDEO, rawvideo);
3186
196e3f07b4d7 cosmetics: alphabetical order
diego
parents: 3172
diff changeset
144 REGISTER_DEMUXER (REDIR, redir);
3172
c806866fa0cc rl2 demuxer
faust3
parents: 3148
diff changeset
145 REGISTER_DEMUXER (RL2, rl2);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
146 REGISTER_MUXDEMUX (RM, rm);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
147 REGISTER_MUXDEMUX (ROQ, roq);
3197
e56c575b6717 ARMovie/RPL demuxer
superdump
parents: 3189
diff changeset
148 REGISTER_DEMUXER (RPL, rpl);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
149 REGISTER_MUXER (RTP, rtp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
150 REGISTER_DEMUXER (RTSP, rtsp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
151 REGISTER_DEMUXER (SDP, sdp);
2888
fa2156303c3f Rationalize some dependencies between rtsp and rtp
lucabe
parents: 2880
diff changeset
152 #ifdef CONFIG_SDP_DEMUXER
1419
8fb4910bdcc0 Add support for H264 over RTP
gpoirier
parents: 1381
diff changeset
153 av_register_rtp_dynamic_payload_handlers();
1169
d18cc9a1fd02 allow individual selection of muxers and demuxers
mru
parents: 1145
diff changeset
154 #endif
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
155 REGISTER_DEMUXER (SEGAFILM, segafilm);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
156 REGISTER_DEMUXER (SHORTEN, shorten);
2659
883daa175be1 Beam Software SIFF demuxer and video decoder
kostya
parents: 2648
diff changeset
157 REGISTER_DEMUXER (SIFF, siff);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
158 REGISTER_DEMUXER (SMACKER, smacker);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
159 REGISTER_DEMUXER (SOL, sol);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
160 REGISTER_DEMUXER (STR, str);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
161 REGISTER_MUXDEMUX (SWF, swf);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
162 REGISTER_MUXER (TG2, tg2);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
163 REGISTER_MUXER (TGP, tgp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
164 REGISTER_DEMUXER (THP, thp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
165 REGISTER_DEMUXER (TIERTEXSEQ, tiertexseq);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
166 REGISTER_DEMUXER (TTA, tta);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
167 REGISTER_DEMUXER (TXD, txd);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
168 REGISTER_DEMUXER (VC1, vc1);
2984
d993d7e321d6 SMPTE 421 Annex L format demuxer
kostya
parents: 2956
diff changeset
169 REGISTER_DEMUXER (VC1T, vc1t);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
170 REGISTER_DEMUXER (VMD, vmd);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
171 REGISTER_MUXDEMUX (VOC, voc);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
172 REGISTER_MUXDEMUX (WAV, wav);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
173 REGISTER_DEMUXER (WC3, wc3);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
174 REGISTER_DEMUXER (WSAUD, wsaud);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
175 REGISTER_DEMUXER (WSVQA, wsvqa);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
176 REGISTER_DEMUXER (WV, wv);
3220
a0ccee85d6ad Maxis XA demuxer and decoder.
benoit
parents: 3213
diff changeset
177 REGISTER_DEMUXER (XA, xa);
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
178 REGISTER_MUXDEMUX (YUV4MPEGPIPE, yuv4mpegpipe);
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
179
2716
570c003fe0ed Move external library registrations into a separate block after all native
diego
parents: 2715
diff changeset
180 /* external libraries */
570c003fe0ed Move external library registrations into a separate block after all native
diego
parents: 2715
diff changeset
181 REGISTER_MUXDEMUX (LIBNUT, libnut);
570c003fe0ed Move external library registrations into a separate block after all native
diego
parents: 2715
diff changeset
182
2715
c15be6c85ab4 Add some explanatory comments.
diego
parents: 2709
diff changeset
183 /* protocols */
2531
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
184 REGISTER_PROTOCOL (FILE, file);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
185 REGISTER_PROTOCOL (HTTP, http);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
186 REGISTER_PROTOCOL (PIPE, pipe);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
187 REGISTER_PROTOCOL (RTP, rtp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
188 REGISTER_PROTOCOL (TCP, tcp);
d126dc8b628c cosmetics: Add some whitespace for better readability.
diego
parents: 2526
diff changeset
189 REGISTER_PROTOCOL (UDP, udp);
0
05318cf2e886 renamed libav to libavformat
bellard
parents:
diff changeset
190 }