[FFmpeg-devel] [PATCH 4/4] lavc/vvc/refs: Use dpb_max_num_reorder_pics to control output

2024-04-19 Thread Jun Zhao
From: Jun Zhao Use dpb_max_num_reorder_pics to control output instead of dpb_max_dec_pic_buffering, when dpb_max_dec_pic_buffering is much larger than dpb_max_num_reorder_pics, it may cause dpb overflow error. Signed-off-by: Jun Zhao Signed-off-by: elinyhuang --- libavcodec/vvc/refs.c | 2

[FFmpeg-devel] [PATCH 3/4] lavc/vvc_parser: Fixed the has_b_frames setting

2024-04-19 Thread Jun Zhao
From: Jun Zhao has_b_frames used in decoder for size of the frame reordering buffer, setting this field from dpb_max_num_reorder_pics. Signed-off-by: Jun Zhao --- libavcodec/vvc_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vvc_parser.c b

[FFmpeg-devel] [PATCH 2/4] lavc/libxevd: Fixed the has_b_frames setting

2024-04-19 Thread Jun Zhao
From: Jun Zhao has_b_frames used in decoder for size of the frame reordering buffer, and we don't used the max_b_frames in decoder. Signed-off-by: Jun Zhao --- libavcodec/libxevd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavcodec/libxevd.c b/libavcodec

[FFmpeg-devel] [PATCH 1/4] lavc/vvc_parser: Remove max_b_frames setting

2024-04-19 Thread Jun Zhao
From: Jun Zhao We don't used the max_b_frames field in decoder normally Signed-off-by: Jun Zhao --- libavcodec/vvc_parser.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavcodec/vvc_parser.c b/libavcodec/vvc_parser.c index e3501fa139..a0e10e1a7c 100644 --- a/libavcodec/vvc_parser.c

[FFmpeg-devel] [PATCH 2/2] lavf/movenc: small cleanup for style

2024-03-22 Thread Jun Zhao
From: Jun Zhao Small cleanup for style, indent, switch case lables. BTW, the preferred way to ease multiple indentation levels in a switch statement is to align the switch and its subordinate case labels in the same column Signed-off-by: Jun Zhao --- libavformat/movenc.c | 71

[FFmpeg-devel] [PATCH 1/2] lavc/vvc_parser: small cleanup for style

2024-03-22 Thread Jun Zhao
From: Jun Zhao small cleanup for style, redundant semicolons, goto labels, in FFmpeg, we put goto labels at brace level. Signed-off-by: Jun Zhao --- libavcodec/vvc_parser.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/vvc_parser.c b/libavcodec

[FFmpeg-devel] [PATCH] lavfi/Makefile: fix vf_cropdetect missed edge_common

2023-11-17 Thread Jun Zhao
fix #10664 vf_cropdetect depends on edge_common, it's missing in Makefile Signed-off-by: Jun Zhao --- libavfilter/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/Makefile b/libavfilter/Makefile index 603b532ad0..de51c2a403 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH 2/2] lavc/cbs_h265: Add pps_multilayer_extension support

2023-11-17 Thread Jun Zhao
Add pps_multilayer_extensio support. Signed-off-by: Jun Zhao --- libavcodec/cbs_h265.h | 28 libavcodec/cbs_h265_syntax_template.c | 48 ++- 2 files changed, 75 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_h265.h b/libavcodec

[FFmpeg-devel] [PATCH 1/2] lavc/cbs_h265: Add sps_multilayer_extension support

2023-11-17 Thread Jun Zhao
Add sps_multilayer_extensio support. Signed-off-by: Jun Zhao --- libavcodec/cbs_h265.h | 3 +++ libavcodec/cbs_h265_syntax_template.c | 12 +++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/libavcodec/cbs_h265.h b/libavcodec/cbs_h265.h index 1b1195f198

[FFmpeg-devel] [PATCH] vulkan_decode: fix the print format of VkDeviceSize

2023-11-17 Thread Jun Zhao
VkDeviceSize represents device memory size and offset values as uint64_t in Spec. Signed-off-by: Jun Zhao --- libavcodec/vulkan_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vulkan_video.c b/libavcodec/vulkan_video.c index 236aa124bb..5fa8292b28 100644

[FFmpeg-devel] [PATCH v4 2/2] lavc/videotoolboxenc: Get the encoder supported properties

2023-09-07 Thread Jun Zhao
Get the encoder supported properties list, it will be used for feature support checks. Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 72 1 file changed, 49 insertions(+), 23 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec

[FFmpeg-devel] [PATCH v4 1/2] lavc/videotoolboxenc: Dump the encoder

2023-09-07 Thread Jun Zhao
Dump the encoder, it's will help debug some case Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 28 1 file changed, 28 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index d0a00347b5..2e96990741 100644

[FFmpeg-devel] [PATCH v3 2/2] lavc/videotoolboxenc: Get the encoder supported properties

2023-09-07 Thread Jun Zhao
Get the encoder supported properties list, it will be used for feature support checks. Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 70 1 file changed, 47 insertions(+), 23 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec

[FFmpeg-devel] [PATCH v3 1/2] lavc/videotoolboxenc: Dump the encoder

2023-09-07 Thread Jun Zhao
Dump the encoder, it's will help debug some case Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 28 1 file changed, 28 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index d0a00347b5..2e96990741 100644

[FFmpeg-devel] [PATCH v2 2/2] lavc/videotoolboxenc: Get the encoder supported properties

2023-09-05 Thread Jun Zhao
Get the encoder supported properties list, it will be used for feature support checks. Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 68 1 file changed, 45 insertions(+), 23 deletions(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec

[FFmpeg-devel] [PATCH v2 1/2] lavc/videotoolboxenc: Dump the encoder

2023-09-05 Thread Jun Zhao
Dump the encoder, it's will help debug some case Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 8e493c4f7a..3512d35b73 100644

[FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: Get the encoder supported properties

2023-09-03 Thread Jun Zhao
Get the encoder supported properties list, it will be used for feature support checks. Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index

[FFmpeg-devel] [PATCH 1/2] lavc/videotoolboxenc: Dump the encoder

2023-09-03 Thread Jun Zhao
Dump the encoder, it's will help debug some case Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 20 1 file changed, 20 insertions(+) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index bfc03787a0..5633640a30 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: enable low-latency mode for HEVC

2023-08-31 Thread Jun Zhao
Enable the HEVC encoder that supports low-latency mode. Signed-off-by: Jun Zhao --- libavcodec/videotoolboxenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c index 8e493c4f7a..bfc03787a0 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH 1/2] avdevice/decklink_dec: add explicit specifier

2023-08-31 Thread Jun Zhao
The explicit specifier used with a single argument constructor to prevent implicit type conversions. Signed-off-by: Jun Zhao --- libavdevice/decklink_dec.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/decklink_dec.cpp b/libavdevice/decklink_dec.cpp index

[FFmpeg-devel] [PATCH] lavc/libx264: replace ITU-T T35(A/53 CC) SEI type by enum value

2023-08-26 Thread Jun Zhao
replace ITU-T T35(A/53 CC) SEI type by enum value Signed-off-by: Jun Zhao --- libavcodec/libx264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 1a7dc7bdd5..ce849d6c9a 100644 --- a/libavcodec/libx264.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 2/2] fftools/ffmpeg_filter: initialize the 'o' to silence the warning

2023-02-25 Thread Jun Zhao
From: Jun Zhao silence the warning: variable 'o' is used uninitialized whenever '&&' condition is false Signed-off-by: Jun Zhao --- fftools/ffmpeg_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c index 1f

[FFmpeg-devel] [PATCH 1/2] lavfi/coreimage: suppress OpenGL deprecation warning

2023-02-25 Thread Jun Zhao
From: Jun Zhao suppress OpenGL deprecation warning. Signed-off-by: Jun Zhao --- libavfilter/vf_coreimage.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_coreimage.m b/libavfilter/vf_coreimage.m index b1959861de..17b2cde6fe 100644 --- a/libavfilter

[FFmpeg-devel] [PATCH 2/2] doc/protocols: update rtsp options

2023-02-25 Thread Jun Zhao
From: Jun Zhao Split the rtsp options to muxer/demuxer, and update the options. Signed-off-by: Jun Zhao --- doc/protocols.texi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 0df38d790c

[FFmpeg-devel] [PATCH 1/2] doc/examples/muxing: Remove unnecessary ret

2023-02-25 Thread Jun Zhao
From: Jun Zhao Remove unnecessary ret and make the code more compact Signed-off-by: Jun Zhao --- doc/examples/muxing.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index 3acb778322..cd997d5431 100644 --- a/doc/examples

[FFmpeg-devel] [PATCH 2/2] doc/protocols: update rtsp options

2022-10-22 Thread Jun Zhao
From: Jun Zhao Split the rtsp options to muxer/demuxer, and update the options. Signed-off-by: Jun Zhao --- doc/protocols.texi | 64 ++ 1 file changed, 64 insertions(+) diff --git a/doc/protocols.texi b/doc/protocols.texi index 0df38d790c

[FFmpeg-devel] [PATCH 1/2] doc/examples/muxing: Remove unnecessary ret

2022-10-22 Thread Jun Zhao
From: Jun Zhao Remove unnecessary ret and make the code more compact Signed-off-by: Jun Zhao --- doc/examples/muxing.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index 3acb778322..cd997d5431 100644 --- a/doc/examples

[FFmpeg-devel] [PATCH] lavf/hevc: replace the unicode signal quotation with normal

2022-08-04 Thread Jun Zhao
replace the unicode left/right signal quotation mark with normal signal quotation. Signed-off-by: Jun Zhao --- libavformat/hevc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/hevc.c b/libavformat/hevc.c index df141aec26..37d97941d5 100644

[FFmpeg-devel] [PATCH] lavc/Makefile: fix make checkheaders fail

2022-08-04 Thread Jun Zhao
Fix the break when used libavcodec/Makefile Signed-off-by: Jun Zhao --- libavcodec/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 836132f430..5ba7fb6b86 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -1234,6 +1234,7

[FFmpeg-devel] [PATCH 3/3] lavf/cavsvideodec: Add GuangDian profile support

2022-05-01 Thread Jun Zhao
From: Jun Zhao Enable the Guangdian profile support Signed-off-by: Jun Zhao --- libavformat/cavsvideodec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavformat/cavsvideodec.c b/libavformat/cavsvideodec.c index 1fa3aa5e92..437ad544d3 100644 --- a/libavformat

[FFmpeg-devel] [PATCH 2/3] lavc/cavsdec: Add profile check

2022-05-01 Thread Jun Zhao
From: Jun Zhao Add profile check for cavs decoder, now cavs decoder only support JiZhun(0x20) profile Signed-off-by: Jun Zhao --- libavcodec/cavsdec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/cavsdec.c b/libavcodec/cavsdec.c index 7aaf3f2bcf..6c69c2c94e 100644

[FFmpeg-devel] [PATCH 1/3] lavc/libuavs3d: fix incorrect comments

2022-05-01 Thread Jun Zhao
From: Jun Zhao fix incorrect comments Signed-off-by: Jun Zhao --- libavcodec/libuavs3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libuavs3d.c b/libavcodec/libuavs3d.c index 48333f17d1..6966e00b62 100644 --- a/libavcodec/libuavs3d.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 3/3] lavc:libsvtav1: Update SVT-AV1 new repo

2021-07-03 Thread Jun Zhao
From: Jun Zhao SVT-AV1 moved the repo from github to gitlab. Signed-off-by: Jun Zhao --- doc/general_contents.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/general_contents.texi b/doc/general_contents.texi index 354899ad17..f3f4feab70 100644 --- a/doc

[FFmpeg-devel] [PATCH 1/3] lavc/libsvtav1: Enable svtav1-params like x264-params in libx264

2021-07-03 Thread Jun Zhao
From: Jun Zhao Enabled the svtav1-params, then we can set all the params Signed-off-by: Jun Zhao --- libavcodec/libsvtav1.c | 337 + 1 file changed, 337 insertions(+) diff --git a/libavcodec/libsvtav1.c b/libavcodec/libsvtav1.c index fabc4e6428

[FFmpeg-devel] [PATCH 2/3] doc/encoders: Add svtav1-params option for svtav1

2021-07-03 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- doc/encoders.texi | 4 1 file changed, 4 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 4c38996372..4df6066304 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi @@ -1798,6 +1798,10 @@ Set log2 of the number of rows

[FFmpeg-devel] [PATCH 2/2] lavf/mpegts: fix av_log use the uninitialized stream id

2021-05-07 Thread Jun Zhao
From: Jun Zhao fix av_log use the uninitialized stream id Signed-off-by: Jun Zhao --- libavformat/mpegts.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 9092dbce72..722dae8e36 100644 --- a/libavformat/mpegts.c +++ b

[FFmpeg-devel] [PATCH 1/2] doc/filters: Update commands doc for amix

2021-05-07 Thread Jun Zhao
From: Jun Zhao commit 95b854dd06 "rename sum option to normalize" missed command part docs Signed-off-by: Jun Zhao --- doc/filters.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters.texi index b405cc5dfb..3d5aa8e8ef 100644

[FFmpeg-devel] [PATCH 3/3] lavfi/dnn: check the return value from sws_getContext

2020-12-09 Thread Jun Zhao
From: Jun Zhao sws_getContext may be return NULL, and it's will be dereferenced, so add the check. Signed-off-by: Jun Zhao --- libavfilter/dnn/dnn_io_proc.c | 28 1 file changed, 28 insertions(+) diff --git a/libavfilter/dnn/dnn_io_proc.c b/libavfilter/dnn

[FFmpeg-devel] [PATCH 2/3] lavfi/dnn: used the format name in debug message

2020-12-09 Thread Jun Zhao
From: Jun Zhao Used the format name in debug message. Signed-off-by: Jun Zhao --- libavfilter/dnn/dnn_io_proc.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavfilter/dnn/dnn_io_proc.c b/libavfilter/dnn/dnn_io_proc.c index 8ce1959..db13d7f 100644

[FFmpeg-devel] [PATCH 1/3] tests/audiomatch: add free to make static analysis tools happy

2020-12-09 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- tests/audiomatch.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/tests/audiomatch.c b/tests/audiomatch.c index bb9deca..56a60bd 100644 --- a/tests/audiomatch.c +++ b/tests/audiomatch.c @@ -82,9 +82,9 @@ int main(int

[FFmpeg-devel] [PATCH 2/2] lavf/hls: add AC-3/EAC-3 to allowed extensions file list

2020-09-25 Thread Jun Zhao
From: Jun Zhao Add AC-3/EAC-3 to allowed extensions file list. From HTTP Live Streaming 2nd Edition draft-pantos-hls-rfc8216bis-07 section 3.1.3.Packed Audio, HLS demuxer need to support MP3/AC-3/EAC-3. Signed-off-by: Jun Zhao --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1

[FFmpeg-devel] [PATCH 1/2] examples/muxing: misc style fixes

2020-09-25 Thread Jun Zhao
From: Jun Zhao misc style fixes. Signed-off-by: Jun Zhao --- doc/examples/muxing.c | 47 +++ 1 file changed, 23 insertions(+), 24 deletions(-) diff --git a/doc/examples/muxing.c b/doc/examples/muxing.c index bd16486..42f704c 100644 --- a/doc

[FFmpeg-devel] [PATCH 2/2] lavfi/sendcmd: correct the option flags dump

2020-09-12 Thread Jun Zhao
From: Jun Zhao correct the option flags dump for sendcmd/asendcmd. Signed-off-by: Jun Zhao --- libavfilter/f_sendcmd.c | 26 -- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/libavfilter/f_sendcmd.c b/libavfilter/f_sendcmd.c index 6b02669..5e4c891

[FFmpeg-devel] [PATCH 1/2] lavfi/drawtext: Add reinit to debug message

2020-09-12 Thread Jun Zhao
From: Jun Zhao Add reinit flag to debug message, it's help to debug sending commands to drawtext. Signed-off-by: Jun Zhao --- libavfilter/vf_drawtext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_drawtext.c b/libavfilter/vf_drawtext.c index abe1ca6

[FFmpeg-devel] [PATCH 3/3] doc/fftools-common-opts: document ffmpeg -h protocol=protocol_name

2020-08-07 Thread Jun Zhao
From: Jun Zhao document ffmpeg -h protocol=protocol_name Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 1 file changed, 4 insertions(+) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index acdaa26..2c94eae 100644 --- a/doc/fftools-common

[FFmpeg-devel] [PATCH 1/3] doc/filters: update filter buffer/abuffer interface file name

2020-08-07 Thread Jun Zhao
From: tomajsjiang Update filter buffer/abuffer interface file name, from libavfilter/{vsrc|asrc_buffer.h} to libavfilter/buffersrc.h Signed-off-by: Jun Zhao Signed-off-by: tomajsjiang --- doc/filters.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc

[FFmpeg-devel] [PATCH 2/3] doc/fftools-common-opts: fix typo (name => named)

2020-08-07 Thread Jun Zhao
From: Jun Zhao fix typo (name => named) Signed-off-by: Jun Zhao --- doc/fftools-common-opts.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index f339e0d..acdaa26 100644 --- a/doc/fftools-common-opts.t

[FFmpeg-devel] [PATCH 1/2] lavf/mov: Remove redundant code

2020-08-07 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 1532e74..808ef7c 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -587,7 +587,7 @@ static int mov_read_dref

[FFmpeg-devel] [PATCH 2/2] lavf/mov: Support dref.url box for ISO 14496-12

2020-08-07 Thread Jun Zhao
From: Jun Zhao Enable the dref.url box Signed-off-by: Jun Zhao --- libavformat/isom.h | 6 ++ libavformat/mov.c | 45 ++--- 2 files changed, 44 insertions(+), 7 deletions(-) diff --git a/libavformat/isom.h b/libavformat/isom.h index 41a9c64

[FFmpeg-devel] [PATCH 3/5] lavf/libkvazaar: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type and qp. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 71c9c8f..9032547 100644 --- a/libavcodec/libkvazaar.c

[FFmpeg-devel] [PATCH 5/5] lavc/vaapi_encode: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c | 24 1 file changed, 24 insertions(+) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 6766641..2352fdd 100644 --- a/libavcodec/vaapi_encode.c

[FFmpeg-devel] [PATCH 3/5] lavc/libkvazaar: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type and qp. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 71c9c8f..9032547 100644 --- a/libavcodec/libkvazaar.c

[FFmpeg-devel] [PATCH 1/5] lavc/libkvazaar: fix framerate setting

2020-07-26 Thread Jun Zhao
From: Jun Zhao fix framerate setting. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 02bcae3..71c9c8f 100644 --- a/libavcodec/libkvazaar.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 2/5] lavc/libopenh264enc: use framerate if available

2020-07-26 Thread Jun Zhao
From: Jun Zhao Respecting the framerate in the libopenh264enc codec context. Both the libx264 and libx264 encoders already contain similar logic to first check the framerate before falling back to the timebase. Signed-off-by: Jun Zhao --- libavcodec/libopenh264enc.c | 11 ++- 1 file

[FFmpeg-devel] [PATCH 4/5] lavc/openh264enc: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in https://github.com/cisco/openh264/issues/3317 Signed-off-by: Jun Zhao --- libavcodec/libopenh264enc.c | 31

[FFmpeg-devel] [PATCH 5/5] lavf/vaapi_encode: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type. Signed-off-by: Jun Zhao --- libavcodec/vaapi_encode.c | 24 1 file changed, 24 insertions(+) diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c index 6766641..2352fdd 100644 --- a/libavcodec/vaapi_encode.c

[FFmpeg-devel] [PATCH 2/5] lavc/libopenh264enc: use framerate if available

2020-07-26 Thread Jun Zhao
From: Jun Zhao Respecting the framerate in the libopenh264enc codec context. Both the libx264 and libx264 encoders already contain similar logic to first check the framerate before falling back to the timebase. Signed-off-by: Jun Zhao --- libavcodec/libopenh264enc.c | 11 ++- 1 file

[FFmpeg-devel] [PATCH 4/5] lavc/openh264enc: export encoded frame stats

2020-07-26 Thread Jun Zhao
From: Jun Zhao Export choosen pict_type and qp. NOTE: now libopenh264enc always export the the average QP with zero. And I have opened a issue for libopenh264 in https://github.com/cisco/openh264/issues/3317 Signed-off-by: Jun Zhao --- libavcodec/libopenh264enc.c | 31

[FFmpeg-devel] [PATCH 1/5] lavc/libkvazaar: fix framerate setting

2020-07-26 Thread Jun Zhao
From: Jun Zhao fix framerate setting. Signed-off-by: Jun Zhao --- libavcodec/libkvazaar.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c index 02bcae3..71c9c8f 100644 --- a/libavcodec/libkvazaar.c +++ b/libavcodec

[FFmpeg-devel] [PATCH 3/3] lavf/dashdec: enable custom interrup callback in sub-demuxer

2020-07-18 Thread Jun Zhao
From: Jun Zhao Enable the custom callback in sub-demuxer Signed-off-by: Jun Zhao --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 694782c..c5a5ff6 100644 --- a/libavformat/dashdec.c +++ b/libavformat/dashdec.c

[FFmpeg-devel] [PATCH 1/3] doc/http: Update HTTP protocol options

2020-07-18 Thread Jun Zhao
From: Jun Zhao remove the timeout option docs part for HTTP protocol and add auth_type option part. Signed-off-by: Jun Zhao --- doc/protocols.texi | 27 ++- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index

[FFmpeg-devel] [PATCH 2/3] lavf/hls: enable custom interrup callback in sub-demuxer

2020-07-18 Thread Jun Zhao
From: Jun Zhao Enable the custom callback in sub-demuxer Signed-off-by: Jun Zhao --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index ba17c4e..cf0b71d 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1984,6 +1984,7

[FFmpeg-devel] [PATCH] lavf/srt: fix build fail when used the libsrt 1.4.1

2020-07-12 Thread Jun Zhao
From: Jun Zhao libsrt 1.4.1 changed the: SRTO_SMOOTHER -> SRTO_CONGESTION SRTO_STRICTENC -> SRTO_ENFORCEDENCRYPTION SRTO_TSBPDDELAY -> SRTO_LATENCY and removed the front of deprecated option, it's lead to build fail fix #8760 Signed-off-by: Jun Zhao --- libavformat/lib

[FFmpeg-devel] [PATCH v2 2/2] lavf/udp: fix the commets for defalt UDP socket recvbuf size

2020-07-11 Thread Jun Zhao
From: Jun Zhao 15d160cc0b2 increased the UDP socket receiving buffer size (64K ->384K), but missed to update this comments. Signed-off-by: Jun Zhao --- libavformat/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/udp.c b/libavformat/udp.c index ad69

[FFmpeg-devel] [PATCH v2 1/2] lavfi/setpts: fix setpts/asetpts option dump error

2020-07-11 Thread Jun Zhao
From: Jun Zhao fix the command ffmpeg -h filter=setpts/asetpts both dump the expr option with "FVA" flags. Signed-off-by: Jun Zhao --- libavfilter/setpts.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/libavfilter/setpts.c b/libavfilter/setp

[FFmpeg-devel] [PATCH 1/2] lavc/aac_ac3_parser: fix the potential overflow

2020-06-29 Thread Jun Zhao
From: Jun Zhao Fix the potential overflow. Suggested-by: Alexander Strasser Signed-off-by: Jun Zhao --- libavcodec/aac_ac3_parser.c | 9 + libavcodec/aac_ac3_parser.h | 4 ++-- tests/ref/fate/adtstoasc_ticket3715 | 2 +- 3 files changed, 8 insertions(+), 7 deletions

[FFmpeg-devel] [PATCH] lavfi/setpts: fix setpts/asetpts option dump error

2020-06-29 Thread Jun Zhao
From: Jun Zhao fix the command fmpeg -h filter=setpts/asetpts both dump the expr option with "FVA" flags. Signed-off-by: Jun Zhao --- libavfilter/setpts.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c ind

[FFmpeg-devel] [PATCH 2/2] lavc/aac_ac3_parser: Cosmetics

2020-06-29 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- libavcodec/aac_ac3_parser.c | 31 +++ 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index b26790d..23c60f6 100644 --- a/libavcodec/aac_ac3_parser.c

[FFmpeg-devel] [PATCH v2 1/2] lavu/internal: Fix comment for avpriv_dict_set_timestamp

2020-06-09 Thread Jun Zhao
From: Jun Zhao Fix comment for avpriv_dict_set_timestamp from b72a7b96f84 Signed-off-by: Jun Zhao --- libavutil/internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 4acbcf5..373a662 100644 --- a/libavutil/internal.h

[FFmpeg-devel] [PATCH v2 2/2] lavf/prompeg: prompeg_write() must report data all was written

2020-06-09 Thread Jun Zhao
From: David Holroyd Previously, prompeg_write() would only report to caller that bytes we written when a FEC packet was actually created. Not all RTP packets are expected to generate a FEC packet however, so this behavior was causing avio to retry writing the RTP packet, eventually forcing the

[FFmpeg-devel] [PATCH 1/2] lavu/internal: Fix comment for avpriv_dict_set_timestamp

2020-06-09 Thread Jun Zhao
From: Jun Zhao Fix comment for avpriv_dict_set_timestamp from b72a7b96f84 Signed-off-by: Jun Zhao --- libavutil/internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 4acbcf5..50ba73d 100644 --- a/libavutil/internal.h

[FFmpeg-devel] [PATCH 2/2] lavf/prompeg: prompeg_write() must report data all was written

2020-06-09 Thread Jun Zhao
From: David Holroyd Previously, prompeg_write() would only report to caller that bytes we written when a FEC packet was actually created. Not all RTP packets are expected to generate a FEC packet however, so this behavior was causing avio to retry writing the RTP packet, eventually forcing the

[FFmpeg-devel] [PATCH 2/2] lavf/prompeg: prompeg_write() must report data all was written

2020-06-09 Thread Jun Zhao
From: David Holroyd Previously, prompeg_write() would only report to caller that bytes we written when a FEC packet was actually created. Not all RTP packets are expected to generate a FEC packet however, so this behavior was causing avio to retry writing the RTP packet, eventually forcing the

[FFmpeg-devel] [PATCH 1/2] lavu/internal: Fix comment for avpriv_dict_set_timestamp

2020-06-09 Thread Jun Zhao
From: Jun Zhao Fix comment for avpriv_dict_set_timestamp from b72a7b96f84 Signed-off-by: Jun Zhao --- libavutil/internal.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavutil/internal.h b/libavutil/internal.h index 4acbcf5..50ba73d 100644 --- a/libavutil/internal.h

[FFmpeg-devel] [PATCH 1/3] fftools/ffmpeg: cosmetics

2020-06-04 Thread Jun Zhao
From: Jun Zhao Signed-off-by: Jun Zhao --- fftools/ffmpeg.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 2e9448e..93a86b9 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3118,8 +3118,7 @@ static int

[FFmpeg-devel] [PATCH 3/3] lavf/dashdec: Add missed side data/disposition

2020-06-04 Thread Jun Zhao
From: Jun Zhao dash demuxer get the strem info form sub-stream, but missed sida data/disposition part, e,g, missed the DOVI sida data when the stream is Dolby Vision streams Signed-off-by: Jun Zhao --- libavformat/dashdec.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

[FFmpeg-devel] [PATCH 2/3] lavf/hls: Add missed side data/disposition

2020-06-04 Thread Jun Zhao
From: vacingfang hls demuxer get the strem info form sub-stream, but missed sida data/disposition part, e,g, missed the DOVI sida data when the stream is Dolby Vision streams. Signed-off-by: vacingfang --- libavformat/hls.c | 14 ++ 1 file changed, 14 insertions(+) diff --git

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

2020-05-31 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 v2 3/3] lavc/qsv: fix make checkheaders warning

2020-05-31 Thread Jun Zhao
From: Jun Zhao make checkheaders will get warning as follow: In file included from libavcodec/qsv_internal.h.c:1: ./libavcodec/qsv_internal.h:24:5: warning: "CONFIG_VAAPI" is not defined, evaluates to 0 [-Wundef] 24 | #if CONFIG_VAAPI | ^~~~ include "c

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

2020-05-31 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

[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

[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 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

[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 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=duration

[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

[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] 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 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=duration

[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 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 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 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 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 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 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 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

  1   2   3   4   5   6   7   8   9   10   >