Re: [FFmpeg-devel] [PATCH] avcodec/mips: [loongson] simplify the usage of intermediate variable addr.

2018-09-04 Thread Michael Niedermayer
On Tue, Sep 04, 2018 at 04:05:33PM +0800, Shiyou Yin wrote: > Simplify the usage of intermediate variable addr in following functions: > 1. ff_put_pixels4_8_mmi > 2. ff_put_pixels8_8_mmi > 3. ff_put_pixels16_8_mmi > 4. ff_avg_pixels16_8_mmi. > --- > libavcodec/mips/hpeldsp_mmi.c | 181 >

Re: [FFmpeg-devel] [PATCH] avcodec: [loongson] fix bug of mss2-wmv failed in fate test.

2018-09-04 Thread Michael Niedermayer
On Mon, Sep 03, 2018 at 11:31:46AM +0800, Shiyou Yin wrote: > Failed case: mss2-wmv > In following functions, pmullh was used to multiply two 16-bit data, this > will cause data overflow. > 1. ff_vc1_inv_trans_8x8_dc_mmi > 2. ff_vc1_inv_trans_8x8_mmi > 3. ff_vc1_inv_trans_8x4_mmi > 4.

Re: [FFmpeg-devel] [PATCH v4 1/2] lavc, doc, configure: add libxavs2 video encoder wrapper

2018-09-04 Thread Mark Thompson
On 03/09/18 03:42, hwren wrote: > Signed-off-by: hwren > --- > Changelog | 1 + > configure | 4 + > doc/encoders.texi | 40 +++ > doc/general.texi | 14 +++ > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/libxavs2.c

Re: [FFmpeg-devel] [PATCH] ffmpeg: block output == input for files

2018-09-04 Thread Michael Niedermayer
On Mon, Sep 03, 2018 at 10:48:45AM +0530, Gyan Doshi wrote: > On 31-08-2018 10:26 AM, Gyan Doshi wrote: > >On 31-08-2018 09:57 AM, Gyan Doshi wrote: > >>On 31-08-2018 04:28 AM, Marton Balint wrote: > >> > >>> > >>>Is there any real use case when same source and destination works, so > >>>the

[FFmpeg-devel] [PATCH] fix MXF audio PTS calculation for compressed audio (ADTS/AAC)

2018-09-04 Thread Markus Schumann
--- libavformat/mxfdec.c | 67 +++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 8e1089620f..adfffd954a --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -3266,9 +3266,63 @@ static

Re: [FFmpeg-devel] [PATCH] avcodec: add RemotelyAnywhere Screen Capture decoder

2018-09-04 Thread Michael Niedermayer
On Tue, Sep 04, 2018 at 03:57:05PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 + > libavcodec/rasc.c | 590

Re: [FFmpeg-devel] [PATCH] frame: Simplify the video allocation

2018-09-04 Thread Michael Niedermayer
On Mon, Sep 03, 2018 at 10:29:13AM -0300, James Almer wrote: > On 9/3/2018 5:17 AM, Michael Niedermayer wrote: > > On Sun, Sep 02, 2018 at 09:34:23PM -0300, James Almer wrote: > >> From: Luca Barbato > >> > >> Merged-by: James Almer > >> --- > >> This is the next merge in the queue. It's a

Re: [FFmpeg-devel] [PATCH] lavc/h264: warn on mixed non-IDR/IDR NAL units

2018-09-04 Thread Michael Niedermayer
On Tue, Sep 04, 2018 at 05:17:43PM +0100, jos...@ob-encoder.com wrote: > From: Josh de Kock > > No segfault on sample ticket 4408. > --- > libavcodec/h264dec.c | 23 ++- > 1 file changed, 14 insertions(+), 9 deletions(-) > > diff --git a/libavcodec/h264dec.c

[FFmpeg-devel] [PATCH] avcodec/scpr: add version 3 support

2018-09-04 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/scpr.c | 1842 ++--- 1 file changed, 1558 insertions(+), 284 deletions(-) diff --git a/libavcodec/scpr.c b/libavcodec/scpr.c index ee6bf21b71..4cd9e33d71 100644 --- a/libavcodec/scpr.c +++ b/libavcodec/scpr.c @@

[FFmpeg-devel] fate samples for lavc/cfhd to go along with the patches

2018-09-04 Thread Gagandeep Singh
Hi, I have truncated the samples files to ~ 1MB each for fate samples to be used for the patches in review. https://www.dropbox.com/sh/cqi23br0wm9z3qy/AAALQFRkLIFTCpRYURixysd9a?dl=0 Gagandeep Singh ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

[FFmpeg-devel] [PATCH] lavc/h264: warn on mixed non-IDR/IDR NAL units

2018-09-04 Thread joshdk
From: Josh de Kock No segfault on sample ticket 4408. --- libavcodec/h264dec.c | 23 ++- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 8d115fa040..2ab52f57c0 100644 --- a/libavcodec/h264dec.c +++

Re: [FFmpeg-devel] [PATCH] avfilter/vf_transpose adding NPP transpose filter

2018-09-04 Thread Timo Rothenpieler
On 9/4/2018 3:54 PM, Moritz Barsnick wrote: On Tue, Sep 04, 2018 at 07:43:10 +, Roman Arzumanyan wrote: Hi Timo, Refactored the patch according to your review: +{ "interp_algo","Interpolation algorithm used for transposing", OFFSET(interp_algo), AV_OPT_TYPE_INT,{ .i64 =

[FFmpeg-devel] [PATCH] avcodec: add RemotelyAnywhere Screen Capture decoder

2018-09-04 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 + libavcodec/rasc.c | 590 libavformat/riff.c | 1 + 6 files changed, 601

Re: [FFmpeg-devel] [PATCH] avfilter/vf_transpose adding NPP transpose filter

2018-09-04 Thread Moritz Barsnick
On Tue, Sep 04, 2018 at 07:43:10 +, Roman Arzumanyan wrote: > Hi Timo, > > Refactored the patch according to your review: > +{ "interp_algo","Interpolation algorithm used for transposing", > OFFSET(interp_algo), AV_OPT_TYPE_INT,{ .i64 = NPPI_INTER_CUBIC }, 0, > INT_MAX, FLAGS,

Re: [FFmpeg-devel] [PATCH] libavcodec/pnm_parser: do not loose skipped parts in reporting of how much was consumed

2018-09-04 Thread Moritz Barsnick
On Tue, Sep 04, 2018 at 02:29:51 +0200, Michael Niedermayer wrote: > Subject: [PATCH] libavcodec/pnm_parser: do not loose skipped parts in > reporting of how much was consumed Nit: ^ lose ___ ffmpeg-devel

Re: [FFmpeg-devel] Adding libspeexdsp's AEC to FFmpeg.

2018-09-04 Thread Arseniy Skvortsov
Paul B Mahol писал(а) в своём письме Tue, 04 Sep 2018 10:45:22 +0300: Try with input as files, not streams. I'm afraid, this won't work. Filter is 'adaptive' meaning it's 'learning' the 'impulse response function' (again, not sure about the term) of the room basing on how well it's

[FFmpeg-devel] [PATCH v2 1/2] avformat/dashenc: Add CODECS tag to HLS master playlist

2018-09-04 Thread Karthick J
From: Karthick Jeyapal --- libavformat/dashenc.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index ae57fd5..c36ab12 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -864,6 +864,7 @@ static int

[FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Remove muxer overhead from Bandwidth field in DASH manifest

2018-09-04 Thread Karthick J
From: Karthick Jeyapal Fixes bug id #7386 Muxer overhead calculations was intented for HLS playlist as Apple's mediastreamvalidator tests were failing. But applying the same fix for DASH manifest proved counterproductive, as Bandwidth can be used for segment name templates. ---

[FFmpeg-devel] [PATCH] avcodec/mips: [loongson] simplify the usage of intermediate variable addr.

2018-09-04 Thread Shiyou Yin
Simplify the usage of intermediate variable addr in following functions: 1. ff_put_pixels4_8_mmi 2. ff_put_pixels8_8_mmi 3. ff_put_pixels16_8_mmi 4. ff_avg_pixels16_8_mmi. --- libavcodec/mips/hpeldsp_mmi.c | 181 -- 1 file changed, 87 insertions(+), 94

Re: [FFmpeg-devel] Adding libspeexdsp's AEC to FFmpeg.

2018-09-04 Thread Paul B Mahol
On 9/4/18, Arseniy Skvortsov wrote: > Hello, > > I'm trying to add AEC from libspeexdsp to libavfilter. > Target use case: two Android smartphones recording audio, transmitting it > with RTP to some processor, which cancels echo, adds a delay to sync with > another video stream, mixes with music

Re: [FFmpeg-devel] [PATCH] avfilter/vf_transpose adding NPP transpose filter

2018-09-04 Thread Roman Arzumanyan
Hi Timo, Refactored the patch according to your review: 1. It actually does the rotation, so renamed the filter. 2. Replaced "t" with the "a" & "angle" cli options like in vf_rotate filter. Though supporting rotation angle multiple of 90 degrees. 3. Added the config dependency (not sure if I've

Re: [FFmpeg-devel] Adding libspeexdsp's AEC to FFmpeg.

2018-09-04 Thread Arseniy Skvortsov
Arseniy Skvortsov писал(а) в своём письме Tue, 04 Sep 2018 10:09:22 +0300: I'm trying to add AEC from libspeexdsp to libavfilter. Sorry, here are the same files with proper mimetypes.LD_LIBRARY_PATH=./ ./ffmpeg -loglevel 60 -f alsa -ac 1 -i 'front:CARD=C615,DEV=0' -filter_complex '[0:0]

[FFmpeg-devel] Adding libspeexdsp's AEC to FFmpeg.

2018-09-04 Thread Arseniy Skvortsov
Hello, I'm trying to add AEC from libspeexdsp to libavfilter. Target use case: two Android smartphones recording audio, transmitting it with RTP to some processor, which cancels echo, adds a delay to sync with another video stream, mixes with music and outputs to a stereo system. First