Re: [FFmpeg-devel] [PATCH 10/10] avformat/nutenc: Don't allocate array with zero entries

2020-05-08 Thread Andreas Rheinhardt
Michael Niedermayer: > On Mon, May 04, 2020 at 08:22:50PM +0200, Andreas Rheinhardt wrote: >> Allocating an array with zero entries is both unnecessary as well as >> potentially troublesome because the behaviour in this case is not really >> well defined. > > What is not well defined ? > The

Re: [FFmpeg-devel] [PATCH 05/10] avformat/nutenc: Create put_* functions by macro

2020-05-08 Thread Andreas Rheinhardt
Michael Niedermayer: > On Mon, May 04, 2020 at 08:22:45PM +0200, Andreas Rheinhardt wrote: >> It allows to add analogous functions using e.g. the bytestream API >> instead of using an AVIOContext. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> libavformat/nutenc.c | 49

Re: [FFmpeg-devel] [RFC][PATCH] avformat/fifo: add timeshift option to delay output

2020-05-08 Thread Tao Zhang
I have tested with below commands, It works fine. Thanks Marton. ffmpeg -i input_rtmp_addr -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size 600 -fifo_format flv output_rtmp_addr ffmpeg -stream_loop -1 -re -i input_file -map 0:v -map 0:a -c copy -f fifo -timeshift 20 -queue_size

Re: [FFmpeg-devel] [PATCH v4 2/5] avcodec/mpegvideo_enc: return more specific error codes for ff_mpv_encode_init()

2020-05-08 Thread lance . lmwang
On Fri, May 08, 2020 at 01:16:21PM +0200, Michael Niedermayer wrote: > On Thu, May 07, 2020 at 10:27:45PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/mpegvideo_enc.c | 85 > > +++---

Re: [FFmpeg-devel] [PATCH] [libavutil] Add saturated add/sub operations for int64_t.

2020-05-08 Thread Dale Curtis
On Wed, May 6, 2020 at 7:03 AM Michael Niedermayer wrote: > On Mon, May 04, 2020 at 04:06:56PM -0700, Dale Curtis wrote: > > On Mon, May 4, 2020 at 3:39 PM Michael Niedermayer > > > wrote: > > > > > On Mon, May 04, 2020 at 02:19:47PM -0700, Dale Curtis wrote: > > > > On Mon, May 4, 2020 at 1:48

Re: [FFmpeg-devel] [PATCH v4 03/11] libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

2020-05-08 Thread Soft Works
> From: ffmpeg-devel On Behalf Of > Hendrik Leppkes > Sent: Friday, May 8, 2020 10:27 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v4 03/11] libavutil/hwcontext_d3d11va: > adding more texture information to the D3D11 hwcontext API >

Re: [FFmpeg-devel] [PATCH 05/10] avformat/nutenc: Create put_* functions by macro

2020-05-08 Thread Michael Niedermayer
On Mon, May 04, 2020 at 08:22:45PM +0200, Andreas Rheinhardt wrote: > It allows to add analogous functions using e.g. the bytestream API > instead of using an AVIOContext. > > Signed-off-by: Andreas Rheinhardt > --- > libavformat/nutenc.c | 49 > 1

Re: [FFmpeg-devel] [PATCH 10/10] avformat/nutenc: Don't allocate array with zero entries

2020-05-08 Thread Michael Niedermayer
On Mon, May 04, 2020 at 08:22:50PM +0200, Andreas Rheinhardt wrote: > Allocating an array with zero entries is both unnecessary as well as > potentially troublesome because the behaviour in this case is not really > well defined. What is not well defined ? thx [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH v4 03/11] libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

2020-05-08 Thread Hendrik Leppkes
On Fri, May 8, 2020 at 5:51 PM wrote: > > From: Artem Galin > > Added AVD3D11FrameDescriptors array to store array of single textures in case > if there is no way > to allocate array texture with BindFlags = D3D11_BIND_RENDER_TARGET. > > Signed-off-by: Artem Galin > --- >

Re: [FFmpeg-devel] [PATCH v4 01/11] fftools/qsv: enabling d3d11va/dxva2 device selection

2020-05-08 Thread Hendrik Leppkes
On Fri, May 8, 2020 at 5:28 PM wrote: > > From: Artem Galin > > child_device_type argument is responsible for selection. > > Usage examples: > > DirectX 11 > -init_hw_device qsv:hw,child_device_type=d3d11va > > DirectX 9 > -init_hw_device qsv:hw,child_device_type=dxva2 > > Signed-off-by: Artem

Re: [FFmpeg-devel] [PATCH] doc/encoders: remove ffaac>fdk-aac claim

2020-05-08 Thread Lou Logan
On Thu, Apr 30, 2020, at 11:00 AM, Lou Logan wrote: > doc/encoders.texi | 6 +- > 1 file changed, 1 insertion(+), 5 deletions(-) Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

Re: [FFmpeg-devel] [PATCH v3 1/4] fftools/qsv: enabling d3d11va/dxva2 device selection

2020-05-08 Thread Artem Galin
On Sun, 26 Apr 2020 at 19:20, Mark Thompson wrote: > On 24/04/2020 15:52, artem.ga...@gmail.com wrote: > > From: Artem Galin > > > > child_device_type argument is responsible for selection. > > > > Usage examples: -init_hw_device qsv:hw,child_device_type=d3d11va > >

Re: [FFmpeg-devel] [PATCH] avcodec/(null|opus)_bsf: Use ff_bsf_get_packet_ref() directly

2020-05-08 Thread James Almer
On 5/8/2020 2:37 PM, Andreas Rheinhardt wrote: > James Almer: >> On 5/8/2020 7:52 AM, Andreas Rheinhardt wrote: >>> Signed-off-by: Andreas Rheinhardt >>> --- >>> The change to the documentation would be unnecessary if James' patch >>>

Re: [FFmpeg-devel] [PATCH] avcodec/(null|opus)_bsf: Use ff_bsf_get_packet_ref() directly

2020-05-08 Thread Andreas Rheinhardt
James Almer: > On 5/8/2020 7:52 AM, Andreas Rheinhardt wrote: >> Signed-off-by: Andreas Rheinhardt >> --- >> The change to the documentation would be unnecessary if James' patch >> https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260984.html were >> applied. But it is only internal

Re: [FFmpeg-devel] [PATCH] avcodec/(null|opus)_bsf: Use ff_bsf_get_packet_ref() directly

2020-05-08 Thread James Almer
On 5/8/2020 7:52 AM, Andreas Rheinhardt wrote: > Signed-off-by: Andreas Rheinhardt > --- > The change to the documentation would be unnecessary if James' patch > https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260984.html were > applied. But it is only internal documentation, so changing and

Re: [FFmpeg-devel] [PATCH v4 4/8] avformat/mux: add proper support for full N:M bitstream filtering

2020-05-08 Thread James Almer
On 5/7/2020 3:51 PM, Marton Balint wrote: > > > On Tue, 5 May 2020, Marton Balint wrote: > >> >> >> On Tue, 5 May 2020, Andreas Rheinhardt wrote: >> >>> Marton Balint: On Tue, 5 May 2020, Andreas Rheinhardt wrote: > Marton Balint: >> Previously only 1:1 bitstream

Re: [FFmpeg-devel] [PATCH v3 4/4] libavutil/qsv: enabling d3d11va support

2020-05-08 Thread Artem Galin
On Sun, 26 Apr 2020 at 19:54, Mark Thompson wrote: > On 24/04/2020 15:52, artem.ga...@gmail.com wrote: > > From: Artem Galin > > > > Makes selection of d3d11va device type by default and over DirectX 9, > > which is still supported but requires explicit selection. > > ... which might break

[FFmpeg-devel] [PATCH v4 03/11] libavutil/hwcontext_d3d11va: adding more texture information to the D3D11 hwcontext API

2020-05-08 Thread artem . galin
From: Artem Galin Added AVD3D11FrameDescriptors array to store array of single textures in case if there is no way to allocate array texture with BindFlags = D3D11_BIND_RENDER_TARGET. Signed-off-by: Artem Galin --- libavutil/hwcontext_d3d11va.c | 26 --

[FFmpeg-devel] [PATCH v4 10/11] libavfilter/vf_scale_qsv: add MFX_MEMTYPE_FROM_VPPOUT to frame_type

2020-05-08 Thread artem . galin
From: Artem Galin In case of DX11 device type, Media SDK is sensitive to these flags. Signed-off-by: Artem Galin --- libavfilter/vf_scale_qsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_scale_qsv.c b/libavfilter/vf_scale_qsv.c index

[FFmpeg-devel] [PATCH v4 11/11] libavfilter/vf_deinterlace_qsv: enabling d3d11va support, added mfxhdlpair

2020-05-08 Thread artem . galin
From: Artem Galin Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/vf_deinterlace_qsv.c | 44 ++-- 1 file changed, 25 insertions(+), 19 deletions(-) diff --git

[FFmpeg-devel] [PATCH v4 01/11] fftools/qsv: enabling d3d11va/dxva2 device selection

2020-05-08 Thread artem . galin
From: Artem Galin child_device_type argument is responsible for selection. Usage examples: DirectX 11 -init_hw_device qsv:hw,child_device_type=d3d11va DirectX 9 -init_hw_device qsv:hw,child_device_type=dxva2 Signed-off-by: Artem Galin --- fftools/ffmpeg_opt.c | 6 +- 1 file changed, 5

[FFmpeg-devel] [PATCH v4 09/11] libavfilter/vf_scale_qsv: enabling d3d11va support, added mfxhdlpair

2020-05-08 Thread artem . galin
From: Artem Galin Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/vf_scale_qsv.c | 43 +- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git

[FFmpeg-devel] [PATCH v4 08/11] libavfilter/qsvvpp: add MFX_MEMTYPE_FROM_VPPOUT flag to output frame memory mode

2020-05-08 Thread artem . galin
From: Artem Galin In case of DX11 device type, Media SDK is sensitive to these flags. Signed-off-by: Artem Galin --- libavfilter/qsvvpp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/qsvvpp.c b/libavfilter/qsvvpp.c index 0d3f7fb2f9..c89d4180d0 100644 ---

[FFmpeg-devel] [PATCH v4 04/11] libavutil/hwcontext_d3d11va: adding the vendor option to D3D11 device creation

2020-05-08 Thread artem . galin
From: Artem Galin Example: --init_hw_device d3d11va:,vendor=0x8086 qsv_device option is still works and has higher priority over vendor option. Signed-off-by: Artem Galin hwctx; HRESULT hr; +AVDictionaryEntry *e; IDXGIAdapter *pAdapter = NULL; ID3D10Multithread

[FFmpeg-devel] [PATCH v4 06/11] libavutil/hwcontext_qsv: pass vendor option to child device

2020-05-08 Thread artem . galin
From: Artem Galin Signed-off-by: Artem Galin --- libavutil/hwcontext_qsv.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavutil/hwcontext_qsv.c b/libavutil/hwcontext_qsv.c index 38681dfc9b..5ffb8fb437 100644 --- a/libavutil/hwcontext_qsv.c +++ b/libavutil/hwcontext_qsv.c @@

[FFmpeg-devel] [PATCH v4 02/11] libavcodec/qsv: enabling d3d11va support, added mfxhdlpair

2020-05-08 Thread artem . galin
From: Artem Galin Adding DX11 relevant device type checks and adjusting callbacks with proper MediaSDK pair type support. Extending structure for proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavcodec/qsv.c | 53 ++-

[FFmpeg-devel] [PATCH v4 07/11] libavfilter/qsvvpp: enabling d3d11va support, added mfxhdlpair

2020-05-08 Thread artem . galin
From: Artem Galin Adding DX11 relevant device type checks and adjusting callback with proper MediaSDK pair type support. Signed-off-by: Artem Galin --- libavfilter/qsvvpp.c | 31 ++- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git

[FFmpeg-devel] [PATCH v4 05/11] libavutil/hwcontext_qsv: enabling D3D11 usage by default, supporting D3D11 in qsv hwcontext

2020-05-08 Thread artem . galin
From: Artem Galin Makes selection of d3d11va device type by default and over DirectX 9, which might break users with older drivers/systems. DCH driver with Gen6th support should be still fine. This enables usage of non-powered/headless GPU, better HDR support. Pool of resources is allocated as

[FFmpeg-devel] [PATCH v4 1/2] avcodec: add adpcm_ima_ssi encoder

2020-05-08 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- Changelog | 1 + doc/general.texi | 2 +- libavcodec/Makefile| 1 + libavcodec/adpcmenc.c | 65 +++--- libavcodec/allcodecs.c | 1 + libavcodec/utils.c | 1 + libavcodec/version.h | 2 +- 7

[FFmpeg-devel] [PATCH v4 2/2] avformat: add kvag muxer

2020-05-08 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- Changelog| 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/kvag.c | 84 +++- libavformat/version.h| 2 +- 5 files changed, 87 insertions(+), 2 deletions(-) diff

Re: [FFmpeg-devel] [PATCH] avformat/oggenc: Avoid allocations and copying when writing page data

2020-05-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > When the Ogg muxer writes a page, it has to do three things: It needs to > write a page header, then it has to actually copy the page data and then > it has to calculate and write a CRC checksum of both header as well as > data at a certain position in the page header. > >

[FFmpeg-devel] [PATCH 5/5] lavf/mpegtsenc: enable PGS split auto bsf

2020-05-08 Thread John Stebbins
PGS segments must be one per packet for muxing to m2ts --- libavformat/mpegtsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index f2be6c6632..5b86dffd0e 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -1984,6

[FFmpeg-devel] [PATCH 4/5] lavf/matroskaenc: enable PGS merge auto bsf

2020-05-08 Thread John Stebbins
PGS segments must be merged to one packet for muxing to mkv --- libavformat/matroskaenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 99b549ecc4..7f2cda41b9 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c

[FFmpeg-devel] [PATCH 2/5] lavc/pgs_frame_split_bsf: add bsf to split PGS segments

2020-05-08 Thread John Stebbins
Requried to remux mkv to m2ts --- Changelog| 1 + doc/bitstream_filters.texi | 8 ++ libavcodec/Makefile | 1 + libavcodec/bitstream_filters.c | 1 + libavcodec/pgs_frame_split_bsf.c | 179 +++ 5 files changed, 190

[FFmpeg-devel] [PATCH 3/5] lavc/version: Bump minor-version for new PGS bsfs

2020-05-08 Thread John Stebbins
--- libavcodec/version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/version.h b/libavcodec/version.h index 691320b63c..82255d7f38 100644 --- a/libavcodec/version.h +++ b/libavcodec/version.h @@ -28,7 +28,7 @@ #include "libavutil/version.h" #define

[FFmpeg-devel] [PATCH 1/5] lavc/pgs_frame_merge_bsf: add bsf to merge PGS segments

2020-05-08 Thread John Stebbins
Required to remux m2ts to mkv --- Changelog| 1 + doc/bitstream_filters.texi | 8 ++ libavcodec/Makefile | 1 + libavcodec/bitstream_filters.c | 1 + libavcodec/pgs_frame_merge_bsf.c | 183 +++ 5 files changed, 194

[FFmpeg-devel] PGS bsfs

2020-05-08 Thread John Stebbins
Addresses review comments Rebased on master Adds split bsf to mpegtsenc patch ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

Re: [FFmpeg-devel] [PATCH v2 3/7] avformat/hlsenc: Check some unchecked allocations

2020-05-08 Thread Andreas Rheinhardt
Steven Liu: > > >> 2020年5月8日 下午7:07,Andreas Rheinhardt 写道: >> >> Steven Liu: >>> >>> 2020年4月9日 下午8:58,Andreas Rheinhardt 写道: Steven Liu: > > >> 2020年4月9日 下午5:55,Steven Liu 写道: >> >> >> >>> 2020年4月9日 下午5:48,Andreas Rheinhardt 写道: >>> >>>

Re: [FFmpeg-devel] [PATCH v2 1/5] avcodec/mpegvideo_enc: reindent code

2020-05-08 Thread lance . lmwang
On Fri, May 08, 2020 at 01:17:54PM +0200, Michael Niedermayer wrote: > On Thu, May 07, 2020 at 07:14:13PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > Signed-off-by: Limin Wang > > --- > > libavcodec/mpegvideo_enc.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2

Re: [FFmpeg-devel] [PATCH 1/3] avformat/matroskadec: Sanitize SeekHead entries

2020-05-08 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Andreas Rheinhardt: >> A Seek element in a Matroska SeekHead should contain a SeekID and a >> SeekPosition element and upon reading, they should be sanitized: >> >> Given that IDs are restricted to 32 bit, longer SeekIDs should be treated >> as invalid. Instead currently the

Re: [FFmpeg-devel] [PATCH] Revert "doc/mailing-list-faq: Mention current problem with GMX"

2020-05-08 Thread Michael Niedermayer
On Thu, May 07, 2020 at 12:43:00PM +0200, Michael Niedermayer wrote: > mails to GMX seem working again > > This reverts commit cd11fbcfb03994d3ddbc83f0620530d6f6748f68. > --- > doc/mailing-list-faq.texi | 4 > 1 file changed, 4 deletions(-) will apply [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH 1/2] swscale: fix NEON hscale init

2020-05-08 Thread Michael Niedermayer
On Thu, May 07, 2020 at 12:25:34PM +0100, Josh de Kock wrote: > The NEON hscale function only supports X8 filter sizes and should only > be selected when these are being used. > > Signed-off-by: Josh de Kock > --- > libswscale/aarch64/swscale.c | 5 - > 1 file changed, 4 insertions(+), 1

Re: [FFmpeg-devel] [PATCH v2 1/5] avcodec/mpegvideo_enc: reindent code

2020-05-08 Thread Michael Niedermayer
On Thu, May 07, 2020 at 07:14:13PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/mpegvideo_enc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c >

Re: [FFmpeg-devel] [PATCH v4 2/5] avcodec/mpegvideo_enc: return more specific error codes for ff_mpv_encode_init()

2020-05-08 Thread Michael Niedermayer
On Thu, May 07, 2020 at 10:27:45PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/mpegvideo_enc.c | 85 > +++--- > 1 file changed, 43 insertions(+), 42 deletions(-) probably ok thx [...] --

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add shift options

2020-05-08 Thread Manolis Stamatogiannakis
Good catch. I've fixed the text and resubmitted. Thanks. Manolis On Fri, 8 May 2020 at 12:33, Bodecs Bela wrote: > see may comment in text > > 2020.05.03. 20:08 keltezéssel, Manolis Stamatogiannakis írta: > > Allows shifting of subtitle display times to align them with the video. > > This

[FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add shift option

2020-05-08 Thread Manolis Stamatogiannakis
Allows shifting of subtitle display times to align them with the video. This avoids having to rewrite the subtitle file in order to display subtitles correctly when input is seeked (-ss). Also handy for minor subtitle timing corrections without rewriting the subtitles file. Signed-off-by: Manolis

Re: [FFmpeg-devel] [PATCH v2 3/5] avcodec/mpeg12enc: return more specific error codes for encode_init()

2020-05-08 Thread Michael Niedermayer
On Thu, May 07, 2020 at 07:14:15PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > Signed-off-by: Limin Wang > --- > libavcodec/mpeg12enc.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) probably ok thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH v2 3/7] avformat/hlsenc: Check some unchecked allocations

2020-05-08 Thread Steven Liu
> 2020年5月8日 下午7:07,Andreas Rheinhardt 写道: > > Steven Liu: >> >> >>> 2020年4月9日 下午8:58,Andreas Rheinhardt 写道: >>> >>> Steven Liu: > 2020年4月9日 下午5:55,Steven Liu 写道: > > > >> 2020年4月9日 下午5:48,Andreas Rheinhardt 写道: >> >> Steven Liu: >>>

Re: [FFmpeg-devel] [PATCH v2 3/7] avformat/hlsenc: Check some unchecked allocations

2020-05-08 Thread Andreas Rheinhardt
Steven Liu: > > >> 2020年4月9日 下午8:58,Andreas Rheinhardt 写道: >> >> Steven Liu: >>> >>> 2020年4月9日 下午5:55,Steven Liu 写道: > 2020年4月9日 下午5:48,Andreas Rheinhardt 写道: > > Steven Liu: >> >> >>> 2020年2月28日 下午5:53,Andreas Rheinhardt 写道: >>> >>>

[FFmpeg-devel] [PATCH] avcodec/(null|opus)_bsf: Use ff_bsf_get_packet_ref() directly

2020-05-08 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- The change to the documentation would be unnecessary if James' patch https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260984.html were applied. But it is only internal documentation, so changing and reverting it is easy. libavcodec/bsf.h |

Re: [FFmpeg-devel] [WIP] XComposite window capture demuxer (Linux)

2020-05-08 Thread Emanuele Oriani
Hi Marton, Capturing at 60 FPS 1920x1080, the difference is even more noticeable: x11grab is choppy, xcompgrab is smooth (this time I used H264 ultrafast to encode). https://send.firefox.com/download/17001ef60837a5ec/#FaQTa-dP4MB28YfPNMXxuw CPU performance: realuser sys

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: free options fix memleak in hls_write_trailer

2020-05-08 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 307aba2efa..eb12b4a7f8 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2679,9 +2679,10 @@ static int

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: move number out of hls_start

2020-05-08 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index a1eddade7b..bcc67b1159 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1679,7 +1679,6 @@ static int

[FFmpeg-devel] [PATCH 2/3] avformat/hlsenc: fix filename memleak in hls_write_packet

2020-05-08 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index bcc67b1159..307aba2efa 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -2447,6 +2447,7 @@ static int

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add shift options

2020-05-08 Thread Bodecs Bela
see may comment in text 2020.05.03. 20:08 keltezéssel, Manolis Stamatogiannakis írta: Allows shifting of subtitle display times to align them with the video. This avoids having to rewrite the subtitle file in order to display subtitles correctly when input is seeked (-ss). Also handy for minor

Re: [FFmpeg-devel] [WIP] XComposite window capture demuxer (Linux)

2020-05-08 Thread Emanuele Oriani
Hi Marton, TL;DR xcompgrab uses more CPU but produces much better streams than x11grab. I have the following CPU usage performance report (on my i7-8700k, Nvidia 2080 Ti RTX, governor set to 'performance', on Ubuntu 18.04 using Gnome shell). The capture has been a surface area of 1720x1376