[FFmpeg-devel] [PATCHv2 2/2] avdevice/sdl2 : add option to set window position

2018-10-19 Thread Marton Balint
From: Dave Rice Allows arrangement of multiple windows such as: ffmpeg -re -f lavfi -i mandelbrot -f sdl -window_x 1 -window_y 1 mandelbrot -vf waveform,format=yuv420p -f sdl -window_x 641 -window_y 1 waveform -vf vectorscope,format=yuv420p -f sdl -window_x 1 -window_y 481 vectorscop Some chan

Re: [FFmpeg-devel] [PATCH] decklink: Fix compile breakage on OSX

2018-10-19 Thread Marton Balint
On Fri, 19 Oct 2018, Devin Heitmueller wrote: Make the function static, or else Clang complains with: error: no previous prototype for function 'decklink_get_attr_string' [-Werror,-Wmissing-prototypes] Oops, sorry. Applied, thanks. Marton Signed-off-by: Devin Heitmueller --- libavdev

[FFmpeg-devel] [PATCH v3] avcodec: libdav1d AV1 decoder wrapper.

2018-10-19 Thread James Almer
Originally written by Ronald S. Bultje, with fixes, optimizations and improvements by James Almer. Signed-off-by: James Almer --- Updated to work with libdav1d git head. configure | 4 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libdav1d.c | 271

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2018-10-19 Thread Leo Izen
On 10/19/18 3:02 PM, Carl Eugen Hoyos wrote: 2018-10-19 20:39 GMT+02:00, Leo Izen : On 10/19/18 2:26 PM, Carl Eugen Hoyos wrote: 2018-10-19 4:58 GMT+02:00, Leo Izen : --- fftools/ffmpeg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fftools/ffmpeg.c b/fftoo

Re: [FFmpeg-devel] avcodec/proresenc_aw improvements

2018-10-19 Thread Paul B Mahol
On 7/23/18, Martin Vignali wrote: >> > >> >> > Do you think it's better to only authorize few colorspace ? >> >> depends on what happens if "others" are stored. >> if the official decoders fail with a blank screen then its probably >> not a good idea to use such a value. If OTOH they ignore values

[FFmpeg-devel] [PATCH] decklink: Fix compile breakage on OSX

2018-10-19 Thread Devin Heitmueller
Make the function static, or else Clang complains with: error: no previous prototype for function 'decklink_get_attr_string' [-Werror,-Wmissing-prototypes] Signed-off-by: Devin Heitmueller --- libavdevice/decklink_common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/l

[FFmpeg-devel] [PATCH] avfilter: add vibrance filter

2018-10-19 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_vibrance.c | 169 ++ 3 files changed, 171 insertions(+) create mode 100644 libavfilter/vf_vibrance.c diff --git a/libavfilter/Makefile b/libav

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2018-10-19 Thread Carl Eugen Hoyos
2018-10-19 20:39 GMT+02:00, Leo Izen : > On 10/19/18 2:26 PM, Carl Eugen Hoyos wrote: >> 2018-10-19 4:58 GMT+02:00, Leo Izen : >>> --- >>> fftools/ffmpeg.c | 8 +--- >>> 1 file changed, 5 insertions(+), 3 deletions(-) >>> >>> diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c >>> index da4259a

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2018-10-19 Thread Leo Izen
On 10/19/18 2:26 PM, Carl Eugen Hoyos wrote: 2018-10-19 4:58 GMT+02:00, Leo Izen : --- fftools/ffmpeg.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index da4259a9a8..5d68194676 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmp

Re: [FFmpeg-devel] [PATCH]lavc/sinewin: Do not declare tables as const

2018-10-19 Thread Carl Eugen Hoyos
2018-10-19 20:35 GMT+02:00, Paul B Mahol : > On 10/19/18, Carl Eugen Hoyos wrote: >> 2018-10-16 23:58 GMT+02:00, Carl Eugen Hoyos : >>> 2018-10-14 23:51 GMT+02:00, Carl Eugen Hoyos : 2018-10-14 22:30 GMT+02:00, Hendrik Leppkes : > On Sun, Oct 14, 2018 at 10:18 PM Carl Eugen Hoyos > w

Re: [FFmpeg-devel] [PATCH]lavf/matroskadec: Simplify string length calculation slightly

2018-10-19 Thread Carl Eugen Hoyos
2018-09-26 23:30 GMT+02:00, Carl Eugen Hoyos : > 2018-09-19 19:18 GMT+02:00, Carl Eugen Hoyos : > >> Attached patch removes useless sizeof's, we require sizeof(char)==1 >> afaict. > > I will push this if there are no objections. Patch applied. Carl Eugen __

Re: [FFmpeg-devel] [PATCH]lavc/sinewin: Do not declare tables as const

2018-10-19 Thread Paul B Mahol
On 10/19/18, Carl Eugen Hoyos wrote: > 2018-10-16 23:58 GMT+02:00, Carl Eugen Hoyos : >> 2018-10-14 23:51 GMT+02:00, Carl Eugen Hoyos : >>> 2018-10-14 22:30 GMT+02:00, Hendrik Leppkes : On Sun, Oct 14, 2018 at 10:18 PM Carl Eugen Hoyos wrote: > > Attached patch is supposed to fi

Re: [FFmpeg-devel] [PATCH]lavc/sinewin: Do not declare tables as const

2018-10-19 Thread Carl Eugen Hoyos
2018-10-16 23:58 GMT+02:00, Carl Eugen Hoyos : > 2018-10-14 23:51 GMT+02:00, Carl Eugen Hoyos : >> 2018-10-14 22:30 GMT+02:00, Hendrik Leppkes : >>> On Sun, Oct 14, 2018 at 10:18 PM Carl Eugen Hoyos >>> wrote: Attached patch is supposed to fix ticket #7491, I currently don't have gc

Re: [FFmpeg-devel] [PATCH]lavf/dump: Fix a typo: comentary -> commentary

2018-10-19 Thread Carl Eugen Hoyos
2018-10-19 2:01 GMT+02:00, Michael Niedermayer : > On Thu, Oct 18, 2018 at 12:15:40AM +0200, Carl Eugen Hoyos wrote: >> Hi! >> >> Is there a reason to keep the wrong spelling? > > i dont see a reason but maybe someone else does ... Patch applied. Thank you, Carl Eugen

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg.c: allow forcing input framerate on streamcopy

2018-10-19 Thread Carl Eugen Hoyos
2018-10-19 4:58 GMT+02:00, Leo Izen : > --- > fftools/ffmpeg.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c > index da4259a9a8..5d68194676 100644 > --- a/fftools/ffmpeg.c > +++ b/fftools/ffmpeg.c > @@ -2045,12 +2045,14 @@ stat

Re: [FFmpeg-devel] [PATCH] ffmpeg: flush_encoders should not treat avcodec_send_frame return AVERROR_EOF as fatal

2018-10-19 Thread Carl Eugen Hoyos
2018-10-19 14:27 GMT+02:00, Jason Stevens : > this fixes AV_CODEC_CAP_DELAY encoders going into FATAL error > and exiting on quit or finish encoding once they go into draining mode > and send_frame() returns AVERROR_EOF Could you provide a command line / sample that triggers this issue? Carl Euge

Re: [FFmpeg-devel] [PATCH V3] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-19 Thread Vittorio Giovara
On Fri, Oct 19, 2018 at 10:11 AM Guo, Yejun wrote: > see the algorithm's paper and code below. > > the filter's parameter looks like: > sdr2hdr=model_filename=/path_to_tensorflow_graph.pb:out_fmt=gbrp10le > can you add some usage documentation to doc/filters.texi? The input of the deep CNN mode

[FFmpeg-devel] [PATCH] avformat/libsrt: add several options supported in srt 1.3.0

2018-10-19 Thread Matsuzawa Tomohiro
Several SRT options are missing. Since pkg_config requires libsrt v1.3.0 and above, it should be able to support options added in libsrt v1.3.0 and below. This commit adds 8 SRT options. sndbuf, rcvbuf, lossmaxttl, minversion, streamid, smoother, messageapi and transtype The keys of option are eq

[FFmpeg-devel] [PATCH] ffmpeg: flush_encoders should not treat avcodec_send_frame return AVERROR_EOF as fatal

2018-10-19 Thread Jason Stevens
this fixes AV_CODEC_CAP_DELAY encoders going into FATAL error and exiting on quit or finish encoding once they go into draining mode and send_frame() returns AVERROR_EOF Signed-off-by: Jason Stevens --- fftools/ffmpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftool

[FFmpeg-devel] [PATCH V3] Add a filter implementing HDR image reconstruction from a single exposure using deep CNNs

2018-10-19 Thread Guo, Yejun
see the algorithm's paper and code below. the filter's parameter looks like: sdr2hdr=model_filename=/path_to_tensorflow_graph.pb:out_fmt=gbrp10le The input of the deep CNN model is RGB24 while the output is float for each color channel. This is the filter's default behavior to output format with