Stefan Fritsch
346ea9e222
http: Consider the stream as seekable if the reply contains Accept-Ranges: bytes
...
The initial request contains "Range: 0-", which servers normally
have responded with "HTTP/1.1 206 Partial Content" reply with
a Content-Range header, which was used as indicator for seekability.
Apache, since 2.2.20, responds with "HTTP/1.1 200 OK" for these
requests, which is more friendly to caches and proxies, but the
seekability still is indicated via the Accept-Ranges: bytes header.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
5ee5dc4e9a
nutenc: add namespace to the api facing functions
...
Rename write_{header,packet,trailer} to nut_write_{header,packet,trailer}
in order to make easier debugging them.
13 years ago
Anton Khirnov
e955a682e1
AVOptions: fix av_set_string3() doxy to match reality.
...
Fixes bug 28.
13 years ago
Anton Khirnov
20c21f8b75
cmdutils: get rid of dummy contexts for examining AVOptions.
...
Replace it with newly introduced libavutil API.
13 years ago
Anton Khirnov
fb4ca26bdb
lavf,lavc,sws: add {avcodec,avformat,sws}_get_class() functions.
13 years ago
Anton Khirnov
c11fb8288d
AVOptions: add AV_OPT_SEARCH_FAKE_OBJ flag for av_opt_find().
...
It allows to search for options only with AVClass, without allocating
the corresponding context.
13 years ago
Sean McGovern
5938e02185
cpu detection: avoid a signed overflow
...
1<<31 overflows because 1 is signed, so force it to unsigned.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Alex Converse
757b86cd9e
codec-regression: force vsync 0 on the me_threshold test to make sure frames match.
13 years ago
Michael Niedermayer
6248694861
avconv: fix some bugs introduced in 630902a1e1
...
These caused scrambled error messages to be printed and
floating point exceptions.
For example when there was no decoder available for a
stream.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
9bc9188e58
libmp3lame: fix typo
...
FF_API_LAME_GLOBAL_OPTIONS => FF_API_LAME_GLOBAL_OPTS
Thanks to Clément Bœsch for spotting.
13 years ago
Anton Khirnov
bea5670a4f
AVOptions: drop av_ prefix from static av_get_number().
13 years ago
Anton Khirnov
1440037411
libx264: use X264_THREADS_AUTO constant instead of 0.
13 years ago
Anton Khirnov
5d06f15235
libx264: set default thread count to 0 (auto)
13 years ago
Anton Khirnov
f013cb8118
lavc: cosmetics, group deprecated codec flags
13 years ago
Anton Khirnov
aed7900704
mpeg12: add 'scan_offset' private option.
...
Deprecate CODEC_FLAG_SVCD_SCAN_OFFSET
13 years ago
Anton Khirnov
4bcee8e7f8
h263/p encoder: add 'structured_slices' private option.
...
Deprecate CODEC_FLAG_H263P_SLICE_STRUCT
13 years ago
Anton Khirnov
0d904de89d
h263/p encoder: add 'obmc' private option.
...
Deprecate CODEC_FLAG_OBMC
13 years ago
Anton Khirnov
e3922d1110
h263p encoder: add 'aiv' private option.
...
Deprecate CODEC_FLAG_H263P_AIV
13 years ago
Anton Khirnov
9bb2d1a3f0
h263p encoder: add 'umv' private option.
...
Deprecate CODEC_FLAG_H263P_UMV
13 years ago
Anton Khirnov
0e5d37309f
mpeg12enc/mpeg4videoenc: add 'alternate_scan' private option.
...
Deprecate CODEC_FLAG_ALT_SCAN
13 years ago
Anton Khirnov
1f0c7020a1
mjpegdec: add 'extern_huff' private option.
...
Deprecate CODEC_FLAG_EXTERN_HUFF
13 years ago
Anton Khirnov
4623420d84
mpeg4enc: add 'data_partitioning' private option.
...
Deprecate CODEC_FLAG_PART
13 years ago
Anton Khirnov
0cc06b9e23
snow: add 'memc_only' private option.
...
Deprecate CODEC_FLAG2_MEMC_ONLY
13 years ago
Anton Khirnov
0dc5e12f1e
libx264: add 'mbtree' private option.
...
Deprecate CODEC_FLAG2_MBTREE
13 years ago
Anton Khirnov
38934f19fe
libx264: add 'psy' private option.
...
Deprecate CODEC_FLAG2_PSY
13 years ago
Anton Khirnov
a7cec3a094
libmp3lame: add 'reservoir' private option.
...
Deprecate CODEC_FLAG2_BIT_RESERVOIR
13 years ago
Anton Khirnov
88262ca87d
mpeg2enc: add 'non_linear_quant' private option
...
Deprecate CODEC_FLAG2_NON_LINEAR_QUANT
13 years ago
Anton Khirnov
2c5e1efc09
mpeg12enc: add drop_frame_timecode private option.
...
Deprecate CODEC_FLAG2_DROP_FRAME_TIMECODE
13 years ago
Anton Khirnov
297d9cb3dc
mpeg12enc: add intra_vlc private option.
...
Deprecate CODEC_FLAG2_INTRA_VLC.
13 years ago
Alberto Delmás
d2f119a1f2
VC1: Support dynamic dimension changes
...
Fixes SA00072, SA00073, SA10150, SA10151, Issue2076
Improves SA10153
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Dustin Brody
a18e04bcf9
mjpeg: treat external huffman table setup failure as codec init failure if external huffman table use requested
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Anton Khirnov
7485e54708
lavc: deprecate CODEC_FLAG2_BRDO
...
It's been unused for the last 3 years.
13 years ago
Anton Khirnov
cf90c5d0e0
libx264: add 'aud' private option.
...
Deprecate CODEC_FLAG2_AUD.
13 years ago
Anton Khirnov
3b82aeeec0
libx264: add 'fast-pskip' private option.
...
Deprecate CODEC_FLAG2_FASTPSKIP.
13 years ago
Anton Khirnov
373257fa79
libx264: add '8x8dct' private option.
...
Deprecate CODEC_FLAG2_8X8DCT.
13 years ago
Anton Khirnov
eab21c32e3
libx264: add 'mixed-refs' private option.
...
Deprecate CODEC_FLAG2_MIXED_REFS.
13 years ago
Anton Khirnov
0f29699db7
libx264: add 'weightb' private option.
...
Deprecate CODEC_FLAG2_BPYRAMID.
13 years ago
Anton Khirnov
34dda1251d
libx264: add 'b-pyramid' private option.
...
Deprecate CODEC_FLAG2_BPYRAMID.
13 years ago
Anton Khirnov
5d4a1048ee
libx264: add 'intra-refresh' private option.
...
Deprecate CODEC_FLAG2_INTRA_REFRESH.
13 years ago
Anton Khirnov
faaecd4708
libx264: add 'ssim' private option.
...
Deprecate CODEC_FLAG2_SSIM.
13 years ago
Anton Khirnov
3b81636f33
libx264: make options compatible with x264
...
Replace '_' with '-', merge psy-trellis into psy-rd and rename cqp->qp
Also fix typo pdy-rd -> psy-rd
13 years ago
Luca Barbato
dde372934a
avcodec: remove misleading comment
...
coded_width is the width before lowres scaling,
coded_height is the height before lowres scaling.
13 years ago
Anton Khirnov
2e2594ca5b
avconv: remove -threads option.
...
It's only shadowing the AVOption with the same name.
13 years ago
Alex Converse
f593628e58
avconv: Replace raw picture frame swapping hack.
13 years ago
Kostya Shishkov
a80852316e
RV40: reuse some H.264 motion compensation functions in RV40.
...
Since RV40 is based on H.264, it uses the same interpolation filters and
functions for halfpel interpolation in one direction can be reused.
Unfortunately other cases are implemented differently and produce slightly
different output because of rounding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Luca Barbato
22141917a9
Revert "h264: Properly set coded_{width, height} when parsing H.264."
...
This reverts commit b47904d158
.
coded_{width, height} overwrites width and height in avcodec_open and
it currently just report the non-lowres size.
13 years ago
Tomas Härdin
8b7222979c
isom: add missing AVC-Intra tags, rearrange list and update comments
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
13 years ago
Anton Khirnov
c922816d31
avconv: remove stubs of crop* and pad* options
13 years ago
Anton Khirnov
ed5b13265e
avconv: re-add nb_streams to InputFile.
...
It was mistakenly removed in 2cf8355f98
,
not taking into account that new streams might appear in av_read_frame()
that avconv doesn't know about.
Fixes bug 24.
13 years ago
Kostya Shishkov
10397215aa
Use deinterleavers for demangling audio packets in RealMedia.
...
Unlike other containers RealMedia stores its audio packets in scrambled form,
with interleaver ID preceeding audio codec ID. Currently deinterleaving
decision is tied to the codec while it's possible to have non-default
deinterleaver with audio codec (like Int0 deinterleaver instead of specific
one for Sipro).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago