[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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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] cmdutils: fix crash if no name for "ffmpeg -h protocol"

2020-01-30 Thread Jun Zhao
From: Jun Zhao fix crash when used the command like: - ffmpeg -h protocol - ffmpeg -h protocol= Signed-off-by: Jun Zhao --- fftools/cmdutils.c |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index 2284631..f0f2b4f 100644

[FFmpeg-devel] [PATCH V2] doc/spp: Update spp command options docs

2020-01-18 Thread Jun Zhao
From: Jun Zhao Update spp command options docs Suggested-by: Moritz Barsnick Signed-off-by: Jun Zhao --- doc/filters.texi |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 7f1f59b..aa7dad5 100644 --- a/doc/filters.texi

[FFmpeg-devel] [PATCH V1 1/2] doc/bsfs: h264_metadata: Update docs about display orientation SEI

2020-01-17 Thread Jun Zhao
From: Jun Zhao Add docs about display orientation SEI. Signed-off-by: Jun Zhao --- doc/bitstream_filters.texi | 21 + 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 8fe5b3a..ff5d027 100644

[FFmpeg-devel] [PATCH V1 2/2] doc/spp: Update spp command options docs

2020-01-17 Thread Jun Zhao
From: Jun Zhao Update spp command options docs Suggested-by: Moritz Barsnick Signed-off-by: Jun Zhao --- doc/filters.texi |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 7f1f59b..15c7f76 100644 --- a/doc/filters.texi +++ b

[FFmpeg-devel] [PATCH V1 03/11] lavfi/crop: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/vf_crop.c | 13 +++-- 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_crop.c b/libavfilter/vf_crop.c index 9bf4077..8dbf1b5 100644 --- a/libavfilter/vf_crop.c +++ b

[FFmpeg-devel] [PATCH V1 02/11] lavfi/spp: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/vf_spp.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_spp.c b/libavfilter/vf_spp.c index db381cd..7381938 100644 --- a/libavfilter/vf_spp.c +++ b/libavfilter

[FFmpeg-devel] [PATCH V1 01/11] lavfi/spp: add "quality" option in runtime change path

2020-01-10 Thread Jun Zhao
From: Jun Zhao it's stranage to use option "level" in runtime change path but used "quality" in option, add "quality" in runtime change path, it's more intuitive and keep the "level" for compatibility. Signed-off-by: Jun Zhao --- doc/filte

[FFmpeg-devel] [PATCH V1 07/11] lavfi/rotate: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag Signed-off-by: Jun Zhao --- libavfilter/vf_rotate.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_rotate.c b/libavfilter/vf_rotate.c index 371ff7f..378be44 100644 --- a/libavfilter/vf_rotate.c +++ b

[FFmpeg-devel] [PATCH V1 04/11] lavfi/hue: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/vf_hue.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_hue.c b/libavfilter/vf_hue.c index 32b..026d4b6 100644 --- a/libavfilter/vf_hue.c +++ b/libavfilter/vf_hue.c

[FFmpeg-devel] [PATCH V1 10/11] lavfi/zscale: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag Signed-off-by: Jun Zhao --- libavfilter/vf_zscale.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_zscale.c b/libavfilter/vf_zscale.c index db2dd17..46c5dd7 100644 --- a/libavfilter/vf_zscale.c +++ b

[FFmpeg-devel] [PATCH V1 09/11] lavfi/firequalizer: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag Signed-off-by: Jun Zhao --- libavfilter/af_firequalizer.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_firequalizer.c b/libavfilter/af_firequalizer.c index 00ddc87..f4513a1 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH V1 11/11] lavfi/vulume: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/af_volume.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index b106ed8..213c571 100644 --- a/libavfilter/af_volume.c +++ b

[FFmpeg-devel] [PATCH V1 08/11] lavfi/eq: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag Signed-off-by: Jun Zhao --- libavfilter/vf_eq.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/libavfilter/vf_eq.c b/libavfilter/vf_eq.c index 914a07f..f4cf499 100644 --- a/libavfilter/vf_eq.c +++ b

[FFmpeg-devel] [PATCH V1 06/11] lavfi/streamselect: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/f_streamselect.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavfilter/f_streamselect.c b/libavfilter/f_streamselect.c index 7a1ff77..b3ae4be 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH V1 05/11] lavfi/scale: enable runtime change flag

2020-01-10 Thread Jun Zhao
From: Jun Zhao enable runtime change flag. Signed-off-by: Jun Zhao --- libavfilter/vf_scale.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 8620d1c..81b2207 100644 --- a/libavfilter/vf_scale.c +++ b

[FFmpeg-devel] [PATCH V1] doc/general: Add avs2 decoder/encoder entry

2020-01-10 Thread Jun Zhao
From: Jun Zhao Add avs2 decoder/encoder entry Signed-off-by: Jun Zhao --- doc/general.texi |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/doc/general.texi b/doc/general.texi index a5b77e0..e668599 100644 --- a/doc/general.texi +++ b/doc/general.texi @@ -819,6 +819,8

[FFmpeg-devel] [PATCH V2 4/5] libavutil/opt: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavutil/opt.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil

[FFmpeg-devel] [PATCH V2 2/5] lavc/libkvazaar: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V2 1/5] lavc/bsf: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/bsf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/bsf.c

[FFmpeg-devel] [PATCH V2 3/5] lavfi/coreimage: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavfilter/vf_coreimage.m |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a

[FFmpeg-devel] [PATCH V2 5/5] tools/aviocat: fix memory leak after av_dict_parse_string fail

2020-01-02 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- tools/aviocat.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/aviocat.c b

[FFmpeg-devel] [PATCH V1] libavcodec/aacdec: fix HE-AAC decoder dirty date (for sbr) when flush

2019-12-31 Thread Jun Zhao
From: qoroliang aac decoder only do the window overlapping data buffer flush but without sbr related buffer flush, that will cause dirty data in the first output frame after flush. Signed-off-by: qoroliang --- libavcodec/aacdec_template.c |6 ++ 1 files changed, 6 insertions(+), 0 dele

[FFmpeg-devel] [PATCH V1 12/12] tools/aviocat: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- tools/aviocat.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tools/aviocat.c b

[FFmpeg-devel] [PATCH V1] lavfi/buffersrc: Remove redundancy free after ff_filter_frame fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao ff_filter_frame always free the frame in case of error, so we don't need to free the frame after ff_filter_frame fail. Signed-off-by: Jun Zhao --- libavfilter/buffersrc.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/libavfilter/buffersr

[FFmpeg-devel] [PATCH V1 07/12] lavc/libxavs2: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libxavs2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 10/12] lavf/hlsenc: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavformat/hlsenc.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/libavformat

[FFmpeg-devel] [PATCH V1 11/12] libavutil/opt: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavutil/opt.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/libavutil

[FFmpeg-devel] [PATCH V1 03/12] lavc/librav1e: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/librav1e.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 08/12] lavfi/coreimage: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavfilter/vf_coreimage.m |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a

[FFmpeg-devel] [PATCH V1 04/12] lavc/libvpxenc: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libvpxenc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 05/12] lavc/libx264: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libx264.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 06/12] lavc/libx265: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libx265.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 09/12] lavf/dashenc: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavformat/dashenc.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a

[FFmpeg-devel] [PATCH V1 02/12] lavc/libkvazaar: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec

[FFmpeg-devel] [PATCH V1 01/12] lavc/bsf: fix memory leak after av_dict_parse_string fail

2019-12-31 Thread Jun Zhao
From: Jun Zhao In case of failure, all the successfully set entries are stored in *pm. We need to manually free the created dictionary to avoid memory leak. Signed-off-by: Jun Zhao --- libavcodec/bsf.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/bsf.c

[FFmpeg-devel] [PATCH V2] lavf/libsrt: add version guard for srt encryption control

2019-12-28 Thread Jun Zhao
From: Jun Zhao add version guard for srt encryption control. and use SRTO_STRICTENC(53) for compatibility. Signed-off-by: Jun Zhao --- libavformat/libsrt.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index

[FFmpeg-devel] [PATCH] lavf/libsrt: add version guard for srt encryption control

2019-12-28 Thread Jun Zhao
From: Jun Zhao add version guard for srt encryption control. Signed-off-by: Jun Zhao --- libavformat/libsrt.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index 2fdfe8e..f981ef1 100644 --- a/libavformat/libsrt.c

[FFmpeg-devel] [PATCH] lavc/cbs_av1: Add read/write flag in log message

2019-12-14 Thread Jun Zhao
From: Jun Zhao Before this change, the command: ffmpeg -y -i bear-av1.mp4 -c:v copy bear-av1.ivf -loglevel 99 always dump the log message like: AVBSFContext @ 0x55ff99e78e00] Frame 4: size 320x240 upscaled 320 render 320x240 subsample 2x2 bitdepth 8 tiles 1x1. Last message repeated

[FFmpeg-devel] [PATCH V1] fftools/cmdutils: Fix break command dump for -map option

2019-12-12 Thread Jun Zhao
From: Jun Zhao Before this fix, ffmpeg -h full | grep map get the command dump like: -map [-]input_file_id[:stream_specifier][,sync_file_id[:stream_s set input stream mapping

[FFmpeg-devel] [PATCH V2 2/2] lavf/tls_openssl: support both pre-1.1.0 and post-1.1.0 init

2019-12-10 Thread Jun Zhao
From: Jun Zhao supporting both pre-1.1.0 and post-1.1.0 version of the OpenSSL library as the link: https://wiki.openssl.org/index.php/Library_Initialization Signed-off-by: Jun Zhao --- libavformat/tls_openssl.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a

[FFmpeg-devel] [PATCH V2 1/2] configure: add OPENSSL_init_ssl check if pkg-config fail

2019-12-10 Thread Jun Zhao
From: macweng fix when pkg-config fail and openssl > 1.1.0 --enable-openssl fail, the root cause is check_lib can't found the SSL_library_init(). Signed-off-by: macweng --- configure |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure index ca7137f..4

[FFmpeg-devel] [PATCH V1 2/2] lavf/tls_openssl: support both pre-1.1.0 and post-1.1.0 init

2019-12-10 Thread Jun Zhao
From: Jun Zhao supporting both pre-1.1.0 and post-1.1.0 version of the OpenSSL library as the link: https://wiki.openssl.org/index.php/Library_Initialization Signed-off-by: Jun Zhao --- libavformat/tls_openssl.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a

[FFmpeg-devel] [PATCH V1 1/2] configure: add OPENSSL_init_ssl check if pkg-config fail

2019-12-10 Thread Jun Zhao
From: macweng fix when pkg-config fail and openssl > 1.1.0 --enable-openssl fail, the root cause is check_lib can't found the SSL_library_init(). Signed-off-by: macweng --- configure |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/configure b/configure index ca7137f..4

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