Re: [FFmpeg-devel] [PATCH] configure: fix libdavs2 description

2018-05-28 Thread Carl Eugen Hoyos
2018-05-28 8:51 GMT+02:00, hwren : > Signed-off-by: hwren > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 811f57c..e2ac9f6 100755 > --- a/configure > +++ b/configure > @@ -226,7 +226,7 @@ External library support: >--ena

Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-28 Thread Xiang, Haihao
On Sat, 2018-05-26 at 17:29 +0100, Mark Thompson wrote: > On 25/05/18 07:57, Tobias Rapp wrote: > > On 25.05.2018 07:58, Xiang, Haihao wrote: > > > On Thu, 2018-05-24 at 11:15 +0100, Mark Thompson wrote: > > > > > > > > For example: > > > > > > > > ffmpeg -i bt709_input.mkv -vf colorspace=bt2020

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: fix out-of-bounds reference pixel replication

2018-05-28 Thread Jerome Borsboom
>> Out-of-bounds reference pixel replication should take into account >> the frame coding mode of the reference frame(s), not the frame >> coding mode of the current frame. >> >> Signed-off-by: Jerome Borsboom >> --- >> This should fix the remaining issue with the SA10180.vc1 test file. > > With

Re: [FFmpeg-devel] [PATCH v2 0/2] dump more codec information

2018-05-28 Thread myp...@gmail.com
2018-05-27 21:04 GMT+08:00 Mark Thompson : > On 27/05/18 02:38, Jun Zhao wrote: >> V2: - fix the alignment as Reto Kromer's comment >> - improve the characterization as Mark's comments >> >> Jun Zhao (2): >> cmdutils: print missing caps in print_codec(). >> cmdutils: dump supported hardware

Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Jan Ekström
On Mon, May 28, 2018, 03:21 Jan Ekström wrote: > Yet another case of forgotten 0 =! EOF translation. > > While the documentation for this specific synchronous read > function does not mention it, the documentation for > `sftp_async_read` documents it, as well as looking at the > implementation of

[FFmpeg-devel] [PATCH 3/3] Changelog, doc/general: add libdavs2 entry

2018-05-28 Thread hwren
Signed-off-by: hwren --- Changelog| 1 + doc/general.texi | 8 2 files changed, 9 insertions(+) diff --git a/Changelog b/Changelog index 3d25564..ce1f97c 100644 --- a/Changelog +++ b/Changelog @@ -9,6 +9,7 @@ version : - aderivative and aintegral audio filters - pal75bars and

[FFmpeg-devel] [PATCH 1/3] doc,lavc,lavf: add avs2 codec

2018-05-28 Thread hwren
Signed-off-by: hwren --- doc/APIchanges | 3 +++ libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h | 2 ++ libavcodec/version.h | 2 +- libavformat/riff.c | 1 + 5 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index efe15ba..430a914 1

[FFmpeg-devel] [PATCH 2/3] lavc, configure: add avs2 video decoder via libdavs2

2018-05-28 Thread hwren
Signed-off-by: hwren --- configure | 4 + libavcodec/Makefile | 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/libdavs2.c | 212 4 files changed, 224 insertions(+) create mode 100644 libavcodec/libdavs2.c diff --git a/c

[FFmpeg-devel] [RFC] libfdk_aac license

2018-05-28 Thread Gyan Doshi
doc/general.texi says this for the FDK AAC library, "The Fraunhofer AAC library is licensed under a license incompatible to the GPL and is not known to be compatible to the LGPL. Therefore, you have to pass @code{--enable-nonfree} to configure to use it." (added 2013 in 6fe419bf73) LICENSE

Re: [FFmpeg-devel] [PATCH] lavc,lavf: add libdavs2 decoder

2018-05-28 Thread hwren
Thanks for your patience, we've amended some of our patches add resent them. At 2018-05-26 22:28:27, "Mark Thompson" wrote: >On 26/05/18 05:41, hwren wrote: >> Add Chinese AVS2 video decoder, FFmpeg can make use of the libdavs2 library >> for AVS2 decoding. >> >> Signed-off-by: hwren >>

Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Nicolas George
Jan Ekström (2018-05-28): > Yet another case of forgotten 0 =! EOF translation. > > While the documentation for this specific synchronous read > function does not mention it, the documentation for > `sftp_async_read` documents it, as well as looking at the > implementation of this function leads o

Re: [FFmpeg-devel] [PATCH] lavc,lavf: add libxavs2 encoder

2018-05-28 Thread hwren
At 2018-05-27 02:20:22, "Moritz Barsnick" wrote: >On Sat, May 26, 2018 at 14:08:56 +0800, hwren wrote: >> Add Chinese AVS2 video encoder, FFmpeg can make use of the libxavs2 library >> for AVS2 encoding. >[...] >> +.long_name = NULL_IF_CONFIG_SMALL("raw Chinese AVS2 (2nd Audi

Re: [FFmpeg-devel] [PATCH 4/5] avformat/mxfdec: fix data_essence_descriptor matching logic

2018-05-28 Thread Tomas Härdin
mån 2018-05-28 klockan 00:16 +0200 skrev Marton Balint: > > On Sun, 27 May 2018, Tomas Härdin wrote: > > > sön 2018-05-27 klockan 21:21 +0200 skrev Marton Balint: > > > > Signed-off-by: Marton Balint > > > > > > --- > > >  libavformat/mxfdec.c | 10 +- > > >  1 file changed, 5 insertions

Re: [FFmpeg-devel] [PATCH] lavc,lavf: add libxavs2 encoder

2018-05-28 Thread Moritz Barsnick
On Mon, May 28, 2018 at 19:16:49 +0800, hwren wrote: > >Is that really the name of the codec? Otherwise, "Chinese" seems > >awkward to me. (Same for the decoder.) > > Changed. I still see it in your newly pushlished patches. > >Proper documentation of the encoder's options would be appreciated!

Re: [FFmpeg-devel] [PATCH 1/3] doc,lavc,lavf: add avs2 codec

2018-05-28 Thread Moritz Barsnick
On Mon, May 28, 2018 at 18:14:55 +0800, hwren wrote: > --- a/libavcodec/allcodecs.c > +++ b/libavcodec/allcodecs.c > @@ -705,6 +705,7 @@ extern AVCodec ff_libx264_encoder; > extern AVCodec ff_libx264rgb_encoder; > extern AVCodec ff_libx265_encoder; > extern AVCodec ff_libxavs_encoder; > +extern

Re: [FFmpeg-devel] [PATCH 2/3] lavc, configure: add avs2 video decoder via libdavs2

2018-05-28 Thread Moritz Barsnick
On Mon, May 28, 2018 at 18:14:56 +0800, hwren wrote: > +.name = "avs2", > +.long_name = NULL_IF_CONFIG_SMALL("Chinese AVS2 (Audio Video > Standar) (AVS2-P2, JiZhun profile)"), > +.props = AV_CODEC_PROP_LOSSY, So, does "Chinese" belong to the name or description of

Re: [FFmpeg-devel] [PATCH 3/3] Changelog, doc/general: add libdavs2 entry

2018-05-28 Thread Moritz Barsnick
On Mon, May 28, 2018 at 18:14:57 +0800, hwren wrote: > Signed-off-by: hwren > --- > Changelog| 1 + > doc/general.texi | 8 > 2 files changed, 9 insertions(+) This should be in the same commit as patch 2, separation is not desired. And, as previously mentioned, listing and even

Re: [FFmpeg-devel] [PATCH 3/3] Changelog, doc/general: add libdavs2 entry

2018-05-28 Thread Moritz Barsnick
On Mon, May 28, 2018 at 15:00:18 +0200, Moritz Barsnick wrote: > And, as previously mentioned, listing and even describing the encoder's > options is desired. This is the decoder, and it has no options. Sorry for this remark of mine, it does not fit at all here. Moritz ___

Re: [FFmpeg-devel] [PATCH] lavf/libssh: translate a read of 0 to EOF

2018-05-28 Thread Jan Ekström
On Mon, May 28, 2018 at 2:16 PM, Nicolas George wrote: > Jan Ekström (2018-05-28): >> Yet another case of forgotten 0 =! EOF translation. >> >> While the documentation for this specific synchronous read >> function does not mention it, the documentation for >> `sftp_async_read` documents it, as we

[FFmpeg-devel] [PATCH] ffserver.c: Add ability to stream audio-only files.

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ffserver.c b/ffserver.c index cdcc064..b0db64b 100644 --- a/ffserver.c +++ b/ffserver.c @@ -42,6 +42,7 @@ #define BUFFER_SECS 30 #define LISTEN_TIMEOUT_MSEC 1000

[FFmpeg-devel] [PATCH 08/10] ffserver.c: Simplify codec_type access in read_thread

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ffserver.c b/ffserver.c index 171da51..65b12da 100644 --- a/ffserver.c +++ b/ffserver.c @@ -86,8 +86,6 @@ void *read_thread(void *arg) tb.num = 1; tb.den = AV_TIME_BASE

[FFmpeg-devel] [PATCH 5/8] publisher.h: Add stream_name to PublisherContext

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- publisher.c | 3 ++- publisher.h | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/publisher.c b/publisher.c index 1123056..2e96f2f 100644 --- a/publisher.c +++ b/publisher.c @@ -93,11 +93,12 @@ void client_push_segment(struct Client *c, s

[FFmpeg-devel] [PATCH 06/10] segment.c: Add allocation failure checks.

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- segment.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/segment.c b/segment.c index c40d1ad..986aeb5 100644 --- a/segment.c +++ b/segment.c @@ -82,6 +82,10 @@ int segment_write(void *opaque, unsigned char *buf, int buf_size)

[FFmpeg-devel] [PATCH 07/10] lavfhttpd.c: Add allocation failure check.

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- lavfhttpd.c | 4 1 file changed, 4 insertions(+) diff --git a/lavfhttpd.c b/lavfhttpd.c index 3cf9958..5488e14 100644 --- a/lavfhttpd.c +++ b/lavfhttpd.c @@ -74,6 +74,10 @@ int lavfhttpd_accept(void *server, struct HTTPClient **client, int reply_code)

[FFmpeg-devel] [PATCH 3/8] ffserver.c: rename ReadInfo.in_filename to ReadInfo.in_uri

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index fc2a1a4..402e710 100644 --- a/ffserver.c +++ b/ffserver.c @@ -45,7 +45,7 @@ struct ReadInfo { struct PublisherContext *pub; AVFormatContext *i

[FFmpeg-devel] [PATCH 8/8] doc: Update Documentation.txt and add sample config as supplement

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- Documentation.txt | 17 - sample_config.lua | 28 2 files changed, 36 insertions(+), 9 deletions(-) create mode 100644 sample_config.lua diff --git a/Documentation.txt b/Documentation.txt index 9a7f0bf..c8fef11 1006

[FFmpeg-devel] [PATCH 09/10] lavfhttpd.c: Free client context if allocated but an error occured

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- lavfhttpd.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lavfhttpd.c b/lavfhttpd.c index 5488e14..d094d65 100644 --- a/lavfhttpd.c +++ b/lavfhttpd.c @@ -66,10 +66,13 @@ int lavfhttpd_accept(void *server, struct HTTPClient **client,

[FFmpeg-devel] [PATCH 10/10] ffserver.c: Fix invalid read if resource is empty string

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ffserver.c b/ffserver.c index 65b12da..cdcc064 100644 --- a/ffserver.c +++ b/ffserver.c @@ -350,8 +350,9 @@ void *accept_thread(void *arg) ifmt_ctx = NULL; for

[FFmpeg-devel] [PATCH 05/10] publisher.c: Add allocation failure checks.

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- publisher.c | 20 1 file changed, 20 insertions(+) diff --git a/publisher.c b/publisher.c index 2e96f2f..9374c41 100644 --- a/publisher.c +++ b/publisher.c @@ -97,17 +97,37 @@ void publisher_init(struct PublisherContext **pub, char *stream

[FFmpeg-devel] [PATCH 04/10] ffserver.c: Check allocations

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 87 +- 1 file changed, 81 insertions(+), 6 deletions(-) diff --git a/ffserver.c b/ffserver.c index 66bf7ac..171da51 100644 --- a/ffserver.c +++ b/ffserver.c @@ -227,12 +227,25 @@ void writ

[FFmpeg-devel] [PATCH 01/10] ffserver.c: Replace av_malloc with av_mallocz_array

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ffserver.c b/ffserver.c index 12c257f..5fc7c44 100644 --- a/ffserver.c +++ b/ffserver.c @@ -509,8 +509,8 @@ void *run_server(void *arg) { pthread_t *r_threads;

[FFmpeg-devel] [PATCH 1/8] ffserver.c: Fix timestamp handling, still creates new clusters for mp4 files, but result is playable

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/ffserver.c b/ffserver.c index 39e1c32..fc2a1a4 100644 --- a/ffserver.c +++ b/ffserver.c @@ -133,7 +133,7 @@ void *read_thread(void *arg) pkt.pos = -1;

[FFmpeg-devel] [PATCH 6/8] ffserver.c: Add config file reading

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 248 ++--- 1 file changed, 172 insertions(+), 76 deletions(-) diff --git a/ffserver.c b/ffserver.c index 402e710..12c257f 100644 --- a/ffserver.c +++ b/ffserver.c @@ -38,6 +38,7 @@ #include "

[FFmpeg-devel] [PATCH 02/10] ffserver.c: Check pthread_create for thread creation failure

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 34 ++ 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/ffserver.c b/ffserver.c index 5fc7c44..4bbf254 100644 --- a/ffserver.c +++ b/ffserver.c @@ -558,21 +558,35 @@ void *run_server(void *arg) {

[FFmpeg-devel] [GSoC] FFserver refactor and bugfixes

2018-05-28 Thread Stephan Holljes
This patchset refactors av_*alloc* with av_*alloc*_array where useful, adds allocation checks to a lot of unchecked allocations, pthread-creation checks and simplification and simple bugfixes. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://

[FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- configreader.c | 235 + configreader.h | 47 2 files changed, 282 insertions(+) create mode 100644 configreader.c create mode 100644 configreader.h diff --git a/configreader.c b/configreade

[FFmpeg-devel] [PATCH 7/8] Makefile: Update Makefile

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- Makefile | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fbecdeb..83bc4e0 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,11 @@ all: ffserver LAV_FLAGS = $(shell pkg-config --libs --cflags libavformat libav

Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN filter update

2018-05-28 Thread Pedro Arthur
2018-05-28 3:32 GMT-03:00 Guo, Yejun : > looks that no tensorflow dependency is introduced, a new model format is > created together with some CPU implementation for inference. With this > idea, Android Neural Network would be a very good reference, see > https://developer.android.google.cn/nd

[FFmpeg-devel] [PATCH 4/8] httpd.h: Adapt structs to config file

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- httpd.h | 17 + 1 file changed, 17 insertions(+) diff --git a/httpd.h b/httpd.h index 6fb91bd..25cbe11 100644 --- a/httpd.h +++ b/httpd.h @@ -26,11 +26,28 @@ #include "publisher.h" +/* Supported stream formats, for now only matroska */ +enu

[FFmpeg-devel] [GSoC] FFserver config file support

2018-05-28 Thread Stephan Holljes
This is an updated version of the previous patchset. The most notable changes are: - timestamp fix reworked to work with mp4 - the lua file reader is much safer by using lua's protected environment While the matroska muxer still spams the output about creating new clusters because of times

[FFmpeg-devel] [PATCH 03/10] ffserver.c: Fix indentation (replace tabs by spaces)

2018-05-28 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- ffserver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffserver.c b/ffserver.c index 4bbf254..66bf7ac 100644 --- a/ffserver.c +++ b/ffserver.c @@ -154,7 +154,7 @@ void *read_thread(void *arg) publisher_push_segment(info->

[FFmpeg-devel] [PATCH 2/3] avcodec/idctdsp: Clear idct/idct_add for studio profile

2018-05-28 Thread Michael Niedermayer
This does not leave them "as before" which may be a value from a previous profile Signed-off-by: Michael Niedermayer --- libavcodec/idctdsp.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavcodec/idctdsp.c b/libavcodec/idctdsp.c index 954066a5e3..846ed0b0f8 100644

[FFmpeg-devel] [PATCH 1/3] avcodec/idctdsp: Transmit studio_profile to init instead of using AVCodecContext profile

2018-05-28 Thread Michael Niedermayer
These 2 fields are not always the same, it is simpler to always use the same field for detecting studio profile Fixes: null pointer dereference Fixes: ffmpeg_crash_3.avi Found-by: Thuan Pham , Marcel Böhme, Andrew Santosa and Alexandru RazvanCaciulescu with AFLSmart Signed-off-by: Michael Niede

[FFmpeg-devel] [PATCH 3/3] avcodec/h263dec: Reinitialize idct context if it has not been setup for the active profile

2018-05-28 Thread Michael Niedermayer
The profile after reading headers can be different from when the context was initialized Signed-off-by: Michael Niedermayer --- libavcodec/h263dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index c082af1c52..f8a38083f2 100644 --- a/libavc

[FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-05-28 Thread Danil Iashchenko
Add opencl version of boxblur filter. Behaves like existing libavfilter/boxblur filter. Resubmitting patch because I used unnecessary variable inside kernels. Now it's fixed. --- configure | 1 + libavfilter/Makefile| 2 + libavfilter/allfilters.c|

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/vc1: store zero MVs for all blocks in a MB

2018-05-28 Thread Carl Eugen Hoyos
2018-05-20 11:05 GMT+02:00, Jerome Borsboom : >>> Direct prediction for interlace frame B pictures references the mv in the >>> second block in an MB in the backward reference frame for the twomv case. >>> When the backward reference frame is an I frame, this value may be unset. >>> >>> Signed-off-

Re: [FFmpeg-devel] [PATCH 1/3] doc,lavc,lavf: add avs2 codec

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 06:14:55PM +0800, hwren wrote: > Signed-off-by: hwren > --- > doc/APIchanges | 3 +++ > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h | 2 ++ > libavcodec/version.h | 2 +- > libavformat/riff.c | 1 + non cosmetic patches should generally not change

Re: [FFmpeg-devel] [PATCH 1/8] ffserver.c: Fix timestamp handling, still creates new clusters for mp4 files, but result is playable

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:18:52PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > ffserver.c | 14 +++--- > 1 file changed, 11 insertions(+), 3 deletions(-) > > diff --git a/ffserver.c b/ffserver.c > index 39e1c32..fc2a1a4 100644 > --- a/ffserver.c > +++ b/ffserve

Re: [FFmpeg-devel] [PATCH 04/10] ffserver.c: Check allocations

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:27:05PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > ffserver.c | 87 > +- > 1 file changed, 81 insertions(+), 6 deletions(-) > > diff --git a/ffserver.c b/ffserver.c > index 66bf7ac

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: fix out-of-bounds reference pixel replication

2018-05-28 Thread Carl Eugen Hoyos
2018-05-28 10:26 GMT+02:00, Jerome Borsboom : >>> Out-of-bounds reference pixel replication should take into account >>> the frame coding mode of the reference frame(s), not the frame >>> coding mode of the current frame. >>> >>> Signed-off-by: Jerome Borsboom >>> --- >>> This should fix the remai

Re: [FFmpeg-devel] [PATCH] ffserver.c: Add ability to stream audio-only files.

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:28:36PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > ffserver.c | 16 +--- > 1 file changed, 9 insertions(+), 7 deletions(-) > > diff --git a/ffserver.c b/ffserver.c > index cdcc064..b0db64b 100644 > --- a/ffserver.c > +++ b/ffserv

Re: [FFmpeg-devel] [RFC] libfdk_aac license

2018-05-28 Thread Carl Eugen Hoyos
2018-05-28 12:53 GMT+02:00, Gyan Doshi : > > > doc/general.texi says this for the FDK AAC library, > > "The Fraunhofer AAC library is licensed under a license incompatible to > the GPL and is not known to be compatible to the LGPL. Therefore, you > have to pass @code{--enable-nonfree} to configure

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/vc1: fix mquant calculation for interlace field pictures

2018-05-28 Thread Carl Eugen Hoyos
2018-05-18 17:06 GMT+02:00, Jerome Borsboom : > For interlace field pictures s->mb_height indicates the height of the full > picture in MBs, i.e. the two fields combined. A single field is half this > size. When calculating mquant for interlace field pictures, the bottom edge > is the last MB row o

Re: [FFmpeg-devel] [PATCH 06/10] segment.c: Add allocation failure checks.

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:27:07PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > segment.c | 26 ++ > 1 file changed, 26 insertions(+) > > diff --git a/segment.c b/segment.c > index c40d1ad..986aeb5 100644 > --- a/segment.c > +++ b/segment.c > @@

Re: [FFmpeg-devel] [PATCH 1/3] lavf: add avs2 fourcc

2018-05-28 Thread Michael Niedermayer
On Sun, May 27, 2018 at 11:38:37PM +0800, hwren wrote: > Signed-off-by: hwren > --- > libavformat/riff.c | 1 + > 1 file changed, 1 insertion(+) The order of the patches is wrong. This cannot be 1/3 as it depends on the introduction of AV_CODEC_ID_AVS2 [...] -- Michael GnuPG fingerprint: 9

Re: [FFmpeg-devel] [PATCH 2/8] ffserver: Implement lua config file reader

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:18:53PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > configreader.c | 235 > + > configreader.h | 47 > 2 files changed, 282 insertions(+) > create mode 100644 configreader

[FFmpeg-devel] [PATCH]ffplay: Mention codec_name if decoder for codec_id could not be found.

2018-05-28 Thread Carl Eugen Hoyos
Hi! Attached patch makes debugging a little easier imo. Please comment, Carl Eugen From 3fcc0904e3775ed2a7a797bce984f6c7393d5fd6 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Tue, 29 May 2018 00:26:17 +0200 Subject: [PATCH] ffplay: Mention codec_name if decoder for codec_id could not be

Re: [FFmpeg-devel] [PATCH 4/8] httpd.h: Adapt structs to config file

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 08:18:55PM +0200, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > httpd.h | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/httpd.h b/httpd.h > index 6fb91bd..25cbe11 100644 > --- a/httpd.h > +++ b/httpd.h > @@ -26,11 +26,28 @@ >

Re: [FFmpeg-devel] [PATCH] avcodec/allcodecs: Provide empty codec_list in allcodecs when ossfuzz is used

2018-05-28 Thread Michael Niedermayer
On Mon, May 28, 2018 at 03:47:08AM +0200, Michael Niedermayer wrote: > The last workaround is not sufficient to make oss fuzz work with the iterate > API > as it did not provide a FFmpeg that external libs can be linked to. > > This patch does not fully restore the pre iterate functionality. My a

Re: [FFmpeg-devel] [PATCH 06/10] segment.c: Add allocation failure checks.

2018-05-28 Thread Stephan Holljes
On Mon, May 28, 2018 at 11:45 PM, Michael Niedermayer wrote: > On Mon, May 28, 2018 at 08:27:07PM +0200, Stephan Holljes wrote: >> Signed-off-by: Stephan Holljes >> --- >> segment.c | 26 ++ >> 1 file changed, 26 insertions(+) >> >> diff --git a/segment.c b/segment.c >> i

Re: [FFmpeg-devel] [PATCH] avcodec/vc1: fix out-of-bounds reference pixel replication

2018-05-28 Thread Michael Niedermayer
On Sun, May 27, 2018 at 10:27:39PM +0200, Jerome Borsboom wrote: > Out-of-bounds reference pixel replication should take into account the frame > coding mode of the reference frame(s), not the frame coding mode of the > current frame. > > Signed-off-by: Jerome Borsboom > --- > This should fix the

Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN filter update

2018-05-28 Thread Pedro Arthur
2018-05-28 19:52 GMT-03:00 Sergey Lavrushkin : > 2018-05-28 9:32 GMT+03:00 Guo, Yejun : > >> looks that no tensorflow dependency is introduced, a new model format is >> created together with some CPU implementation for inference. With this >> idea, Android Neural Network would be a very good refe

[FFmpeg-devel] [PATCH 1/3] lavc,doc: add avs2 codec

2018-05-28 Thread hwren
Signed-off-by: hwren --- doc/APIchanges | 3 +++ libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/version.h| 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/APIchanges b/doc/APIchanges index efe15ba..3d08bb9 100644 --- a/doc/A

[FFmpeg-devel] [PATCH 3/3] lavf/riff: add avs2 fourcc

2018-05-28 Thread hwren
Signed-off-by: hwren --- libavformat/riff.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/riff.c b/libavformat/riff.c index 8911725..4153372 100644 --- a/libavformat/riff.c +++ b/libavformat/riff.c @@ -369,6 +369,7 @@ const AVCodecTag ff_codec_bmp_tags[] = { { AV_CODEC_ID_Z

[FFmpeg-devel] [PATCH 2/3] lavc, doc, configure: add avs2 decoder via libdavs2

2018-05-28 Thread hwren
Signed-off-by: hwren --- Changelog | 1 + configure | 4 + doc/general.texi | 8 ++ libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libdavs2.c | 207 + 6 files changed, 222 insertions

Re: [FFmpeg-devel] [GSOC] [PATCH] DNN module introduction and SRCNN filter update

2018-05-28 Thread Guo, Yejun
I have no more comment for this patch, thanks. yejun -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of Pedro Arthur Sent: Tuesday, May 29, 2018 2:05 AM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] [GSOC] [PATCH] DNN

Re: [FFmpeg-devel] [RFC] libfdk_aac license

2018-05-28 Thread Gyan Doshi
On 29-05-2018 03:34 AM, Carl Eugen Hoyos wrote: Just remove "and is not known...", please don't state that you guarantee they are compatible. If we are continuing to permit LGPL compilation, shouldn't it be "The Fraunhofer AAC library is licensed under a license incompatible to the GPL. Th

Re: [FFmpeg-devel] [PATCH v2 2/3] avformat/movenc: creating producer reference time (PRFT) box

2018-05-28 Thread Jeyapal, Karthick
Pushed Patchset. Regards, Karthick On 5/7/18 3:27 PM, vdi...@akamai.com wrote: > From: Vishwanath Dixit > > The producer reference time box supplies relative wall-clock times > at which movie fragments, or files containing movie fragments > (such as segments) were produced. > The box is mainly u

[FFmpeg-devel] [PATCH] lavfi: add opencl tonemap filter.

2018-05-28 Thread Ruiling Song
This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. An example command to use this filter with vaapi codecs: FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \ opencl=ocl@va -hwaccel vaapi -hwaccel_device va -hwaccel_output_format \ vaapi -i INPUT -filter_hw_dev