diff options
author | Huang, Zhengxu <zhengxu.maxwell@gmail.com> | 2017-07-21 12:12:44 +0800 |
---|---|---|
committer | Maxym Dmytrychenko <maxim.d33@gmail.com> | 2017-07-25 13:27:43 +0200 |
commit | 2fd6e7d077f590e4d7195356f9baeb271f8b9ae2 (patch) | |
tree | cd33147b3b90fdcd1608233938507acb3da1cc63 /libavcodec/allcodecs.c | |
parent | 2b1324bd167553f49736e4eaa94f96da9982925e (diff) | |
download | ffmpeg-2fd6e7d077f590e4d7195356f9baeb271f8b9ae2.tar.gz |
libavcodec/mjpeg_qsv: Add QSV MJPEG encoder
usage:
-hwaccel qsv -c:v h264_qsv -i in -c:v mjpeg_qsv -global_quality 80 -f
mjpeg out
Signed-off-by: ChaoX A Liu <chaox.a.liu@gmail.com>
Signed-off-by: Zhengxu Huang <zhengxu.maxwell@gmail.com>
Signed-off-by: Andrew Zhang <huazh407@gmail.com
Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 5635ae150c..3fcea5be0d 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -509,6 +509,7 @@ void avcodec_register_all(void) REGISTER_ENCODER(HEVC_NVENC, hevc_nvenc); REGISTER_ENCODER(HEVC_QSV, hevc_qsv); REGISTER_ENCODER(HEVC_VAAPI, hevc_vaapi); + REGISTER_ENCODER(MJPEG_QSV, mjpeg_qsv); REGISTER_ENCODER(MJPEG_VAAPI, mjpeg_vaapi); REGISTER_ENCODER(MPEG2_QSV, mpeg2_qsv); REGISTER_ENCODER(MPEG2_VAAPI, mpeg2_vaapi); |