Document url_seek().
[libav.git] / libavformat / Makefile
CommitLineData
71c61f62 1include $(SUBDIR)../config.mak
f57a4535 2
9b25f4a6
DB
3NAME = avformat
4FFLIBS = avcodec avutil
5
3b0fc605 6HEADERS = avformat.h avio.h
c9a65ca8 7
15674f12
DB
8OBJS = allformats.o \
9 cutils.o \
10 metadata.o \
11 metadata_compat.o \
12 options.o \
13 os_support.o \
14 sdp.o \
15 seek.o \
16 utils.o \
f0e60235 17
ff70e601 18# muxers/demuxers
d9982edf 19OBJS-$(CONFIG_AAC_DEMUXER) += raw.o id3v1.o id3v2.o
a4b120f3
DB
20OBJS-$(CONFIG_AC3_DEMUXER) += raw.o
21OBJS-$(CONFIG_AC3_MUXER) += raw.o
ff70e601 22OBJS-$(CONFIG_ADTS_MUXER) += adtsenc.o
df17dbf7 23OBJS-$(CONFIG_AEA_DEMUXER) += aea.o raw.o
0fa0fa29 24OBJS-$(CONFIG_AIFF_DEMUXER) += aiffdec.o riff.o raw.o
47b47bbd 25OBJS-$(CONFIG_AIFF_MUXER) += aiffenc.o riff.o
ff70e601
MR
26OBJS-$(CONFIG_AMR_DEMUXER) += amr.o
27OBJS-$(CONFIG_AMR_MUXER) += amr.o
e6565055 28OBJS-$(CONFIG_ANM_DEMUXER) += anm.o
8e952e4d 29OBJS-$(CONFIG_APC_DEMUXER) += apc.o
191e34cd 30OBJS-$(CONFIG_APE_DEMUXER) += ape.o apetag.o
15674f12
DB
31OBJS-$(CONFIG_ASF_DEMUXER) += asfdec.o asf.o asfcrypt.o \
32 riff.o avlanguage.o
17af0525 33OBJS-$(CONFIG_ASF_MUXER) += asfenc.o asf.o riff.o
de3ae185 34OBJS-$(CONFIG_ASS_DEMUXER) += assdec.o
88caf345 35OBJS-$(CONFIG_ASS_MUXER) += assenc.o
8f3a44a2
AJ
36OBJS-$(CONFIG_AU_DEMUXER) += au.o raw.o
37OBJS-$(CONFIG_AU_MUXER) += au.o
04d2540c
AK
38OBJS-$(CONFIG_AVI_DEMUXER) += avidec.o riff.o avi.o
39OBJS-$(CONFIG_AVI_MUXER) += avienc.o riff.o avi.o
8ac17293 40OBJS-$(CONFIG_AVISYNTH) += avisynth.o
3b35f4ab 41OBJS-$(CONFIG_AVM2_MUXER) += swfenc.o
8f3a44a2 42OBJS-$(CONFIG_AVS_DEMUXER) += avs.o vocdec.o voc.o
1e6c6759 43OBJS-$(CONFIG_BETHSOFTVID_DEMUXER) += bethsoftvid.o
b64c096b 44OBJS-$(CONFIG_BFI_DEMUXER) += bfi.o
2e375df5 45OBJS-$(CONFIG_BINK_DEMUXER) += bink.o
7f7fdbc8 46OBJS-$(CONFIG_C93_DEMUXER) += c93.o vocdec.o voc.o
5f14b565 47OBJS-$(CONFIG_CAF_DEMUXER) += cafdec.o caf.o mov.o riff.o isom.o
9f2fc126 48OBJS-$(CONFIG_CAVSVIDEO_DEMUXER) += raw.o
a3d995c1 49OBJS-$(CONFIG_CDG_DEMUXER) += cdg.o
39f79f26 50OBJS-$(CONFIG_CRC_MUXER) += crcenc.o
ff70e601 51OBJS-$(CONFIG_DAUD_DEMUXER) += daud.o
51c3861e 52OBJS-$(CONFIG_DAUD_MUXER) += daud.o
0c7b4823 53OBJS-$(CONFIG_DIRAC_DEMUXER) += raw.o
92b2bc59 54OBJS-$(CONFIG_DIRAC_MUXER) += raw.o
bd09e8a7
BC
55OBJS-$(CONFIG_DNXHD_DEMUXER) += raw.o
56OBJS-$(CONFIG_DNXHD_MUXER) += raw.o
72450e50 57OBJS-$(CONFIG_DSICIN_DEMUXER) += dsicin.o
d52b39c7 58OBJS-$(CONFIG_DTS_DEMUXER) += raw.o id3v2.o
92b2bc59 59OBJS-$(CONFIG_DTS_MUXER) += raw.o
ff70e601 60OBJS-$(CONFIG_DV_DEMUXER) += dv.o
d4fc91b4 61OBJS-$(CONFIG_DV_MUXER) += dvenc.o
548fabb9 62OBJS-$(CONFIG_DXA_DEMUXER) += dxa.o riff.o
9abf2433 63OBJS-$(CONFIG_EA_CDATA_DEMUXER) += eacdata.o
ff70e601 64OBJS-$(CONFIG_EA_DEMUXER) += electronicarts.o
d52b39c7 65OBJS-$(CONFIG_EAC3_DEMUXER) += raw.o id3v2.o
2988c93d 66OBJS-$(CONFIG_EAC3_MUXER) += raw.o
85a6b01d
BC
67OBJS-$(CONFIG_FFM_DEMUXER) += ffmdec.o
68OBJS-$(CONFIG_FFM_MUXER) += ffmenc.o
83ab7f18
PR
69OBJS-$(CONFIG_FILMSTRIP_DEMUXER) += filmstripdec.o
70OBJS-$(CONFIG_FILMSTRIP_MUXER) += filmstripenc.o
15674f12 71OBJS-$(CONFIG_FLAC_DEMUXER) += flacdec.o raw.o id3v1.o \
bb45237e 72 id3v2.o oggparsevorbis.o \
66061a12 73 vorbiscomment.o
06ebe916
JR
74OBJS-$(CONFIG_FLAC_MUXER) += flacenc.o flacenc_header.o \
75 vorbiscomment.o
ff70e601
MR
76OBJS-$(CONFIG_FLIC_DEMUXER) += flic.o
77OBJS-$(CONFIG_FLV_DEMUXER) += flvdec.o
750066ea 78OBJS-$(CONFIG_FLV_MUXER) += flvenc.o avc.o
a4b120f3 79OBJS-$(CONFIG_FOURXM_DEMUXER) += 4xm.o
6b6adf2b 80OBJS-$(CONFIG_FRAMECRC_MUXER) += framecrcenc.o
ff70e601 81OBJS-$(CONFIG_GIF_MUXER) += gif.o
d52b39c7 82OBJS-$(CONFIG_GSM_DEMUXER) += raw.o id3v2.o
ff70e601 83OBJS-$(CONFIG_GXF_DEMUXER) += gxf.o
63601677 84OBJS-$(CONFIG_GXF_MUXER) += gxfenc.o audiointerleave.o
a4b120f3
DB
85OBJS-$(CONFIG_H261_DEMUXER) += raw.o
86OBJS-$(CONFIG_H261_MUXER) += raw.o
87OBJS-$(CONFIG_H263_DEMUXER) += raw.o
88OBJS-$(CONFIG_H263_MUXER) += raw.o
89OBJS-$(CONFIG_H264_DEMUXER) += raw.o
90OBJS-$(CONFIG_H264_MUXER) += raw.o
ff70e601 91OBJS-$(CONFIG_IDCIN_DEMUXER) += idcin.o
3a027f5e 92OBJS-$(CONFIG_IFF_DEMUXER) += iff.o
ff70e601 93OBJS-$(CONFIG_IMAGE2_DEMUXER) += img2.o
ff70e601 94OBJS-$(CONFIG_IMAGE2_MUXER) += img2.o
a4b120f3 95OBJS-$(CONFIG_IMAGE2PIPE_DEMUXER) += img2.o
ff70e601 96OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2.o
a4b120f3 97OBJS-$(CONFIG_INGENIENT_DEMUXER) += raw.o
ff70e601 98OBJS-$(CONFIG_IPMOVIE_DEMUXER) += ipmovie.o
055dc116 99OBJS-$(CONFIG_ISS_DEMUXER) += iss.o
00b6fa40 100OBJS-$(CONFIG_IV8_DEMUXER) += iv8.o
670c7847 101OBJS-$(CONFIG_LMLM4_DEMUXER) += lmlm4.o
a4b120f3
DB
102OBJS-$(CONFIG_M4V_DEMUXER) += raw.o
103OBJS-$(CONFIG_M4V_MUXER) += raw.o
15674f12 104OBJS-$(CONFIG_MATROSKA_DEMUXER) += matroskadec.o matroska.o \
6dfa52c8 105 riff.o isom.o rmdec.o rm.o
15674f12 106OBJS-$(CONFIG_MATROSKA_MUXER) += matroskaenc.o matroska.o \
06ebe916
JR
107 riff.o isom.o avc.o \
108 flacenc_header.o
a4b120f3
DB
109OBJS-$(CONFIG_MJPEG_DEMUXER) += raw.o
110OBJS-$(CONFIG_MJPEG_MUXER) += raw.o
d52b39c7 111OBJS-$(CONFIG_MLP_DEMUXER) += raw.o id3v2.o
9145021d 112OBJS-$(CONFIG_MLP_MUXER) += raw.o
ff70e601 113OBJS-$(CONFIG_MM_DEMUXER) += mm.o
8f3a44a2 114OBJS-$(CONFIG_MMF_DEMUXER) += mmf.o raw.o
9d9f4119 115OBJS-$(CONFIG_MMF_MUXER) += mmf.o riff.o
e40ee6a2 116OBJS-$(CONFIG_MOV_DEMUXER) += mov.o riff.o isom.o
1bd2d763 117OBJS-$(CONFIG_MOV_MUXER) += movenc.o riff.o isom.o avc.o
0cd0a224 118OBJS-$(CONFIG_MP2_MUXER) += mp3.o id3v1.o
75411182 119OBJS-$(CONFIG_MP3_DEMUXER) += mp3.o id3v1.o id3v2.o
cd69fa69 120OBJS-$(CONFIG_MP3_MUXER) += mp3.o id3v1.o id3v2.o
311f96a8 121OBJS-$(CONFIG_MPC_DEMUXER) += mpc.o id3v1.o id3v2.o apetag.o
12877faf 122OBJS-$(CONFIG_MPC8_DEMUXER) += mpc8.o
2abe5a01
BC
123OBJS-$(CONFIG_MPEG1SYSTEM_MUXER) += mpegenc.o
124OBJS-$(CONFIG_MPEG1VCD_MUXER) += mpegenc.o
125OBJS-$(CONFIG_MPEG2DVD_MUXER) += mpegenc.o
126OBJS-$(CONFIG_MPEG2VOB_MUXER) += mpegenc.o
127OBJS-$(CONFIG_MPEG2SVCD_MUXER) += mpegenc.o
a4b120f3
DB
128OBJS-$(CONFIG_MPEG1VIDEO_MUXER) += raw.o
129OBJS-$(CONFIG_MPEG2VIDEO_MUXER) += raw.o
ff70e601
MR
130OBJS-$(CONFIG_MPEGPS_DEMUXER) += mpeg.o
131OBJS-$(CONFIG_MPEGTS_DEMUXER) += mpegts.o
8fdd542c 132OBJS-$(CONFIG_MPEGTS_MUXER) += mpegtsenc.o adtsenc.o
a4b120f3 133OBJS-$(CONFIG_MPEGVIDEO_DEMUXER) += raw.o
ff70e601 134OBJS-$(CONFIG_MPJPEG_MUXER) += mpjpeg.o
0f3444e1 135OBJS-$(CONFIG_MSNWC_TCP_DEMUXER) += msnwc_tcp.o
bf507033 136OBJS-$(CONFIG_MTV_DEMUXER) += mtv.o
5b8cc860 137OBJS-$(CONFIG_MVI_DEMUXER) += mvi.o
c69968b4 138OBJS-$(CONFIG_MXF_DEMUXER) += mxfdec.o mxf.o
f1544e79 139OBJS-$(CONFIG_MXF_MUXER) += mxfenc.o mxf.o audiointerleave.o
eaf5d011 140OBJS-$(CONFIG_NC_DEMUXER) += ncdec.o
8f3a44a2 141OBJS-$(CONFIG_NSV_DEMUXER) += nsvdec.o
a4b120f3 142OBJS-$(CONFIG_NULL_MUXER) += raw.o
874abace 143OBJS-$(CONFIG_NUT_DEMUXER) += nutdec.o nut.o riff.o
41b7c75d 144OBJS-$(CONFIG_NUT_MUXER) += nutenc.o nut.o riff.o
9d9f4119 145OBJS-$(CONFIG_NUV_DEMUXER) += nuv.o riff.o
a0ddef24 146OBJS-$(CONFIG_OGG_DEMUXER) += oggdec.o \
24ca518b 147 oggparsedirac.o \
ff70e601 148 oggparseflac.o \
9d9f4119 149 oggparseogm.o \
32ad8692 150 oggparseskeleton.o \
cb4ddf77 151 oggparsespeex.o \
bf22a109
DB
152 oggparsetheora.o \
153 oggparsevorbis.o \
66061a12
JD
154 riff.o \
155 vorbiscomment.o
aeef3ec6
JD
156OBJS-$(CONFIG_OGG_MUXER) += oggenc.o \
157 vorbiscomment.o
92b2bc59 158OBJS-$(CONFIG_OMA_DEMUXER) += oma.o raw.o
078ac1db
AJ
159OBJS-$(CONFIG_PCM_ALAW_DEMUXER) += raw.o
160OBJS-$(CONFIG_PCM_ALAW_MUXER) += raw.o
d52b39c7
AJ
161OBJS-$(CONFIG_PCM_F32BE_DEMUXER) += raw.o
162OBJS-$(CONFIG_PCM_F32BE_MUXER) += raw.o
163OBJS-$(CONFIG_PCM_F32LE_DEMUXER) += raw.o
164OBJS-$(CONFIG_PCM_F32LE_MUXER) += raw.o
165OBJS-$(CONFIG_PCM_F64BE_DEMUXER) += raw.o
166OBJS-$(CONFIG_PCM_F64BE_MUXER) += raw.o
167OBJS-$(CONFIG_PCM_F64LE_DEMUXER) += raw.o
168OBJS-$(CONFIG_PCM_F64LE_MUXER) += raw.o
078ac1db
AJ
169OBJS-$(CONFIG_PCM_MULAW_DEMUXER) += raw.o
170OBJS-$(CONFIG_PCM_MULAW_MUXER) += raw.o
171OBJS-$(CONFIG_PCM_S16BE_DEMUXER) += raw.o
172OBJS-$(CONFIG_PCM_S16BE_MUXER) += raw.o
173OBJS-$(CONFIG_PCM_S16LE_DEMUXER) += raw.o
174OBJS-$(CONFIG_PCM_S16LE_MUXER) += raw.o
d52b39c7
AJ
175OBJS-$(CONFIG_PCM_S24BE_DEMUXER) += raw.o
176OBJS-$(CONFIG_PCM_S24BE_MUXER) += raw.o
177OBJS-$(CONFIG_PCM_S24LE_DEMUXER) += raw.o
178OBJS-$(CONFIG_PCM_S24LE_MUXER) += raw.o
179OBJS-$(CONFIG_PCM_S32BE_DEMUXER) += raw.o
180OBJS-$(CONFIG_PCM_S32BE_MUXER) += raw.o
181OBJS-$(CONFIG_PCM_S32LE_DEMUXER) += raw.o
182OBJS-$(CONFIG_PCM_S32LE_MUXER) += raw.o
078ac1db
AJ
183OBJS-$(CONFIG_PCM_S8_DEMUXER) += raw.o
184OBJS-$(CONFIG_PCM_S8_MUXER) += raw.o
185OBJS-$(CONFIG_PCM_U16BE_DEMUXER) += raw.o
186OBJS-$(CONFIG_PCM_U16BE_MUXER) += raw.o
187OBJS-$(CONFIG_PCM_U16LE_DEMUXER) += raw.o
188OBJS-$(CONFIG_PCM_U16LE_MUXER) += raw.o
d52b39c7
AJ
189OBJS-$(CONFIG_PCM_U24BE_DEMUXER) += raw.o
190OBJS-$(CONFIG_PCM_U24BE_MUXER) += raw.o
191OBJS-$(CONFIG_PCM_U24LE_DEMUXER) += raw.o
192OBJS-$(CONFIG_PCM_U24LE_MUXER) += raw.o
193OBJS-$(CONFIG_PCM_U32BE_DEMUXER) += raw.o
194OBJS-$(CONFIG_PCM_U32BE_MUXER) += raw.o
195OBJS-$(CONFIG_PCM_U32LE_DEMUXER) += raw.o
196OBJS-$(CONFIG_PCM_U32LE_MUXER) += raw.o
078ac1db
AJ
197OBJS-$(CONFIG_PCM_U8_DEMUXER) += raw.o
198OBJS-$(CONFIG_PCM_U8_MUXER) += raw.o
3feb44a9 199OBJS-$(CONFIG_PVA_DEMUXER) += pva.o
cdce0fb8 200OBJS-$(CONFIG_QCP_DEMUXER) += qcp.o
27cb5122 201OBJS-$(CONFIG_R3D_DEMUXER) += r3d.o
ff70e601
MR
202OBJS-$(CONFIG_RAWVIDEO_DEMUXER) += raw.o
203OBJS-$(CONFIG_RAWVIDEO_MUXER) += raw.o
cb96da49 204OBJS-$(CONFIG_RL2_DEMUXER) += rl2.o
7379d5bc
AJ
205OBJS-$(CONFIG_RM_DEMUXER) += rmdec.o rm.o
206OBJS-$(CONFIG_RM_MUXER) += rmenc.o rm.o
a4b120f3 207OBJS-$(CONFIG_ROQ_DEMUXER) += idroq.o
13dec857 208OBJS-$(CONFIG_ROQ_MUXER) += raw.o
4fd51ee3 209OBJS-$(CONFIG_RPL_DEMUXER) += rpl.o
f79bfe48 210OBJS-$(CONFIG_RTP_MUXER) += rtp.o \
22c1f65f
LA
211 rtpenc_aac.o \
212 rtpenc_amr.o \
213 rtpenc_h263.o \
214 rtpenc_mpv.o \
ec005276 215 rtpenc.o \
f79bfe48
LA
216 rtpenc_h264.o \
217 avc.o
aa8bf2fb
MS
218OBJS-$(CONFIG_RTSP_DEMUXER) += rtsp.o httpauth.o
219OBJS-$(CONFIG_RTSP_MUXER) += rtsp.o rtspenc.o httpauth.o
15674f12 220OBJS-$(CONFIG_SDP_DEMUXER) += rtsp.o \
47e9f621 221 rdt.o \
15674f12
DB
222 rtp.o \
223 rtpdec.o \
556aa7a1 224 rtpdec_amr.o \
f65919af 225 rtpdec_asf.o \
45aa9080 226 rtpdec_h263.o \
f65919af 227 rtpdec_h264.o \
887af2aa 228 rtpdec_theora.o \
f65919af 229 rtpdec_vorbis.o
a4b120f3 230OBJS-$(CONFIG_SEGAFILM_DEMUXER) += segafilm.o
d52b39c7 231OBJS-$(CONFIG_SHORTEN_DEMUXER) += raw.o id3v2.o
66f7679c 232OBJS-$(CONFIG_SIFF_DEMUXER) += siff.o
ff70e601 233OBJS-$(CONFIG_SMACKER_DEMUXER) += smacker.o
2115c69f 234OBJS-$(CONFIG_SOL_DEMUXER) += sol.o raw.o
84c04e25 235OBJS-$(CONFIG_SOX_DEMUXER) += soxdec.o raw.o
cbfe5bee 236OBJS-$(CONFIG_SOX_MUXER) += soxenc.o
ab1eff9c 237OBJS-$(CONFIG_SPDIF_MUXER) += spdif.o
a4b120f3 238OBJS-$(CONFIG_STR_DEMUXER) += psxstr.o
3b35f4ab
BC
239OBJS-$(CONFIG_SWF_DEMUXER) += swfdec.o
240OBJS-$(CONFIG_SWF_MUXER) += swfenc.o
efb0c399 241OBJS-$(CONFIG_THP_DEMUXER) += thp.o
20cd83e2 242OBJS-$(CONFIG_TIERTEXSEQ_DEMUXER) += tiertexseq.o
7c7d3e09 243OBJS-$(CONFIG_TMV_DEMUXER) += tmv.o
23d9cc45
RP
244OBJS-$(CONFIG_TRUEHD_DEMUXER) += raw.o id3v2.o
245OBJS-$(CONFIG_TRUEHD_MUXER) += raw.o
22ff3361 246OBJS-$(CONFIG_TTA_DEMUXER) += tta.o id3v1.o id3v2.o
cb631737 247OBJS-$(CONFIG_TXD_DEMUXER) += txd.o
c3eaeadb 248OBJS-$(CONFIG_VC1_DEMUXER) += raw.o
eda178d2 249OBJS-$(CONFIG_VC1T_DEMUXER) += vc1test.o
327ce5e6 250OBJS-$(CONFIG_VC1T_MUXER) += vc1testenc.o
a4b120f3 251OBJS-$(CONFIG_VMD_DEMUXER) += sierravmd.o
8f3a44a2
AJ
252OBJS-$(CONFIG_VOC_DEMUXER) += vocdec.o voc.o
253OBJS-$(CONFIG_VOC_MUXER) += vocenc.o voc.o
616e899c 254OBJS-$(CONFIG_VQF_DEMUXER) += vqf.o
740e89cf 255OBJS-$(CONFIG_W64_DEMUXER) += wav.o riff.o raw.o
2115c69f 256OBJS-$(CONFIG_WAV_DEMUXER) += wav.o riff.o raw.o
9d9f4119 257OBJS-$(CONFIG_WAV_MUXER) += wav.o riff.o
ff70e601
MR
258OBJS-$(CONFIG_WC3_DEMUXER) += wc3movie.o
259OBJS-$(CONFIG_WSAUD_DEMUXER) += westwood.o
260OBJS-$(CONFIG_WSVQA_DEMUXER) += westwood.o
ce8f750c 261OBJS-$(CONFIG_WV_DEMUXER) += wv.o apetag.o id3v1.o
861c63a2 262OBJS-$(CONFIG_XA_DEMUXER) += xa.o
ff70e601
MR
263OBJS-$(CONFIG_YUV4MPEGPIPE_MUXER) += yuv4mpeg.o
264OBJS-$(CONFIG_YUV4MPEGPIPE_DEMUXER) += yuv4mpeg.o
bc634f6f 265
7a7a6486
DB
266# external libraries
267OBJS-$(CONFIG_LIBNUT_DEMUXER) += libnut.o riff.o
268OBJS-$(CONFIG_LIBNUT_MUXER) += libnut.o riff.o
269
04f46ced
GB
270# protocols I/O
271OBJS+= avio.o aviobuf.o
272
c08fb000 273OBJS-$(CONFIG_FILE_PROTOCOL) += file.o
865780ae 274OBJS-$(CONFIG_GOPHER_PROTOCOL) += gopher.o
9405f733 275OBJS-$(CONFIG_HTTP_PROTOCOL) += http.o httpauth.o
c08fb000 276OBJS-$(CONFIG_PIPE_PROTOCOL) += file.o
9fd6b843 277OBJS-$(CONFIG_RTMP_PROTOCOL) += rtmpproto.o rtmppkt.o
c08fb000
AB
278OBJS-$(CONFIG_RTP_PROTOCOL) += rtpproto.o
279OBJS-$(CONFIG_TCP_PROTOCOL) += tcp.o
280OBJS-$(CONFIG_UDP_PROTOCOL) += udp.o
084eb95f 281OBJS-$(CONFIG_CONCAT_PROTOCOL) += concat.o
a74127c0 282
80ff8a16 283# libavdevice dependencies
38e54a75 284OBJS-$(CONFIG_JACK_INDEV) += timefilter.o
80ff8a16 285
43a0cb7c 286EXAMPLES = output
7304c2c4 287TESTPROGS = timefilter
661ce289 288
71c61f62 289include $(SUBDIR)../subdir.mak
33afad54
MR
290
291$(SUBDIR)output-example$(EXESUF): ELIBS = -lswscale