Re: [FFmpeg-devel] [PATCH v3 3/7] avcodec/mediacodecenc: use bsf to handle crop

2022-12-21 Thread Tomas Härdin
ons 2022-12-21 klockan 15:17 +0800 skrev zhilizhao(赵志立): > > > > On Dec 21, 2022, at 02:24, Tomas Härdin wrote: > > > > tor 2022-12-15 klockan 01:37 +0800 skrev Zhao Zhili: > > > On Wed, 2022-12-14 at 18:08 +0100, Tomas Härdin wrote: > > > > > > > > > > > I think we might want something for t

[FFmpeg-devel] [PATCH] fftools/ffmpeg_ffplay_ffprobe_cmdutils:add -mask_url to replace the protocol address in the command with the asterisk (*)

2022-12-21 Thread Wujian(Chin)
I have modified the issues again. Please review it again. Thank you. If the protocol address contains the user name and password, the ps -ef command exposes plaintext. The -mask_url parameter option is added to replace the protocol address in the command line with the asterisk (*). Because other u

[FFmpeg-devel] [PATCH v7 2/2] avcodec/mjpegdec: add support for frame threading

2022-12-21 Thread Timo Rothenpieler
In my tests, this lead to a notable speed increase with the amount of threads used. Decoding a 720p sample gave the following results: 1 Thread: 1428 FPS 2 Threads: 2501 FPS 8 Threads: 7575 FPS Automatic: 11326 FPS (On a 16 Core/32 Threads system) --- libavcodec/jpeglsdec.c | 2 +- libavcodec/mj

[FFmpeg-devel] [PATCH v7 1/2] lavc: convert frame threading to the receive_frame() pattern

2022-12-21 Thread Timo Rothenpieler
From: Anton Khirnov Reorganize the code such that the frame threading code does not call the decoders directly, but instead calls back into the generic decoding code. This avoids duplicating the logic that wraps the decoder invocation and will be useful in the following commits. --- libavcodec/d

[FFmpeg-devel] [PATCH] avformat/segment: add option min_seg_duration

2022-12-21 Thread Gyan Doshi
New option can be used to avoid creating very short segments with inputs whose GOP size is variable or unharmonic with segment_time. Only effective with segment_time. --- doc/muxers.texi | 5 + libavformat/segment.c | 12 +++- 2 files changed, 16 insertions(+), 1 deletion(-) d

[FFmpeg-devel] Would a crypto file be acceptable?

2022-12-21 Thread Mark Gaiser
Hi, The ffmpeg crypto protocol handler [1] allows one to play encrypted media. The great thing here is that it allows playback of any media format that ffmpeg supports! Have a container format like mkv as an encrypted blob, no problem for the crypto plugin! I'm explicitly mentioning mkv (though

Re: [FFmpeg-devel] Would a crypto file be acceptable?

2022-12-21 Thread Mark Gaiser
On Wed, Dec 21, 2022 at 4:44 PM Mark Gaiser wrote: > Hi, > > The ffmpeg crypto protocol handler [1] allows one to play encrypted media. > > The great thing here is that it allows playback of any media format that > ffmpeg supports! > Have a container format like mkv as an encrypted blob, no probl

Re: [FFmpeg-devel] [PATCH v7 2/2] avcodec/mjpegdec: add support for frame threading

2022-12-21 Thread Michael Niedermayer
On Wed, Dec 21, 2022 at 03:22:56PM +0100, Timo Rothenpieler wrote: > In my tests, this lead to a notable speed increase with the amount > of threads used. Decoding a 720p sample gave the following results: > > 1 Thread: 1428 FPS > 2 Threads: 2501 FPS > 8 Threads: 7575 FPS > Automatic: 11326 FPS (O

[FFmpeg-devel] [PATCH] avcodec/sunrast: Fix maplength check

2022-12-21 Thread Michael Niedermayer
Fixes: out of bounds read Found-by: Ibrahim Mohamed Reviewed-by; Ibrahim Mohamed Signed-off-by: Michael Niedermayer --- libavcodec/sunrast.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/libavcodec/sunrast.c b/libavcodec/sunrast.c index 45b29e4d72..36

Re: [FFmpeg-devel] [PATCH v2 13/13] lavc/vaapi_hevc: Remove duplicate code

2022-12-21 Thread Wang, Fei W
On Mon, 2022-12-05 at 14:09 +0800, Fei Wang wrote: > Signed-off-by: Fei Wang > --- > libavcodec/vaapi_hevc.c | 6 -- > 1 file changed, 6 deletions(-) > > diff --git a/libavcodec/vaapi_hevc.c b/libavcodec/vaapi_hevc.c > index ca14052d56..b3ff2f7344 100644 > --- a/libavcodec/vaapi_hevc.c > +++

[FFmpeg-devel] [PATCH] libavformat/rtspdec.c: flush pes buffer while rtsp seek

2022-12-21 Thread tanwei (D)
Fixes ticket #9949. Signed-off-by: t00660896 --- libavformat/mpegts.c| 20 libavformat/mpegts.h| 1 + libavformat/rtpdec.c| 7 +++ libavformat/rtpdec.h| 2 ++ libavformat/rtpdec_mpegts.c | 11 +++ libavformat/rtspdec.c