[FFmpeg-devel] [PATCH] lavc/qsvenc: disable h264 look_ahead by default

2018-02-28 Thread Zhong Li
Look_ahead can provide quality improvements, but would better disable it by default due to some reasons: 1. It is only available for some codecs (e.g. HEVC is not supported) on Intel Haswell and plus platforms. Thus means it will be failed on some platforms. 2. It significantly increases encodi

Re: [FFmpeg-devel] Callable version of ffplay with callbacks for graphics overlay and video control

2018-02-28 Thread Kerry Imming
I submitted a proposal a few days ago about including an enhanced version of fftools/ffplay. Here's a link to it in the archives: http://ffmpeg.org/pipermail/ffmpeg-devel/2018-February/225807.html I believe my framework/example would be useful for other users of your library. Is this someth

Re: [FFmpeg-devel] [PATCH][RFC] Improve and fix put_vc2_ue_uint() function.

2018-02-28 Thread Michael Niedermayer
On Thu, Mar 01, 2018 at 03:52:10AM +0200, Ivan Kalvachev wrote: > On 3/1/18, Michael Niedermayer wrote: > > On Wed, Feb 28, 2018 at 10:14:15PM +0200, Ivan Kalvachev wrote: > >> Replace two bit handling loops and internal conditional branch > >> with simple formula using few logical operations. > >

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 07:52:56PM -0500, Ronald S. Bultje wrote: > Hi, > > On Wed, Feb 28, 2018 at 3:41 PM, Michael Niedermayer > wrote: > > > ATM IIUC one more vote is needed in the senate > > > Yikes. I would prefer if we don't meddle into politics like this. > > You ignore the fact that a

Re: [FFmpeg-devel] [PATCH][RFC] Improve and fix put_vc2_ue_uint() function.

2018-02-28 Thread Ivan Kalvachev
On 3/1/18, Michael Niedermayer wrote: > On Wed, Feb 28, 2018 at 10:14:15PM +0200, Ivan Kalvachev wrote: >> Replace two bit handling loops and internal conditional branch >> with simple formula using few logical operations. >> >> The old function would generate wrong output >> if the input does not

Re: [FFmpeg-devel] [PATCH 5/9] sbc: implement SBC encoder (low-complexity subband codec)

2018-02-28 Thread Rostislav Pehlivanov
On 28 February 2018 at 23:34, Aurelien Jacobs wrote: > On Wed, Feb 28, 2018 at 12:59:40AM +, Rostislav Pehlivanov wrote: > > On 27 February 2018 at 23:56, Aurelien Jacobs wrote: > > > > > > > > So I've updated the patch with only a msbc and a delay option and > > > I've added some sane param

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 12:33:55PM -0900, Lou Logan wrote: > On Wed, Feb 28, 2018, at 11:25 AM, Jan Ekström wrote: > > > > Looking at how much it got updated the last time when it misbehaved > > shows really well how that worked the last time. Sorry if I sound > > facetious, but I do use ffmpeg-al

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Ronald S. Bultje
Hi, On Wed, Feb 28, 2018 at 3:41 PM, Michael Niedermayer wrote: > ATM IIUC one more vote is needed in the senate Yikes. I would prefer if we don't meddle into politics like this. You ignore the fact that any legislation needs to go through the US House of Representatives, and then it should b

Re: [FFmpeg-devel] [mpegaudio_parser] Skip trailing junk data when flushing parser.

2018-02-28 Thread Dale Curtis
On Mon, Feb 26, 2018 at 3:07 PM, Michael Niedermayer wrote: > > The way parsers are intended to work (that is years ago and i dont remember > that there was a proposal to change this) > is to never drop data. Thats how the stuff was intended to work. > > On top of that it was sometimes convenient

Re: [FFmpeg-devel] [PATCH] vc2enc: replace quantization LUT with a smaller division LUT

2018-02-28 Thread Michael Niedermayer
On Tue, Feb 27, 2018 at 11:12:33PM +, Rostislav Pehlivanov wrote: > This commit replaces the huge and impractical LUT which converted coeffs > and a quantizer to bits to encode and instead uses a standard multiplication > and a shift to replace the division and then codes the values using the >

Re: [FFmpeg-devel] Adding a new output device

2018-02-28 Thread Philip Prindeville
> On Feb 28, 2018, at 4:12 PM, Nicolas George wrote: > > Philip Prindeville (2018-02-28): >> I’m working on network test and measurement and I’ve been tasked to >> write a test suite for streaming video performance. >> >> This will run inside headless embedded devices (i.e. routers, probes, >>

Re: [FFmpeg-devel] [PATCH 5/9] sbc: implement SBC encoder (low-complexity subband codec)

2018-02-28 Thread Aurelien Jacobs
On Wed, Feb 28, 2018 at 12:59:40AM +, Rostislav Pehlivanov wrote: > On 27 February 2018 at 23:56, Aurelien Jacobs wrote: > > > > > So I've updated the patch with only a msbc and a delay option and > > I've added some sane parameters decisions, mainly based on the following > > study : > > htt

Re: [FFmpeg-devel] Adding a new output device

2018-02-28 Thread Nicolas George
Philip Prindeville (2018-02-28): > I’m working on network test and measurement and I’ve been tasked to > write a test suite for streaming video performance. > > This will run inside headless embedded devices (i.e. routers, probes, > etc) so has no hardware to render to. It’s the streaming itself

[FFmpeg-devel] Adding a new output device

2018-02-28 Thread Philip Prindeville
Hi, I’m working on network test and measurement and I’ve been tasked to write a test suite for streaming video performance. This will run inside headless embedded devices (i.e. routers, probes, etc) so has no hardware to render to. It’s the streaming itself and the end-to-end network transpor

Re: [FFmpeg-devel] [PATCH 2/3 v1.1] avcodec/vaapi: add fields for VAAPI VC-1 interlaced decoding

2018-02-28 Thread Carl Eugen Hoyos
2018-02-28 9:48 GMT+01:00 Jerome Borsboom : >> Is this expected to pass the two fate tests for VC-1 interlaced, >> fate-vc1_sa10143 and fate-vc1_ilaced_twomv? (It doesn't on >> my system, all output frames are different.) If not, could you >> explain why not? They are expected to change for com

Re: [FFmpeg-devel] In a stream, is there a way to wait some time before playing next packet after the previous one ended?

2018-02-28 Thread Carl Eugen Hoyos
2018-02-28 21:53 GMT+01:00 kprz : > 1. correctly identify and create both audio and video streams If you send this as a patch made with "git format-patch" to this mailing list, it may be easier to test and answer your questions. For some use-cases, setting time-stamps will be enough, for most cas

Re: [FFmpeg-devel] [PATCH][RFC] Improve and fix put_vc2_ue_uint() function.

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 10:14:15PM +0200, Ivan Kalvachev wrote: > Replace two bit handling loops and internal conditional branch > with simple formula using few logical operations. > > The old function would generate wrong output > if the input does not fit into 15 bits. > > Fix this by using 64

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Lou Logan
On Wed, Feb 28, 2018, at 11:25 AM, Jan Ekström wrote: > > Looking at how much it got updated the last time when it misbehaved > shows really well how that worked the last time. Sorry if I sound > facetious, but I do use ffmpeg-all.html a lot and it got /really/ > irritating. +1. I object to the

[FFmpeg-devel] In a stream, is there a way to wait some time before playing next packet after the previous one ended?

2018-02-28 Thread kprz
Hi FFmpeg team Is there a way to force FFmpeg not to play next packet right after the previous one ended, but wait set amount of time before playing next packet instead? Real-life example follows: Recently I found certain IFF-files containing both audio and video data. Current releases of F

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Ricardo Constantino
On 28 February 2018 at 20:41, Michael Niedermayer wrote: > On Wed, Feb 28, 2018 at 03:25:51PM -0500, Ronald S. Bultje wrote: > > Hi, > > > > On Wed, Feb 28, 2018 at 12:17 PM, Michael Niedermayer < > > mich...@niedermayer.cc> wrote: > > > > > The widget has new content. > > > > > > Could you elabo

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 03:25:51PM -0500, Ronald S. Bultje wrote: > Hi, > > On Wed, Feb 28, 2018 at 12:17 PM, Michael Niedermayer < > mich...@niedermayer.cc> wrote: > > > The widget has new content. > > > Could you elaborate on what the new content is? yes, of course > What political campai

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Ronald S. Bultje
Hi, On Wed, Feb 28, 2018 at 12:17 PM, Michael Niedermayer < mich...@niedermayer.cc> wrote: > The widget has new content. Could you elaborate on what the new content is? What political campaign will we as project members support by applying this patch? Thanks, Ronald ___

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Jan Ekström
On Wed, Feb 28, 2018 at 10:10 PM, Michael Niedermayer wrote: > On Wed, Feb 28, 2018 at 09:52:19PM +0200, Jan Ekström wrote: >> On Wed, Feb 28, 2018 at 7:17 PM, Michael Niedermayer >> wrote: >> > +https://widget.battleforthenet.com/widget.js"; >> > async> >> >> Please use >> https://deve

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread wm4
On Wed, 28 Feb 2018 21:00:27 +0100 Michael Niedermayer wrote: > On Wed, Feb 28, 2018 at 07:17:25PM +, Ricardo Constantino wrote: > > On 28 February 2018 at 19:13, Michael Niedermayer > > wrote: > > > > > On Wed, Feb 28, 2018 at 06:28:44PM +, Ricardo Constantino wrote: > > > > On 28

[FFmpeg-devel] [PATCH][RFC] Improve and fix put_vc2_ue_uint() function.

2018-02-28 Thread Ivan Kalvachev
Replace two bit handling loops and internal conditional branch with simple formula using few logical operations. The old function would generate wrong output if the input does not fit into 15 bits. Fix this by using 64 bit math and put_bits64(). This case should be quite rare, since the bug has n

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 09:52:19PM +0200, Jan Ekström wrote: > On Wed, Feb 28, 2018 at 7:17 PM, Michael Niedermayer > wrote: > > +https://widget.battleforthenet.com/widget.js"; > > async> > > Please use > https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity > . Th

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 07:17:25PM +, Ricardo Constantino wrote: > On 28 February 2018 at 19:13, Michael Niedermayer > wrote: > > > On Wed, Feb 28, 2018 at 06:28:44PM +, Ricardo Constantino wrote: > > > On 28 February 2018 at 17:17, Michael Niedermayer > > > > > wrote: > > > > > > > The

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Jan Ekström
On Wed, Feb 28, 2018 at 7:17 PM, Michael Niedermayer wrote: > +https://widget.battleforthenet.com/widget.js"; > async> Please use https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity . That way this third-party entity will only get loaded if the content matches a

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 07:39:23PM +0100, wm4 wrote: > On Wed, 28 Feb 2018 18:17:42 +0100 > Michael Niedermayer wrote: > > > The widget has new content. > > > > This reverts commit 9275cd54eddb83faf5bd40ffaccb5717de8b798d. > > --- > > src/template_head2 | 23 +++ > > 1 file

Re: [FFmpeg-devel] [PATCH v3] avformat/pcm: decrease delay when reading PCM streams.

2018-02-28 Thread Marton Balint
On Wed, 28 Feb 2018, Marton Balint wrote: On Wed, 28 Feb 2018, Philipp M. Scholl wrote: Anything holding this patch back from being applied? It does not pass fate for me. Are you sure you updated the fate test results in the patch after your changes? And if you are preparing a new patc

Re: [FFmpeg-devel] [PATCH v3] avformat/pcm: decrease delay when reading PCM streams.

2018-02-28 Thread Marton Balint
On Wed, 28 Feb 2018, Philipp M. Scholl wrote: Anything holding this patch back from being applied? It does not pass fate for me. Are you sure you updated the fate test results in the patch after your changes? Regards, Marton ___ ffmpeg-devel mail

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Ricardo Constantino
On 28 February 2018 at 19:13, Michael Niedermayer wrote: > On Wed, Feb 28, 2018 at 06:28:44PM +, Ricardo Constantino wrote: > > On 28 February 2018 at 17:17, Michael Niedermayer > > > wrote: > > > > > The widget has new content. > > > > > > > > Does it shut itself up when the time's passed n

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
On Wed, Feb 28, 2018 at 06:28:44PM +, Ricardo Constantino wrote: > On 28 February 2018 at 17:17, Michael Niedermayer > wrote: > > > The widget has new content. > > > > Does it shut itself up when the time's passed now? we can disable it manually easily if it does not > Or check if the vi

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread wm4
On Wed, 28 Feb 2018 18:17:42 +0100 Michael Niedermayer wrote: > The widget has new content. > > This reverts commit 9275cd54eddb83faf5bd40ffaccb5717de8b798d. > --- > src/template_head2 | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git a/src/template_head2 b/src/te

Re: [FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Ricardo Constantino
On 28 February 2018 at 17:17, Michael Niedermayer wrote: > The widget has new content. > Does it shut itself up when the time's passed now? Or check if the visitor's IP isn't from USA? > > This reverts commit 9275cd54eddb83faf5bd40ffaccb5717de8b798d. > --- > src/template_head2 | 23 ++

[FFmpeg-devel] [PATCH] Revert "Remove battleforthenet widget"

2018-02-28 Thread Michael Niedermayer
The widget has new content. This reverts commit 9275cd54eddb83faf5bd40ffaccb5717de8b798d. --- src/template_head2 | 23 +++ 1 file changed, 23 insertions(+) diff --git a/src/template_head2 b/src/template_head2 index a0b11ab..71daf07 100644 --- a/src/template_head2 +++ b/src/te

Re: [FFmpeg-devel] [PATCH 2/3 v1.1] avcodec/vaapi: add fields for VAAPI VC-1 interlaced decoding

2018-02-28 Thread Hendrik Leppkes
On Wed, Feb 28, 2018 at 9:48 AM, Jerome Borsboom wrote: >> Is this expected to pass the two fate tests for VC-1 interlaced, >> fate-vc1_sa10143 and fate-vc1_ilaced_twomv? (It doesn't on my system, all >> output frames are different.) If not, could you explain why not? >> >> Thanks, >> >> - Mark

Re: [FFmpeg-devel] [PATCH v3] avformat/pcm: decrease delay when reading PCM streams.

2018-02-28 Thread Tomas Härdin
On 2018-02-28 17:37, Philipp M. Scholl wrote: Anything holding this patch back from being applied? cheers, -phil On Fri, Feb 16, 2018 at 02:13:16PM +0100, Tomas Härdin wrote: On 2018-02-16 14:04, Philipp M. Scholl wrote: Version 3 of the PCM delay patch with further feedback included. Stil

Re: [FFmpeg-devel] [PATCH v3] avformat/pcm: decrease delay when reading PCM streams.

2018-02-28 Thread Philipp M. Scholl
Anything holding this patch back from being applied? cheers, -phil On Fri, Feb 16, 2018 at 02:13:16PM +0100, Tomas Härdin wrote: > On 2018-02-16 14:04, Philipp M. Scholl wrote: > > Version 3 of the PCM delay patch with further feedback included. > > > > Still not sure about the ramifications of

Re: [FFmpeg-devel] [PATCH 2/3 v1.1] avcodec/vaapi: add fields for VAAPI VC-1 interlaced decoding

2018-02-28 Thread Jerome Borsboom
On 25/02/18 19:12, Jerome Borsboom wrote: avcodec/vaapi: add fields for VAAPI VC-1 interlaced decoding Pass necessary bitstream elements to the VAAPI VC-1 decoder in order to start doing interlaced decoding in hardware. Signed-off-by: Jerome Borsboom --- libavcodec/vaapi_vc1.c | 167 +

Re: [FFmpeg-devel] [PATCH] avfilter/avf_concat: add next command

2018-02-28 Thread Liu Steven
> 在 2018年2月28日,下午4:10,Bodecs Bela 写道: > > ping LGTM > > > 2018.02.25. 17:07 keltezéssel, Bodecs Bela írta: >> Dear All, >> >> this patch makes it possible to dinamically close the current segment >> and step to the next one by introducing command handling capabilities >> into the filter. Thi

Re: [FFmpeg-devel] [PATCH 1/2] doc/bitstream_filters: correct dump_extra bsfs docs.

2018-02-28 Thread Steven Liu
> On 28 Feb 2018, at 08:26, Jun Zhao wrote: > > ping > > On 2018/2/23 15:12, Jun Zhao wrote: > Signed-off-by: Jun Zhao --- doc/bitstream_filters.texi | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 5

[FFmpeg-devel] [PATCH] doc/outdevs: Add declink signal generator example

2018-02-28 Thread Mike Goins
Signed-off-by: Mike Goins --- doc/outdevs.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/outdevs.texi b/doc/outdevs.texi index daf7b1ae62..1ca81ba139 100644 --- a/doc/outdevs.texi +++ b/doc/outdevs.texi @@ -180,6 +180,13 @@ Play video clip with non-standard framerate or video

Re: [FFmpeg-devel] [PATCH v2 1/2] fftools/ffmpeg: fix progress log message in case pts is not available

2018-02-28 Thread Tobias Rapp
On 27.02.2018 19:03, Michael Niedermayer wrote: On Tue, Feb 27, 2018 at 08:49:19AM +0100, Tobias Rapp wrote: On 27.02.2018 01:12, Michael Niedermayer wrote: On Mon, Feb 26, 2018 at 05:09:04PM +0100, Tobias Rapp wrote: Move time string formatting into inline function. Also fixes out_time sign p

Re: [FFmpeg-devel] [PATCH] avfilter/avf_concat: add next command

2018-02-28 Thread Bodecs Bela
ping 2018.02.25. 17:07 keltezéssel, Bodecs Bela írta: Dear All, this patch makes it possible to dinamically close the current segment and step to the next one by introducing command handling capabilities into the filter. This new feature is very usefull when working with real-time sources or l