[FFmpeg-devel] [PATCH] avformat/demux: fix pcm read too much when call find_stream_info

2024-06-03 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/demux.c| 4 tests/ref/seek/lavf-al | 4 ++-- tests/ref/seek/lavf-ul | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index dc65f9ad91..64b6a1757c 100644 --- a/libavformat/demux.c

[FFmpeg-devel] [PATCH] avformat/demux: fix pcm read too much when call find_stream_info

2024-06-03 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/demux.c| 2 ++ tests/ref/seek/lavf-al | 4 ++-- tests/ref/seek/lavf-ul | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index dc65f9ad91..c878839175 100644 --- a/libavformat/demux.c

[FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-06 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- configure| 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vsink_sdlvsink.c | 142 +++ 4 files changed, 145 insertions(+) create mode 100644 libavfilter

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-06 Thread Shiqi Zhu
On Fri, 7 Jun 2024 at 10:32, Zhao Zhili wrote: > > > > > On Jun 7, 2024, at 10:12, Hiccup Zhu wrote: > > > > On Thu, 6 Jun 2024 at 20:20, Zhao Zhili wrote: > >> > >> > >> On Jun 6, 2024, at 19:51, Shiqi Zhu wrote: > >> &g

[FFmpeg-devel] [PATCH] avfilter: add fbsink for video display.

2024-06-11 Thread Shiqi Zhu
This patch wants to extend the functionality of sink-filter. Signed-off-by: Shiqi Zhu --- configure | 1 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vsink_fbsink.c | 319 + 4 files changed, 322

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-11 Thread Shiqi Zhu
On Fri, 7 Jun 2024 at 19:55, Rémi Denis-Courmont wrote: > > > > Le 7 juin 2024 12:53:51 GMT+03:00, Michael Niedermayer > a écrit : > >We can require anything from an API that we are able to change and extend > >Of course we can decide not to allow such requirment even if optional > >but we surel

[FFmpeg-devel] [PATCH] avfilter/af_amix: fix amix decreased sound output

2024-06-12 Thread Shiqi Zhu
fix he issue of decreased sound output when one or more input of the amix settings is set to EOF. Signed-off-by: Shiqi Zhu --- libavfilter/af_amix.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index ade4ef76a8

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-12 Thread Shiqi Zhu
On Thu, 13 Jun 2024 at 04:14, Paul B Mahol wrote: > > On Wed, Jun 12, 2024 at 9:52 PM Stefano Sabatini wrote: > > > On date Tuesday 2024-06-11 21:13:48 +0800, Shiqi Zhu wrote: > > > On Fri, 7 Jun 2024 at 19:55, Rémi Denis-Courmont > > wrote: > > > >

Re: [FFmpeg-devel] [PATCH] avfilter: add sdlvsink for video display

2024-06-12 Thread Shiqi Zhu
On Thu, 13 Jun 2024 at 03:52, Stefano Sabatini wrote: > > On date Tuesday 2024-06-11 21:13:48 +0800, Shiqi Zhu wrote: > > On Fri, 7 Jun 2024 at 19:55, Rémi Denis-Courmont wrote: > > > Le 7 juin 2024 12:53:51 GMT+03:00, Michael Niedermayer > > > a écrit : > >

Re: [FFmpeg-devel] [PATCH] tests/checkasm: Remove check on linux perf fd in uninit

2024-06-12 Thread Shiqi Zhu
On Thu, 13 Jun 2024 at 01:36, Zhao Zhili wrote: > > From: Zhao Zhili > > The check should be >= 0, not > 0. The check itself is redundant > since uninit only being called after init is success. > --- > tests/checkasm/checkasm.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff -

[FFmpeg-devel] [PATCH] avformat/pcmdec: add pts and dts calculation for pcmdec

2024-05-14 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/pcmdec.c | 37 +++-- 1 file changed, 35 insertions(+), 2 deletions(-) diff --git a/libavformat/pcmdec.c b/libavformat/pcmdec.c index 2f6508b75a..d879aefaad 100644 --- a/libavformat/pcmdec.c +++ b/libavformat/pcmdec.c

[FFmpeg-devel] [PATCH] libavformar/demux: fix dts being incorrectly set to pts

2024-05-15 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index ecefe7e0a7..e19b8b6473 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -1112,7 +1112,7 @@ static void

[FFmpeg-devel] [PATCH] libavformat/demux: fix sti->first_dts can not been update when excuting avformat_find_stream_info

2024-05-15 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavformat/demux.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/demux.c b/libavformat/demux.c index e19b8b6473..74be509c8b 100644 --- a/libavformat/demux.c +++ b/libavformat/demux.c @@ -856,15 +856,16 @@ static void

[FFmpeg-devel] [PATCH] avfiltergraph: display more info when auto-insert filter

2024-12-04 Thread Shiqi Zhu
--- libavfilter/avfiltergraph.c | 64 + 1 file changed, 64 insertions(+) diff --git a/libavfilter/avfiltergraph.c b/libavfilter/avfiltergraph.c index c6472876bf..24d8201f9c 100644 --- a/libavfilter/avfiltergraph.c +++ b/libavfilter/avfiltergraph.c @@ -437,6 +43

[FFmpeg-devel] [PATCH] libavfilter/af_amix: fixed amix format when graph load

2024-12-08 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavfilter/af_amix.c | 64 ++- 1 file changed, 57 insertions(+), 7 deletions(-) diff --git a/libavfilter/af_amix.c b/libavfilter/af_amix.c index bc97200926..3a74ff4772 100644 --- a/libavfilter/af_amix.c +++ b/libavfilter

Re: [FFmpeg-devel] [PATCH] libavfilter/af_amix: fixed amix format when graph load

2025-03-17 Thread Shiqi Zhu
On Sat, 14 Dec 2024 at 17:59, Anton Khirnov wrote: > > > libavfilter/af_amix: fixed amix format when graph load > > This needs a better explanation of what is being done and why. > > -- > Anton Khirnov Thanks Anton Khirnov, This patch mainly wants to add some attributes to amix. You can fix the

[FFmpeg-devel] [PATCH] avfilter/volume: optimize redundant code for af_volume

2025-04-20 Thread Shiqi Zhu
Signed-off-by: Shiqi Zhu --- libavfilter/af_volume.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index 471bffeceb..c16188524d 100644 --- a/libavfilter/af_volume.c +++ b/libavfilter/af_volume.c

[FFmpeg-devel] [PATCH] avcodec/h264bsd_dec: add h264dec base on h264bsd

2025-04-15 Thread Shiqi Zhu
h264bsd url https://github.com/oneam/h264bsd ./configure --enable-decoder="h264_bsd" --extra-cflags="-I/h264bsd/src" --extra-ldflags="-L/h264bsd/posix/lib" --extra-libs="-lh264bsd" Test ./ffmpeg -y -codec:v h264_bsd -i /h264bsd/test/test_640x360.h264 ./te