Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-02-03 Thread Mohammad Izadi
Great! Thanks! On Mon, Feb 3, 2020, 6:37 PM James Almer wrote: > On 2/3/2020 11:01 PM, Mohammad Izadi wrote: > > James, I am making another CL to comply with API. > > I have a question about using GetBitContext and PutBitContext. Is there > any > > alternative to use in libavutil? > > You can us

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-02-03 Thread James Almer
On 2/3/2020 11:01 PM, Mohammad Izadi wrote: > James, I am making another CL to comply with API. > I have a question about using GetBitContext and PutBitContext. Is there any > alternative to use in libavutil? You can use it in libavutil as long as it's not part of the public API. So you should mak

[FFmpeg-devel] [PATCH] fate/adpcm: add adpcm_argo tests

2020-02-03 Thread Zane van Iperen
Signed-off-by: Zane van Iperen --- tests/fate/adpcm.mak | 6 ++ tests/ref/fate/adpcm-argo-mono | 1 + tests/ref/fate/adpcm-argo-stereo | 1 + 3 files changed, 8 insertions(+) create mode 100644 tests/ref/fate/adpcm-argo-mono create mode 100644 tests/ref/fate/adpcm-argo-stereo

Re: [FFmpeg-devel] [PATCH] Update HDR10+ metadata structure.

2020-02-03 Thread Mohammad Izadi
James, I am making another CL to comply with API. I have a question about using GetBitContext and PutBitContext. Is there any alternative to use in libavutil? -- Best, Mohammad On Mon, Jan 27, 2020 at 11:50 AM James Almer wrote: > On 1/27/2020 4:08 PM, Mohammad Izadi wrote: > > From: Mohammad I

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export

2020-02-03 Thread James Almer
On 2/3/2020 10:23 PM, Carl Eugen Hoyos wrote: > Am Di., 4. Feb. 2020 um 02:20 Uhr schrieb James Almer : >> >> On 2/3/2020 10:03 PM, Carl Eugen Hoyos wrote: >>> Am So., 2. Feb. 2020 um 23:31 Uhr schrieb James Almer : >>> -{"export_mvs", "export motion vectors through frame side data", 0,

Re: [FFmpeg-devel] [PATCH v5 2/2] avcodec/libvpxenc: add a way to explicitly set temporal layer id

2020-02-03 Thread Wonkap Jang
Hi On Mon, Feb 3, 2020 at 12:45 PM James Zern wrote: > On Mon, Feb 3, 2020 at 10:02 AM Wonkap Jang > wrote: > > > > In order for rate control to correctly allocate bitrate to each temporal > > layer, correct temporal layer id has to be set to each frame. This > > commit provides the ability to

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export

2020-02-03 Thread Carl Eugen Hoyos
Am Di., 4. Feb. 2020 um 02:20 Uhr schrieb James Almer : > > On 2/3/2020 10:03 PM, Carl Eugen Hoyos wrote: > > Am So., 2. Feb. 2020 um 23:31 Uhr schrieb James Almer : > > > >> -{"export_mvs", "export motion vectors through frame side data", 0, > >> AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG2_EXPORT_M

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export

2020-02-03 Thread James Almer
On 2/3/2020 10:03 PM, Carl Eugen Hoyos wrote: > Am So., 2. Feb. 2020 um 23:31 Uhr schrieb James Almer : > >> -{"export_mvs", "export motion vectors through frame side data", 0, >> AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG2_EXPORT_MVS}, INT_MIN, INT_MAX, >> V|D, "flags2"}, >> +{"export_mvs", "expo

[FFmpeg-devel] Reimbursement FOSDEM

2020-02-03 Thread Carl Eugen Hoyos
Hi! For travelling from Vienna to FOSDEM and back, I request re-imbursement of €282,16 Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or ema

Re: [FFmpeg-devel] [PATCH 1/3] avcodec: add an AVCodecContext field to signal types of packet, frame, and coded stream side data to export

2020-02-03 Thread Carl Eugen Hoyos
Am So., 2. Feb. 2020 um 23:31 Uhr schrieb James Almer : > -{"export_mvs", "export motion vectors through frame side data", 0, > AV_OPT_TYPE_CONST, {.i64 = AV_CODEC_FLAG2_EXPORT_MVS}, INT_MIN, INT_MAX, V|D, > "flags2"}, > +{"export_mvs", "export motion vectors through frame side data (Deprecated,

[FFmpeg-devel] [PATCH v1 2/2] avformat/rtpproto, sdp: write rtcp port to sdp file

2020-02-03 Thread Jun Li
Fix #8474 Write rtcp port attribute to sdp file when necessary. Signed-off-by: Jun Li --- libavformat/rtpproto.c | 11 +++ libavformat/rtpproto.h | 2 ++ libavformat/sdp.c | 12 ++-- 3 files changed, 23 insertions(+), 2 deletions(-) diff --git a/libavformat/rtpproto.c b/li

[FFmpeg-devel] [PATCH v1 1/2] avformat/rtsp: apply rtcp attribute from sdp file

2020-02-03 Thread Jun Li
Fix #8479 Apply rtcpport from sdp file if it contains rtcp attribute. Signed-off-by: Jun Li --- libavformat/rtsp.c | 12 ++-- libavformat/rtsp.h | 1 + 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index cd6fc32a29..c892f21142 10

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/apedec: Fix integer overflows in predictor_decode_mono_3950()

2020-02-03 Thread Michael Niedermayer
On Tue, Jan 28, 2020 at 08:32:15PM +0100, Michael Niedermayer wrote: > Fixes: signed integer overflow: -2147407150 + -1871606 cannot be represented > in type 'int' > Fixes: > 18702/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_APE_fuzzer-5679095417667584 > > Found-by: continuous fuzzing proc

[FFmpeg-devel] [PATCH] avcodec/flac_parser: Do not loose header count in find_headers_search()

2020-02-03 Thread Michael Niedermayer
Fixes: Timeout Fixes: out of array access Fixes: 20274/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5649631988154368 Fixes: 19275/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_FLAC_fuzzer-5757535722405888 Found-by: continuous fuzzing process https://github.com/google/oss-fu

Re: [FFmpeg-devel] [PATCH 2/2] libavcodec/amfenc_hevc.c: Fix Profile level option on AMF HEVC.

2020-02-03 Thread Дмитрий Овчинников
> > > This looks right. > Thanks for accepting the patch! > If you are not the author then please ensure that the git author field is filled correctly. > This looks unrelated? I divided this patch into 2 parts and fixed the value of the author field. I hope everything is correct now. (https://pat

Re: [FFmpeg-devel] [PATCH 1/3] doc: Fix typo for dvdsubdec

2020-02-03 Thread Carl Eugen Hoyos
Am Mo., 3. Feb. 2020 um 20:49 Uhr schrieb Michael Kuron : > > Signed-off-by: Michael Kuron > --- > doc/decoders.texi | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/doc/decoders.texi b/doc/decoders.texi > index 0582b018b0..83515ae363 100644 > --- a/doc/decoders.texi > +++

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: improve precision

2020-02-03 Thread Carl Eugen Hoyos
Am Fr., 31. Jan. 2020 um 10:05 Uhr schrieb Paul B Mahol : > > Use doubles for accumulating floats. Consider mentioning the horrible ticket. Thank you for looking into this, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.

[FFmpeg-devel] [PATCH 2/2] libavcodec/amfenc_hevc.c: Fix Maximum Reference Frames option on AMF HEVC.

2020-02-03 Thread OvchinnikovDmitrii
From: Sitan Liu --- libavcodec/amfenc_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c index 411d444a62..77e57d2461 100644 --- a/libavcodec/amfenc_hevc.c +++ b/libavcodec/amfenc_hevc.c @@ -144,7 +144,7 @@ static av_col

[FFmpeg-devel] [PATCH 1/2] libavcodec/amfenc_hevc.c: Fix Profile level option on AMF HEVC.

2020-02-03 Thread OvchinnikovDmitrii
From: Sitan Liu --- libavcodec/amfenc_hevc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/amfenc_hevc.c b/libavcodec/amfenc_hevc.c index 8b4d289fac..411d444a62 100644 --- a/libavcodec/amfenc_hevc.c +++ b/libavcodec/amfenc_hevc.c @@ -136,7 +136,7 @@ static av_col

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: use AV_OPT_TYPE_DICT for http_opts

2020-02-03 Thread Marton Balint
On Sun, 2 Feb 2020, James Almer wrote: On 2/2/2020 7:01 PM, Marton Balint wrote: This changes the separator character from comma to colon, but since this option was only added recently I think it should be done for consistency with other similar options. Signed-off-by: Marton Balint --- do

Re: [FFmpeg-devel] [PATCH] lavd/avfoundation: Add an option to drop late frames.

2020-02-03 Thread Thilo Borgmann
Am 19.01.20 um 17:41 schrieb Thilo Borgmann: > $subject > > If you record live sources like during screen capture, you want this enabled > (current behavior). > For the case you're capturing from etc you want the most possible frames > captured no matter a possible delay. > Was fixed behavior be

Re: [FFmpeg-devel] [PATCH v5 1/2] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-02-03 Thread James Zern
On Mon, Feb 3, 2020 at 10:02 AM Wonkap Jang wrote: > > This commit reuses the configuration options for VP8 that enables > temporal scalability for VP9. It also adds a way to enable three > preset temporal structures (refer to the documentation for more > detail) that can be used in offline encodi

Re: [FFmpeg-devel] [PATCH v5 2/2] avcodec/libvpxenc: add a way to explicitly set temporal layer id

2020-02-03 Thread James Zern
On Mon, Feb 3, 2020 at 10:02 AM Wonkap Jang wrote: > > In order for rate control to correctly allocate bitrate to each temporal > layer, correct temporal layer id has to be set to each frame. This > commit provides the ability to set correct temporal layer id for each > frame. > --- > libavcodec/

Re: [FFmpeg-devel] [PATCH 2/2] avformat/udp: cancel pending IO on win32 manually

2020-02-03 Thread Mark Himsley
On Mon, 3 Feb 2020 at 17:19, Marton Balint wrote: > > > > On Mon, 3 Feb 2020, Mark Himsley wrote: > > > On Sun, 26 Jan 2020 at 21:22, Marton Balint wrote: > >> > >> recvfrom() is not a cancellation point in pthreads-win32, see > >> https://sourceware.org/pthreads-win32/manual/pthread_cancel.html

[FFmpeg-devel] [PATCH 1/3] doc: Fix typo for dvdsubdec

2020-02-03 Thread Michael Kuron
Signed-off-by: Michael Kuron --- doc/decoders.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/decoders.texi b/doc/decoders.texi index 0582b018b0..83515ae363 100644 --- a/doc/decoders.texi +++ b/doc/decoders.texi @@ -280,7 +280,7 @@ palette is stored in the IFO file, a

[FFmpeg-devel] [PATCH 2/3] lavc/dvdsubdec: Move palette parsing to new function

2020-02-03 Thread Michael Kuron
Signed-off-by: Michael Kuron --- libavcodec/Makefile| 1 + libavcodec/dvdsub.c| 33 + libavcodec/dvdsubdec.c | 22 ++ libavcodec/internal.h | 2 ++ 4 files changed, 42 insertions(+), 16 deletions(-) create mode 100644 libavcodec/dvds

[FFmpeg-devel] [PATCH 3/3] lavc/dvdsubenc: accept palette from options

2020-02-03 Thread Michael Kuron
Previously, the default palette would always be used. Now, we can accept a custom palette, just like dvdsubdec does. Signed-off-by: Michael Kuron --- doc/encoders.texi | 8 libavcodec/Makefile| 1 + libavcodec/dvdsubenc.c | 8 +++- 3 files changed, 16 insertions(+), 1 delet

[FFmpeg-devel] [PATCH v2 6/7] mlpenc: fix -fsanitize=integer errors

2020-02-03 Thread Jai Luthra
Signed-off-by: Jai Luthra --- libavcodec/mlpenc.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) v2: fixes more integer issues diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index 347a43248c..173cf71956 100644 --- a/libavcodec/mlpenc.c +++ b/libavcodec/

[FFmpeg-devel] [PATCH v5 2/2] avcodec/libvpxenc: add a way to explicitly set temporal layer id

2020-02-03 Thread Wonkap Jang
In order for rate control to correctly allocate bitrate to each temporal layer, correct temporal layer id has to be set to each frame. This commit provides the ability to set correct temporal layer id for each frame. --- libavcodec/libvpxenc.c | 13 - 1 file changed, 12 insertions(+),

[FFmpeg-devel] [PATCH v5 1/2] avcodec/libvpxenc: add VP9 temporal scalability encoding option

2020-02-03 Thread Wonkap Jang
This commit reuses the configuration options for VP8 that enables temporal scalability for VP9. It also adds a way to enable three preset temporal structures (refer to the documentation for more detail) that can be used in offline encoding. --- doc/encoders.texi | 18 ++- libavcodec/libvpxen

Re: [FFmpeg-devel] [PATCH 2/2] avformat/udp: cancel pending IO on win32 manually

2020-02-03 Thread Marton Balint
On Mon, 3 Feb 2020, Mark Himsley wrote: On Sun, 26 Jan 2020 at 21:22, Marton Balint wrote: recvfrom() is not a cancellation point in pthreads-win32, see https://sourceware.org/pthreads-win32/manual/pthread_cancel.html In order to be able to cancel the reader thread on Win32 properly we fir

Re: [FFmpeg-devel] [PATCH 2/2] avformat/udp: cancel pending IO on win32 manually

2020-02-03 Thread Mark Himsley
On Sun, 26 Jan 2020 at 21:22, Marton Balint wrote: > > recvfrom() is not a cancellation point in pthreads-win32, see > https://sourceware.org/pthreads-win32/manual/pthread_cancel.html > > In order to be able to cancel the reader thread on Win32 properly we first > shutdown the socket then call Can

Re: [FFmpeg-devel] [PATCH] avfilter/vf_ssim: improve precision

2020-02-03 Thread Paul B Mahol
Will apply soon. On 1/31/20, Paul B Mahol wrote: > Use doubles for accumulating floats. > > Signed-off-by: Paul B Mahol > --- > libavfilter/ssim.h| 2 +- > libavfilter/vf_ssim.c | 18 +-- > libavfilter/x86/vf_ssim.asm | 36 ++---

Re: [FFmpeg-devel] [PATCH 2/5] avutil/log: factorize ansi_fputs

2020-02-03 Thread Michael Niedermayer
On Sun, Feb 02, 2020 at 10:15:31PM +0100, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavutil/log.c | 41 +++-- > 1 file changed, 23 insertions(+), 18 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF13361