Re: [FFmpeg-devel] [RFC] Bug bounties

2014-08-27 Thread Alex Sukhanov
On Wed, Aug 27, 2014 at 2:47 PM, Clément Bœsch wrote: > On Wed, Aug 27, 2014 at 10:16:12PM +0200, Michael Niedermayer wrote: > > Hi all > > > > I was thinking about if we should put an > > automatic 50 USD bounty on every bug thats open since more than > > 12 month on trac, and limited to the fir

Re: [FFmpeg-devel] Facebook page

2014-10-05 Thread Alex Beregszaszi
. So, I wrote a message to him/her. As far as I know Fabrice owns the trademark for FFmpeg so you might get the page transferred by Facebook on the basis of the trademark. Best, Alex ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http

Re: [FFmpeg-devel] [PATCH 2/5] h264_metadata: Add support for A/53 closed captions

2018-03-26 Thread Alex Giladi
Is there any documentation on the side data file format? On Sun, Mar 25, 2018 at 6:18 PM, James Almer wrote: > On 3/25/2018 2:41 PM, Mark Thompson wrote: > > Allows insertion (from side data), extraction (to side data), and removal > > of closed captions in SEI messages. > > --- > > libavcodec/

[FFmpeg-devel] [PATCH] flvenc: Fix sequence header update timestamps

2018-05-03 Thread Alex Converse
From: Alex Converse --- libavformat/flvenc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index e8af48cb64..827d798a61 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -480,7 +480,7 @@ static int

Re: [FFmpeg-devel] [aacdec] Parse and drop gain control data, so that SSR packets decode.

2018-02-20 Thread Alex Converse
On Tue, Feb 20, 2018 at 3:37 PM, Dale Curtis wrote: > From 97380752ef12337d9b9a01801a9a84df3b4b9c0a Mon Sep 17 00:00:00 2001 > From: Dale Curtis > Date: Thu, 15 Feb 2018 16:22:55 -0800 > Subject: [PATCH] [aacdec] Parse and drop gain control data, so that SSR > packets decode. > > This will resul

Re: [FFmpeg-devel] [aacdec] Parse and drop gain control data, so that SSR packets decode.

2018-02-20 Thread Alex Converse
On Tue, Feb 20, 2018 at 4:56 PM, Dale Curtis wrote: > On Tue, Feb 20, 2018 at 4:18 PM, Alex Converse > wrote: > >> >> I would make this uint8_t >> > > Done. > > >> I would drop this stack struck and replace the leaf get_bits() with >> skip bits

[FFmpeg-devel] h.264 and h.265 bitstream consultant needed

2018-03-06 Thread Alex Day
of work? If not, could you refer someone who might do this kind of work? Best Regards, Alex Day ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] lavc/qsvenc: fix poor video quality with "-force_key_frames"

2020-10-13 Thread Alex Pokotilo
From 64abde49dffd7ef80f77210f2b943388e4682be6 Mon Sep 17 00:00:00 2001 From: Alex Pokotilo Date: Wed, 14 Oct 2020 02:19:25 + Subject: [PATCH] lavc/qsvenc: fix poor video quality with "-force_key_frames" if run ffmpeg with "-force_key_frames" flag without this fix, all

[FFmpeg-devel] Discuss mp4 fragmented: TFDT::BaseMediaDecodeTime. TRUN::SampleDuration

2014-11-02 Thread Alex Sukhanov
*Hi ffmpeg-devel, I’m sending this mail in order to encourage some discussion about ISO BMFF specification and find out what people think about problems described below and if anybody else also have seen these problems.I’m software engineer and I write MP4 Muxer/Demuxer (It’s not FFmpeg code) which

Re: [FFmpeg-devel] How is the total duration set in a fragmented MP4?

2015-01-27 Thread Alex Sukhanov
On Tue, Jan 27, 2015 at 8:43 AM, Gerard wrote: > Hello, > > I'm having trouble determining how is set the total duration of a > fragmented MP4. If mvhd, tkhd and mdhd boxes have the duration set to > 0x how does the demuxer know how long is the stream? > > Thanks, > > Gerard > ___

Re: [FFmpeg-devel] [PATCH] ffmpeg: Support copying unknown streams

2015-05-21 Thread Alex Beregszaszi
streams, if you prefer that ? Probably it makes much more sense to require explicit confirmation from the user than doing automatically. What kind of formats can have unknown streams anyway? Best, Alex ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpe

[FFmpeg-devel] [PATCH] avfilter/drawtext: allow to format pts with strftime

2015-10-08 Thread Alex Agranovsky
--  Alex Agranovsky 0001-avfilter-drawtext-allow-to-format-pts-with-strftime.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avfilter/drawtext: allow to format pts with strftime

2015-10-09 Thread Alex Agranovsky
Thanks for your comments. I’m attaching the amended patch, hopefully it addresses all of them. Please let me know if something else is out of order. - Alex On October 9, 2015 at 2:23:42 AM, Nicolas George (geo...@nsup.org) wrote: Le septidi 17 vendémiaire, an CCXXIV, Alex Agranovsky a écrit

Re: [FFmpeg-devel] [PATCH] avfilter/drawtext: allow to format pts with strftime

2015-10-10 Thread Alex Agranovsky
Hi — are there still outstanding issues with the patch, or is it good to go? Thanks, - Alex On October 9, 2015 at 8:57:22 AM, Alex Agranovsky (a...@sighthound.com) wrote: Thanks for your comments. I’m attaching the amended patch, hopefully it addresses all of them. Please let me know if

Re: [FFmpeg-devel] [PATCH] avfilter/drawtext: allow to format pts with strftime

2015-10-10 Thread Alex Agranovsky
we have not been very careful with it, but for legal reasons it would be better to have it, and I can not add it myself. Please see the modified patch attached.From 0d759b996718de1987741906480534d2e0f739ff Mon Sep 17 00:00:00 2001 From: Alex Agranovsky Date: Sat, 10 Oct 2015 14:52:34 -0400

[FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

2015-11-23 Thread Alex Agranovsky
This addresses ticket 5023From a2a0b9e0da14b6e82aa783535ec1878c8ffbede0 Mon Sep 17 00:00:00 2001 From: Alex Agranovsky Date: Tue, 24 Nov 2015 00:06:14 -0500 Subject: [PATCH 1/2] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header. Fixes ticket 5023 Signed-off

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

2015-11-24 Thread Alex Agranovsky
On November 24, 2015 at 10:32:47 AM, wm4 (nfx...@googlemail.com) wrote: On Tue, 24 Nov 2015 00:16:06 -0500 Alex Agranovsky wrote: > From a2a0b9e0da14b6e82aa783535ec1878c8ffbede0 Mon Sep 17 00:00:00 2001 > From: Alex Agranovsky > Date: Tue, 24 Nov 2015 00:06:14 -0500 > Subject

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

2015-11-24 Thread Alex Agranovsky
--  Alex Agranovsky Sighthound, Inc www.sighthound.com On November 24, 2015 at 12:36:30 PM, wm4 (nfx...@googlemail.com) wrote: On Tue, 24 Nov 2015 11:39:07 -0500 Alex Agranovsky wrote: > On November 24, 2015 at 10:32:47 AM, wm4 (nfx...@googlemail.com) wrote: > &g

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

2015-11-25 Thread Alex Agranovsky
On November 24, 2015 at 6:06:36 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Tue, Nov 24, 2015 at 03:01:28PM -0500, Alex Agranovsky wrote:  [...]  > From 2c253d7978a6c9c2dc701d393eb5b9d68e831c98 Mon Sep 17 00:00:00 2001  > From: Alex Agranovsky   > Date: Tue, 24 Nov 2015 00:07

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg demuxer to process MIME parts which do not include Content-Length header.

2015-11-27 Thread Alex Agranovsky
On November 25, 2015 at 10:35:33 AM, Alex Agranovsky (a...@sighthound.com) wrote: On November 24, 2015 at 6:06:36 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Tue, Nov 24, 2015 at 03:01:28PM -0500, Alex Agranovsky wrote:  [...]  > From 2c253d7978a6c9c2dc701d393eb5b9d68e831c98 Mon

[FFmpeg-devel] Stems file format

2015-08-04 Thread Alex Beregszaszi
-makes-mixing-easier-than-ever/ ) they are already sold on Beatport & Traxsource. Best, Alex ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] Gathering opinions from FFmpeg developers about a reunification with Libav developers

2015-08-04 Thread Alex Beregszaszi
that the original libav authors won't switch back, i.e. libav would continue to be developed separately. Long story short: my point is that it might not be needed to do an official freeze and merge. Invite and welcome developers from the other side. Best, Alex

[FFmpeg-devel] Cisco Thor video codec

2015-08-12 Thread Alex Beregszaszi
: - loop filters - multiple reference frames ("n last frames") - b-frames Best, Alex ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] QuickTime Edit List Support

2015-09-08 Thread Alex M
Hi, I'm working on a project using FFmpeg which involves transcoding of Quicktime MOV files that contain multiple edit lists. I have discovered this raises issues with FFmpeg and support for (multiple) quicktime edit lists. This is a key requirement for this project so I am open to making and s

Re: [FFmpeg-devel] [PATCH]ExtraData computation for aac in -acodec copy

2015-09-09 Thread Alex Converse
0 -vcodec copy -b:v > 544000 -muxdelay 0 -map 0:0 -codec:a:0 copy -flags +global_header > -metadata:s:a:0 language=fra -b:a:0 128000 -bsf:a aac_adtstoasc > rtmp://172.16.93.31/live/rtmpgit > --Alex ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] Proposed patches to mpjpeg demux

2015-09-10 Thread Alex Agranovsky
more flexibility for the incoming data --  Alex Agranovsky Sighthound, Inc www.sighthound.com ffmpeg3.patch Description: Binary data ffmpeg4.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/ma

Re: [FFmpeg-devel] Proposed patches to mpjpeg demux

2015-09-10 Thread Alex Agranovsky
Quick update: format.c patch needs to be amended, to include a NULL check. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 10, 2015 at 12:04:55 PM, Alex Agranovsky (a...@sighthound.com) wrote: Please look at the attached patches. They accomplish the

Re: [FFmpeg-devel] Proposed patches to mpjpeg demux

2015-09-12 Thread Alex Agranovsky
Michael, thanks! Is the other change (mpjpegdec.c) still in review, or had it been overlooked due to not being included in the amended patch? -Best. - Alex --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 11, 2015 at 6:43:31 PM, Michael Niedermayer (michae

Re: [FFmpeg-devel] Proposed patches to mpjpeg demux

2015-09-12 Thread Alex Agranovsky
Sure thing — will split and resubmit. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 2:37:52 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep 12, 2015 at 02:06:28PM -0400, Alex Agranovsky wrote: > Michael, thanks! > &g

[FFmpeg-devel] [PATCH] Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present

2015-09-12 Thread Alex Agranovsky
(AVFormatContext *s)          ret = get_line(s->pb, line, sizeof(line));          if (ret < 0) -            return ret; +            break;          if (line[0] == '\0')              break; --  Alex Agranovsky Sighthound, Inc www.sighthound.com __

[FFmpeg-devel] [PATCH] mpjpeg: CRLF terminating a sequence of MIME headers should not cause an error

2015-09-12 Thread Alex Agranovsky
erminates a sequence of MIME headers */ +        if (value==NULL || tag==NULL) +            break;            if (line[0] == '\0')              break;            ret = split_tag_value(&tag, &value, line); -        if (ret < 0) +        if (ret < 0 || tag == NULL || value == N

Re: [FFmpeg-devel] [PATCH] mpjpeg: CRLF terminating a sequence of MIME headers should not cause an error

2015-09-12 Thread Alex Agranovsky
break; +           if (!av_strcasecmp(tag, "Content-type")) {              if (av_strcasecmp(value, "image/jpeg")) {                  av_log(s, AV_LOG_ERROR, --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 4:50:54 PM, Alex Agranovsky (a...@si

[FFmpeg-devel] [PATCH] mpjpeg: trim header name/value of MIME headers while probing

2015-09-12 Thread Alex Agranovsky
lue, char *line)          p++;        *value = p; +    trim_right(*value);        return 0;  } --  Alex Agranovsky Sighthound, Inc www.sighthound.com ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present

2015-09-12 Thread Alex Agranovsky
Modified patch is attached. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 5:37:51 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep 12, 2015 at 04:33:17PM -0400, Alex Agranovsky wrote: >  libavformat/mpjpegdec.c | 2 +- >  

Re: [FFmpeg-devel] [PATCH] mpjpeg: CRLF terminating a sequence of MIME headers should not cause an error

2015-09-12 Thread Alex Agranovsky
You’re correct, sir. New patch is attached. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 5:54:23 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep 12, 2015 at 05:05:04PM -0400, Alex Agranovsky wrote: > Amended: one of the

Re: [FFmpeg-devel] [PATCH] mpjpeg: trim header name/value of MIME headers while probing

2015-09-12 Thread Alex Agranovsky
Attached. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 5:41:56 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep 12, 2015 at 05:10:06PM -0400, Alex Agranovsky wrote: >  libavformat/mpjpegdec.c | 15 +++ >  

Re: [FFmpeg-devel] [PATCH] mpjpeg: CRLF terminating a sequence of MIME headers should not cause an error

2015-09-12 Thread Alex Agranovsky
; semantics of a body-part differ from ; the semantics of a message, as ; described in the text. --  Alex Agranovsky Sighthound, Inc www.sighthound.com On September 12, 2015 at 8:14:01 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep

Re: [FFmpeg-devel] [PATCH] Allow mpjpeg headers parsing to succeed upon EOF, if required headers are present

2015-09-12 Thread Alex Agranovsky
My bad — sorry about that.  On September 12, 2015 at 7:08:34 PM, Michael Niedermayer (michae...@gmx.at) wrote: On Sat, Sep 12, 2015 at 06:49:41PM -0400, Alex Agranovsky wrote: > Modified patch is attached. > > --  > Alex Agranovsky > Sighthound, Inc >

[FFmpeg-devel] [PATCH] mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present

2015-09-13 Thread Alex Agranovsky
0001-mpjpeg-probe-should-require-same-constraints-as-pack.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] mpjpeg: probe should require same constraints as packet reader - both proper content-type and content-size must be present

2015-09-13 Thread Alex Agranovsky
A slightly improved version … On September 13, 2015 at 4:56:21 PM, Alex Agranovsky (a...@sighthound.com) wrote: 0001-mpjpeg-probe-should-require-same-constraints-as-pack.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel

[FFmpeg-devel] [PATCH 1/3] configure: Force mingw's ld to keep the reloc section

2015-09-20 Thread Alex Smith
From: Alex Smith Binutils will always strip the relocation information from executable files even if it needs it (dynamicbase/ASLR). We can work around this by using the pic-executable flag combined with setting the correct entry point since apparently ld forgets what that should be. This

[FFmpeg-devel] [PATCH 2/3] configure: Support for HEASLR on mingw targets

2015-09-20 Thread Alex Smith
From: Alex Smith The appropriate flag for HEASLR (--high-entropy-va) is scheduled for inclusion in the next version of binutils (2.25), doesn't hurt to include it a little early. Also set the image base >4GB so higher entropy gets applied to image base randomization when used with H

[FFmpeg-devel] [PATCH 3/3] configure: Disable automatic image base calculation

2015-09-20 Thread Alex Smith
From: Alex Smith There's no reason for it. ASLR will rebase it regardless so "preventing collisions" isn't really relevant. This also brings it in line with what a msvc produced dll will have (an image base of 0x1000). Signed-off-by: Alex Smith --- configure | 2 +

Re: [FFmpeg-devel] [PATCH 1/3] configure: Force mingw's ld to keep the reloc section

2015-09-22 Thread Alex Smith
On Tue, Sep 22, 2015 at 7:43 PM, Michael Niedermayer wrote: > > > this is ugly, but ASLR is important thus applied > i did not apply the nxcompat dynamicbase merge as its unrelated > > Thanks > > PS: if this breaks some version of mingw then this should be reverted > > [...] > > The only thing I'm

[FFmpeg-devel] [PATCH] configure: Combine dynamicbase and nxcompat checks

2015-09-25 Thread Alex Smith
They were added to binutils in the same version so it's safe to combine. Signed-off-by: Alex Smith --- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index 3339126..b572d59 100755 --- a/configure +++ b/configure @@ -4367,8 +4367,6 @@

[FFmpeg-devel] [PATCH 2/3 v2] configure: Support for HEASLR on mingw targets

2015-09-25 Thread Alex Smith
From: Alex Smith The appropriate flag for HEASLR (--high-entropy-va) was added in binutils 2.25. Also set the image base >4GB so higher entropy gets applied to image base randomization when used with HEASLR (8 -> 17 bits of randomization). Windows does this for compatibility because of &

[FFmpeg-devel] working with file descriptors on Android

2020-07-22 Thread Alex Cohn
ther way adds a `content://` protocol and does all heavy lifting (calling system Java API through JNI) itself. I would like to submit my contribution to ffmpeg-devel, but I am in doubt which of the two approaches may better fit the ffmpeg development paradigm, if any. Best Reg

Re: [FFmpeg-devel] working with file descriptors on Android

2020-07-26 Thread Alex Cohn
On Sat, Jul 25, 2020 at 9:37 PM Matthieu Bouron wrote: > > On Wed, Jul 22, 2020 at 2:38 PM Alex Cohn wrote: > > > Usually, we employ the `pipe:` protocol to deal with the numerical > > file descriptors, and this answers all our needs. On Android, there is > > a

Re: [FFmpeg-devel] working with file descriptors on Android

2020-07-26 Thread Alex Cohn
d Q a.k.a. Android 10, also API 29) made yet another small step in this direction and caused lots of problems for apps that rely upon file access by path. This was the incentive for me to work on the ways to teach avformat to work with the `content:` URIs correctly. BR, Alex Cohn _

Re: [FFmpeg-devel] working with file descriptors on Android

2020-07-27 Thread Alex Cohn
, Alex Cohn On Mon, Jul 27, 2020 at 11:01 AM Olivier Ayache wrote: > > A good alternative to work with FFmpeg on Android is Xuggler, it presents > FFmpeg's API directly to Java/Kotlin. > > To deal with fd you can declare and implement your own IO handler by > implementi

Re: [FFmpeg-devel] working with file descriptors on Android

2020-07-27 Thread Alex Cohn
xt which simply calls read(), write(), and lseek() on an `fd` is minimal, but even this must be measured carefully to compare with the original `file:` protocol. Sincerely, Alex Cohn On Mon, Jul 27, 2020 at 4:45 PM Olivier Ayache wrote: > > You're welcome. > > Can I suggest

Re: [FFmpeg-devel] Custom Video Encoding and Decoding

2020-07-29 Thread Alex Cohn
hD Student in Computer Science* > Georgia Institute of Technology > North Ave NW, Atlanta, GA 30332, USA IMO, the x2 speed boost is a positive result, depending on the GOP size. Decoding a series of P frames is much faster than for the same amount of I frames. I don't believe some

[FFmpeg-devel] [PATCH] fix memory leak in qsvenc.c

2020-08-12 Thread Alex Pokotilo
From bbcf114eea30368b6b97a3ef1b0c68cd75fb5a5c Mon Sep 17 00:00:00 2001 From: Alex Pokotilo Date: Wed, 12 Aug 2020 23:56:46 +1000 Subject: [PATCH] fix memory leak in qsvenc.c "ff_qsv_enc_close" function called at the end of qsv encoding session and it frees q->async_fifo content

Re: [FFmpeg-devel] [PATCH] fix memory leak in qsvenc.c

2020-08-16 Thread Alex Pokotilo
> Seems reasonable, any special reason to reorder av_freep(&sync)? I want to combine "bs" and it's children structures disposal in the same order as in ff_qsv_encode where we have #if QSV_VERSION_ATLEAST(1, 26) if (avctx->codec_id == AV_CODEC_ID_H264) { enc_buf = bs->ExtParam

Re: [FFmpeg-devel] [PATCH] fix memory leak in qsvenc.c

2020-08-21 Thread Alex Pokotilo
> Seems reasonable, any special reason to reorder av_freep(&sync)? I want to combine "bs" and it's children structures disposal in the same order as in ff_qsv_encode where we have #if QSV_VERSION_ATLEAST(1, 26) if (avctx->codec_id == AV_CODEC_ID_H264) { enc_buf = bs->ExtParam

[FFmpeg-devel] [PATCH] libavfilter/vf_overlay_cuda: Pass the main frame to the output if secondary frame is not available. now filter fails if secondary frame is not available due to e.g secondary sou

2020-08-21 Thread Alex Pokotilo
From b3739e33fa04a9292dc6584bd2f31460aa53d478 Mon Sep 17 00:00:00 2001 From: Alex Pokotilo Date: Fri, 21 Aug 2020 09:14:37 + Subject: [PATCH] libavfilter/vf_overlay_cuda: Pass the main frame to the output if secondary frame is not available. now filter fails if secondary frame is not

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_overlay_cuda: Pass the main frame to the output if secondary frame is not available. now filter fails if secondary frame is not available due to e.g secondary

2020-08-21 Thread Alex Pokotilo
On Fri, Aug 21, 2020 at 7:54 PM Nicolas George wrote: > > Alex Pokotilo (12020-08-21): > > From b3739e33fa04a9292dc6584bd2f31460aa53d478 Mon Sep 17 00:00:00 2001 > > From: Alex Pokotilo > > Date: Fri, 21 Aug 2020 09:14:37 + > > Subject: [PATCH] libavfilter/

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_overlay_cuda: Pass the main frame to the output if secondary frame is not available. now filter fails if secondary frame is not available due to e.g secondary

2020-08-23 Thread Alex Pokotilo
> > What are the timestamps (and corresponding time bases) of the first > frame you send on each input? this frame is sent the first fs->in[0] pts = 0; timscale=1/1000 but it doesn't matter as pts is 0 this frame is sent the second fs->in[1] pts =140 timscale=1/25 When I call av_buffersink_g

Re: [FFmpeg-devel] [PATCH] libavfilter/vf_overlay_cuda: Pass the main frame to the output if secondary frame is not available. now filter fails if secondary frame is not available due to e.g secondary

2020-08-24 Thread Alex Pokotilo
> One observation not related to vf_overlay_cude fix if you don't mind: > even with the fix you proposed if I don't send a single frame into > fs->in[1](i.e secondary stream) I cannot get any output. > This is because consume_from_fifos doesn't honor .before == > EXT_INFINITY and .state == STATE_BO

Re: [FFmpeg-devel] [PATCH] flvenc: Fix sequence header update timestamps

2018-05-10 Thread Alex Converse
On Thu, May 3, 2018 at 10:58 AM, Jan Ekström wrote: > > On Thu, May 3, 2018 at 7:50 PM, Alex Converse wrote: > > From: Alex Converse > > > > --- > > libavformat/flvenc.c | 10 +- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > > >

Re: [FFmpeg-devel] [PATCH] flvenc: Fix sequence header update timestamps

2018-05-10 Thread Alex Converse
t;>> >>>> On Thu, May 3, 2018 at 8:58 PM, Jan Ekström wrote: >>>>> On Thu, May 3, 2018 at 7:50 PM, Alex Converse >>>>> wrote: >> [...] >> >>> Will apply. >> >> I think Alex Converse has a git write account, so he can

Re: [FFmpeg-devel] [PATCH] flvenc: Fix sequence header update timestamps

2018-05-10 Thread Alex Converse
On Thu, May 10, 2018 at 4:08 PM, Jan Ekström wrote: > On Fri, May 11, 2018 at 1:39 AM, Alex Converse > wrote: >> On Thu, May 3, 2018 at 10:58 AM, Jan Ekström wrote: >>> >>> Hi, >>> >>> While the timestamp field is 8+24=32 bits, the DTS value is i

[FFmpeg-devel] [PATCH 1/2] flvenc: Factorize timestamp writing

2018-05-10 Thread Alex Converse
From: Alex Converse The code is trivial but the semantics in the spec are ambiguous. This should help keep parts of the muxer interpreting them consistently. --- libavformat/flvenc.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/libavformat/flvenc.c b

[FFmpeg-devel] [PATCH 2/2] flvenc: Fix sequence header update timestamps

2018-05-10 Thread Alex Converse
From: Alex Converse --- libavformat/flvenc.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index 9b7cdfe7db..7aa2dbf9a6 100644 --- a/libavformat/flvenc.c +++ b/libavformat/flvenc.c @@ -485,7 +485,7 @@ static int

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: Avoid truncating timestamp before avio_write_marker()

2018-05-29 Thread Alex Converse
On Sun, May 13, 2018 at 3:41 AM, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/flvenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c > index e8af48cb64..168ff9ffb8 100644 > --- a/libavfo

Re: [FFmpeg-devel] [PATCH 2/2] flvenc: Fix sequence header update timestamps

2018-05-29 Thread Alex Converse
On Sun, May 13, 2018 at 3:24 AM, Michael Niedermayer wrote: > On Thu, May 10, 2018 at 06:40:08PM -0700, Alex Converse wrote: >> From: Alex Converse >> >> --- >> libavformat/flvenc.c | 9 - >> 1 file changed, 4 insertions(+), 5 deletions(-) >>

Re: [FFmpeg-devel] [PATCH] avcodec/aacdec: don't force HE-AACv2 profile if no PS info is present

2022-07-22 Thread Alex Converse
On Fri, Jul 22, 2022 at 8:37 AM James Almer wrote: > On 7/22/2022 12:14 PM, Andreas Rheinhardt wrote: > > James Almer: > >> On 7/22/2022 11:56 AM, Andreas Rheinhardt wrote: > >>> James Almer: > On 7/22/2022 11:23 AM, Andreas Rheinhardt wrote: > > James Almer: > >> On 7/18/2022 10:57 A

[FFmpeg-devel] [PATCH] avcodec/mjpeg_parser: skip markers after EOI, not by size

2021-11-25 Thread Alex Xu (Hello71)
The check for m->size >= 0xF000 is intended to avoid skipping too much garbage data between JPEG frames in test_roman (thus missing next SOI), but it erroneously also skips valid markers between SOI and SOS. Instead of this, we should simply skip parsing markers other than SOI after EOI. That way,

[FFmpeg-devel] [PATCH] avformat/img2dec: probe JFIF/Exif header

2021-11-25 Thread Alex Xu (Hello71)
Due to reasons, mpv doesn't pass filename when probing. mpv also sets default probescore threshold to 26. Since the current jpeg_probe implementation returns 25 until EOI, it means that the whole image needs to be probed to succeed. Worse, the whole image is not passed at once; increasingly large b

[FFmpeg-devel] [PATCH] webp: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM

2021-11-25 Thread Alex Xu (Hello71)
Roughly doubles webp performance for common applications (ffmpeg, ffprobe, mpv) due to speeding up avformat_find_stream_info. Lossy needs no patches since vp8.c already implements skip_frame. Lossless needs hook to understand skip_frame. Also the "image data not found" message is fixed, which was

[FFmpeg-devel] [PATCH v2] webp: implement FF_CODEC_CAP_SKIP_FRAME_FILL_PARAM

2021-12-07 Thread Alex Xu (Hello71)
Roughly doubles webp performance for common applications (ffmpeg, ffprobe, mpv) due to speeding up avformat_find_stream_info. Lossy needs no patches since vp8.c already implements skip_frame. Lossless needs hook to understand skip_frame. Also the "image data not found" message is fixed, which was

<    1   2