Zhong Li
4ce701b4e6
qsvenc: remove vcm option on Linux
...
1. vcm mode is only available for H264.
2. vcm is not supported on Linux, but it is shown when run "./avconv -h
encoder=h264_qsv |grep vcm". This shouldn't happen.
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Maxym Dmytrychenko
cca5e4f040
qsv: adding Multi Frame Encode support
...
Starting from API 1.25 helps to improve performance of the simultaneous
encode, 1:N scenario, like:
./avconv -y -hwaccel qsv -c:v h264_qsv -r 30000/1001 -i
~/bbb_sunflower_1080p_60fps_normal.mp4 -vframes 600 -an \
-filter_complex "split=2[s1][s2]; [s1]scale_qsv=1280:720[o1];
[s2]scale_qsv=960:540[o2]" \
-map [o1] -c:v h264_qsv -b:v 3200k -minrate 3200k -maxrate 3200k -f
rawvideo /tmp/3200a.264 \
-map [o2] -c:v h264_qsv -b:v 1750k -minrate 1750k -maxrate 1750k -f
rawvideo /tmp/1750a.264
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Zhong Li
deefca02c2
qsvenc: add the Access Unit Delimiter NAL Unit support
...
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
7 years ago
Ruiling Song
9b09792c90
lavc/qsv: default la_ds to MFX_LOOKAHEAD_DS_UNKNOWN
...
MFX_LOOKAHEAD_DS_UNKNOWN means auto.
-1 is not a valid value.
Signed-off-by: Ruiling Song <ruiling.song@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Zhong Li
8bb9824fcb
qsvenc: AVBR is not supported on non-windows OS
...
AVBR is supported from API 1.3 but only available for Windows
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Luca Barbato
5083785566
qsv: Support explicit lookahead downscaling
7 years ago
Li, Zhong
bddb2ce179
lavc/qsvenc: ICQ/VCM/QVBR are not avilable on Linux
...
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Li, Zhong
b843b343d8
qsvenc: cavlc option is only available for h264
...
Moving option definition to h264 implementation and fixing command line defaults
in order to properly respect cavlc input value
Signed-off-by: Zhong Li <zhong.li@intel.com>
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
7 years ago
Aaron Levinson
8fd8f91e47
qsvenc: Make sure the interlaced encoding works
...
And reduce the vertical alignment constraint when possible to reduce the
memory usage.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
8 years ago
Luca Barbato
f8f7ad758d
qsv: Set the correct range for la_depth
...
Setting an invalid range for it makes the encoder behave inconsistently.
8 years ago
Anton Khirnov
ad9c9440d5
qsvenc: support getting the session from an AVHWFramesContext
9 years ago
Vittorio Giovara
9cac1b4b4f
qsvenc: Add private option to replace coder_type
...
Missing from be00ec832c
.
9 years ago
Vittorio Giovara
0e6c853221
lavc: Move b_frame_strategy and b_sensitivity to codec private options
...
The b_frame_strategy option is only used by mpegvideoenc, qsv, x264, and
xavs, while b_sensitivity is only used by mpegvideoenc.
These are very codec-specific options, so deprecate the global variants.
Set proper limits to the maximum allowed values.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
9 years ago
Anton Khirnov
fc4c27c4ed
qsvenc: expose additional encoding options
9 years ago
Anton Khirnov
e7d7cf86dc
qsvenc: support more RC methods
9 years ago
Anton Khirnov
fb8753ada2
qsvenc: factor out common options
9 years ago
Anton Khirnov
4d8f536b53
qsvenc: print the actual video parameters used by MSDK
9 years ago
Anton Khirnov
dc923bc23b
qsvenc: add an API for allocating opaque surfaces
10 years ago
Anton Khirnov
772c87c5a6
qsvenc: support passing arbitrary external buffers to the encoder
10 years ago
Anton Khirnov
69b92f1b99
qsvenc: properly handle asynchronous encoding
...
Wait for async_depth frames before syncing.
10 years ago
Anton Khirnov
66acb76bb0
lavc: add Intel libmfx-based HEVC encoder
10 years ago
Anton Khirnov
72b7441a10
lavc: add Intel libmfx-based H.264 encoder
10 years ago
Anton Khirnov
9ba27c2348
qsvdec: add 'decode' to the non-static function names
10 years ago
Anton Khirnov
d0a63d8b98
qsvdec: split off some code that will be shared with the encoder
10 years ago
Anton Khirnov
b04d009b0e
qsv: rename to qsvdec
...
This is to avoid conflicts with the upcoming QSV encoding support.
10 years ago
Anton Khirnov
4e08c82110
lavc: add an Intel libmfx-based H.264 decoder
...
Based on the code by Luca Barbato <lu_zero@gentoo.org> and Yukinori
Yamazoe <drocon11@gmail.com>.
10 years ago