- Apr 26, 2023
-
-
Samuel Mira authored
Connected FFmpeg to Mediacodec VP8 encoder
-
Samuel Mira authored
Connected FFmpeg to Mediacodec AV1 encoder
-
- Apr 24, 2023
-
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Make various movflags grouped together similar to how it is done for other options. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
It does not matter if the default is 0, but still it is cleaner that way. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Also make duration check for mvhd more consistent with the others, write version 1 of mvhd if duration is at least INT32_MAX instead of UINT32_MAX. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Commit 23eeffcd added a hack to support invalid files where the creation date was encoded as a classic unix timestamp. Let's reduce the scope of the hack by only applying it to version 0 mdhd/mvhd atoms. Also warn the user of such possibly broken files. Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Marton Balint authored
Signed-off-by:
Marton Balint <cus@passwd.hu>
-
Paul B Mahol authored
-
Carl Eugen Hoyos authored
Support pixel formats 0x11412100, 0x11311100, and 0x41211100, and add logic to perform 4x horizontal upsampling. This should fix various JPEG files found in Ticket #8930. Co-authored-by:
<leo.izen@gmail.com>
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
The previous name is misleading, because the function does not actually initialize any filters - it creates a new output stream and binds a filtergraph output to it.
-
Anton Khirnov authored
-
Anton Khirnov authored
OutputFilter.format is initialized in ofilter_alloc().
-
Anton Khirnov authored
Code creating a new filtergraph is currently duplicated in 3 places. This commit unifies it and moves towards making filtergraphs more self-contained.
-
Anton Khirnov authored
-
Anton Khirnov authored
Their only function is checking that encoding was not specified for data/unknown-type streams, but the check is broken because enc_ctx will not be created in ost_add() unless a valid encoder can be found. Add an actually working check for all types for which encoding is not supported in choose_encoder().
-
Anton Khirnov authored
-
Anton Khirnov authored
They are not needed outside of ost_get_filters(), so make them stack variables there.
-
Anton Khirnov authored
Do it in ost_get_filters() together with other similar checks. Will be useful in following commits. Also, improve the log message.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
It is not used in that case anymore. Forgotten in d56652fd.
-
Anton Khirnov authored
ts_discontinuity_detect() is applied right after demuxing, while InputStream.pts is a post-decoding timestamp, which may be delayed with respect to demuxing by an arbitrary amount (e.g. depending on the thread count when frame threading is used).
-
Anton Khirnov authored
This code properly belongs there.
-
Anton Khirnov authored
The name is misleading, because it is not a picture in the sense of MPEG terminology (which define "picture" as "frame or field"), but always a full frame. 'next' is also redundant and/or misleading, because it is the _current_ frame to be encoded.
-
Anton Khirnov authored
Previously they would only be used with trivial filtergraphs, because filters did not handle frame durations. That is no longer true - most filters process frame durations properly (there may still be some that don't - this change will help finding and fixing them). Improves output video frame durations in a number of FATE tests.
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
-
Anton Khirnov authored
When an encoder exports sum-of-squared-differences information in encoded packets, print_report() will print PSNR information in the status line. However, * the code computing PSNR assumes 8bit 420 video and prints incorrect values otherwise; there are no issues on trac about this * only a few encoders (namely aom, vpx, mpegvideo, snow) export this information; other often-used encoders such as libx26[45] do not export this, even though they could This suggests that this feature is not useful and it is better to remove it rather than spend effort on fixing it.
-
Haihao Xiang authored
Otherwise main and overlay videos share the same input region. Note NULL pointer imples the whole overlay video will be processed. Signed-off-by:
Haihao Xiang <haihao.xiang@intel.com>
-
Sil Vilerino authored
- qsv_internal.h: Remove unnecessary include va_drm.h - qsv_internal.h: Enable AVCODEC_QSV_LINUX_SESSION_HANDLE on Linux/VA only - hwcontext_qsv.c: Do not allow child_device_type VAAPI for Windows until support is added, keep D3D11/DXVA2 as more prioritary defaults. 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>
-
Sil Vilerino authored
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>
-
Sil Vilerino authored
Libva 2.17+ adds a new libva-win32 node and Mesa 22.3 adds a VAAPI driver based on Direct3D 12 for Windows. Both of them are available at: https://www.nuget.org/packages/Microsoft.Direct3D.VideoAccelerationCompatibilityPack 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>
-
Wang Yaqiang authored
When write multi-trun box, the MOV_TRUN_FIRST_SAMPLE_FLAGS flag need judge by first param, not 0. If the original video contains consecutive I frames, this will cause the packets of fmp4 have error sample_flags , and then incorrect keyframes were generated, and then error packet will be seeked. Signed-off-by:
Wang Yaqiang <wangyaqiang03@kuaishou.com> Signed-off-by:
Steven Liu <liuqi05@chinaffmpeg.org>
-
- Apr 23, 2023
-
-
James Almer authored
Signed-off-by:
James Almer <jamrial@gmail.com>
-