Re: [FFmpeg-devel] [PATCH 1/2] ffmpeg: skip disabled streams

2019-01-01 Thread Gyan
Ping. On 31-12-2018 10:33 AM, Gyan wrote: On 31-12-2018 06:50 AM, Michael Niedermayer wrote: On Sat, Dec 29, 2018 at 04:39:18PM +0530, Gyan wrote: At Michael's suggestion, earlier patch broken into two. This one stops discarded streams from being processed. A few more checks added. Gyan [.

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: allow disabling streams by type for inputs

2019-01-01 Thread Gyan
On 29-12-2018 04:40 PM, Gyan wrote: -vn/-an/-sn/-dn now work for inputs Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH V4 2/2] avcodec/libx264: add support for ROI-based encoding

2019-01-01 Thread Guo, Yejun
this patch set asks for pushing if no other issues, thanks. > -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Derek Buitenhuis > Sent: Saturday, December 29, 2018 12:06 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V4

[FFmpeg-devel] [ffmpeg-devel] I have a question.

2019-01-01 Thread 강창우
Hello, I am Kang Chang-woo, who is developing server in South Korea. I have a question. I receive RTP packet ( amrwb, h264 ). So, I will decode RTP packet and make mp3, mp4 media file. Is it possible to use ffmpeg? If it possible, what shoud I do? I use redhat 6.8 64bit, C language. Thanks

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-01 Thread Moritz Barsnick
On Tue, Jan 01, 2019 at 18:22:42 -0300, James Almer wrote: > >> +if (!this) > >> +return > >> +av_freep(&this->imemvtbl); > > > > Do add a semicolon after "return" for good measure. ;) > > Huh, curious, gcc 8 (mingw-w64) compiled this just fine without the > semicolon. Oh my. ;-)

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-01 Thread James Almer
On 1/1/2019 6:16 PM, Moritz Barsnick wrote: > On Tue, Jan 01, 2019 at 17:58:42 -0300, James Almer wrote: >> Does the attached (untested) patch fix these two for you? > [...] >> +if (!this) >> +return >> +av_freep(&this->imemvtbl); > > Do add a semicolon after "return" for good meas

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-01 Thread Moritz Barsnick
On Tue, Jan 01, 2019 at 17:58:42 -0300, James Almer wrote: > Does the attached (untested) patch fix these two for you? [...] > +if (!this) > +return > +av_freep(&this->imemvtbl); Do add a semicolon after "return" for good measure. ;) Moritz

Re: [FFmpeg-devel] [PATCH] delogo filter: new "uglarm" interpolation mode added

2019-01-01 Thread Uwe Freese
Hello, here's a new version of the patch. Thanks for the infos. I used the raw output of a small test video (where delogo is applied in both modes) before and after the changes to make sure the output is bytewise identical (the changes don't change the output). In general I want to say that

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-01 Thread James Almer
On 1/1/2019 5:01 PM, Oliver Collyer wrote: > -- Block 26224 at 0x74240F70: 151 bytes -- > Leak Hash: 0x357CD5AF, Count: 1, Total 151 bytes > Call Stack (TID 55752): > ucrtbased.dll!aligned_malloc() > c:\ffmpeg\source\ffmpeg\libavutil\mem.c (90): emu-server.exe!av

[FFmpeg-devel] Possible memory leaks in dshow capture

2019-01-01 Thread Oliver Collyer
Greetings I'm reporting some possible memory leaks in the dshow format code. As far as I can tell I'm freeing everything I should; the leaks come via allocations made during av_format_open_input and I can confirm that in my code I calling av_format_close_input when I'm done, as per the document

Re: [FFmpeg-devel] [PATCH v2] mov: Remove duration-of-last-frame heuristic hack

2019-01-01 Thread Derek Buitenhuis
On 24/12/2018 19:55, Derek Buitenhuis wrote: > --- > v1 had accidentally removed a cast. Woops. > libavformat/mov.c | 6 -- > 1 file changed, 6 deletions(-) If there are no objections, I will push in a day or two. - Derek ___ ffmpeg-devel mailing l

Re: [FFmpeg-devel] [PATCH 11/11] avcodec/bfi: Provide non NULL context to av_log()

2019-01-01 Thread Nicolas George
Michael Niedermayer (2019-01-01): > btw, if people want me to push trivial looking changes directly, i can skip > sending such patches in the future, but people have previously complained > repeatly when i pushed without sending patches. > I cant send patches just when there would be someone who w

Re: [FFmpeg-devel] [PATCH 16/16] avcodec/eacmv: Return more specific error codes and forward error codes

2019-01-01 Thread Michael Niedermayer
On Tue, Jan 01, 2019 at 12:03:36PM +0100, Paul B Mahol wrote: > On 12/31/18, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/eacmv.c | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > > > diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv

Re: [FFmpeg-devel] [PATCH 11/11] avcodec/bfi: Provide non NULL context to av_log()

2019-01-01 Thread Michael Niedermayer
On Tue, Jan 01, 2019 at 12:02:22PM +0100, Paul B Mahol wrote: > On 12/31/18, Michael Niedermayer wrote: > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/bfi.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c > > index

[FFmpeg-devel] [PATCH V2 3/3] doc/encoders: Update docs for libxavs2

2019-01-01 Thread Jun Zhao
Update standard libavcodec options for libxavs2 Signed-off-by: Jun Zhao --- doc/encoders.texi | 13 - 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/doc/encoders.texi b/doc/encoders.texi index c6fe923..0a85c19 100644 --- a/doc/encoders.texi +++ b/doc/encoders.texi

[FFmpeg-devel] [PATCH V2 1/3] lavc/libdavs2: Cosmetics: Fix indentation for switch statement

2019-01-01 Thread Jun Zhao
Cosmetics: Fix indentation for switch statement like the Linux kerenl style. Signed-off-by: Jun Zhao --- libavcodec/libdavs2.c | 34 +- 1 files changed, 17 insertions(+), 17 deletions(-) diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 2846ecf..

[FFmpeg-devel] [PATCH V2 0/3] XAVS2 update

2019-01-01 Thread Jun Zhao
V2: - Keep the speed_level option (Tks Mark's review) V1: - Cosmetics: Fix indentation for switch statement in davs2/xavs2 - Rename option speed_level to preset - Update standard libavcodec options in docs part for libxavs2 Jun Zhao (3): lavc/libdavs2: Cosmetics: Fix indentation for swi

[FFmpeg-devel] [PATCH V2 2/3] lavc/libxavs2: Cosmetics: Fix indentation for switch statement

2019-01-01 Thread Jun Zhao
Cosmetics: Fix indentation for switch statement like the Linux kerenl style. Signed-off-by: Jun Zhao --- libavcodec/libxavs2.c | 32 1 files changed, 16 insertions(+), 16 deletions(-) diff --git a/libavcodec/libxavs2.c b/libavcodec/libxavs2.c index 1df4148..41

Re: [FFmpeg-devel] [PATCH 16/16] avcodec/eacmv: Return more specific error codes and forward error codes

2019-01-01 Thread Paul B Mahol
On 12/31/18, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/eacmv.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/eacmv.c b/libavcodec/eacmv.c > index bf4404ce42..6f39d72b88 100644 > --- a/libavcodec/eacmv.c > +++ b/

Re: [FFmpeg-devel] [PATCH 11/11] avcodec/bfi: Provide non NULL context to av_log()

2019-01-01 Thread Paul B Mahol
On 12/31/18, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/bfi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/bfi.c b/libavcodec/bfi.c > index 233a1d27a8..a4cb002053 100644 > --- a/libavcodec/bfi.c > +++ b/libavcodec/bfi