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
b0c9e8e024
avconv: get rid of the arbitrary MAX_FILES limit.
2011-08-17 19:58:16 +02:00
4288e0316a
avconv: get rid of the output_streams_for_file vs. ost_table schizophrenia
...
Instead store output streams in the same way as input streams.
2011-08-17 19:57:20 +02:00
af70aa4526
avconv: add a wrapper for output AVFormatContexts and merge output_opts into it
2011-08-17 19:55:55 +02:00
09af7fb309
avconv: make itsscale syntax consistent with other options.
...
Move the stream specifier to the option name.
2011-08-17 19:53:05 +02:00
88867844c6
avconv: factor out adding input streams.
2011-08-17 19:52:28 +02:00
553735f5a8
avconv: Factorize combining auto vsync with format.
2011-08-17 10:16:52 -07:00
87ef060c3b
avconv: Factorize video resampling.
2011-08-17 10:16:48 -07:00
9be3c1245f
avconv: Don't unnecessarily convert ipts to a double.
2011-08-17 10:05:57 -07:00
f056fc2c6c
ffmpeg: remove unsed variable nopts
2011-08-17 15:35:42 +02:00
91e209d720
RV3/4 parser: remove unused variable 'off'
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-17 15:31:40 +02:00
c6c6c1aaa6
add XMV demuxer
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2011-08-17 15:04:37 +02:00