Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-13 Thread Gyan Doshi
On 14-08-2018 03:24 AM, Carl Eugen Hoyos wrote: Why does this not use -filter_threads? Didn't know it was an option. I can certainly change the code to use it. Please do it if it works. filter_threads applies to all simple filtergraphs. The private option is specifically targeted.

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Parse generic encryption info from packets.

2018-08-13 Thread James Almer
On 8/14/2018 12:50 AM, James Almer wrote: > On 7/12/2018 8:45 PM, Jacob Trimble wrote: >> I am currently seeing a problem with this when using Opus audio. In >> read_frame_internal, it will try to parse the resulting packet. For >> video, which uses subsample encryption, it is able to parse the >

Re: [FFmpeg-devel] [PATCH] avformat/matroska: Parse generic encryption info from packets.

2018-08-13 Thread James Almer
On 7/12/2018 8:45 PM, Jacob Trimble wrote: > I am currently seeing a problem with this when using Opus audio. In > read_frame_internal, it will try to parse the resulting packet. For > video, which uses subsample encryption, it is able to parse the > headers; but for Opus, which uses full-sample

Re: [FFmpeg-devel] [PATCH] avcodec: v4l2_m2m: add MJPEG enc/dec support

2018-08-13 Thread Maxime Jourdan
2018-08-13 2:26 GMT+02:00 Mark Thompson : > On 13/08/18 00:33, Maxime Jourdan wrote: >> Hi Jorge, unfortunately don't have a SBC that features a V4L2 M2M >> MJPEG/JPEG encoder so I couldn't test it. >> >> Hi Mark, thanks for the extensive review. Too bad neither scenario worked >> fully. >> >> 201

Re: [FFmpeg-devel] First Patch for hlsenc.c for https://trac.ffmpeg.org/ticket/7281

2018-08-13 Thread Steven Liu
> On Aug 14, 2018, at 05:06, Ronak wrote: > >> >> On Aug 13, 2018, at 10:49 AM, Steven Liu wrote: >>> Hi Steven, Did you have a chance to review this patch? I haven't seen your feedback yet. Did you have a chance to try it out? I would like to get this merged

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread Thomas Daede
On 08/13/2018 03:47 PM, Carl Eugen Hoyos wrote: > 2018-08-14 0:36 GMT+02:00, Thomas Daede : >> On 08/13/2018 03:30 PM, Carl Eugen Hoyos wrote: >>> Why isn't av1 added like the existing codecs? >> >> That would generate invalid AV1 files if -strict -1 or -2 specified > > That is the idea of -1 and

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread James Almer
On 8/13/2018 7:58 PM, James Almer wrote: > On 8/13/2018 7:47 PM, Carl Eugen Hoyos wrote: >> 2018-08-14 0:36 GMT+02:00, Thomas Daede : >>> On 08/13/2018 03:30 PM, Carl Eugen Hoyos wrote: Why isn't av1 added like the existing codecs? >>> >>> That would generate invalid AV1 files if -strict -1 or

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread James Almer
On 8/13/2018 7:47 PM, Carl Eugen Hoyos wrote: > 2018-08-14 0:36 GMT+02:00, Thomas Daede : >> On 08/13/2018 03:30 PM, Carl Eugen Hoyos wrote: >>> Why isn't av1 added like the existing codecs? >> >> That would generate invalid AV1 files if -strict -1 or -2 specified > > That is the idea of -1 and -2

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread Carl Eugen Hoyos
2018-08-14 0:36 GMT+02:00, Thomas Daede : > On 08/13/2018 03:30 PM, Carl Eugen Hoyos wrote: >> Why isn't av1 added like the existing codecs? > > That would generate invalid AV1 files if -strict -1 or -2 specified That is the idea of -1 and -2. > (and currently AV1 mov writing is behind -2). Is t

Re: [FFmpeg-devel] [PATCH] avutil/encryption_info: Fix size calculation.

2018-08-13 Thread Jacob Trimble
On Mon, Aug 13, 2018 at 3:31 PM Carl Eugen Hoyos wrote: > > 2018-08-14 0:22 GMT+02:00, Jacob Trimble : > > Fixes: 873693 > > This does not look helpful. Changed. > > Carl Eugen > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread Thomas Daede
On 08/13/2018 03:30 PM, Carl Eugen Hoyos wrote: > Why isn't av1 added like the existing codecs? That would generate invalid AV1 files if -strict -1 or -2 specified (and currently AV1 mov writing is behind -2). Actually, I'm not sure why the other codecs are behind the compliance flag either - I'm

Re: [FFmpeg-devel] [PATCH] avutil/encryption_info: Fix size calculation.

2018-08-13 Thread Carl Eugen Hoyos
2018-08-14 0:22 GMT+02:00, Jacob Trimble : > Fixes: 873693 This does not look helpful. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread Carl Eugen Hoyos
2018-08-14 0:27 GMT+02:00, Thomas Daede : > Some other containers for AV1, in particular ivf, use a different > capitalization of the AV1 codec tag. When these files are remuxed > into mp4, they result in invalid files. > > This patch normalizes the tag by forcing its lookup in > ff_codec_movvideo_

[FFmpeg-devel] [PATCH] avformat/movenc: Always look up mov tag for AV1.

2018-08-13 Thread Thomas Daede
Some other containers for AV1, in particular ivf, use a different capitalization of the AV1 codec tag. When these files are remuxed into mp4, they result in invalid files. This patch normalizes the tag by forcing its lookup in ff_codec_movvideo_tags. --- libavformat/movenc.c | 3 ++- 1 file chang

[FFmpeg-devel] [PATCH] avutil/encryption_info: Fix size calculation.

2018-08-13 Thread Jacob Trimble
Fixes: 873693 Signed-off-by: Jacob Trimble --- libavutil/encryption_info.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavutil/encryption_info.c b/libavutil/encryption_info.c index c3916b42c8..b399e07e66 100644 --- a/libavutil/encryption_info.c +++ b/libavutil/encr

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-13 Thread Carl Eugen Hoyos
2018-08-13 23:12 GMT+02:00, Kyle Swanson : > Hi, > > On Mon, Aug 13, 2018 at 11:56 AM, Carl Eugen Hoyos > wrote: > >> 2018-08-08 0:37 GMT+02:00, Kyle Swanson : >> >> > +{"n_threads", "Set number of threads to be used when computing >> vmaf.", >> > OFFSET(n_threads), AV_OPT_TYPE_INT

[FFmpeg-devel] [PATCH] Add simple test (works with mkv for now, not with hls or dash)

2018-08-13 Thread Stephan Holljes
Signed-off-by: Stephan Holljes --- test.sh | 86 + test_config.lua | 10 +++ 2 files changed, 96 insertions(+) create mode 100644 test.sh create mode 100644 test_config.lua diff --git a/test.sh b/test.sh new file mode 100644 i

Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add IMM4 decoder

2018-08-13 Thread Carl Eugen Hoyos
2018-08-13 22:26 GMT+02:00, Paul B Mahol : > Updated patch attached. > Artifacts happens only because of our buggy AVI demuxer. Indeed. Do you know what the issue is? I moved the pix_fmt initialization from decode_init() to decode_frame() to get correct resolutions on the status output. Carl E

Re: [FFmpeg-devel] [GSoC] FFserver libmicrohttpd interface

2018-08-13 Thread Stephan Holljes
On Sat, Aug 11, 2018 at 3:58 AM, Michael Niedermayer wrote: > On Thu, Aug 09, 2018 at 02:46:59PM +0200, Stephan Holljes wrote: >> On Thu, Aug 2, 2018 at 1:00 AM, Stephan Holljes >> wrote: >> > After fighting for a bit too long, I am finally submitting this patch >> > series >> > that adds the mo

[FFmpeg-devel] [GSoC] FFserver: Simple test.

2018-08-13 Thread Stephan Holljes
This patch adds a simple test to ffserver. For the time being it only properly works with mkv. For HLS the timestamps appear to be incorrect (segments that should be 2 seconds long are 180 seconds in the m3u8) and DASH appears to not work at all (mpv and ffmpeg report invalid data). I'll investiga

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-13 Thread Kyle Swanson
Hi, On Mon, Aug 13, 2018 at 11:56 AM, Carl Eugen Hoyos wrote: > 2018-08-08 0:37 GMT+02:00, Kyle Swanson : > > > +{"n_threads", "Set number of threads to be used when computing > vmaf.", > > OFFSET(n_threads), AV_OPT_TYPE_INT, {.i64=0}, 0, UINT_MAX, > > FLAGS}, > > Why does this n

Re: [FFmpeg-devel] First Patch for hlsenc.c for https://trac.ffmpeg.org/ticket/7281

2018-08-13 Thread Ronak
> On Aug 13, 2018, at 4:48 PM, Ronak wrote: > > On Aug 13, 2018, at 10:49 AM, Steven Liu wrote: >> >>> >>> Hi Steven, >>> >>> Did you have a chance to review this patch? I haven't seen your feedback >>> yet. Did you have a chance to try it out? >>> I would like to get this merged this week

Re: [FFmpeg-devel] First Patch for hlsenc.c for https://trac.ffmpeg.org/ticket/7281

2018-08-13 Thread Ronak
On Aug 13, 2018, at 10:49 AM, Steven Liu wrote: > >> >> Hi Steven, >> >> Did you have a chance to review this patch? I haven't seen your feedback >> yet. Did you have a chance to try it out? >> I would like to get this merged this week. > 1. you MUST update the TARGET DURATION if the new fragm

Re: [FFmpeg-devel] [WIP][RFC][PATCH] avcodec: add IMM4 decoder

2018-08-13 Thread Paul B Mahol
Hi, Updated patch attached. Artifacts happens only because of our buggy AVI demuxer. 0001-avcodec-add-IMM4-decoder.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [GSOC][PATCH] lavc/cfhd:frame threading support added for temporal transform decoding

2018-08-13 Thread James Almer
On 8/13/2018 4:29 PM, Gagandeep Singh wrote: > --- > libavcodec/cfhd.c | 370 -- > libavcodec/cfhd.h | 8 +- > 2 files changed, 235 insertions(+), 143 deletions(-) > > diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c > index 2c538f0bbd..042f63c6d2 1

[FFmpeg-devel] [GSOC][PATCH] lavc/cfhd:corrected decompanding for table 9 used in cfhd

2018-08-13 Thread Gagandeep Singh
--- libavcodec/cfhd.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 3906d7a86d..2c538f0bbd 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -114,7 +114,30 @@ static inline int dequant_and_decompand

[FFmpeg-devel] [GSOC][PATCH] lavc/cfhd:frame threading support added for temporal transform decoding

2018-08-13 Thread Gagandeep Singh
--- libavcodec/cfhd.c | 370 -- libavcodec/cfhd.h | 8 +- 2 files changed, 235 insertions(+), 143 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 2c538f0bbd..042f63c6d2 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -6

[FFmpeg-devel] [GSOC][PATCH] lavc/cfhd:3d transform decoding for both progressive and interlaced

2018-08-13 Thread Gagandeep Singh
--- libavcodec/cfhd.c | 511 -- libavcodec/cfhd.h | 13 +- 2 files changed, 454 insertions(+), 70 deletions(-) diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 76838f0869..3906d7a86d 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -41

Re: [FFmpeg-devel] [PATCH] lavfi/vf_libvmaf: update to use libvmaf v1.3.9

2018-08-13 Thread Carl Eugen Hoyos
2018-08-08 0:37 GMT+02:00, Kyle Swanson : > +{"n_threads", "Set number of threads to be used when computing vmaf.", > OFFSET(n_threads), AV_OPT_TYPE_INT, {.i64=0}, 0, UINT_MAX, > FLAGS}, Why does this not use -filter_threads? Carl Eugen ___

Re: [FFmpeg-devel] [PATCH 4/6] avcodec/lagarith: Optimize FRAME_SOLID_RGBA

2018-08-13 Thread Carl Eugen Hoyos
2018-08-13 2:24 GMT+02:00, Michael Niedermayer : > Fixes: Timeout > Fixes: > 9484/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_LAGARITH_fuzzer-5707859156271104 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed-off-by: Michael Nie

Re: [FFmpeg-devel] First Patch for hlsenc.c for https://trac.ffmpeg.org/ticket/7281

2018-08-13 Thread Steven Liu
> > Hi Steven, > > Did you have a chance to review this patch? I haven't seen your feedback yet. > Did you have a chance to try it out? > I would like to get this merged this week. 1. you MUST update the TARGET DURATION if the new fragment is long than old fragment, don't only test your audio file

Re: [FFmpeg-devel] First Patch for hlsenc.c for https://trac.ffmpeg.org/ticket/7281

2018-08-13 Thread Ronak
> On Aug 10, 2018, at 6:31 AM, Ronak Patel > wrote: > >> >> On Aug 8, 2018, at 5:37 PM, Ronak wrote: >> >> >> >>> On Aug 8, 2018, at 3:52 PM, Ronak wrote: >>> >>> >>> On Aug 6, 2018, at 10:20 AM, Steven Liu wrote: >> On Aug 6, 2018, at 19:29, Ronak Patel >

Re: [FFmpeg-devel] [PATCH 4/7] Adds gray floating-point pixel formats.

2018-08-13 Thread Sergey Lavrushkin
> > Just use av_clipf instead of FFMIN/FFMAX. Changed FFMIN/FFMAX to av_clip_uint16 and av_clip_uint8. From 210e497d76328947fdf424b169728fa728cc18f2 Mon Sep 17 00:00:00 2001 From: Sergey Lavrushkin Date: Fri, 3 Aug 2018 18:06:50 +0300 Subject: [PATCH 5/9] libswscale: Adds conversions from/to flo

[FFmpeg-devel] [PATCH 4/4] lavc/mpeg4videodec: fix can't dump AVOptions issue.

2018-08-13 Thread Jun Zhao
fix can't dump the mpeg4videodec option with the command "ffmpeg -h decoder=mpeg4". Signed-off-by: Jun Zhao --- libavcodec/mpeg4videodec.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c index 24c280d..549b7a5 1

[FFmpeg-devel] [PATCH 2/4] lavfi: add new function avfilter_graph_get_class.

2018-08-13 Thread Jun Zhao
add new avfilter_graph_get_class for AVFilterGraph options. Signed-off-by: Jun Zhao --- libavfilter/avfilter.h |7 +++ libavfilter/avfiltergraph.c |5 + 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index 9d70

[FFmpeg-devel] [PATCH 3/4] fftools/ffmpeg: dump AVFilterGraph options in "ffmpeg -h full".

2018-08-13 Thread Jun Zhao
dump AVFilterGraph options in "ffmpeg -h full". Signed-off-by: Jun Zhao --- fftools/ffmpeg_opt.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 58ec13e..6b5e8db 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.

[FFmpeg-devel] [PATCH 0/4] fix "ffmpeg -h full" can't dump some options issue

2018-08-13 Thread Jun Zhao
V1: - add a new avfilter_graph_get_class function for AVFilterGraph options. - fix can't dump "slice" sub-option for AVFilter. - fix can't dump mpeg4videodec options issue. (use command "ffmpeg -h decoder=mpeg4") Jun Zhao (4): lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h fu

[FFmpeg-devel] [PATCH 1/4] lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h full"

2018-08-13 Thread Jun Zhao
fix can't dispaly "slice" sub-option in "ffmpeg -h full" for AVFilter options. Signed-off-by: Jun Zhao --- libavfilter/avfilter.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index ed81611..85eff0a 100644 --- a/libavf

Re: [FFmpeg-devel] [PATCH V2] lavc/qsvenc: add quality status to side_data

2018-08-13 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of James Almer > Sent: Friday, August 10, 2018 9:13 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH V2] lavc/qsvenc: add quality status to > side_data > > On 8/10/2018 5:10 AM, Zhong Li wrote: > > Add f

[FFmpeg-devel] [PATCH] avformat/hls: support decryption AES128 fmp4 m3u8 list

2018-08-13 Thread Steven Liu
m3u8 list create by: mediafilesegmenter --encrypt-key-file=keya.key --encrypt-key-url="keya.key" --iso-fragmented input.mp4 before this patch: bogon:xxx StevenLiu$ ./ffplay -allowed_extensions ALL prog_index.m3u8 ffplay version N-91601-g551a029a18 Copyright (c) 2003-2018 the FFmpeg developers

Re: [FFmpeg-devel] [GSOC] [PATCH 1/2] lavfi/vf_colorconstancy: changing options ranges

2018-08-13 Thread Thilo Borgmann
> Am 13.08.2018 um 01:59 schrieb Mina : > > Hi, > > This patch changes the maximum value for minknorm to a more sane value and > fixes check for sigma value when difford > 0. > It also itroduces some minor cosmetic edits(spaces and so). These cosmetics should come in a seperate patch to ha

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec: v4l2m2m: output AVDRMFrameDescriptor

2018-08-13 Thread Dave Stevenson
On 12 August 2018 at 22:25, Jorge Ramirez-Ortiz wrote: > On 08/06/2018 10:12 PM, Mark Thompson wrote: >> >> On 06/08/18 16:44, Jorge Ramirez-Ortiz wrote: >>> >>> On 08/04/2018 11:43 PM, Mark Thompson wrote: > > diff --git a/libavcodec/v4l2_context.c b/libavcodec/v4l2_context.c > index

Re: [FFmpeg-devel] start code is not [00 00 00 01] issue

2018-08-13 Thread tugouxp
thank you.! At 2018-08-12 20:45:00, "Hendrik Leppkes" wrote: >On Sun, Aug 12, 2018 at 12:42 PM tugouxp <13824125...@163.com> wrote: >> >> hi all: >> i add log print in function "h264_decode_frame" in order to get the >> start code infomation of the input packet bitstream, >> and the l

[FFmpeg-devel] [PATCH] avformat: correct fdebug loglevel

2018-08-13 Thread Gyan Doshi
3e4b5e68c1 intended for fdebug to be usable without -v and cmdutils sets v to DEBUG but most fdebug logs are at TRACE. Changed. From 0b349a958d6af8ce09ef7d36a34e3f0d3f6b0692 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Mon, 13 Aug 2018 12:32:41 +0530 Subject: [PATCH] avformat: correct fdebug l