| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Clarify that -sws_flags are only applied to simple filtergraphs as a
default, not complex filtergraphs. Add a reference to the scaler
options.
|
|
|
|
|
|
|
|
| |
For encoding, this field is entirely redundant with
AVCodecContext.framerate.
For decoding, this field is entirely redundant with
AV_CODEC_PROP_FIELDS.
|
|
|
|
|
|
|
| |
Multiple places currently use AVCodecContext.ticks_per_frame > 1 to
identify such codecs, which
* requires a codec context
* requires it to be open
|
|
|
|
| |
There is nothing meaningful the caller can do with it.
|
| |
|
| |
|
|
|
|
|
| |
Fairly straightforward. We just need to modify the scaler handling code
slightly to support looking at a different list of filter presets.
|
|
|
|
|
|
|
|
|
|
|
| |
This exposes libplacebo's frame mixing functionality to vf_libplacebo,
by allowing users to specify a desired target fps to output at. Incoming
frames will be smoothly resampled (in a manner determined by the
`frame_mixer` option, to be added in the next commit).
To generate a consistently timed output stream, we directly use the
desired framerate as the timebase, and simply output frames in
sequential order (tracked by the number of frames output so far).
|
|
|
|
|
|
| |
Add support for changing expr on the fly.
Signed-off-by: Oleg <oafanasiev@gmail.com>
|
|
|
|
| |
For finer control of selected formats for filtering.
|
|
|
|
|
| |
Percent sign is not a special character in popular shells, so the
quoting isn't necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
THis filter can correct certain issues seen from upstream sources
where the cc_count is not properly set or the CEA-608 tuples are
not at the start of the payload as expected.
Make use of the ccfifo to extract and immediately repack the CEA-708
side data, thereby removing any extra padding and ensuring the 608
tuples are at the front of the payload.
Signed-off-by: Devin Heitmueller <dheitmueller@ltnglobal.com>
Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
|
|
|
|
|
|
|
| |
Commit 55b81528a991 ("doc/filters: itemize crop examples") dropped the
quotation marks from these examples, but this one remained. Quotes are
actually needed to put the example into a command line or a program, but
removing it here makes the example consistent with the document.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
dropping
This allows for decimating large similar portions of a video while preserving small ones.
|
| |
|
|
|
|
| |
lavfi not only supports video but also audio by now.
|
| |
|
| |
|
|
|
|
|
|
| |
enforced
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
|
|
|
| |
This corresponds to AVCodecContext.framerate.
|
|
|
|
|
|
|
|
| |
allocate the input samples buffer and pointers
Fixes -Wuse-after-free warnings and simplifies code.
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
|
|
| |
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
|
|
| |
This has not been the case since c0b93c4f8+48c385fb4c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Motivated by a desire to use vf_libplacebo as a GPU-accelerated
cropping/padding/zooming filter. This commit adds support for setting
the `input/target.crop` fields as dynamic expressions.
Re-use the same generic variables available to other scale and crop type
filters, and also add some more that we can afford as a result of being
able to set these properties dynamically.
It's worth pointing out that `out_t/ot` is currently redundant with
`in_t/t` since it will always contain the same PTS values, but I plan on
changing this in the near future.
I decided to also expose `crop_w/crop_h` and `pos_w/pos_h` as variables
in the expression parser itself, since this enables the fairly common
use case of determining dimensions first and then placing the image
appropriately, such as is done in the default behavior (which centers
the cropped/placed region by default).
|
|
|
|
|
|
| |
In some circumstances, libplacebo will clear the background as a result
of cropping/padding. Currently, this uses the hard-coded default fill
color of black. This option makes this behavior configurable.
|
|
|
|
|
| |
This option has had no effect since -async was removed in
3d86a13b47b726e49c2d780c5f723c290e8a36b4
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Useful for filter selection for detection control.
|
|
|
|
|
|
|
| |
Will remove native backend, so change the default backend in filters,
and also remove the python scripts which generate native model file.
Signed-off-by: Ting Fu <ting.fu@intel.com>
|
| |
|
|
|
|
|
|
| |
Some testing revealed this to be a very efficient and reliable method of
ingesting GPU frames into libplacebo, so it's a good idea to give as an
example.
|
|
|
|
|
|
|
| |
This example being first is now misleading because round-tripping
through hwdownload/hwupload is neither required nor recommended. Also,
the comment about avoiding format conversion is unnecessary because
`libplacebo` will now inherit the input frame format by default.
|
| |
|
|
|
|
|
|
|
| |
Make various movflags grouped together similar to how it is done for other
options.
Signed-off-by: Marton Balint <cus@passwd.hu>
|
|
|
|
|
|
|
|
| |
Initial review at https://github.com/intel-media-ci/ffmpeg/pull/619/
Signed-off-by: Sil Vilerino <sivileri@microsoft.com>
Reviewed-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Reviewed-by: Wu, Tong1 <tong1.wu@intel.com>
|
| |
|
|
|
|
| |
Signed-off-by: Niklas Haas <git@haasn.dev>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This option adds a long string of numbers to the progress line, where
i-th number contains the base-2 logarithm of the number of times a frame
with this QP value was seen by print_report().
There are multiple problems with this feature:
* despite this existing since 2005, web search shows no indication
that it was ever useful for any meaningful purpose;
* the format of what is printed is entirely undocumented, one has to
find it out from the source code;
* QP values above 31 are silently ignored;
* it only works with one video stream;
* as it relies on global state, it is in conflict with ongoing
architectural changes.
It then seems that the nontrivial cost of maintaining this option is not
worth its negligible (or possibly negative - since it pollutes the
already large option space) value.
Users who really need similar functionality can also implement it
themselves using -vstats.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
existing buffer
The function now accepts an existing buffer to avoid unnecessary allocations,
as well as only reporting the needed amount of bytes if you pass a NULL pointer
as input for data.
For this, both parameters become input and output, as well as making data
optional. This is backwards compatible, and as such not breaking any existing
use of the function in external code (if there's any).
Signed-off-by: James Almer <jamrial@gmail.com>
|
|
|
|
|
| |
This is not the place to boast about high-quality polyphase filters -
the most important feature of the program is its universality.
|
|
|
|
| |
It is a media converter, not just a video converter.
|
|
|
|
|
|
|
| |
It was closed in September 2020.
Fix issue:
http://trac.ffmpeg.org/ticket/9734
|