[FFmpeg-devel] [PATCH V4 5/6] lavf/isom: use side data to save max bit rate for esds box

2018-11-23 Thread Jun Zhao
Use AV_PKT_DATA_CPB_PROPERTIES to save max bit rate for esds box, and update fate at the same time. Signed-off-by: Jun Zhao --- libavformat/isom.c | 19 --- tests/ref/fate/adtstoasc_ticket3715 |2 +- tests/ref/fate/copy-psp

[FFmpeg-devel] [PATCH V4 3/6] fftools/ffmpeg: delete the unused code.

2018-11-23 Thread Jun Zhao
There are come from 2012 ago and have never been used from this time. Signed-off-by: Jun Zhao --- fftools/ffmpeg.c |9 + 1 files changed, 1 insertions(+), 8 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index a12208c..085d6d2 100644 --- a/fftools/ffmpeg.c +++ b

[FFmpeg-devel] [PATCH V4 4/6] lavc/kvazaar: fix auto thread flag in kvazaar wrapper.

2018-11-23 Thread Jun Zhao
Now the kvazaar warpper didn't setting the threads for kvazaar API, and kavzaar will auto selecte the thread number. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvaz

[FFmpeg-devel] [PATCH V4 0/6] Misc change V4

2018-11-23 Thread Jun Zhao
ix max_bit_rate dump warning for ffprobe Jun Zhao (6): lavfi/buffersrc: Indent the code. fftools/ffprobe: Indent the code. fftools/ffmpeg: delete the unused code. lavc/kvazaar: fix auto thread flag in kvazaar wrapper. lavf/isom: use side data to save max bit rate for esds box fftoo

[FFmpeg-devel] [PATCH V4 1/6] lavfi/buffersrc: Indent the code.

2018-11-23 Thread Jun Zhao
commit b0012de420f missed reindent. Signed-off-by: Jun Zhao --- libavfilter/buffersrc.c | 30 +++--- 1 files changed, 15 insertions(+), 15 deletions(-) diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index cd56f8c..0c12650 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH V4 2/6] fftools/ffprobe: Indent the code.

2018-11-23 Thread Jun Zhao
commit 196765a7cc4 missed the reindet. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 544786e..dea489d 100644 --- a/fftools/ffprobe.c +++ b/fftools

[FFmpeg-devel] [PATCH V4 6/6] fftools/ffprobe: fix max_bit_rate dump.

2018-11-23 Thread Jun Zhao
‘codec’ is deprecated in AVStream, so used the side data to dump max_bit_rate in ffprobe. Clean the warning like: "warning: ‘codec’ is deprecated [-Wdeprecated-declarations]" Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletion

[FFmpeg-devel] [PATCH] lavc/libaomenc: Add a maximum constraint of 64 encoder threads.

2018-11-27 Thread Jun Zhao
fixed the error in Intel(R) Xeon(R) Gold 6152 CPU like: [libaom-av1 @ 0x469f340] Failed to initialize encoder: Invalid parameter [libaom-av1 @ 0x469f340] Additional information: g_threads out of range [..MAX_NUM_THREADS] Signed-off-by: Jun Zhao --- libavcodec/libaomenc.c |3 ++- 1 files

[FFmpeg-devel] [PATCH V1 0/2] Add libsvt HEVC encoder wrapper.

2018-12-01 Thread Jun Zhao
coder wrapper and a Changelog entry. Jun Zhao (2): lavc/svt_hevc: add libsvt hevc encoder wrapper. Changelog: Add new entry for svt-hevc encoder Changelog|2 +- configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libav

[FFmpeg-devel] [PATCH V1 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-01 Thread Jun Zhao
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libsvt_hevc.c | 370

[FFmpeg-devel] [PATCH V1 2/2] Changelog: Add new entry for svt-hevc encoder

2018-12-01 Thread Jun Zhao
Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- Changelog |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Changelog b/Changelog index 1f53ff4..eca6327 100644 --- a/Changelog +++ b/Changelog @@ -10,7 +10,7 @@ version : - truehd_core

[FFmpeg-devel] [PATCH V2 3/3] Changelog: Add new entry for svt-hevc encoder

2018-12-04 Thread Jun Zhao
Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- Changelog |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/Changelog b/Changelog index 1f53ff4..cef444d 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ version : - truehd_core

[FFmpeg-devel] [PATCH V2 2/3] doc: Add libsvt_hevc encoder docs

2018-12-04 Thread Jun Zhao
Signed-off-by: Jun Zhao Signed-off-by: Huang, Zhengxu Signed-off-by: hassene --- doc/encoders.texi | 98 + doc/general.texi |8 2 files changed, 106 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi

[FFmpeg-devel] [PATCH V2 0/3] Add libsvt HEVC encoder wrapper

2018-12-04 Thread Jun Zhao
(Tks Steven/James's review). - Add docs part (Tks Steven/Moritz's review). - Use named parameters in options. - Follow FFmpeg coding style and Changelog. V1: - Add libsvt hevc encoder wrapper and a Changelog entry. Jun Zhao (3): lavc/svt_hevc: add libsvt hevc encoder wrap

[FFmpeg-devel] [PATCH V2 1/3] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-04 Thread Jun Zhao
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1 + libavcodec/libsvt_hevc.c | 440

[FFmpeg-devel] [PATCH V1 2/2] lavc/vaapi_encode: fix slices number check.

2018-12-06 Thread Jun Zhao
Fix slice number check logic. Only when the user setting slices number more than the driver constraints dump the rounded up warning message. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/vaapi_encode.c

[FFmpeg-devel] [PATCH V1 1/2] lavfi/vf_scale_vaapi: add scaling mode setting support.

2018-12-06 Thread Jun Zhao
before this change, scale_vaapi hard coding the scaling mode, add a new option "mode" to setting the scaling mode, it can be use to change scaling algorithm for performance/quality trade off. Signed-off-by: Jun Zhao --- libavfilter/vf_scale_vaapi.c | 33 ++

[FFmpeg-devel] [PATCH V1 0/2] VA-API misc change

2018-12-06 Thread Jun Zhao
V1: - Fix slices number warning message dump when setting > driver constraints - Add mode option to scale_vaapi Jun Zhao (2): lavfi/vf_scale_vaapi: add scaling mode setting support. lavc/vaapi_encode: fix slices number check. libavcodec/vaapi_encode.c|2 +- libavfil

[FFmpeg-devel] [PATCH V3 2/2] doc: Add libsvt_hevc encoder docs

2018-12-07 Thread Jun Zhao
Signed-off-by: Jun Zhao Signed-off-by: Huang, Zhengxu Signed-off-by: hassene --- doc/encoders.texi | 98 + doc/general.texi |8 2 files changed, 106 insertions(+), 0 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi

[FFmpeg-devel] [PATCH V3 0/2] Add libsvt HEVC encoder wrapper

2018-12-07 Thread Jun Zhao
- Follow FFmpeg coding style and Changelog. V1: - Add libsvt hevc encoder wrapper and a Changelog entry. Jun Zhao (2): lavc/svt_hevc: add libsvt hevc encoder wrapper. doc: Add libsvt_hevc encoder docs Changelog|1 + configure|4 + doc/encoders.texi

[FFmpeg-devel] [PATCH V3 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-07 Thread Jun Zhao
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- Changelog|1 + configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1

[FFmpeg-devel] [PATCH V4 2/2] doc: Add libsvt_hevc encoder docs

2018-12-09 Thread Jun Zhao
Add docs for libsvt_hevc encoder in encoders.texi and general.texi Signed-off-by: Jun Zhao Signed-off-by: Huang, Zhengxu Signed-off-by: hassene --- doc/encoders.texi | 157 + doc/general.texi | 14 + 2 files changed, 171 insertions

[FFmpeg-devel] [PATCH V4 0/2] Add libsvt HEVC encoder wrapper

2018-12-09 Thread Jun Zhao
gelog. V1: - Add libsvt hevc encoder wrapper and a Changelog entry. Jun Zhao (2): lavc/svt_hevc: add libsvt hevc encoder wrapper. doc: Add libsvt_hevc encoder docs Changelog|1 + configure|4 + doc/encoders.texi| 157 ++

[FFmpeg-devel] [PATCH V4 1/2] lavc/svt_hevc: add libsvt hevc encoder wrapper.

2018-12-09 Thread Jun Zhao
base on patch by Huang, Zhengxu from https://github.com/intel/SVT-HEVC Signed-off-by: Huang, Zhengxu Signed-off-by: hassene Signed-off-by: Jun Zhao --- Changelog|1 + configure|4 + libavcodec/Makefile |1 + libavcodec/allcodecs.c |1

[FFmpeg-devel] [PATCH] lavfi/buffersink: fix abuffersink flag setting issue

2018-12-09 Thread Jun Zhao
abuffersink need to setting AV_OPT_FLAG_AUDIO_PARAM flag. Signed-off-by: Jun Zhao --- libavfilter/buffersink.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/buffersink.c b/libavfilter/buffersink.c index 0f87b54..f9b0b5e 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH V1 1/3] lavf/dashenc: add 3GPP TS26.247 probe in dash demuxer

2020-03-01 Thread Jun Zhao
From: Jun Zhao Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile to dash demuxer probe. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 15e79fd

[FFmpeg-devel] [PATCH V1 2/3] lavf/dashdec: Add ts to the list of allowed extensions.

2020-03-01 Thread Jun Zhao
From: Jun Zhao Dashdec can able to handle MPEG-2 TS streams by default as well, used MP4Box to create the segmented MPEG-2 TS files for verification. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat

[FFmpeg-devel] [PATCH V1 3/3] doc/filters: add missed framesync part in filter docs

2020-03-01 Thread Jun Zhao
From: Jun Zhao Add missed framesync part in filter docs. Signed-off-by: Jun Zhao --- doc/filters.texi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 1453ecd..73f9f0a 100644 --- a/doc/filters.texi +++ b/doc/filters.texi

[FFmpeg-devel] [PATCH V2 1/3] doc/filters: add missed framesync part in filter docs

2020-03-03 Thread Jun Zhao
From: Jun Zhao Add missed framesync part in filter docs. Signed-off-by: Jun Zhao --- doc/filters.texi |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index b4f3e1a..79b0b8e 100644 --- a/doc/filters.texi +++ b/doc/filters.texi

[FFmpeg-devel] [PATCH V2 3/3] lavf/dashdec: add 3GPP TS26.247 probe in dash demuxer

2020-03-03 Thread Jun Zhao
From: Jun Zhao Enabled the 3GP-DASH Release-10/Relase-11(3GPP TS26.247) profile to dash demuxer probe. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index c05b75a

[FFmpeg-devel] [PATCH V2 2/3] lavf/dashdec: Add ts to the list of allowed extensions.

2020-03-03 Thread Jun Zhao
From: Jun Zhao Dashdec can able to handle MPEG-2 TS streams by default as well, used MP4Box to create the segmented MPEG-2 TS files for verification. Signed-off-by: Jun Zhao --- libavformat/dashdec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavformat

[FFmpeg-devel] [PATCH V1 1/4] lavf/flvdec: set AVFMT_TS_DISCONT flag on FLV demuxer

2020-03-30 Thread Jun Zhao
From: Jun Zhao There have been some reports about FLV timestamp discontinuities present. e,g, the file recorded from live RTMP FLV streaming, so add AVFMT_TS_DISCONT flag on FLV demuxer and also update the fate test fate-filter-aresample for test sample nellymoser-discont.flv. BTW: live_flv

[FFmpeg-devel] [PATCH V1 2/4] lavc/hevcdec: fix the HEVC decoder crash when memory over-read

2020-03-30 Thread Jun Zhao
From: qoroliang Fix an occasional crash for hevc decoder in ARM 64 platform, the root cause is the memory over read(read cross the memory boundary) in SAO NENO functions ff_hevc_sao_band_filter_neon_8 and ff_hevc_sao_edge_filter_neon_8. After this fix, the crash disapper in the massive Android p

[FFmpeg-devel] [PATCH V1 3/4] lavf/mpegts: support DOVIVideo Stream Descriptor

2020-03-30 Thread Jun Zhao
From: vacingfang support DOVIVideo Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the Dolby Vision p

[FFmpeg-devel] [PATCH V1 4/4] lavf/mov: support dvcC/dvvC box for Dolby Vision

2020-03-30 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) And export the Dolby Vision profile/level wi

[FFmpeg-devel] [PATCH v2 6/7] fftools/ffprobe: support dolby vision sidedata

2020-04-11 Thread Jun Zhao
From: Jun Zhao support dolby vision sidedata. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index e3f221f..108e837 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -36,6 +36,7

[FFmpeg-devel] [PATCH v2 4/7] lavf/mov: support dvcC/dvvC box for Dolby Vision

2020-04-11 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) export the Dolby Vision information to sided

[FFmpeg-devel] [PATCH v2 5/7] lavf/dump: dump dolby vison side data

2020-04-11 Thread Jun Zhao
From: Jun Zhao dump dolby vison side data. Signed-off-by: Jun Zhao --- libavformat/dump.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 220f404..be0028b 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -27,6

[FFmpeg-devel] [PATCH v2 0/7] Support Dolby Vision

2020-04-11 Thread Jun Zhao
From: Jun Zhao V2: - used sidedata for Dolby Vision information (tks Jan Ekström's suggestion) - enabled dumping Dolby Vision sidedata for ffmpeg/ffprobe tools - enable dvcC/dvvC box from Dolby Vision sidedata Jun Zhao (4): lavc: add a new sidedata type for Dolby Vision lavf/dump:

[FFmpeg-devel] [PATCH v2 1/7] lavc: add a new sidedata type for Dolby Vision

2020-04-11 Thread Jun Zhao
From: Jun Zhao add a new sidedata type for Dolby Vision. Signed-off-by: Jun Zhao --- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 9 + 2 files changed, 10 insertions(+) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index ad020ee..276beeb 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH v2 3/7] lavf/mpegts: support DOVIVideo Stream Descriptor

2020-04-11 Thread Jun Zhao
From: vacingfang support DOVIVideo Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the Dolby Vision i

[FFmpeg-devel] [PATCH v2 2/7] lavutil: add dolby vision related header

2020-04-11 Thread Jun Zhao
From: vacinfang add dolby vision related header Signed-off-by: vacinfang --- libavutil/Makefile| 1 + libavutil/dolby_vision_meta.h | 58 +++ 2 files changed, 59 insertions(+) create mode 100644 libavutil/dolby_vision_meta.h diff --git a/l

[FFmpeg-devel] [PATCH v2 7/7] lavf/movenc: enable dvcC/dvvC box support from sidedata

2020-04-11 Thread Jun Zhao
From: Jun Zhao enable dvcC/dvvC box support from sidedata Signed-off-by: Jun Zhao --- libavformat/movenc.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 6db09b7..bdd4467 100644 --- a/libavformat/movenc.c +++ b

[FFmpeg-devel] [PATCH v3 0/7] Support Dolby Vision

2020-04-13 Thread Jun Zhao
From: Jun Zhao V3: - rename the file name for Dolby Vision trademark risk(tks Jean-Baptiste Kempf) - fix other typo issue V2: - used sidedata for Dolby Vision information (tks Jan Ekström's suggestion) - enabled dumping Dolby Vision sidedata for ffmpeg/ffprobe tools - enable dvcC/dvvC box

[FFmpeg-devel] [PATCH v3 5/7] lavf/dump: dump DOVI side data

2020-04-13 Thread Jun Zhao
From: Jun Zhao dump DOVI side data. Signed-off-by: Jun Zhao --- libavformat/dump.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 220f404..fa7ae1e 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -27,6 +27,7

[FFmpeg-devel] [PATCH v3 7/7] lavf/movenc: enable dvcC/dvvC box support from DOVI sidedata

2020-04-13 Thread Jun Zhao
From: Jun Zhao enable dvcC/dvvC box support from DOVI sidedata. Signed-off-by: Jun Zhao --- libavformat/movenc.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 6db09b7..4363e05 100644 --- a/libavformat

[FFmpeg-devel] [PATCH v1] fftools: fix hwaccles option dump redundancy

2020-04-13 Thread Jun Zhao
From: Jun Zhao when enable the QSV in FFmpeg, used the cmd "ffmpeg -hwaccels" always dump redundancy acceleration methods for QSV like: Hardware acceleration methods: vaapi qsv drm opencl qsv Signed-off-by: Jun Zhao --- fftools/ffmpeg_opt.c | 4 1 file changed, 4 deletion

[FFmpeg-devel] [PATCH v3 4/7] lavf/mov: support dvcC/dvvC box for DOVI

2020-04-13 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) export the DOVI information to sidedata. Si

[FFmpeg-devel] [PATCH v3 3/7] lavf/mpegts: support DOVI Video Stream Descriptor

2020-04-13 Thread Jun Zhao
From: vacingfang support DOVI Video Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the DOVI informat

[FFmpeg-devel] [PATCH v3 2/7] lavutil: add DOVI related header

2020-04-13 Thread Jun Zhao
From: vacingfang add DOVI related struct Signed-off-by: vacingfang --- libavutil/Makefile| 1 + libavutil/dovi_meta.h | 58 +++ 2 files changed, 59 insertions(+) create mode 100644 libavutil/dovi_meta.h diff --git a/libavutil/Makefile b/li

[FFmpeg-devel] [PATCH v3 1/7] lavc: add a new sidedata type for DOVI

2020-04-13 Thread Jun Zhao
From: Jun Zhao add a new sidedata type for DOVI. Signed-off-by: Jun Zhao --- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 9 + 2 files changed, 10 insertions(+) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index ad020ee..675652d 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH v3 6/7] fftools/ffprobe: support DOVI sidedata

2020-04-13 Thread Jun Zhao
From: Jun Zhao support DOVI sidedata. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index e3f221f..840fcb7 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -36,6 +36,7 @@ #include

[FFmpeg-devel] [PATCH v2] fftools: fix hwaccles option dump redundancy

2020-04-13 Thread Jun Zhao
From: Jun Zhao when enable the QSV in FFmpeg, used the cmd "ffmpeg -hwaccels" always dump redundancy acceleration methods for QSV like: Hardware acceleration methods: vaapi qsv drm opencl qsv Signed-off-by: Jun Zhao --- fftools/ffmpeg_opt.c | 5 - 1 file changed, 5 deletion

[FFmpeg-devel] [PATCH v3] fftools: fix hwaccels option dump redundancy

2020-04-13 Thread Jun Zhao
From: Jun Zhao When QSV is enabled in FFmpeg, the command "ffmpeg -hwaccels" shows a duplicate entry in acceleration methods for QSV: Hardware acceleration methods: vaapi qsv drm opencl qsv Signed-off-by: Jun Zhao --- fftools/ffmpeg_opt.c | 5 - 1 file changed, 5 deletions(-)

[FFmpeg-devel] [PATCH v4 7/7] lavf/movenc: enable dvcC/dvvC box support from DOVI sidedata

2020-04-18 Thread Jun Zhao
From: Jun Zhao enable dvcC/dvvC box support from DOVI sidedata. Signed-off-by: Jun Zhao --- libavformat/movenc.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index bf3e4fa..10aee5f 100644 --- a/libavformat

[FFmpeg-devel] [PATCH v4 0/7] Support Dolby Vision

2020-04-18 Thread Jun Zhao
From: Jun Zhao V4: - change the DOVI dump message (tks Jan Ekström) - fix the file order in Makefile V3: - rename the file name for Dolby Vision trademark risk(tks Jean-Baptiste Kempf) - fix other typo issue V2: - used sidedata for Dolby Vision information (tks Jan Ekström's sugge

[FFmpeg-devel] [PATCH v4 4/7] lavf/mov: support dvcC/dvvC box for DOVI

2020-04-18 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) export the DOVI information to sidedata. Si

[FFmpeg-devel] [PATCH v4 5/7] lavf/dump: dump DOVI side data

2020-04-18 Thread Jun Zhao
From: Jun Zhao dump DOVI side data. Signed-off-by: Jun Zhao --- libavformat/dump.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 220f404..fa7ae1e 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -27,6 +27,7

[FFmpeg-devel] [PATCH v4 1/7] lavc: add a new sidedata type for DOVI

2020-04-18 Thread Jun Zhao
From: Jun Zhao add a new sidedata type for DOVI. Signed-off-by: Jun Zhao --- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 9 + 2 files changed, 10 insertions(+) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index ad020ee..1b53451 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH v4 3/7] lavf/mpegts: support DOVI Video Stream Descriptor

2020-04-18 Thread Jun Zhao
From: vacingfang support DOVI Video Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the DOVI informat

[FFmpeg-devel] [PATCH v4 2/7] lavutil: add DOVI related header

2020-04-18 Thread Jun Zhao
From: vacingfang add DOVI related struct Signed-off-by: vacingfang --- libavutil/Makefile| 1 + libavutil/dovi_meta.h | 58 +++ 2 files changed, 59 insertions(+) create mode 100644 libavutil/dovi_meta.h diff --git a/libavutil/Makefile b/li

[FFmpeg-devel] [PATCH v4 6/7] fftools/ffprobe: support DOVI sidedata

2020-04-18 Thread Jun Zhao
From: Jun Zhao support DOVI sidedata. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index e3f221f..840fcb7 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -36,6 +36,7 @@ #include

[FFmpeg-devel] [PATCH v1] lavf/tls_mbedtls: fix resource leak

2020-04-19 Thread Jun Zhao
From: Jun Zhao fix resource leak in mbedtls part. fix #8614 Signed-off-by: Jun Zhao --- libavformat/tls_mbedtls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c index 9b80a1e..eb4b2a0 100644 --- a/libavformat/tls_mbedtls.c +++ b

[FFmpeg-devel] [PATCH v1] lavf/mp3enc: fix ID3v1 year metadata setting issue

2020-04-20 Thread Jun Zhao
From: Jun Zhao Follow the http://id3.org/ID3v1, setting the year metadata for ID3v1. fix #8623 Signed-off-by: Jun Zhao --- libavformat/mp3enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 34b753f..157174f 100644

[FFmpeg-devel] [PATCH v2] lavf/tls_mbedtls: fix resource leak

2020-04-20 Thread Jun Zhao
From: Jun Zhao fix resource leak in mbedtls part. fix #8614 Signed-off-by: Jun Zhao --- libavformat/tls_mbedtls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tls_mbedtls.c b/libavformat/tls_mbedtls.c index 9b80a1e..965adf1 100644 --- a/libavformat/tls_mbedtls.c +++ b

[FFmpeg-devel] [PATCH v5 6/7] fftools/ffprobe: support DOVI sidedata

2020-04-21 Thread Jun Zhao
From: Jun Zhao support DOVI sidedata. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index e3f221f..840fcb7 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -36,6 +36,7 @@ #include

[FFmpeg-devel] [PATCH v5 4/7] lavf/mov: support dvcC/dvvC box for DOVI

2020-04-21 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) export the DOVI information to sidedata. Si

[FFmpeg-devel] [PATCH v5 5/7] lavf/dump: dump DOVI side data

2020-04-21 Thread Jun Zhao
From: Jun Zhao dump DOVI side data. Signed-off-by: Jun Zhao --- libavformat/dump.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 220f404..9578b88 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -27,6

[FFmpeg-devel] [PATCH v5 7/7] lavf/movenc: enable dvcC/dvvC box support from DOVI sidedata

2020-04-21 Thread Jun Zhao
From: Jun Zhao enable dvcC/dvvC box support from DOVI sidedata. Signed-off-by: Jun Zhao --- libavformat/movenc.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 253cff8..556dd06 100644 --- a/libavformat

[FFmpeg-devel] [PATCH v5 0/7] Support Dolby Vision

2020-04-21 Thread Jun Zhao
From: Jun Zhao V5: - add a constructor for DOVI (tks Anton Khirnov) - some minor coding style clean V4: - change the DOVI dump message (tks Jan Ekström) - fix the file order in Makefile V3: - rename the file name for Dolby Vision trademark risk(tks Jean-Baptiste Kempf) - fix other typo issue

[FFmpeg-devel] [PATCH v5 2/7] lavutil: add DOVI related header

2020-04-21 Thread Jun Zhao
From: vacingfang add DOVI related struct Signed-off-by: vacingfang --- libavutil/Makefile| 1 + libavutil/dovi_meta.h | 80 +++ 2 files changed, 81 insertions(+) create mode 100644 libavutil/dovi_meta.h diff --git a/libavutil/Makefile b/li

[FFmpeg-devel] [PATCH v5 1/7] lavc: add a new sidedata type for DOVI

2020-04-21 Thread Jun Zhao
From: Jun Zhao add a new sidedata type for DOVI. Signed-off-by: Jun Zhao --- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 9 + 2 files changed, 10 insertions(+) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index ad020ee..1b53451 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH v5 3/7] lavf/mpegts: support DOVI Video Stream Descriptor

2020-04-21 Thread Jun Zhao
From: vacingfang support DOVI Video Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the DOVI informat

[FFmpeg-devel] [PATCH v2] lavf/mp3enc: fix ID3v1 year metadata setting issue

2020-04-22 Thread Jun Zhao
From: Jun Zhao Follow the http://id3.org/ID3v1, setting the year metadata for ID3v1. fix #8623 Signed-off-by: Jun Zhao --- libavformat/mp3enc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 34b753f..14d4b6e

[FFmpeg-devel] [PATCH v6 5/9] lavf/dump: dump DOVI side data

2020-04-22 Thread Jun Zhao
From: Jun Zhao dump DOVI side data. Signed-off-by: Jun Zhao --- libavformat/dump.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 220f404..5e9a031 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -27,6 +27,7

[FFmpeg-devel] [PATCH v6 4/9] lavf/mov: support dvcC/dvvC box for DOVI

2020-04-22 Thread Jun Zhao
From: vacingfang support dvcC/dvcC box from spec Dolby Vision Streams Within the ISO Base MediaFile Format Version 2.1.2 (https://www.dolby.com/in/en/technologies/dolby-vision/dolby-vision\ -bitstreams-within-the-iso-base-media-file-format-v2.1.2.pdf) export the DOVI information to sidedata. Si

[FFmpeg-devel] [PATCH v6 0/9] Support Dolby Vision

2020-04-22 Thread Jun Zhao
From: Jun Zhao V6: - split the header and .c file - bump version and update APIChnage V5: - add a constructor for DOVI (tks Anton Khirnov) - some minor coding style clean V4: - change the DOVI dump message (tks Jan Ekström) - fix the file order in Makefile V3: - rename the file name for Dolby

[FFmpeg-devel] [PATCH v6 7/9] lavf/movenc: enable dvcC/dvvC box support from DOVI sidedata

2020-04-22 Thread Jun Zhao
From: Jun Zhao enable dvcC/dvvC box support from DOVI sidedata. Signed-off-by: Jun Zhao --- libavformat/movenc.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 253cff8..556dd06 100644 --- a/libavformat

[FFmpeg-devel] [PATCH v6 6/9] fftools/ffprobe: support DOVI sidedata

2020-04-22 Thread Jun Zhao
From: Jun Zhao support DOVI sidedata. Signed-off-by: Jun Zhao --- fftools/ffprobe.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index e3f221f..840fcb7 100644 --- a/fftools/ffprobe.c +++ b/fftools/ffprobe.c @@ -36,6 +36,7 @@ #include

[FFmpeg-devel] [PATCH v6 2/9] lavutil: add DOVI related header

2020-04-22 Thread Jun Zhao
file mode 100644 index 000..7bd08f6 --- /dev/null +++ b/libavutil/dovi_meta.c @@ -0,0 +1,35 @@ +/* + * Copyright (c) 2020 Jun Zhao + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public

[FFmpeg-devel] [PATCH v6 1/9] lavc: add a new sidedata type for DOVI

2020-04-22 Thread Jun Zhao
From: Jun Zhao add a new sidedata type for DOVI. Signed-off-by: Jun Zhao --- libavcodec/avpacket.c | 1 + libavcodec/packet.h | 9 + 2 files changed, 10 insertions(+) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index ad020ee..1b53451 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH v6 3/9] lavf/mpegts: support DOVI Video Stream Descriptor

2020-04-22 Thread Jun Zhao
From: vacingfang support DOVI Video Stream Descriptor from Dolby Vision Streams Within the MPEG-2 Transport Stream Format V1.2 From the spec: https://www.dolby.com/us/en/technologies/\ dolby-vision/dolby-vision-bitstreams-in-mpeg-2-transport-\ stream-multiplex-v1.2.pdf. export the DOVI informat

[FFmpeg-devel] [PATCH v6 8/9] lavc/version: bump minor version for DOVI sidedata

2020-04-22 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 8cff2e8..ad85fb1 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,7 +28,7 @@ #include

[FFmpeg-devel] [PATCH v6 9/9] doc/APIChanges: add AV_PKT_DATA_DOVI_CONF entry

2020-04-22 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- doc/APIchanges | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index e30148d..5aa25de 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2017-10-21 API changes, most recent first

[FFmpeg-devel] [PATCH v1 1/2] lavu/version: bump minor version for DOVI sidedata

2020-04-23 Thread Jun Zhao
From: Jun Zhao bump minor version for DOVI sidedata, add dovi_meta.h as lavu API part. Signed-off-by: Jun Zhao --- libavutil/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/version.h b/libavutil/version.h index 70836a5..e4fa0a9 100644 --- a/libavutil

[FFmpeg-devel] [PATCH v1 2/2] doc/APIchanges: add lavu part entry for DOVI sidedata

2020-04-23 Thread Jun Zhao
From: Jun Zhao missed the lavu entry for dovi_meta.h in APIchanges. Signed-off-by: Jun Zhao --- doc/APIchanges | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 5aa25de..42e53f6 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -16,7

[FFmpeg-devel] [PATCH v2] lavu/version: bump minor version for DOVI sidedata

2020-04-23 Thread Jun Zhao
From: Jun Zhao bump minor version for DOVI sidedata, because added the dovi_meta.h as lavu API part. Also update APIchanges. Signed-off-by: Jun Zhao --- doc/APIchanges | 5 +++-- libavutil/version.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/APIchanges b

[FFmpeg-devel] [PATCH v3] lavu/version: bump minor version for DOVI sidedata

2020-04-23 Thread Jun Zhao
From: Jun Zhao bump minor version for DOVI sidedata, because added the dovi_meta.h as lavu API part. Also update APIchanges. Signed-off-by: Jun Zhao --- doc/APIchanges | 5 +++-- libavutil/version.h | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/APIchanges b

[FFmpeg-devel] [PATCH 2/3] lavf/utils: fix start_time dump when the value is AV_NOPTS_VALUE

2020-05-17 Thread Jun Zhao
From: Jun Zhao The command: ffprobe -show_format -i ../fate-suite/aac/foo.aac -loglevel 99 will dump the trace message as follow when start_time is AV_NOPTS_VALUE [aac @ 0x55bf8e1f3dc0] stream 0: start_time: -326791809695.818 duration: 2.174 [aac @ 0x55bf8e1f3dc0] format: start_time

[FFmpeg-devel] [PATCH 3/3] lavf/utils: Reindent after previous commit

2020-05-17 Thread Jun Zhao
From: Jun Zhao Reindent after previous commit. Signed-off-by: Jun Zhao --- libavformat/utils.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index d7fdd72..1798f70 100644 --- a/libavformat/utils.c +++ b

[FFmpeg-devel] [PATCH 1/3] lavc/aac_ac3_parser: improve the raw AAC file bit rate calculation

2020-05-17 Thread Jun Zhao
From: Jun Zhao Now we just use one ADTS raw frame to calculate the bit rate, it's lead to a larger error when get the duration from bit rate, the improvement cumulate Nth ADTS frames to get the average bit rate. e,g used the command get the duration like: ffprobe -show_entries format=dur

[FFmpeg-devel] [PATCH] lavfi/afir: fix vpad.name leak

2020-05-24 Thread Jun Zhao
From: Jun Zhao Fixed vpad.name leak in error path, move the vpad related operation only if enabeled show IR frequency response. Signed-off-by: Jun Zhao --- libavfilter/af_afir.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/libavfilter/af_afir.c b

[FFmpeg-devel] [PATCH v2 1/2] lavfi/afir: fix vpad.name leak

2020-05-25 Thread Jun Zhao
From: Jun Zhao Fix vpad.name leak in error path, move the vpad related operation only if enabled show IR frequency response. Signed-off-by: Jun Zhao --- libavfilter/af_afir.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/libavfilter/af_afir.c b/libavfilter

[FFmpeg-devel] [PATCH v2 2/2] lavfi/aiir: Refine the pad/vpad related operation

2020-05-25 Thread Jun Zhao
From: Jun Zhao move the pad/vpad related operation with more natural coding style. Signed-off-by: Jun Zhao --- libavfilter/af_aiir.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavfilter/af_aiir.c b/libavfilter/af_aiir.c index 92ff348..7971cf2 100644 --- a

[FFmpeg-devel] [PATCH v2 1/4] lavc/aac_ac3_parser: improve the raw AAC file bit rate calculation

2020-05-26 Thread Jun Zhao
From: Jun Zhao Now we just use one ADTS raw frame to calculate the bit rate, it's lead to a larger error when get the duration from bit rate, the improvement cumulate Nth ADTS frames to get the average bit rate. e,g used the command get the duration like: ffprobe -show_entries format=dur

[FFmpeg-devel] [PATCH v2 3/4] lavc/libx264: misc style fixes

2020-05-26 Thread Jun Zhao
From: Jun Zhao commit 4ed3a01d717 missed coding style fix. Signed-off-by: Jun Zhao --- libavcodec/libx264.c | 76 ++-- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 4121b28

[FFmpeg-devel] [PATCH v2 2/4] lavf/utils: fix start_time/duration dump if it is AV_NOPTS_VALUE

2020-05-26 Thread Jun Zhao
From: Jun Zhao e,g: the command: ffprobe -show_format -i fate-suite/aac/foo.aac -loglevel 99 will dump the trace message as follow when start_time is AV_NOPTS_VALUE [aac @ 0x55bf8e1f3dc0] stream 0: start_time: -326791809695.818 duration: 2.174 [aac @ 0x55bf8e1f3dc0] format: start_time

[FFmpeg-devel] [PATCH v2 4/4] lavf/mpegtsenc: misc style fixes

2020-05-26 Thread Jun Zhao
From: Jun Zhao commit 32aeba12755 missed coding style fix. Signed-off-by: Jun Zhao --- libavformat/mpegtsenc.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index bf1a7ee..de9819b 100644 --- a

[FFmpeg-devel] [PATCH 2/2] hwcontext_vulkan: fix make checkheaders fail

2020-05-30 Thread Jun Zhao
From: Jun Zhao make checkheaders will get error as follow: CC libavutil/hwcontext_vulkan.h.o In file included from libavutil/hwcontext_vulkan.h.c:1: ./libavutil/hwcontext_vulkan.h:130:23: error: ‘AV_NUM_DATA_POINTERS’ undeclared here (not in a function) 130 | void *alloc_pnext

[FFmpeg-devel] [PATCH 1/2] checkasm: sw_rgb: Fix mixed declaration and code

2020-05-30 Thread Jun Zhao
From: Jun Zhao Fix mixed declaration and code. Signed-off-by: Jun Zhao --- tests/checkasm/sw_rgb.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/checkasm/sw_rgb.c b/tests/checkasm/sw_rgb.c index 1e8ea15..e5aad20 100644 --- a/tests/checkasm/sw_rgb.c +++ b

<    1   2   3   4   5   6   7   8   9   10   >