Age | Commit message (Collapse) | Author |
|
This doesn't access avcodec_opts, so it works with the new options
passing system.
Makes opt_bitrate() unneeded, so it's removed.
|
|
|
|
This doesn't access avcodec_opts, so it will work with the new options
passing system.
|
|
The removed lines have no effect, since the flag is set on all encoder
for the given file and avcodec_opts are reset between files.
|
|
|
|
|
|
|
|
It's replaced by 'creation_time' metadata tag.
|
|
|
|
It's broken with multiple files or audio streams.
|
|
It's broken with multiple files or audio streams.
|
|
|
|
|
|
It's required to be non-zero since
cc58300e30e7aea6acfecd72a04a3886b285cfd8
|
|
|
|
There's no point in keeping them separate.
|
|
Those are reserved for the libs.
|
|
They were replaced by (de)muxer private options.
|
|
AVStream is no place for it and it's unused outside of ffmpeg anyway.
|
|
Signed-off-by: Mans Rullgard <mans@mansr.com>
|
|
av_get_bits_per_sample_fmt() was deprecated.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
av_get_bits_per_sample_fmt() is deprecated.
|
|
They've been replaced by demuxer private options.
|
|
|
|
It's broken with multiple files or video streams.
|
|
It's broken with multiple files or video streams.
|
|
Fixes choosing supported samplerate and framerate.
|
|
There's no point in keeping them separate.
|
|
It's broken with multiple files or video streams.
|
|
It's broken with multiple files or audio streams.
|
|
It's broken with multiple files or audio streams.
This removes the default samplerate of 44100 for raw input, hence all
the FATE changes.
|
|
|
|
|
|
|
|
This fixes warnings about avcodec_get_pix_fmt_name() being deprecated.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
|
|
|
|
Make ff* tools only accept opt_* functions taking two arguments.
The distinction between functions with one and two arguments is quite
pointless. Simplify parse_options() code.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
|
|
FF_API_MAX_STREAMS cleanup.
Fixed another dereference in the RTSP code.
Removed a useless variable.
Changed an unnecessary looping assignment to a simple assignment suggested by
Maksym.
Added fixes and tweaks suggested by Maksym Veremeyenko [verem@m1stereo.tv] and
Clément B.
|
|
It's a duplicate of AVFormatContext.nb_streams.
|
|
Grow the file and stream list in opt_input_file() instead of creating it
all at once in transcode(). This is simpler and will be useful for
following commits.
|
|
AVStream.index stores the same thing.
|
|
Currently, the url_interrupt_cb callback will abort all IO
after the first received signal. This makes the output files
from e.g. the mov muxer to be unreadable if the transcode is
aborted with ctrl+c.
After this patch, the first signal cleanly breaks out of
the transcoding loop, but won't forcibly abort all IO.
After the second signal is received, the url_interrupt_cb
callback will abort all IO.
Signed-off-by: Martin Storsjö <martin@martin.st>
|
|
It's badly documented and does the same thing as -flags global_header,
so it's redundant.
|
|
|
|
Redesign the way -aspect option is handled. This is done by making
ffmpeg read the sample aspect ratio set in the corresponding input
stream by default, and overriding it using the value specified by
-aspect.
If the output display aspect ratio is specified with -aspect, it is
set at the end of the filterchain, thus overriding the value set by
filters in the filterchain.
This implementation is more robust, since does not modify the
filterchain description (which was creating potential syntax errors).
(Cherry-pick abf8342aa94bdf06bb324f6723a6743dd628d5c6)
Another aspect ratio fix try. This leaves the setdar addition at the end
(preferred by people).
(Cherry-pick e7c7b0d000e81d24327602e04d8fed400dbb7193)
|
|
This fixes several bugs like multiple outputs and -aspect mixed with -vf
(cherry picked from commit 1762d9ced70ccc46c5d3e5d64e56a48d0fbbd4f7)
(cherry picked from commit 5c20c81bfa526b3a269db9c88b0c9007861f0917)
(cherry picked from commit a7844c580d83d8466c161a0e3979b3902d0d9100)
|
|
Prefer parse_number_or_die() over atoi()/atol() parsing for the options:
-pass, -top, -vc, and -qscale.
Improve input validation.
Signed-off-by: Stefano Sabatini <stefano.sabatini-lala@poste.it>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
SIGINT for quitting should be enough for everybody.
|
|
Calculate quality value once per stream in print_report().
Also fix segfault, as coded_frame can be NULL.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
Adding _POSIX_C_SOURCE to CPPFLAGS globally produces all sorts of problems
since it causes certain system functions to be hidden on some (BSD) systems.
The solution is to only add the flag on systems that really require it, i.e.
glibc-based ones.
This change makes BSD systems compile out-of-the-box without the need for
adding specific flags manually. It also allows dropping a number of flags
set manually on a file-per-file basis, but were only present to work around
breakage introduced by the presence of _POSIX_C_SOURCE.
Also add _XOPEN_SOURCE to CPPFLAGS for glibc systems. We use XSI extensions
in several places already, so it is preferable to define it globally instead
of littering source files with individual #defines only needed for glibc.
|