| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This moves the cpu flag parsing code from avconv to avutil so
it can be accessed elsewhere.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
| |
|
| |
|
|
|
|
| |
nb_input_files is already an invalid index.
|
|
|
|
|
|
|
| |
This allows masking CPU features with the -cpuflags avconv option
which is useful for testing different optimisations without rebuilding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
|
|
|
| |
This feature is complex, of questionable utility, and slows down
normal decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
|
|
| |
Fail earlier and with a more descriptive error message.
|
|
|
|
|
|
| |
The decoder can change the layout and channel count during decoding,
but currently we only validate that the two are compatible when opening
the codec. This checks for incompatibilities after each decoded frame.
|
|
|
|
|
|
|
| |
input format
This allows the user to specify an input channel layout without avconv aborting because the
"channels" option was not found.
|
|
|
|
| |
Prevents extensive buffering when overlaying a single picture.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This is the first step towards supporting complex filtergraphs with more
than one input and/or output.
|
|
|
|
| |
It more properly belongs to output, not input.
|
|
|
|
|
| |
Always take it from lavfi. This way we don't need a clearly defined
corresponding input stream.
|
|
|
|
|
| |
This is a more proper place for them, since they store parameters of the
input, not output, stream.
|
| |
|
|
|
|
|
|
|
| |
This way we don't require a clearly defined corresponding input stream.
The result for the xwd test changes because rgb24 is now chosen instead
of bgra.
|
|
|
|
|
|
| |
Right now, they are arrays of structs, reallocated when new
streams/files are added. This makes storing pointers to those structs
harder than necessary.
|
|
|
|
| |
They are globals, no point in pretending they are not.
|
|
|
|
|
|
|
| |
This is required for letting applications to create and destroy
AVFilterInOut structs in a convenient way.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
|
|
|
|
|
| |
If either input or output layout is known and the channel counts match,
use the known layout for both. Otherwise choose the default layout based on
av_get_default_channel_layout().
Changed some FATE references due to some WAVE files now having a non-zero
channel mask.
|
|
|
|
|
| |
This allows the user to use channel layout names instead of having to use the
channel mask values.
|
|
|
|
|
|
| |
This will allow a workaround for cases where input timestamps are invalid or
when decoder delay of 1 packet or more confuses avconv into using the wrong
timestamps as a sync reference.
|
| |
|
|
|
|
|
| |
It's only used inside transcode_video() and there's no point in
preserving it between subsequent calls. So use a local variable instead.
|
|
|
|
| |
No point in repeating the assignment for each output stream.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Since the mandatory memcpy in vsrc_buffer has been eliminated, there
shouldn't be any significant reason to build without lavfi anymore.
This will make upcoming support for complex filtergraphs easier to do.
|
|
|
|
| |
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
This matches the output size required for audio_resample()
|
|
|
|
| |
Allows for removing a goto and makes the code easier to follow.
|
| |
|
|
|
|
| |
Fixes a memleak when using the -frames option with audio.
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
OutputStream.picref is guaranteed to be non-NULL if
get_filtered_video_frame() succeeds.
|
| |
|
|
|
|
|
| |
output_video_filter is always guaranteed to be set and is in fact
dereferenced right above the check.
|
|
|
|
| |
CC: libav-stable@libav.org
|
|
|
|
|
|
| |
Fixes bug 204.
CC: libav-stable@libav.org
|
|
|
|
| |
Useful for testing.
|
|
|
|
|
| |
avcodec_encode_video2() return value is 0 on success, encoded frame size
is stored in the packet.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
r_frame_rate should in theory have something to do with input framerate,
but in practice it is often made up from thin air by lavf. So unless we
are targeting a constant output framerate, it's better to just use input
stream timebase.
Brings back dropped frames in nuv and cscd tests introduced in
cd1ad18a6539bd7fc2dc4c1740fbcbd498c0c0a2
|
|
|
|
| |
No functional changes, just make it more readable.
|
|
|
|
|
|
| |
Update FATE reference to account for now non-existent palette packet.
This also fixes the FATE test if frame data is not initialized in
get_buffer(), so update comment in avconv accordingly.
|
|
|
|
|
|
|
|
| |
This is required when stream copying VC1 in ismv - there's one
global header in the moov atom, but keyframes have a separate
sequence header prepended.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
|
|
|
|
|
|
| |
Set output files duration to recording_time option, if given.
Rationale: to save duration into metadata for file that is written to
non-seekable output, for formats like FLV (with metadata at beginning).
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|