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 fo
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 s
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 hls_write_packet(AVFormat
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 hls_s
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 hls_writ
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
-
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 |
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 写道:
>>>
>>> Signed-
> 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:
>>>
>>>
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: 9FF2128B147EF
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
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 avoi
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
[...]
--
Mi
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
> ind
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 del
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 fingerprin
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 l
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 deletions
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 写道:
>>>
>>> Steve
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
ffmpeg-devel-requ...@ffmpeg.o
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 in
---
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 LIBAVCODEC
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 in
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
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 +198
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.
>
> To
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
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 -
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 o
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 ++-
libavcode
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 a/libavfilter/qsvvpp.
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
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
@@ -1464,
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
--- a/li
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 a/libavf
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 i
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 a/libavf
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 47701c20d0..9eb59325
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 --
libavutil/hwcon
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 users
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 filt
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
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 documentati
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
>>> https://ffmpeg.org/pipermail/ffmpeg-devel/2020-April/260984.htm
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
> > -init_hw_devi
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 unsub
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 Ga
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
> ---
> libavutil/hwcontext_d
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 fingerp
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 fi
> 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
>
>
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
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
> > +++---
>
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 600
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
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 beha
On Thu, 07. May 09:18, Lukas Rusak wrote:
> There is no reason to enforce a high minimum. In the context
> of streaming only a few output buffers and capture buffers
> are even needed for continuous playback. This also helps
> alleviate memory pressure when decoding 4K media.
> ---
> libavcodec/v4
57 matches
Mail list logo