d5dc8cc297
libx264: add 'crf' private option.
...
Deprecate corresponding global option.
Ideally all x264 private options should be generated automatically, but
x264 doesn't provide the API for this yet.
2011-08-24 14:26:12 +02:00
8ee18b4bee
lavc: remove vbv_delay option
...
It's broken and serves no purpose as it's a read-only field.
2011-08-24 14:07:39 +02:00
7e6029f98a
lavf utils: Fix bad indentation.
2011-08-23 09:53:23 -07:00
6c7ee2f7db
avconv: use av_clip_int16 for audio clipping
2011-08-23 09:53:23 -07:00
bc8c50512f
avconv: print the codecs names in the stream mapping.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-23 16:50:01 +02:00
c74b44de08
avconv: move the avcodec_find_decoder() call to add_input_streams().
...
This makes the code simpler to understand, though it results in an
unnecessary call to avcodec_find_decoder() if the stream won't be
decoded.
2011-08-23 16:50:01 +02:00
45ecda8554
Windows Media Image decoder (WMVP/WVP2)
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-23 11:18:35 +02:00
3be5a94351
ac3enc: remove outdated TODO comment for apply_channel_coupling()
2011-08-22 12:14:57 -04:00
ae60927aef
libx264: only use ABR mode when the user explicitly set bitrate.
2011-08-22 07:17:39 +02:00
03eff2bf43
libx264: use medium preset by default.
2011-08-22 07:17:38 +02:00
0a593de38a
mp2 encoder: make 128k the default bitrate.
2011-08-22 07:17:38 +02:00
fb42d156ed
movenc: use libx264 by default when possible for mov, mp4 and psp
2011-08-22 07:17:35 +02:00
b71389cbae
avienc: saner default audio codec.
...
libmp3lame if available, ac3 otherwise.
2011-08-22 07:17:19 +02:00
3436c4a368
matroskaenc: saner default codecs.
...
libvorbis/libx264 for video if available, otherwise ac3/mpeg4.
2011-08-22 07:16:55 +02:00
b6d28eff84
avplay: add examples of how to specify size/pixel format through private options
...
Clarify with an example what the user should use instead of the
deprecated (and no longer working) -s/-pix_fmt options.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-22 07:16:28 +02:00
143d6a3fa7
lavc: add A|E|D flags to "ac" and "ar" options
...
Fix setting of the corresponding AVCodecContext fields via
cmdutils.c:filter_codec_opts().
In particular, fix ffplay -ac and -ar options.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-08-21 16:06:16 +02:00
ccb919e34b
WavPack demuxer: do not rely on index when timestamp is not in indexed range.
...
This fixes the situation when there are not enough entries in the index
(e.g. on initial seek there's only one index entry in the index) and index
search returns just the last known entry. That causes seeking function just to
seek there instead of trying harder to get at the requested position.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-21 12:55:17 +02:00
5561fe487f
WavPack demuxer: store position of the first block in index.
...
Currently for multichannel audio position for the last block position is
stored in index (and used for seeking), which is obviously not correct.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-21 12:54:35 +02:00
4ba8c521b1
WavPack decoder: implement flush function
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-21 12:54:34 +02:00
eaf2d37acc
avconv: Separate initialization from the main transcode loop.
2011-08-19 15:41:05 -07:00
f5bae2c6ed
doc/avconv: replace forgotten av by avconv.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:37:44 -07:00
f60a6b5853
avconv: reset input_ts_offset between files.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:37:14 -07:00
cf4976ed7b
doc/avconv: extend -ss documentation.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:36:43 -07:00
b62b5cb6fd
avconv: call flush_encoders() from transcode() directly.
...
And remove now pointless parameter.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:36:05 -07:00
c093150849
avconv: fix broken indentation.
...
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:35:20 -07:00
f21f294e05
avconv: rescue poor abused limit_filesize global.
...
Keep a per-OutputFile instance of it, thus making -fs work with multiple
output files.
Signed-off-by: Alex Converse <alex.converse@gmail.com>
2011-08-19 15:34:24 -07:00
e6d2b73784
avconv: Set error code before before jumping to fail.
2011-08-19 11:28:21 -07:00
6581e161c5
h264: fix PCM intra-coded blocks in monochrome case
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-19 16:02:33 +02:00
87cf70eb23
h264: correct implicit weight table computation for long ref pics
...
Correct computation of implicit weight tables when referencing pictures
that are marked for long reference.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-19 14:36:52 +02:00
29a09eae9a
h264: correct the check for invalid long term frame index in MMCO decode
...
The current check on MMCO parameters prohibits a "max long term frame index
plus 1" of 16 (frame idx of 15) for the "set max long term frame index" MMCO.
Fix this off-by-one error to allow the full range of legal values.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-19 14:36:40 +02:00
bb337b4fbc
avconv: Fix spelling errors.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-18 22:29:41 +02:00
44920d04ba
aac: Only set sample rate and object type from ADTS if output hasn't been configured.
...
Long term it would be nice to support error resilient reconfiguration
but right now setting this every frame does more harm than help.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-18 22:29:41 +02:00
06d37fede4
aac: Set SBR and PS to unsignalled during headerless and ADTS initialization.
...
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-18 22:29:41 +02:00
d8425ed4af
aac: Only output configure if audio was found.
...
Audio found is not triggered on a CCE because a CCE alone has no output.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2011-08-18 22:29:41 +02:00
6f1c66d526
avconv: save two levels of indentation in flush_encoders()
...
By replacing
if (foo)
<do stuff>
with
if (!foo)
continue;
<do stuff>
2011-08-18 11:22:12 +02:00
4a4ce2e743
avconv: factor flushing encoders out of output_packet().
2011-08-18 11:22:12 +02:00
630902a1e1
avconv: factor out initializing input streams.
2011-08-18 11:22:12 +02:00
ddf5ef0263
avconv: remove -intra option.
...
It's equivalent to -g 0.
2011-08-18 11:22:05 +02:00
e922bbfa76
avconv: reset streamid_map between output files.
2011-08-18 08:49:32 +02:00
c5ad2c2cc6
avconv: make timer_start a local var in transcode().
2011-08-18 08:49:32 +02:00
6494c001be
avconv: cosmetics, move OutputStream.
...
Allows us to get rid of forward InputStream declaration.
2011-08-18 08:49:32 +02:00
e659c51563
avconv: remove two unused macros.
2011-08-18 08:49:32 +02:00
b490f0c2bc
h264: hide reference frame errors unless requested
...
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
2011-08-17 20:56:54 -07:00
3f04ab4fcd
swscale: split hScale() function pointer into h[cy]Scale().
...
This allows using more specific implementations for chroma/luma, e.g.
we can make assumptions on filterSize being constant, thus avoiding
that test at runtime.
2011-08-17 20:56:06 -07:00
38e06c2969
Move clipd macros to x86util.asm.
...
This allows sharing them between multiple .asm files.
2011-08-17 20:56:06 -07:00
45f861283e
avconv: reindent.
2011-08-17 20:01:12 +02:00
ea065176b2
avconv: rescue poor abused start_time global.
...
Keep a per-OutputFile instance of it, thus making -ss work with multiple
output files.
2011-08-17 20:00:46 +02:00
ef44a60710
avconv: rescue poor abused recording_time global.
...
Keep a per-OutputFile instance of it, thus making -t work with multiple
output files.
2011-08-17 20:00:06 +02:00
2886aee73f
avconv: merge two loops in output_packet().
2011-08-17 19:58:55 +02:00
f1176d41af
avconv: fix broken indentation.
2011-08-17 19:58:31 +02:00