Justin Ruggles
aa872af5e3
ac3enc: update to AVCodec.encode2()
...
Update FATE references due to encoder delay.
13 years ago
Justin Ruggles
ad95307f92
aacenc: use AVCodec.encode2()
13 years ago
Justin Ruggles
4bf64961a9
avcodec: add code for a frame queue for use by audio encoders with delay
...
This simplifies matching of timestamps between input frames and output
packets.
13 years ago
Justin Ruggles
c9594fe0fb
avconv: free packet in write_frame() when discarding due to frame number limit
...
Fixes a memleak when using the -frames option with audio.
13 years ago
Justin Ruggles
e056f8d37d
FATE: use +/- flag option syntax for vp8 emu-edge tests
13 years ago
Anton Khirnov
a6733202cc
lavf: make av_interleave_packet_per_dts() private.
...
There is no reason for it to be public, it's only meant to be used
internally.
13 years ago
Anton Khirnov
3c90cc2ef2
lavf: deprecate av_read_packet().
...
The caller can achieve the same effect (i.e. getting raw unparsed/mangled
packets) with av_read_frame() and AVFMT_FLAG_NOPARSE |
AVFMT_FLAG_NOFILLIN
13 years ago
Justin Ruggles
f63412fc74
oggdec: output correct timestamps for Vorbis
...
Takes encoder delay into account by comparing first the coded page
duration with the calculated page duration. Handles last packet duration
if needed, also by comparing coded duration with calculated duration.
Also does better handling of timestamp generation for packets in the
first page for streamed ogg files where the start time is not
necessarily zero.
13 years ago
Justin Ruggles
9b9fc9ba32
avconv: pass input stream timestamps to audio encoders
...
5 FATE test references updated due to using demuxer-generated timestamps that
are either not sample-accurate or are slightly off in the input file.
13 years ago
Justin Ruggles
a1977e0103
lavc: shrink encoded audio packet size after encoding.
13 years ago
Justin Ruggles
777365fe86
xa: set correct bit rate
...
Also fixes stream duration calculation.
13 years ago
Justin Ruggles
a54bc52265
xa: do not set bit_rate, block_align, or bits_per_coded_sample
...
The values in the header refer to decoded data, not compressed data.
13 years ago
Justin Ruggles
64de57f645
xa: fix end-of-file handling
...
Do not output an extra packet when out_size is reached.
Also return AVERROR_EOF instead of AVERROR(EIO).
13 years ago
Justin Ruggles
cd2ffb67ad
xa: fix timestamp calculation
...
The packet duration is always 28 samples.
13 years ago
Kostya Shishkov
1d10afd581
bink: fix typo in FFALIGN() argument
13 years ago
Kostya Shishkov
8ae28ac0f3
bink: align plane width to 8 when calculating bundle sizes
...
This fixes decoding of Bink files with non-multiple-of-16 width.
13 years ago
Mans Rullgard
2ac3df858c
doc: pass -Idoc texi2html and texi2pod
...
This fixes doc generation in build tree separate from source.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Mans Rullgard
b8b207e896
doc: texi2pod: add -I flag
...
This allows specifying additional directories to search for
@include files.
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
Martin Storsjö
39f5a5462c
movenc: Add a min_frag_duration option
...
The other fragmentation options (frag_duration, frag_size and
frag_keyframe) are combined with OR, cutting fragments at the
first of the conditions being fulfilled.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
ccfa8aa26f
rtsp: Set the default delay to 0.1 s for the RTSP/SDP/RTP demuxers
...
This enables reordering of UDP packets by default, unless the caller
explicitly sets -max_delay 0.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
4fa57d524f
libavformat: Set the default for the max_delay option to -1
...
Make the muxers/demuxers that use the field handle the default
-1 in the same way as 0.
This allows distinguishing an intentionally set 0 from the default
value where the user hasn't set it.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Anton Khirnov
0d0b81f941
Generate manpages for AV{Format,Codec}Context AVOptions.
13 years ago
Anton Khirnov
4fea8959d8
doc/avconv: remove entries for AVOptions.
...
Documentation for those will be generated automatically.
13 years ago
Anton Khirnov
5626697104
Move AVFormatContext/AVCodecContext option tables to separate files.
...
This will allow us to automatically generate manpages for them.
13 years ago
Anton Khirnov
40b41be3fa
lavf: use AVStream.discard to disable queueing attached pictures.
13 years ago
Anton Khirnov
01fcc42b90
lavf: requeue attached pictures after seeking.
...
This allows the caller to get them without special code even after
seeking before receiving any data.
13 years ago
Anton Khirnov
713f3062a7
id3v2: set the keyframe flag on attached pictures.
13 years ago
Paul B Mahol
791d6df4ae
FATE: change fate-maxis-xa to a normal demuxing test
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Paul B Mahol
b36872bdb6
FATE: add test for adpcm-ea-maxis-xa
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
13 years ago
Aaron Colwell
30011bf201
vp8: avoid race condition on segment map.
...
This change avoids accessing the segment map of the previous frame if
segmentation is not enabled for the current frame. The caller of
decode_mb_mode() only calls ff_thread_await_progress() on the reference
segmentation index array if segmentation is enabled, so Chromium's TSAN
will report a race when accessing this data while segmentation is not
enabled.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
13 years ago
Kostya Shishkov
18ba94c6f9
fix space type in Changelog
13 years ago
Derek Buitenhuis
0e714f889e
ZeroCodec Decoder
...
An obscure Japanese lossless video codec, originally intended
for use with a remote desktop application.
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
13 years ago
Kostya Shishkov
b8560637d9
RealAudio Lossless decoder
13 years ago
Martin Storsjö
316e724f18
rtpenc: Use AVFormatContext.packet_size instead of a private option
...
The private option has not been part of any release yet (and
it is only of use in quite rare cases), so just remove it instead
of keeping it with deprecation warnings.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Nicolas George
01b0ade665
url: Document the expected behaviour of url_read
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
57151f8674
libavformat: Use AVFormatContext.probesize in init_input
...
This was forgotten in the transition from av_open_input_file to
avformat_open_input, see 603b8bc2a1
.
This doesn't change anything for the default case where the
option isn't set, since PROBE_BUF_MAX is 1048576 (which was
used as max probe size earlier) while the default value for
the probesize option is 5000000, which for the probe function
is clipped to PROBE_BUF_MAX anyway.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
27b7459b8d
docs: Fix a stray reference to tags in the generic doxy on dicts
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
17934c1824
cosmetics: Align some AVInput/OutputFormat declarations
...
Also add missing trailing commas.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Kostya Shishkov
bb39bd195a
zmbv: check decompress result
...
Changing flush type from Z_FINISH is needed since encoder compresses fixed
amount of data and doesn't care about writing end of stream marker.
13 years ago
Kostya Shishkov
afc2263bcc
zmbv: correct indentation
13 years ago
Ronald S. Bultje
1744ab9e46
adpcm: convert adpcm_thp to bytestream2.
13 years ago
Ronald S. Bultje
72eda7786d
adpcm: convert adpcm_yamaha to bytestream2.
13 years ago
Ronald S. Bultje
f184735a27
adpcm: convert adpcm_swf to bytestream2.
13 years ago
Ronald S. Bultje
8afe2f9002
adpcm: convert adpcm_sbpro to bytestream2.
13 years ago
Ronald S. Bultje
834c81f4c5
adpcm: convert adpcm_ct to bytestream2.
13 years ago
Ronald S. Bultje
b3084e29e6
adpcm: convert adpcm_ima_amv/smjpeg to bytestream2.
13 years ago
Ronald S. Bultje
22c48d399d
adpcm: convert adpcm_ea_xas to bytestream2.
13 years ago
Ronald S. Bultje
edd9555537
adpcm: convert adpcm_ea_r1/2/3 to bytestream2.
13 years ago
Ronald S. Bultje
e60d09918c
adpcm: convert ea_maxis_xa to bytestream2.
13 years ago
Ronald S. Bultje
4a876eba8d
adpcm: convert adpcm_ea to bytestream2.
13 years ago