Anton Khirnov
136ee32da3
avprobe: use avio_size() instead of deprecated AVFormatContext.file_size.
2012-01-12 18:18:23 +01:00
Anton Khirnov
44bcab5883
ffmenc: remove references to deprecated AVFormatContext.timestamp.
2012-01-12 18:18:23 +01:00
Anton Khirnov
e5c708151e
lavf: undeprecate read_seek().
...
The "new seeking API" was never finished and nobody is working on it.
2012-01-12 18:18:23 +01:00
Anton Khirnov
e01a29a461
avserver: remove code using deprecated CODEC_CAP_PARSE_ONLY.
2012-01-12 18:18:23 +01:00
Anton Khirnov
f3d02a8b28
lavc: replace some remaining FF_I_TYPE with AV_PICTURE_TYPE_I
2012-01-12 18:18:23 +01:00
Anton Khirnov
a29c25a9b2
lavc: ifdef out parse_only AVOption
2012-01-12 18:18:23 +01:00
Anton Khirnov
d54f1e6407
nellymoserdec: SAMPLE_FMT -> AV_SAMPLE_FMT
2012-01-12 18:18:23 +01:00
Anton Khirnov
0c71cc6526
mpegvideo_enc: ifdef out/replace references to deprecated codec flags.
2012-01-12 18:18:22 +01:00
Anton Khirnov
0fd88d3988
riff: remove references to sonic codec ids
...
They are deprecated and will be purged on next major bump.
2012-01-12 18:18:22 +01:00
Anton Khirnov
b2ce3b998b
avconv: use AVFrame.width/height/format instead of corresponding AVCodecContext fields
2012-01-12 09:02:01 +01:00
Anton Khirnov
3167dc9515
lavfi: move version macros to a new installed header version.h
2012-01-12 09:00:54 +01:00
Anton Khirnov
43fe6a2905
vsrc_buffer: release the buffer on uninit.
2012-01-12 08:59:00 +01:00
Anton Khirnov
ac64607682
avconv: reinitialize the filtergraph on resolution change.
...
This is a hopefully temporary solution until lavfi can properly deal
with resolution changes.
2012-01-10 16:47:15 +01:00
Anton Khirnov
5d25140f71
vsrc_buffer: error on changing frame parameters.
2012-01-10 16:47:15 +01:00
Anton Khirnov
7b9373db89
avconv: fix -copyinkf.
...
This option only applies to streamcopy, but is currently processed only
when encoding.
2012-01-10 16:47:15 +01:00
Anton Khirnov
f9b9dd8740
lavf: cosmetics, reformat av_read_frame().
2012-01-05 14:34:28 +01:00
Anton Khirnov
6450599e22
lavf: refactor av_read_frame() to make it easier to understand.
2012-01-05 14:34:13 +01:00
Anton Khirnov
e8c04f6240
avconv: add symbolic names for -vsync parameters
2012-01-04 21:25:25 +01:00
Anton Khirnov
212fd3a1f1
lavf: flush decoders in avformat_find_stream_info().
...
This means that avformat_find_stream_info() now works properly with
multiple threads, so there's no need to force thread count to 1.
2012-01-03 14:58:21 +01:00
Anton Khirnov
c88d53199b
avconv: remove the 'codec framerate is different from stream' warning
...
Codec timebase is not framerate and the situation when it's different
from AVStream.r_frame_rate is quite common, nothing to warn about.
2012-01-02 14:15:09 +01:00
Anton Khirnov
f15f02c204
avconv: make -frames work for all types of streams, not just video.
2012-01-01 22:27:52 +01:00
Anton Khirnov
80dc7c0160
avs: call release_buffer() at the end.
...
Fixes a memleak.
2011-12-25 20:50:20 +01:00
Anton Khirnov
06e8d38f2b
Add minor bumps and APIchanges entries for lavc/lavfi changes.
2011-12-25 20:50:16 +01:00
Anton Khirnov
04a14d4d25
avconv: avoid memcpy in vsrc_buffer when possible.
...
Decoding Sintel.2010.1080p.mkv with 4 threads on an i7 2600K goes from
260s to 244s.
2011-12-25 16:18:57 +01:00
Anton Khirnov
64dca32cdf
avconv: implement get_buffer()/release_buffer().
...
This will allow memcpy-free passing frames to lavfi.
2011-12-25 16:18:57 +01:00
Anton Khirnov
e1d9dbf2d4
lavfi: add a new function av_buffersrc_buffer().
...
It can be used to directly pass a AVFilterBufferRef to lavfi, avoiding a
memcpy.
2011-12-25 16:18:57 +01:00
Anton Khirnov
2bbb472016
FAQ: add an entry for common error when using -profile
2011-12-25 14:31:13 +01:00
Anton Khirnov
d09298f0d6
4xm: remove unused variables.
2011-12-23 09:23:20 +01:00
Anton Khirnov
82d05e78a6
allfilters: fix type of avfilter_vsrc_buffer.
2011-12-23 08:17:22 +01:00
Anton Khirnov
196c9e5c8c
lavfi: always build vsrc_buffer.
...
It's a part of public API.
2011-12-22 15:42:52 +01:00
Anton Khirnov
131609dc2a
sws: readd PAL8 to isPacked()
...
Fixes PAL8 to YUV conversion.
2011-12-22 11:01:28 +01:00
Anton Khirnov
93fc5a9ff6
lavf: force threads to 1 in avformat_find_stream_info()
...
Fixes avformat_find_stream_info() on streams with number of frames <
thread count.
2011-12-18 17:36:56 +01:00
Anton Khirnov
ee20b332c8
omadec: split data that will be used in the muxer to a separate file.
2011-12-18 16:17:39 +01:00
Anton Khirnov
08f7af0c37
lavf: rename oma.c -> omadec.c
2011-12-18 16:17:39 +01:00
Anton Khirnov
cd3716b9aa
Replace all uses of av_close_input_file() with avformat_close_input().
2011-12-12 20:34:38 +01:00
Anton Khirnov
526604545f
lavf: add avformat_close_input().
...
It sets the supplied AVFormatContext pointer to NULL after freeing it,
which is safer and its name is consistent with other lavf functions.
Also deprecate av_close_input_file().
2011-12-12 20:23:56 +01:00
Anton Khirnov
3a7f7678eb
lavf: deprecate av_close_input_stream().
...
And remove all its uses.
2011-12-12 20:21:47 +01:00
Anton Khirnov
59826cab8a
lavf doxy: add some basic demuxing documentation.
2011-12-12 19:44:23 +01:00
Anton Khirnov
ccbc106841
lavf doxy: add some general lavf information.
2011-12-12 19:44:12 +01:00
Anton Khirnov
abf2c2d787
lavf doxy: add misc utility functions to a group.
2011-12-12 19:44:03 +01:00
Anton Khirnov
c8dffc02fd
lavf doxy: add av_guess_codec/format to the encoding group.
2011-12-12 19:43:56 +01:00
Anton Khirnov
469c62d002
lavf doxy: add core functions to a doxy group.
2011-12-12 19:43:44 +01:00
Anton Khirnov
1be323054e
Add basic libavdevice documentation.
2011-12-12 19:43:37 +01:00
Anton Khirnov
2e87b4c511
Warn about avserver being broken.
...
Also remove mentions of it from other avtools' manuals.
2011-12-10 22:02:44 +01:00
Anton Khirnov
5bf6638022
avconv: drop code for special handling of avserver streams.
...
It's broken and doesn't work anyway.
This patch means that avconv will ignore encoding options from the ffm
file and will instead use whatever is provided on the commandline as for
normal output.
2011-12-10 22:02:44 +01:00
Anton Khirnov
e745d7525a
rawdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc. Set r_frame_rate and
avg_frame_rate instead.
2011-12-10 22:02:44 +01:00
Anton Khirnov
489a7b07e9
lavf doxy: add muxing stuff to lavf_encoding group
2011-12-10 22:02:28 +01:00
Anton Khirnov
370f27dee3
lavf doxy: add demuxing stuff to lavf_decoding group
2011-12-10 22:02:28 +01:00
Anton Khirnov
28b4c06b9d
lavf doxy: expand/reword metadata API doxy.
2011-12-10 22:02:28 +01:00
Anton Khirnov
eca06cbed9
lavf doxy: add installed headers to groups.
2011-12-10 22:02:28 +01:00
Anton Khirnov
fb42db7c39
lavf doxy: add avio groups into the lavf_io group.
2011-12-10 22:02:28 +01:00
Anton Khirnov
e4f4a1f93e
lavf doxy: rename lavf I/O group to lavf_io.
2011-12-10 22:02:28 +01:00
Anton Khirnov
b262a05904
lavf doxy: add metadata docs to the main lavf group
2011-12-10 22:02:28 +01:00
Anton Khirnov
74e96eb77e
pmpdec: don't use deprecated av_set_pts_info.
2011-12-01 17:28:36 +01:00
Anton Khirnov
c3f9ebf743
lavf: make av_set_pts_info private.
...
It's supposed to be called only from (de)muxers.
2011-11-30 20:34:45 +01:00
Anton Khirnov
7bb3e62594
avconv: make copy_tb on by default.
...
I.e. on streamcopy set output codec timebase from input stream timebase
(as opposed to input codec timebase). This should be more sane, because
since the stream is not decoded, the input codec tb has no relation to
the timestamps of the copied packets.
2011-11-30 07:47:43 +01:00
Anton Khirnov
c98c1f434e
matroskadec: don't set codec timebase.
...
It's not supposed to be set outside of lavc.
2011-11-30 07:47:43 +01:00
Anton Khirnov
d3e3ffa501
rmdec: don't set codec timebase.
...
It's not supposed to be set outside of lavc.
Set r_frame_rate instead.
2011-11-30 07:47:43 +01:00
Anton Khirnov
741a05a293
avconv: compute next_pts from input packet duration when possible.
2011-11-30 07:47:43 +01:00
Anton Khirnov
2092232581
lavf: estimate frame duration from r_frame_rate.
...
If r_frame_rate is set, it should be more reliable for this than either
codec or stream timebase.
2011-11-30 07:47:43 +01:00
Anton Khirnov
91b412e786
avconv: update InputStream.pts in the streamcopy case.
...
This was broken in 2a651b719c .
2011-11-30 07:47:43 +01:00
Anton Khirnov
488eec1044
lavc: update doxy to use nondeprecated API.
2011-11-26 08:26:24 +01:00
Anton Khirnov
8b7412fe4e
tiffenc: deprecate using compression_level
2011-11-24 21:31:36 +01:00
Anton Khirnov
06d4e2fa5a
avconv: remove a now unused parameter from output_packet().
2011-11-23 22:03:32 +01:00
Anton Khirnov
8b0268a853
avconv: formatting fixes in output_packet()
2011-11-23 22:02:59 +01:00
Anton Khirnov
ffa0674e5a
avconv: declare some variables in blocks where they are used
2011-11-23 22:01:32 +01:00
Anton Khirnov
af8ad892bf
avconv: use the same behavior when decoding audio/video/subs
...
I.e. if the packet was only partially consumed, pass the rest of it into
the decoder again.
Also simplify the code so it's the same for video/audio/subs.
2011-11-23 21:58:53 +01:00
Anton Khirnov
3eedd29bd7
bethsoftvideo: return proper consumed size for palette packets.
...
Also check for sufficient packet size.
2011-11-23 21:58:30 +01:00
Anton Khirnov
0844b57c11
crcenc: add flags
...
AVFMT_NOTIMESTAMPS for crc, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framecrc, as it prints dts.
Many FATE changes, because avconv is no longer duplicating frames in
those tests.
Also added -vsync 0 for some tests to prevent avconv from dropping
frames until it can be fixed more properly.
2011-11-23 21:43:46 +01:00
Anton Khirnov
e1edfbcb24
avconv: use vsync 0 for AVFMT_NOTIMESTAMPS formats.
...
Prevent avconv from duplicating or dropping frames for formats where it
makes even less sense than usual, e.g. image2.
2011-11-23 21:38:17 +01:00
Anton Khirnov
a94c769dad
tiffenc: add a private option for selecting compression algorithm
2011-11-23 20:29:25 +01:00
Anton Khirnov
50efd3cad8
md5enc: add flags
...
AVFMT_NOTIMESTAMPS for md5, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framemd5, as it prints dts.
-vsync 0 for the vp8 test is needed because with vsync 2 the timestamp
guessing code gets confused by an altref frame that is never displayed
and drops a frame later.
2011-11-23 20:19:26 +01:00
Anton Khirnov
82963f8f04
avconv: cleanup the transcoding loop in output_packet().
2011-11-21 21:43:48 +01:00
Anton Khirnov
9595234c94
avconv: split subtitle transcoding out of output_packet().
2011-11-21 18:12:38 +01:00
Anton Khirnov
45d4b66f6f
avconv: split video transcoding out of output_packet().
2011-11-21 18:12:38 +01:00
Anton Khirnov
ded28ba35b
avconv: split audio transcoding out of output_packet().
2011-11-21 18:12:38 +01:00
Anton Khirnov
78162b4ea2
avconv: reindent.
2011-11-21 18:12:38 +01:00
Anton Khirnov
2a651b719c
avconv: move streamcopy-only code out of decoding loop.
2011-11-21 18:12:37 +01:00
Anton Khirnov
51aeb69452
avconv: remove an always true condition and reindent.
2011-11-21 18:12:37 +01:00
Anton Khirnov
7204ec1a88
avconv: split off streamcopy handling into a separate loop.
...
This is easier to understand and is less likely to break horribly when a
stream is to be both decoded and copied.
2011-11-21 18:12:37 +01:00
Anton Khirnov
03f30c837b
avconv: cosmetics, reformat transcode_init()
...
Fix spacing, vertically align, break some long lines, add some empty
lines for readability.
2011-11-21 08:13:37 +01:00
Anton Khirnov
1bb77e51a8
avconv: rename 'os' variable to 'oc'
...
Output AVFormatContext is called 'oc' in most other places.
2011-11-21 08:13:32 +01:00
Anton Khirnov
b0641ab7a0
doc/filters: fix some typos.
2011-11-21 06:45:39 +01:00
Anton Khirnov
7c9224111e
configure: add libpulse to help output
...
Fixes Bug 72.
2011-11-21 06:44:43 +01:00
Anton Khirnov
81ac4cda0b
fate-lavf-ts: use -mpegts_transport_stream_id option.
...
Serves as a test of muxer private options.
2011-11-18 11:01:46 +01:00
Anton Khirnov
f872e4d0a7
Add an APIchanges entry and a minor bump for avio changes.
2011-11-18 11:01:16 +01:00
Anton Khirnov
32caa7b13c
lavf: pass options from AVFormatContext to avio.
2011-11-13 13:21:46 +01:00
Anton Khirnov
ddffc2fdc3
avio: add support for passing options to protocols.
...
Not used anywhere yet, support for passing options from avio_open() will
follow.
2011-11-13 13:14:39 +01:00
Anton Khirnov
163a31136d
avio: add and use ffurl_protocol_next().
2011-11-13 13:14:14 +01:00
Anton Khirnov
e1e22851c1
AVOptions: don't return an invalid option when option list is empty
2011-11-11 08:27:16 +01:00
Anton Khirnov and Martin Storsjö
a251928060
http: Add encoding/decoding flags to the AVOptions
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2011-11-10 13:21:18 +02:00
Anton Khirnov
492cc1bef3
avconv: remove some codec-specific hacks
...
The problem they are supposed to fix is handled in riff.c, so those
hacks are pointless.
2011-11-10 11:55:58 +01:00
Anton Khirnov
dc86ca1ab5
crypto: add decoding flag to options.
2011-11-10 11:37:38 +01:00
Anton Khirnov
34ff0e2915
tls: use AVIO_FLAG_NONBLOCK instead of deprecated URL_FLAG_NONBLOCK
2011-11-10 11:36:49 +01:00
Anton Khirnov
3b384502f2
http: use different classes for http and https.
2011-11-10 11:36:45 +01:00
Anton Khirnov
3110ad8329
mpegts: set stream id on just created stream, not an unrelated variable
...
Bug introduced in 84ad31ff18 .
Thanks to Uoti Urpala for finding it.
2011-11-08 18:56:39 +01:00
Anton Khirnov
8a691dfdab
doc/git-howto: expand format-patch and send-email notes.
2011-11-08 14:25:38 +01:00
Anton Khirnov
83daced0a3
lavf: expand doxy for some AVFormatContext fields.
2011-11-08 14:25:24 +01:00
Anton Khirnov
eacec07e9c
doc/APIchanges: add missing dates and hashes
2011-11-06 20:33:13 +01:00
Anton Khirnov
eb0de71058
lavf: don't return from void av_update_cur_dts()
2011-11-06 19:13:28 +01:00