From: Jun Zhao
Add sub-options for in_color_matrix/out_color_matrix
Signed-off-by: Jun Zhao
---
libavfilter/vf_scale.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index f741419..7aebf56 100644
--- a
From: Jun Zhao
Document missing options for scale in/out color matrix
Signed-off-by: Jun Zhao
---
doc/filters.texi |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 700a76f..b7dec47 100644
--- a/doc/filters.texi
+++ b/doc
From: Jun Zhao
Remove the function ffio_open2_wrapper, it's not being used anymore.
Signed-off-by: Jun Zhao
---
libavformat/aviobuf.c |6 --
libavformat/internal.h |3 ---
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/libavformat/aviobuf.c b/libavformat/avio
From: Jun Zhao
support regions of interest sidedata
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index e41c330..f6f8f49 100644
--- a
From: Jun Zhao
fix hls muxer time drifts from the actual clock time, based on
Pavel Pilar's fix.
fix: Ticket7986
Signed-off-by: Pavel Pilar
Signed-off-by: Jun Zhao
---
libavformat/hlsenc.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavformat/hls
From: Jun Zhao
Add missing documentation for nointra.
Signed-off-by: Jun Zhao
---
doc/codecs.texi |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/codecs.texi b/doc/codecs.texi
index 6b72760..0d0de94 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
@@ -963,6
From: Jun Zhao
Document dts_error_threshold option.
Signed-off-by: Jun Zhao
---
doc/ffmpeg.texi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index cd35eb4..2152e62 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1515,6
From: vacingfang
Replace the same code logic with ensure_playlist(), it's will
help reusable blocks of code.
Reviewed-by: Jun Zhao
Signed-off-by: vacingfang
---
libavformat/hls.c | 10 +++---
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/libavformat/hls.c b/libavf
From: Jun Zhao
av_packet_unref have reseted the AVPacket, so don't need to call
reset_packet after that.
Signed-off-by: Jun Zhao
---
libavformat/hls.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8c12fce..23
From: Jun Zhao
Document dts_error_threshold option.
Signed-off-by: Jun Zhao
---
doc/ffmpeg.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index cd35eb4..1da18d9 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1515,6
From: Jun Zhao
support mastering display sidedata.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index f6f8f49..8889c01 100644
From: Jun Zhao
support mastering display sidedata.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index f6f8f49..d5c444e 100644
From: Jun Zhao
Use error level when get invalid sidedata, and remove a unnecessary
newline in error message.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter
V2: - change the level from info to error when get invalid side data
Jun Zhao (2):
lavf/showinfo: support mastering display sidedata
lavf/showinfo: use error level when get invalid sidedata
libavfilter/vf_showinfo.c | 36 +---
1 files changed, 33 insertions
From: Jun Zhao
Only add sequence end code for mpeg1/mpeg2 video, or else use the encoder
libx264 or libx265 in this sample, decoding the output file will get
unknow NALU type error.
Signed-off-by: Jun Zhao
---
doc/examples/encode_video.c |3 ++-
1 files changed, 2 insertions(+), 1
From: Jun Zhao
Add http_seekable option for HTTP partial requests, when The
EXT-X-BYTERANGE tag indicates that a Media Segment is a sub-range
of the resource identified by its URI, we can use HTTP partial
requests to get the Media Segment.
Signed-off-by: Jun Zhao
---
doc/demuxers.texi |4
From: tomajsjiang
fix error like "offset 0x1f85: partial file", the root cause is when
read the mp4 file from http, and the moov in the end of the mp4 file,
reconfig the buffer will drop some data.
Signed-off-by: Jun Zhao
Signed-off-by: Zhongxing Jiang
---
libavformat/util
From: tomajsjiang
Add new API ffio_realloc_buf for AVIO buffer realloc.
Signed-off-by: Zhongxing Jiang
---
libavformat/avio_internal.h |9 +
libavformat/aviobuf.c | 31 +++
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git a/libavform
From: Jun Zhao
In fMP4 format, traf maybe have zero or more trun box, in this case,
we just used tfdt as dts once. The sample layout like this:
[moof] size=8+1392
[mfhd] size=12+4
sequence number = 29
[traf] size=8+1368
[tfhd] size=12+16, flags=20038
track ID = 1
default
From: Jun Zhao
Update the class name to uniform indev/outdev style.
Signed-off-by: Jun Zhao
---
libavdevice/alsa_dec.c|2 +-
libavdevice/alsa_enc.c|2 +-
libavdevice/avfoundation.m|2 +-
libavdevice/bktr.c|2 +-
libavdevice/caca.c
From: Jun Zhao
free the old_filname to avoid memory leak in error handle
path.
Signed-off-by: Jun Zhao
---
libavformat/hlsenc.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f6f9c81..9099c84 100644
--- a/libavformat
From: Jun Zhao
ff_merge_samplerates will be deallocate a or b in some case, so
add a check before free the format.
Signed-off-by: Jun Zhao
---
libavfilter/avfiltergraph.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter
From: Jun Zhao
ff_filter_frame fail will free the frame, so we just returen after this
function fail.
Signed-off-by: Jun Zhao
---
libavfilter/af_adeclick.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/af_adeclick.c b/libavfilter/af_adeclick.c
index
From: Jun Zhao
fix memory leak in error path
Signed-off-by: Jun Zhao
---
libavfilter/dnn/dnn_backend_native.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_native.c
b/libavfilter/dnn/dnn_backend_native.c
index 7b489d0..2619463 100644
From: Jun Zhao
We perfer the coding style like:
/* some stuff */
if (error) {
/* error handling */
return -(errorcode);
}
/* normal actions */
do_something()
Signed-off-by: Jun Zhao
---
libavfilter/dnn/dnn_backend_native.c | 24
From: Jun Zhao
Always set *size to zero if *bufptr is NULL, it's more make sence.
fix #8095
Signed-off-by: Jun Zhao
---
libavutil/file.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/libavutil/file.c b/libavutil/file.c
index d946085..f228b72 100644
add a vaapi decoding/scaling sample.
Signed-off-by: Jun Zhao
---
configure|2 +
doc/examples/Makefile|1 +
doc/examples/vaapi_dec_scaling.c | 377 ++
3 files changed, 380 insertions(+), 0 deletions(-)
create mode
From: Jun Zhao
Add max slices number query.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode.c |4
libavcodec/vaapi_encode.h |4
2 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index 313f551..e4a104e
Enable multi-slice support in AVC/H.264 vaapi encoder.
Signed-off-by: Wang, Yi A
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h264.c | 39 ++-
1 files changed, 34 insertions(+), 5 deletions(-)
diff --git a/libavcodec/vaapi_encode_h264.c b
Enable multi-slice support in HEVC/H.265 vaapi encoder.
Signed-off-by: Wang, Yi A
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h265.c | 41 ++-
1 files changed, 35 insertions(+), 6 deletions(-)
diff --git a/libavcodec/vaapi_encode_h265.c b
d when realloc pic->param_buffers fail.
- Adjust max_slices location in VAAPIEncodeContext.
- Re-work distributing the macro-blocks for multi-slices function.
V2: - Change the slice/parameter buffers to dynamic alloc and split the
mutil-slice support for AVC/HEVC.
Jun Zhao (3):
lavc/vaa
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 tunning
the VPP pipeline for performance.
Signed-off-by: Jun Zhao
---
libavfilter/vf_scale_vaapi.c | 36 +---
1 files c
From: Jun Zhao
For interlaced frame, it has to call slice_end() for both fields. And
VASliceParameterBufferMPEG2::slice_vertical_position is supposed to be
the position in the picture but not field in this case.
Signed-off-by: Dong, Jerry
Signed-off-by: Jun Zhao
---
libavcodec/mpeg12dec.c
Add missing conversions from side data enum to name.
Signed-off-by: Jun Zhao
---
libavutil/frame.c |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 6c2c28f..4460325 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
Add missing conversions from side data enum to name.
Signed-off-by: Jun Zhao
---
libavcodec/avpacket.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c
index 99a0c13..002fa0f 100644
--- a/libavcodec/avpacket.c
+++ b
Fixes ticket #7441.
Signed-off-by: Jun Zhao
---
libavfilter/vf_deshake.c | 12 +++-
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 55ce5e1..5d2c7fa 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter
cksize| |
| | |
| +--+
V
Y
so we calc the block contrast use:
(cy + y) * stride + (cx + x)
Signed-off-by: Jun Zhao
---
libavfilter/vf_deshake.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 55ce5e1..c8480e7 100644
Signed-off-by: Jun Zhao
---
configure |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/configure b/configure
index 1946bcb..b074336 100755
--- a/configure
+++ b/configure
@@ -3400,6 +3400,7 @@ ladspa_filter_deps="ladspa libdl"
lensfun_filter_deps="libl
Use the av_global_blend_row for blend mode performance.
About 9x (43fps -> 415fps) in 1080P, use the command like:
ffmpeg -i skyfall2-trailer.mp4 -vf minterpolate=mi_mode=blend \
-an -f null /dev/nul
Signed-off-by: Jun Zhao
---
libavfilter/vf_minterpolate.c | 16 +++-
1 fi
Add alpha blending API based on row, support global alpha blending/
per-pixel blending, and add SSSE3/AVX2 optimizations of the functions.
Signed-off-by: Jun Zhao
---
libavutil/Makefile |2 +
libavutil/blend.c | 101
libavutil/blend.h | 47
For HEVC/MPEG4, we also need video_delay from the decoder, when decoding
some HEVC/MPEG4 clips, got numerous log like:
"video_delay is larger in decoder than demuxer", similar ticket: #3711
fix ticket: #6109
Signed-off-by: Lin Xie
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |
For HEVC/MPEG4, we also need video_delay from the decoder, when decoding
some HEVC/MPEG4 clips, got numerous log like:
"video_delay is larger in decoder than demuxer", similar ticket: #3711
fix ticket: #6019
Signed-off-by: Lin Xie
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |
Practice - VC-1 Decoder and Bitstream Conformance).
Signed-off-by: Jun Zhao
Signed-off-by: Yan, FengX
---
libavformat/vc1test.c | 13 +++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index a801f4b..38eb1a4 100644
--- a
Practice - VC-1 Decoder and Bitstream Conformance).
Signed-off-by: Jun Zhao
Signed-off-by: Yan, FengX
---
libavformat/vc1test.c | 11 +--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index a801f4b..82e155a 100644
--- a
rcv is commonly used as extension for vc1 test stream files.
Signed-off-by: Jun Zhao
---
libavformat/vc1test.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 82e155a..a252bf0 100644
--- a/libavformat/vc1test.c
+++ b
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 ++
rcv is commonly used as extension for vc1 test stream files.
Signed-off-by: Jun Zhao
---
libavformat/vc1test.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index e029ff4..39b7716 100644
--- a/libavformat/vc1test.c
+++ b
-1 Decoder and Bitstream Conformance). And I think I got
a older VC-1 test clip in the case 1.
Reviewed-by: Carl Eugen Hoyos
Reviewed-by: Jerome Borsboom
Reviewed-by: Michael Niedermayer
Signed-off-by: Jun Zhao
Signed-off-by: Yan, FengX
---
libavformat/vc1test.c | 11 +--
1 files
v3: - add size check when probe as Michael's comments.
- update commit msg
- for Jerome's comments, I don't find a way to adjusted the handle for
"0x000c"
v2: - split the patch (Carl Eugen Hoyos's comments).
Jun Zhao (2):
lavf/vc1test: fix vc1test can
-1 Decoder and Bitstream Conformance). And I think I got
a older VC-1 test clip in the case 1.
Reviewed-by: Carl Eugen Hoyos
Reviewed-by: Jerome Borsboom
Reviewed-by: Michael Niedermayer
Signed-off-by: Jun Zhao
Signed-off-by: Yan, FengX
---
libavformat/vc1test.c | 12 ++--
1 files
v4: - add size check to avoid overread
v3: - add size check when probe as Michael's comments.
- update commit msg
- for Jerome's comments, I don't find a way to adjusted the handle for
"0x000c"
v2: - split the patch (Carl Eugen Hoyos's comments).
Jun
rcv is commonly used as extension for vc1 test stream files.
Signed-off-by: Jun Zhao
---
libavformat/vc1test.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 2427660..8aaad93 100644
--- a/libavformat/vc1test.c
+++ b
rcv is commonly used as extension for vc1 test stream files.
Signed-off-by: Jun Zhao
---
libavformat/vc1test.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 64a45cd..d445709 100644
--- a/libavformat/vc1test.c
+++ b
00c"
v2: - split the patch (Carl Eugen Hoyos's comments).
Jun Zhao (2):
lavf/vc1test: fix vc1test can't probe some RCV file.
lavf/vc1test: add rcv to vc1test demuxer extensions
libavformat/vc1test.c | 13 +++--
1 files cha
-1 Decoder and Bitstream Conformance). And I think I got
a older VC-1 test clip in the case 1.
Reviewed-by: Carl Eugen Hoyos
Reviewed-by: Jerome Borsboom
Reviewed-by: Michael Niedermayer
Signed-off-by: Jun Zhao
Signed-off-by: Yan, FengX
---
libavformat/vc1test.c | 12 ++--
1 files
call update_dimensions as need.
Signed-off-by: Wang, Shaofei
Reviewed-by: Jun, Zhao
Reviewed-by: Haihao Xiang
---
libavcodec/vp8.c |7 +--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/libavcodec/vp8.c b/libavcodec/vp8.c
index a06692c..c205868 100644
--- a/libavcodec/vp8.c
Add vc1test fate test case, and need to apply after upload the samples.
Jun Zhao (1):
fate: Add test for vc1test demuxer
tests/fate/microsoft.mak |6 ++
tests/ref/fate/vc1test_smm0005 | 29 +
tests/ref/fate/vc1test_smm0015 | 30
From: Jun Zhao
Add checking to avoid calling ff_thread_get_format repeatedly
whenever new slice header decoded.
Signed-off-by: Lin Xie
Signed-off-by: Jun Zhao
---
libavcodec/hevcdec.c | 17 +++--
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/libavcodec
Signed-off-by: Jun Zhao
---
tests/fate/microsoft.mak |6 ++
tests/ref/fate/vc1test_smm0005 | 29 +
tests/ref/fate/vc1test_smm0015 | 30 ++
3 files changed, 65 insertions(+), 0 deletions(-)
create mode 100644 tests/ref
Add error handle if av_image_fill_pointers fail.
Signed-off-by: Jun Zhao
---
libavutil/frame.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 92626dc..9b3fb13 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
_fill_pointers in case
of av_image_fill_pointers failure.
Signed-off-by: Jun Zhao
---
libavcodec/decode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 2e82f6b..c89c77c 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -149
av_image_fill_pointers will return a negative error code in case of
failure, so we use the error code in the caller.
Jun Zhao (2):
lavc/decode: Fix the error number report if av_image_fill_pointers
fail.
lavu/frame: Add error report if av_image_fill_pointers fail.
libavcodec/decode.c
From: Jun Zhao
Now VA-API HWAccel MJPEG decoding uninitialized huffman table, it's
will lead to the decoding error like"Failed to sync surface 0x5: 23
(internal decoding error)." in iHD open source driver.
Signed-off-by: dlin2
Signed-off-by: Jun Zhao
---
libavcodec/mj
fix slice number check logic.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec/vaapi_encode.c
index 2fe8501..bf8f37b 100644
--- a/libavcodec/vaapi_encode.c
+++ b/libavcodec
Enables macro block level bit rate control, that generally improves
subjective visual quality. It may have a negative impact on
performance and objective visual quality metrics. Default is off
and can't compatible with Constant QP.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h
Add sliding_window docs for h264_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 6851e75..c558b76 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Sliding window control is a feature to reduce the instant bitrate
fluctuation, and occasional big frame size for intra and scene
change frames are allowed. And the fluctuation level can be
controlled by max bit rate.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h265.c | 24
V1:
- add codec-specific bit rate control callback.
- enable macro block level bit rate control in h264_vaapi encoder and update
the docs.
- enable sliding windows in [h264|hevc]_vaapi encoder and update the docs.
Jun Zhao (7):
lavc/vaapi_encode: Add codec-specific bit rate control callback
Sliding window control is a feature to reduce the instant bitrate
fluctuation, and occasional big frame size for intra and scene
change frames are allowed. And the fluctuation level can be
controlled by max bit rate.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode_h264.c | 13
Add sliding_window docs for hevc_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index c558b76..1987686 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Add mb_rate_control option docs for h264_vaapi encoder.
Signed-off-by: Jun Zhao
---
doc/encoders.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.texi
index 899faac..6851e75 100644
--- a/doc/encoders.texi
+++ b/doc/encoders.texi
Add extra codec-specific bit rate control configuration callback
interface.
Signed-off-by: Jun Zhao
---
libavcodec/vaapi_encode.c |9 +
libavcodec/vaapi_encode.h |3 +++
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/libavcodec/vaapi_encode.c b/libavcodec
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 62 -
1 files changed, 28 insertions(+), 34 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index da4259a..e989e7a 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1193,33
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 69 ++---
1 files changed, 34 insertions(+), 35 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index e989e7a..dbcc9cf 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1488,7
V2: - split the patch as Carl's comment.
- more details in commit message as Micheal's comment.
Jun Zhao (3):
fftools/ffmpeg: Remove the micor like "#if 1"
fftools/ffmpeg: Put the variable declaration at uppper for block.
fftools/ffmpeg: Indent the code
fft
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c | 128 +++---
1 files changed, 64 insertions(+), 64 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 68b8e05..38c21e9 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1193,27
They are come from 2003 and delete them.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |6 --
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index da4259a..9dc42f5 100644
--- a/fftools/ffmpeg.c
+++ b/fftools/ffmpeg.c
@@ -1210,11 +1210,7
move the variable declaration at start of upper for block and
remove the redundant brace.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c |7 ++-
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c
index 9dc42f5..68b8e05 100644
--- a/fftools
Add a new option "abr_pipeline" with mutil-thread to improve the 1:N
transcode performance, currently, the code just as a PoC(proof of
concept) prototype, and post it to maillist for RFC(Requect for
Comment).
Jun Zhao (1):
ffmpeg: Improved the performance of 1:N for adapti
c
Improved ~6.1%
Signed-off-by: Wang, Shaofei
Signed-off-by: Jun Zhao
---
fftools/ffmpeg.c| 236 ---
fftools/ffmpeg.h| 12 +++
fftools/ffmpeg_filter.c |6 +
fftools/ffmpeg_opt.c|6 +-
4 files changed, 246 insertions
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 280db78..d589893 100644
--- a/fftools/ffprobe.c
+++ b/fftools
V1: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (5):
lavfi/buffersrc: Indent the code.
fftools/ffprobe: fix max_bit_rate dump.
fftools/ffprobe: Indent the code.
fftools
‘codec’ is deprecated in AVStream, so used the dec_ctx 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 |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
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
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
Now the kvazaar warpper didn't setting the threads for kvazaar API,
and kavzaar will auto select 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
‘codec’ is deprecated in AVStream, so used the dec_ctx to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Reviewed-by: Moritz Barsnick
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c |6 ++
1 files changed, 2
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
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
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 ab0dbff..f8c5f33 100644
--- a/fftools/ffprobe.c
+++ b/fftools
V2: - fix max_bit_rate dump change break the fate test.
(based on Micheal/Moritz's review)
V1: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (5):
lavfi/buffersrc: I
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
view)
V1: - indet ffmpeg/buffersrc
- add auto threads flag for kvazaar
- delete the unused code from ffmpeg
- fix max_bit_rate dump warning for ffprobe
Jun Zhao (7):
lavfi/buffersrc: Indent the code.
fftools/ffprobe: Indent the code.
fftools/ffmpeg: delete the unused code.
lavc/kv
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
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
‘codec’ is deprecated in AVStream, so used the dec_ctx to dump
max_bit_rate in ffprobe. Clean the warning like:
"warning: ‘codec’ is deprecated [-Wdeprecated-declarations]"
Reviewed-by: Moritz Barsnick
Signed-off-by: Jun Zhao
---
fftools/ffprobe.c |7 +++
1 files changed, 3
Use AVStream.rc_max_rate to save max bit rate for esds box. Now we
don't need to use the AVStream.codec for max bit rate.
Signed-off-by: Jun Zhao
---
libavformat/isom.c |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/libavformat/isom.c b/libavformat/isom.c
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
This field will be used in demuxer to expose the max bit rate, e,g
in MOV/MP4 esds box.
Signed-off-by: Jun Zhao
---
doc/APIchanges |3 +++
libavformat/avformat.h |6 ++
libavformat/version.h |2 +-
3 files changed, 10 insertions(+), 1 deletions(-)
diff --git a/doc
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
101 - 200 of 1038 matches
Mail list logo