[FFmpeg-devel] [PATCH] cmdutils: Add some whitespace when printing layouts

2014-09-02 Thread Tobias Rapp
+SL+SR downmixDL+DR From 4bb45eaf4f0b404348e9f72a1a0bbb30551322d8 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Tue, 2 Sep 2014 16:20:45 +0200 Subject: [PATCH] cmdutils: Add some whitespace when printing layouts Adds some more whitespace between channel layout name

Re: [FFmpeg-devel] [PATCH v2] ffprobe: Add bits_per_component to stream output

2014-09-04 Thread Tobias Rapp
Previous patch did contain an obsolete line in function av_get_bits_per_component. New patch file attached. Regards, Tobias From 2271a50358e9d464dd53ed9936581e11b28e5940 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Thu, 4 Sep 2014 14:47:14 +0200 Subject: [PATCH] ffprobe

Re: [FFmpeg-devel] [PATCH v3] ffprobe: Add bits_per_component to stream output

2014-09-04 Thread Tobias Rapp
4a2290540ae0761c6ea2a5f12326ad8dd1257e57 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Thu, 4 Sep 2014 16:25:22 +0200 Subject: [PATCH] ffprobe: Add bits_per_component to stream output Adds bits_per_component (bit depth) output for video streams. --- doc/ffprobe.xsd

Re: [FFmpeg-devel] [PATCH v3] ffprobe: Add bits_per_component to stream output

2014-09-05 Thread Tobias Rapp
On 04.09.2014 17:39, wm4 wrote: diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 41e81db..f8af18f 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -251,6 +251,13 @@ int av_get_bits_per_pixel(const AVPixFmtDescriptor *pixdesc); int av_get_padded_bits_per_pixel(const

Re: [FFmpeg-devel] [PATCH v3] ffprobe: Add bits_per_component to stream output

2014-09-05 Thread Tobias Rapp
On 05.09.2014 11:56, Stefano Sabatini wrote: On date Friday 2014-09-05 08:29:45 +0200, Tobias Rapp encoded: On 04.09.2014 17:39, wm4 wrote: diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index 41e81db..f8af18f 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -251,6 +251,13

[FFmpeg-devel] [RFC] ffprobe: add -show_pixel_descriptions option

2014-09-08 Thread Tobias Rapp
2001 From: Tobias Rapp t.r...@noa-audio.com Date: Mon, 8 Sep 2014 15:48:12 +0200 Subject: [PATCH] ffprobe: add -show_pixel_descriptions option Adds option -show_pixel_descriptions to ffprobe which lists all available pixel formats with some details. --- doc/ffprobe.xsd | 15 +++ ffprobe.c

Re: [FFmpeg-devel] [RFC] ffprobe: add -show_pixel_descriptions option

2014-09-09 Thread Tobias Rapp
On 09.09.2014 05:38, Dave Rice wrote: On Sep 8, 2014, at 10:08 AM, Tobias Rapp t.r...@noa-audio.com wrote: BTW: How can one test the ffprobe XML output against the XSD? I tried it with xmllint --noout --schema doc/ffprobe.xsd ffprobe-output.xml without success. What tools do other developers

Re: [FFmpeg-devel] [PATCH] ffprobe: add -show_pixel_formats option (was: add -show_pixel_descriptions option)

2014-09-11 Thread Tobias Rapp
of output but fits better to output formats like CSV or INI. Example: is_rgb=1 has_alpha=1 is_bitstream=0 has_palette=1 What do you think? Tobias From 5938c171472469e91bb2b7445100ab6509929ba7 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Thu, 11 Sep 2014 09:16:52 +0200 Subject

Re: [FFmpeg-devel] [PATCH] ffprobe: add -show_pixel_formats option

2014-09-12 Thread Tobias Rapp
On 11.09.2014 12:12, Stefano Sabatini wrote: On date Thursday 2014-09-11 09:54:42 +0200, Tobias Rapp encoded: Have now added documentation and cleaned up some unused variables with the new patch. Also on a second thought the option names show_pixel_format_descriptions or show_pixel_formats seem

Re: [FFmpeg-devel] [PATCH v2 1/4] ffprobe: add -show_pixel_formats option

2014-09-15 Thread Tobias Rapp
Have updated my work according to the suggestions of Stefano and split into four patches for easier review. Any feedback/comments are welcome. Tobias From 5d4376d0562853f6cbad0acf03872896cd8485c6 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Thu, 11 Sep 2014 09:16:52

Re: [FFmpeg-devel] [PATCH v2 2/4] ffprobe: add pixel format flags output

2014-09-15 Thread Tobias Rapp
Adds output of pixel format flags to ffprobe -show_pixel_formats option. --- doc/ffprobe.xsd | 15 +++ ffprobe.c | 23 ++- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index 598f651..e460e01 100644 ---

Re: [FFmpeg-devel] [PATCH v2 3/4] ffprobe: add pixel format component bit depth output

2014-09-15 Thread Tobias Rapp
Adds output of bit depth per pixel format component to ffprobe -show_pixel_formats option. --- doc/ffprobe.xsd | 12 ffprobe.c | 20 ++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/doc/ffprobe.xsd b/doc/ffprobe.xsd index e460e01..bf17186

Re: [FFmpeg-devel] [PATCH v2 4/4] ffprobe: add pixel format chroma sub-sampling output

2014-09-15 Thread Tobias Rapp
Adds output of chroma sub-sampling information to ffprobe -show_pixel_formats option. Note: This patch just prints the raw log2_charoma_w/h values instead of the previously suggested mapping into a chroma sub-sampling pattern string like 4:2:2. --- doc/ffprobe.xsd | 2 ++ ffprobe.c | 7

Re: [FFmpeg-devel] [PATCH v2 1/4] ffprobe: add -show_pixel_formats option

2014-09-22 Thread Tobias Rapp
On 15.09.2014 17:00, Tobias Rapp wrote: Have updated my work according to the suggestions of Stefano and split into four patches for easier review. Any feedback/comments are welcome. Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http

Re: [FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.

2014-09-29 Thread Tobias Rapp
On 28.09.2014 10:49, Reimar Döffinger wrote: Note the documentation for that option: The /LARGEADDRESSAWARE option tells the linker that the application can handle addresses larger than 2 gigabytes. This flag is _only_ used to signal that an application can deal with addresses that use more

Re: [FFmpeg-devel] [RFC][PATCH] web: News about FFmpeg in Debian

2014-10-06 Thread Tobias Rapp
On 06.10.2014 14:05, compn wrote: On Mon, 6 Oct 2014 09:24:45 +0200 Clément Bœsch u...@pkh.me wrote: Anyway, I don't think it's relevant to talk about that in that news. Let's just move on. Libav fixed the message, it's cool, but it has nothing to do with FFmpeg getting into Debian. i

Re: [FFmpeg-devel] [PATCH v2 1/4] ffprobe: add -show_pixel_formats option

2014-10-08 Thread Tobias Rapp
On 07.10.2014 23:27, Michael Niedermayer wrote: On Mon, Sep 22, 2014 at 09:03:16AM +0200, Tobias Rapp wrote: [...] Ping. ping timeout patches applied thanks Thank you for keeping track! Have attached the missing Changelog update. Tobias From f0c717e04c93a50b261de686216d59b538791594 Mon

[FFmpeg-devel] [PATCH] ffprobe.xsd: Add packets_and_frames element definition

2014-10-23 Thread Tobias Rapp
Attached patch allows validation of ffprobe XML output if -show_packets and -show_frames are both set. From 0c10cf28993f61cbb8365caf8d06f5d5b6111a80 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Thu, 23 Oct 2014 15:10:28 +0200 Subject: [PATCH] ffprobe.xsd: Add

[FFmpeg-devel] [PATCH] doc/protocols: Fixed missing example section marker

2015-03-17 Thread Tobias Rapp
Attached (trivial) patch adds some missing @example section marker to protocols.texi Regards, Tobias From 26410261c11aa48622a30b1032023f80fc9062c1 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Wed, 11 Mar 2015 11:22:04 +0100 Subject: [PATCH] doc/protocols: Fixed missing

Re: [FFmpeg-devel] [PATCH v2] Interpretation of duration field in AVI super index chunk

2015-03-03 Thread Tobias Rapp
On 26.02.2015 15:41, Michael Niedermayer wrote: On Thu, Feb 26, 2015 at 02:14:33PM +0100, Tobias Rapp wrote: On 26.02.2015 00:51, Michael Niedermayer wrote: On Wed, Feb 25, 2015 at 05:35:33PM +0100, Tobias Rapp wrote: [...] @@ -511,7 +514,11 @@ static int avi_write_ix(AVFormatContext *s

Re: [FFmpeg-devel] [PATCH][RFC] Interpretation of duration field in AVI super index chunk

2015-02-25 Thread Tobias Rapp
On 24.02.2015 16:33, Tobias Rapp wrote: Hi, I am currently trying to interpret the index data of HuffYuv/PCM AVI files written by FFmpeg. If the file is larger than 2GiB an AVIX RIFF chunk is added for each 2GiB-block, each of these blocks gets an OpenDML chunk index ix00 and an OpenDML super

[FFmpeg-devel] [PATCH] doc/filters.texi: Added reference link to video size syntax description

2015-02-24 Thread Tobias Rapp
Attached patch updates the filter option documentation text to link to ffmpeg-utils documentation for video size syntax description. From 3c73ad81f31eedde3ed7f500af1ed23a5458652b Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Tue, 24 Feb 2015 13:14:07 +0100 Subject: [PATCH

[FFmpeg-devel] Interpretation of duration field in AVI super index chunk

2015-02-24 Thread Tobias Rapp
Hi, I am currently trying to interpret the index data of HuffYuv/PCM AVI files written by FFmpeg. If the file is larger than 2GiB an AVIX RIFF chunk is added for each 2GiB-block, each of these blocks gets an OpenDML chunk index ix00 and an OpenDML super index chunk indx is written for each

Re: [FFmpeg-devel] [PATCH][RFC] Interpretation of duration field in AVI super index chunk

2015-02-26 Thread Tobias Rapp
On 26.02.2015 00:51, Michael Niedermayer wrote: On Wed, Feb 25, 2015 at 05:35:33PM +0100, Tobias Rapp wrote: avienc.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) 09f8c8250ce5ec1bdad79a1bf280028c9d3af376 0001-libavformat-avienc-Fix-duration-for-audio-stream-Ope.patch

Re: [FFmpeg-devel] [PATCH v2] fate: add some tests for ffv1 level 3 with 8/10/16 bps

2015-06-22 Thread Tobias Rapp
On 22.06.2015 14:59, Michael Niedermayer wrote: On Mon, Jun 22, 2015 at 09:38:43AM +0200, Tobias Rapp wrote: Attached patch adds some FATE tests for FFV1 level 3 with different bits-per-sample. fate/vcodec.mak |6 +- ref/vsynth/vsynth1-ffv1.3-420|4

[FFmpeg-devel] [PATCH] fate: add some tests for ffv1 level 3 with 8/10/16 bps

2015-06-22 Thread Tobias Rapp
Attached patch adds some FATE tests for FFV1 level 3 with different bits-per-sample. From aee3721703e8530bb71f85daf4b4438ed170f612 Mon Sep 17 00:00:00 2001 From: Tobias Rapp t.r...@noa-audio.com Date: Fri, 19 Jun 2015 14:30:27 +0200 Subject: [PATCH] fate: add some tests for ffv1 level 3 with 8/10

[FFmpeg-devel] [PATCH] avutil/file_open: avoid file handle inheritance on Windows

2015-10-29 Thread Tobias Rapp
/2.8 release branches. Regards, Tobias >From b54a2177aaf0aef290c0741a63327ca678b4e7d6 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Date: Thu, 29 Oct 2015 09:11:37 +0100 Subject: [PATCH] avutil/file_open: avoid file handle inheritance on Windows Avoids inheritanc

Re: [FFmpeg-devel] FFmpeg 2.8.2

2015-11-09 Thread Tobias Rapp
On 08.11.2015 20:23, Michael Niedermayer wrote: Hi I will probably make 2.8.2 soon (days/week), if you want somethig backported, please backport sooner thx It would be great if commit 474665346616e446ecd1407002fdf5f88201bf72 (avutil/file_open: avoid file handle inheritance on Windows) could

Re: [FFmpeg-devel] [PATCH] avutil/file_open: avoid file handle inheritance on Windows

2015-10-30 Thread Tobias Rapp
On 29.10.2015 09:38, Tobias Rapp wrote: Attached patch fixes file lock issues in my Windows application when a child process is started with handle inheritance enabled (standard input/output redirection) while a FFmpeg transcoding is running in the parent process. BTW: It would be great

Re: [FFmpeg-devel] [PATCH] avutil/file_open: avoid file handle inheritance on Windows

2015-10-30 Thread Tobias Rapp
On 30.10.2015 11:54, Hendrik Leppkes wrote: On Fri, Oct 30, 2015 at 11:30 AM, Tobias Rapp <t.r...@noa-archive.com> wrote: On 29.10.2015 09:38, Tobias Rapp wrote: Attached patch fixes file lock issues in my Windows application when a child process is started with handle inheritance e

Re: [FFmpeg-devel] [PATCHv2] avutil/file_open: avoid file handle inheritance on Windows

2015-10-30 Thread Tobias Rapp
On 30.10.2015 15:06, wm4 wrote: On Fri, 30 Oct 2015 11:30:40 +0100 Tobias Rapp <t.r...@noa-archive.com> wrote: On 29.10.2015 09:38, Tobias Rapp wrote: Attached patch fixes file lock issues in my Windows application when a child process is started with handle inheritance enabled (st

[FFmpeg-devel] [PATCH] avfilter/vf_ssim: Add support for writing stats to stdout

2015-10-21 Thread Tobias Rapp
Analogous to my previous patch to vf_psnr.c the attached patch implements writing SSIM frame stats to standard output if the filename is "-". Regards, Tobias >From 55077db04d9d843b25b560b8c4cee8924064e443 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Dat

[FFmpeg-devel] [PATCH] avfilter/vf_psnr: Add support for writing stats to stdout

2015-10-20 Thread Tobias Rapp
Attached patch implements writing PSNR frame stats to standard output if the filename is "-". Regards, Tobias >From 163f8a547e7a4c4847c8b988017fd1ec73768d9e Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Date: Tue, 20 Oct 2015 15:02:21 +0200 Subject: [PATC

Re: [FFmpeg-devel] [RFC] avformat/mxfenc: stop encoding if unfilled video packet

2015-10-13 Thread Tobias Rapp
On 13.10.2015 08:42, Tomas Härdin wrote: On Mon, 2015-10-05 at 14:25 +0200, Tobias Rapp wrote: On 05.10.2015 09:10, tim nicholson wrote: On 04/10/15 13:07, Tomas Härdin wrote: On Mon, 2015-09-28 at 15:11 +0200, Tobias Rapp wrote: [...] For me the most important thing is that anything

Re: [FFmpeg-devel] Adding FATE tests for FFV1 - revisited

2015-08-31 Thread Tobias Rapp
On 30.08.2015 21:32, Michael Niedermayer wrote: On Sun, Aug 30, 2015 at 07:06:44PM +0200, Peter B. wrote: Hello, I've been working on FATE tests for FFV1 in the past already [1]. My tests didn't work on all platforms and therefore never made it upstream. I think it's better if I try to provide

[FFmpeg-devel] [PATCH] avformat/avienc: add muxer option "write_channel_mask"

2015-09-10 Thread Tobias Rapp
s to write an empty channel mask instead. Regards, Tobias >From 0c1ca2caef76063cff932e146954d04ae65cd019 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Date: Thu, 10 Sep 2015 14:04:18 +0200 Subject: [PATCH] avformat/avienc: add muxer option "write_channel_mask&

Re: [FFmpeg-devel] [PATCH] avformat/avienc: add muxer option "write_channel_mask"

2015-09-10 Thread Tobias Rapp
On 10.09.2015 14:57, Derek Buitenhuis wrote: On 9/10/2015 1:25 PM, Tobias Rapp wrote: My use-case is handling recorded AVI files which have an unknown/empty/unsupported channel layout. Instead of writing the guessed channel layout into the output file, using "-write_channel_mask off&qu

Re: [FFmpeg-devel] [PATCH v2] avformat/avienc: add muxer option "write_channel_mask"

2015-09-10 Thread Tobias Rapp
On 10.09.2015 15:28, Tobias Rapp wrote: On 10.09.2015 14:57, Derek Buitenhuis wrote: On 9/10/2015 1:25 PM, Tobias Rapp wrote: My use-case is handling recorded AVI files which have an unknown/empty/unsupported channel layout. Instead of writing the guessed channel layout into the output file

[FFmpeg-devel] [RFC] avformat/mxfenc: stop encoding if unfilled video packet

2015-09-16 Thread Tobias Rapp
ppreciated. Regards, Tobias >From 7d6f8de2a411817c970a19d8766e69b6eb604132 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Date: Mon, 14 Sep 2015 12:06:22 +0200 Subject: [PATCH] avformat/mxfenc: stop encoding if unfilled video packet occurs Fixes ticket #4759. --- libavf

Re: [FFmpeg-devel] [PATCH] Adding ffv1 help reference for "coder" parameter.

2015-09-14 Thread Tobias Rapp
On 13.09.2015 19:13, Peter B. wrote: libavcodec/ffv1enc.c |1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index 265ced1..d210692 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -1345,6 +1345,7 @@ static av_cold int

Re: [FFmpeg-devel] [RFC] avformat/mxfenc: stop encoding if unfilled video packet

2015-09-28 Thread Tobias Rapp
On 19.09.2015 22:49, Tomas Härdin wrote: On Wed, 2015-09-16 at 14:33 +0200, Tobias Rapp wrote: Hi, attached patch fixes ticket #4759 but I guess it is a bit too hasty to always abort transcoding if a single frame cannot be written. I guess it would be better to check for some "exit_on_

Re: [FFmpeg-devel] [RFC] avformat/mxfenc: stop encoding if unfilled video packet

2015-10-05 Thread Tobias Rapp
On 05.10.2015 09:10, tim nicholson wrote: On 04/10/15 13:07, Tomas Härdin wrote: On Mon, 2015-09-28 at 15:11 +0200, Tobias Rapp wrote: [...] For me the most important thing is that anything dealing with MXF should never write invalid files. +1 for sure. To overstate your point: So

Re: [FFmpeg-devel] Ideas to replace the options system

2015-12-08 Thread Tobias Rapp
On 05.12.2015 00:54, James Darnley wrote: On 2015-12-04 15:33, Nicolas George wrote: Why do we need a new options system? Most importantly: escaping hell OMG yes! I have seen several times the amount of backslashes Windows users are forced to use to provide a path to some of the filters.

[FFmpeg-devel] [PATCH] Makefile: add cleanup of pkg-config files created by configure to distclean

2015-11-25 Thread Tobias Rapp
distclean". Regards, Tobias >From 166a9ca8c6e446d4430eb26691d4e23810855dc7 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-audio.com> Date: Wed, 25 Nov 2015 11:47:14 +0100 Subject: [PATCH] Makefile: add cleanup of pkg-config files created by configure to distclean --- Makefile

Re: [FFmpeg-devel] [PATCH] Makefile: add cleanup of pkg-config files created by configure to distclean

2015-11-30 Thread Tobias Rapp
On 25.11.2015 11:56, Tobias Rapp wrote: When creating a fresh working copy I noticed that the "doc/examples/pc-uninstalled" folder which is created by ./configure is not cleaned up when running "make distclean". Attached patch adds the removal of "doc/examples/pc-uni

Re: [FFmpeg-devel] [PATCH 02/13] lavfi/vf_deshake: check fclose return value

2016-01-12 Thread Tobias Rapp
On 12.01.2016 05:25, Ganesh Ajjanagadde wrote: Signed-off-by: Ganesh Ajjanagadde --- libavfilter/vf_deshake.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index e7ece44..a89506b 100644 ---

Re: [FFmpeg-devel] 答复: 答复: [PATCH]Filter: Add snapshot filter. It is enable to save snapshot.

2016-05-30 Thread Tobias Rapp
On 28.05.2016 07:31, kl222 wrote: > On 27.05.2016 13:49, Nicolas George wrote: >> Can you explain your use case for this filter? >> >> I ask because I am very uncomfortable with filters that perform direct output >> instead of producing frames for the rest of the graph. They need to duplicate >>

Re: [FFmpeg-devel] 答复: [PATCH]Filter: Add snapshot filter. It is enable to save snapshot.

2016-05-27 Thread Tobias Rapp
On 27.05.2016 13:49, Nicolas George wrote: Le nonidi 9 prairial, an CCXXIV, kl222 a écrit : Signed-off-by: KangLin --- doc/filters.texi | 23 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_snapshot.c | 256

Re: [FFmpeg-devel] [PATCH] avfilter: add metadata filters

2016-02-10 Thread Tobias Rapp
On 10.02.2016 11:40, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 10.02.2016 10:59, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 10.02.2016 10:01, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-arc

Re: [FFmpeg-devel] [PATCH] avfilter/f_metadata: rename "string" into "same_str"

2016-02-11 Thread Tobias Rapp
On 11.02.2016 15:39, Tobias Rapp wrote: Rename function option value "string" into "same_str". Remove obsolete "length" option. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 32 +++-

[FFmpeg-devel] [PATCH] avfilter/f_metadata: rename "string" into "same_str"

2016-02-11 Thread Tobias Rapp
Rename function option value "string" into "same_str". Remove obsolete "length" option. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 32 +++- 1 file changed, 15 insertions(+), 17 deletions(-) d

Re: [FFmpeg-devel] [PATCH] avfilter: add metadata filters

2016-02-10 Thread Tobias Rapp
On 10.02.2016 10:01, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 06.02.2016 23:30, Paul B Mahol wrote: On 2/6/16, Paul B Mahol <one...@gmail.com> wrote: Hi, patch attached. Improved version attached. [...] + +static int string(const char *v

Re: [FFmpeg-devel] [PATCH] avfilter: add metadata filters

2016-02-10 Thread Tobias Rapp
On 06.02.2016 23:30, Paul B Mahol wrote: On 2/6/16, Paul B Mahol wrote: Hi, patch attached. Improved version attached. [...] + +static int string(const char *value1, const char *value2, size_t length) +{ +return !strncmp(value1, value2, length); +} If I understand

Re: [FFmpeg-devel] [PATCH] avfilter: add metadata filters

2016-02-10 Thread Tobias Rapp
On 10.02.2016 10:59, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 10.02.2016 10:01, Paul B Mahol wrote: On 2/10/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 06.02.2016 23:30, Paul B Mahol wrote: On 2/6/16, Paul B Mahol <one...@gmail.

[FFmpeg-devel] [PATCH 2/4] avfilter/f_metadata: add starts_with string function

2016-02-11 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/filters.texi | 4 libavfilter/f_metadata.c | 10 ++ 2 files changed, 14 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 6c5003f..0b874b2 100644 --- a/doc/filters.texi +++ b/doc/filter

[FFmpeg-devel] [PATCH 3/4] avfilter/f_metadata: add support for file output

2016-02-11 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/filters.texi | 6 + libavfilter/f_metadata.c | 66 2 files changed, 67 insertions(+), 5 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 0b874b2..8

[FFmpeg-devel] [PATCH 4/4] avfilter/f_metadata: whitespace clean-up

2016-02-11 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 2cfe29b..957c534 100644 --- a/libavfilter/f_metadata.c +++ b/libav

[FFmpeg-devel] [PATCH 1/4] avfilter/f_metadata: avoid float rounding problems

2016-02-11 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavfilter/f_metadata.c b/libavfilter/f_metadata.c index 40ab6bb..e0ea30b 100644 --- a/libavfilter/f_metadata.c +++ b/libav

Re: [FFmpeg-devel] [PATCH 4/4] avfilter/f_metadata: whitespace clean-up

2016-02-11 Thread Tobias Rapp
On 11.02.2016 15:00, Paul B Mahol wrote: On 2/11/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 11.02.2016 14:12, Paul B Mahol wrote: On 2/11/16, Tobias Rapp <t.r...@noa-archive.com> wrote: Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter

Re: [FFmpeg-devel] [PATCH 4/4] avfilter/f_metadata: whitespace clean-up

2016-02-11 Thread Tobias Rapp
On 11.02.2016 14:12, Paul B Mahol wrote: On 2/11/16, Tobias Rapp <t.r...@noa-archive.com> wrote: Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) Patches LGTM. Removed tabs

Re: [FFmpeg-devel] [PATCHv2] doc/demuxers: add some concat demuxer script examples

2016-01-26 Thread Tobias Rapp
On 25.01.2016 13:22, Nicolas George wrote: Le decadi 30 nivôse, an CCXXIV, Tobias Rapp a écrit : Attached patch adds some example scripts for the concat demuxer to the documentation. Well, I maintain the code, not really the documentation. >From 5ffc11e8139476d18cd2eaa28338adb0dda80999

Re: [FFmpeg-devel] [PATCHv2] doc/demuxers: add some concat demuxer script examples

2016-02-03 Thread Tobias Rapp
On 03.02.2016 09:48, Paul B Mahol wrote: On 2/3/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 26.01.2016 09:09, Tobias Rapp wrote: On 25.01.2016 13:22, Nicolas George wrote: Le decadi 30 nivose, an CCXXIV, Tobias Rapp a ecrit : Attached patch adds some example scripts for the

Re: [FFmpeg-devel] [PATCHv3] doc/demuxers: add some concat demuxer script examples

2016-02-03 Thread Tobias Rapp
On 03.02.2016 10:23, Stefano Sabatini wrote: From 2faf6c05df62c69347091aa6254c2db796d19345 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-archive.com> Date: Tue, 26 Jan 2016 09:02:51 +0100 Subject: [PATCH] doc/demuxers: add some concat demuxer script examples Signed-off-by: Tobia

Re: [FFmpeg-devel] [PATCHv2] doc/demuxers: add some concat demuxer script examples

2016-02-02 Thread Tobias Rapp
On 26.01.2016 09:09, Tobias Rapp wrote: On 25.01.2016 13:22, Nicolas George wrote: Le decadi 30 nivôse, an CCXXIV, Tobias Rapp a écrit : Attached patch adds some example scripts for the concat demuxer to the documentation. Well, I maintain the code, not really the documentation. >F

Re: [FFmpeg-devel] [PATCH] doc/demuxers: add some concat demuxer script examples

2016-01-25 Thread Tobias Rapp
On 19.01.2016 15:47, Tobias Rapp wrote: Attached patch adds some example scripts for the concat demuxer to the documentation. Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] doc/demuxers: add some concat demuxer script examples

2016-01-19 Thread Tobias Rapp
Attached patch adds some example scripts for the concat demuxer to the documentation. Regards, Tobias >From 5ffc11e8139476d18cd2eaa28338adb0dda80999 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-archive.com> Date: Tue, 19 Jan 2016 15:42:33 +0100 Subject: [PATCH] doc/demuxers:

Re: [FFmpeg-devel] Debugging option

2016-02-17 Thread Tobias Rapp
On 17.02.2016 07:55, Chau Pham wrote: sorry, " debug cannot go outside of ffmpeg.c" From: ffmpeg-devel on behalf of Chau Pham Sent: Wednesday, February 17, 2016 6:50 AM To: FFmpeg development

Re: [FFmpeg-devel] [PATCH v2] avfilter/vf_drawtext: add optional default value to metadata function

2016-04-13 Thread Tobias Rapp
On 08.04.2016 09:19, Tobias Rapp wrote: On 07.04.2016 20:45, Stefano Sabatini wrote: On date Thursday 2016-04-07 12:32:47 +0200, Tobias Rapp encoded: Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/filters.texi | 7 ++- libavfilter/vf_drawtext.c | 4 +++- 2

Re: [FFmpeg-devel] [PATCH 1/2 v3] avfilter: add readvitc filter

2016-04-08 Thread Tobias Rapp
On 08.04.2016 12:48, Carl Eugen Hoyos wrote: Tobias Rapp noa-archive.com> writes: AV_PIX_FMT_YUV440P? Also J variants... Good catch, I was lazy and just copied the function from vf_eq.c. The updated patch should contain all pixel formats with planar 8bit luma component. Instead of list

Re: [FFmpeg-devel] [PATCH 1/2 v3] avfilter: add readvitc filter

2016-04-08 Thread Tobias Rapp
On 08.04.2016 14:54, Paul B Mahol wrote: On 4/8/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 08.04.2016 12:48, Carl Eugen Hoyos wrote: Tobias Rapp noa-archive.com> writes: AV_PIX_FMT_YUV440P? Also J variants... Good catch, I was lazy and just copied the function fro

Re: [FFmpeg-devel] [PATCH 1/2 v3] avfilter: add readvitc filter

2016-04-08 Thread Tobias Rapp
On 08.04.2016 15:38, Carl Eugen Hoyos wrote: Tobias Rapp noa-archive.com> writes: Now, when someone adds 8bit X planar format which is not YUV it will break. It depends on whether the equation "is_yuv_or_gray = (desc->flags & AV_PIX_FMT_FLAG_RGB) == 0)" can be mad

Re: [FFmpeg-devel] [PATCHv2] avfilter/vf_drawtext: add optional default value to metadata function

2016-04-08 Thread Tobias Rapp
On 07.04.2016 20:45, Stefano Sabatini wrote: On date Thursday 2016-04-07 12:32:47 +0200, Tobias Rapp encoded: Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/filters.texi | 7 ++- libavfilter/vf_drawtext.c | 4 +++- 2 files changed, 9 insertions(+), 2 del

Re: [FFmpeg-devel] [PATCH 1/2 v2] avfilter: add readvitc filter

2016-04-08 Thread Tobias Rapp
On 08.04.2016 11:23, Paul B Mahol wrote: On 4/8/16, Tobias Rapp <t.r...@noa-archive.com> wrote: Add a filter to scan the top lines of video frames for vertical interval timecode (VITC) information and attach it as metadata keys. Signed-off-by: Tobias Rapp <t.r...@noa-ar

[FFmpeg-devel] [PATCH 1/2] avfilter: add readvitc filter

2016-04-08 Thread Tobias Rapp
Add a filter to scan the top lines of video frames for vertical interval timecode (VITC) information and attach it as metadata keys. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- Changelog | 1 + MAINTAINERS | 1 + doc/filters.texi

[FFmpeg-devel] [PATCH 2/2] fate: add readvitc filter test

2016-04-08 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- tests/fate/filter-video.mak | 10 ++ tests/ref/fate/filter-metadata-readvitc-def | 5 + tests/ref/fate/filter-metadata-readvitc-thr | 5 + 3 files changed, 20 insertions(+) create mode 100644 tests/re

[FFmpeg-devel] [PATCH 0/2] add readvitc filter

2016-04-08 Thread Tobias Rapp
The following patches add a filter that allows to scan video frames for VITC lines, including FATE test. The sample file for the FATE test can be found at: https://cerebrum.noa-archive.com/noacloud/public.php?service=files=88eeb716819bba39584be03c2d1f053b (1.4MB) and is assumed to be stored as

Re: [FFmpeg-devel] [PATCH 0/2] add readvitc filter

2016-04-08 Thread Tobias Rapp
On 08.04.2016 15:49, Clément Bœsch wrote: On Fri, Apr 08, 2016 at 10:50:23AM +0200, Tobias Rapp wrote: The following patches add a filter that allows to scan video frames for VITC lines, including FATE test. The sample file for the FATE test can be found at: https://cerebrum.noa-archive.com

Re: [FFmpeg-devel] [PATCH 1/2 v3] avfilter: add readvitc filter

2016-04-11 Thread Tobias Rapp
On 08.04.2016 23:08, Carl Eugen Hoyos wrote: Tobias Rapp noa-archive.com> writes: Wouldn't the algorithm also work for GBR? If VITC lines are green, yes . I just tested the sample you uploaded with the following command after adding AV_PIX_FMT_GBRP to the supported input form

Re: [FFmpeg-devel] Support master branch of OpenJPEG and Grok J2K codecs

2016-04-06 Thread Tobias Rapp
On 05.04.2016 12:12, Kieran Kunhya wrote: Yes. Well, AGPL extends the definition of distribution to include use over the network. Would we need then to send a copy of the AGPL to every viewer of our channels? How do we even know who they are when it's a terrestrial (OTA) broadcast? Should we

Re: [FFmpeg-devel] [PATCH] avfilter: add loudnorm

2016-04-06 Thread Tobias Rapp
On 06.04.2016 17:02, Clément Bœsch wrote: On Wed, Apr 06, 2016 at 09:52:51AM -0500, Kyle Swanson wrote: On Wed, Apr 6, 2016 at 12:45 AM, Clément Bœsch wrote: Mmh. That's nice and all but... why not use/adjust the native ebur128 filter we have instead of relying on an external

[FFmpeg-devel] [PATCH] avfilter/vf_drawtext: add optional default value to metadata function

2016-04-07 Thread Tobias Rapp
Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/filters.texi | 7 ++- libavfilter/vf_drawtext.c | 4 +++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/doc/filters.texi b/doc/filters.texi index 592fc24..3675b13 100644 --- a/doc/filters.texi +++

Re: [FFmpeg-devel] Support master branch of OpenJPEG and Grok J2K codecs

2016-04-04 Thread Tobias Rapp
On 04.04.2016 02:36, Aaron Boxer wrote: [...] > Thanks, Michael. Here is an updated patch with the bpp change removed. Aaron From fb7551a8f9fe6a5317f01c9f33a76f8ae67ad979 Mon Sep 17 00:00:00 2001 From: Aaron Boxer Date: Sun, 3 Apr 2016 20:30:04 -0400 Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH 1/2 v4] avfilter: add readvitc filter

2016-04-14 Thread Tobias Rapp
On 08.04.2016 17:01, Tobias Rapp wrote: On 08.04.2016 15:24, Tobias Rapp wrote: On 08.04.2016 14:54, Paul B Mahol wrote: On 4/8/16, Tobias Rapp <t.r...@noa-archive.com> wrote: On 08.04.2016 12:48, Carl Eugen Hoyos wrote: Tobias Rapp noa-archive.com> writes: AV_PIX_FMT_YUV440

Re: [FFmpeg-devel] [PATCH] doc/developer.texi: Add a code of conduct

2016-05-19 Thread Tobias Rapp
section Submitting patches I agree to the code of conduct and welcome its addition. Regards, Tobias Rapp ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/dump.c: fix mixed log levels

2016-05-12 Thread Tobias Rapp
On 12.05.2016 16:00, Michael Niedermayer wrote: On Thu, May 12, 2016 at 10:26:03AM +0200, Tobias Rapp wrote: Previously a partial log message without newline was printed in case of loglevel=warning. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavformat/dump.c | 2 +-

[FFmpeg-devel] [PATCH] avformat/dump.c: fix mixed log levels

2016-05-12 Thread Tobias Rapp
Previously a partial log message without newline was printed in case of loglevel=warning. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavformat/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dump.c b/libavformat/dump.c index d6a3249..9

Re: [FFmpeg-devel] [PATCH 2/2 v2] fate: add readvitc filter test

2016-04-20 Thread Tobias Rapp
On 15.04.2016 09:49, Tobias Rapp wrote: Attached an updated patch, rebased onto current git master. The sample file for the FATE test can be found at: https://cerebrum.noa-archive.com/noacloud/public.php?service=files=88eeb716819bba39584be03c2d1f053b (1.4MB) and is assumed to be stored

Re: [FFmpeg-devel] [PATCH 1/2 v5] avfilter: add readvitc filter

2016-04-15 Thread Tobias Rapp
On 14.04.2016 22:29, Michael Niedermayer wrote: On Thu, Apr 14, 2016 at 08:49:58AM +0200, Tobias Rapp wrote: On 08.04.2016 17:01, Tobias Rapp wrote: On 08.04.2016 15:24, Tobias Rapp wrote: On 08.04.2016 14:54, Paul B Mahol wrote: On 4/8/16, Tobias Rapp <t.r...@noa-archive.com>

Re: [FFmpeg-devel] [PATCH 2/2 v2] fate: add readvitc filter test

2016-04-15 Thread Tobias Rapp
file checksum: md5:150ca9d1f6283f136ce14bd7a7cf025e sha256: ec39eeda7587536a4c90ae14288e895defa8fc64c536eeca88b34899a963d42f Regards, Tobias >From 64016c9270773a0f269c85b5fa4f7461e118286d Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-archive.com> Date: Thu, 7 Apr 2016 14:39

Re: [FFmpeg-devel] [PATCH 2/2 v2] fate: add readvitc filter test

2016-04-18 Thread Tobias Rapp
On 16.04.2016 23:25, Michael Niedermayer wrote: > On Fri, Apr 15, 2016 at 09:49:46AM +0200, Tobias Rapp wrote: >> Attached an updated patch, rebased onto current git master. >> >> The sample file for the FATE test can be found at: >> https://cerebrum.noa-archive.com/

[FFmpeg-devel] [PATCH 2/2] avfilter/f_metadata: update print output header line format

2016-05-09 Thread Tobias Rapp
Update print mode output header line format to be more consistent with other log output of FFmpeg. The printf-modifiers have been inspired by the showinfo filter. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 8 1 file changed, 4 insertions

[FFmpeg-devel] [PATCH 1/2] avfilter/f_metadata: add pts_time to print output

2016-05-09 Thread Tobias Rapp
This allows e.g. to correlate signalstats metadata to time position without having to find out the filter chain timebase first. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavfilter/f_metadata.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libav

Re: [FFmpeg-devel] [PATCH 2/3] avformat/avienc: add reserve_index_space option

2017-01-31 Thread Tobias Rapp
On 31.01.2017 04:33, Michael Niedermayer wrote: On Mon, Jan 30, 2017 at 04:40:17PM +0100, Tobias Rapp wrote: On 25.01.2017 22:49, Michael Niedermayer wrote: On Mon, Jan 23, 2017 at 11:12:13AM +0100, Tobias Rapp wrote: [...] libavformat/avi.h |1 libavformat/avienc.c

Re: [FFmpeg-devel] [PATCH 3/3] doc/muxers: add AVI muxer documentation

2017-01-31 Thread Tobias Rapp
On 31.01.2017 12:54, Michael Niedermayer wrote: On Wed, Jan 18, 2017 at 10:27:03AM +0100, Tobias Rapp wrote: Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- doc/muxers.texi | 33 + 1 file changed, 33 insertions(+) LGTM Pushed, thanks for the

Re: [FFmpeg-devel] [PATCH] Implement optimal huffman encoding for (M)JPEG.

2017-01-31 Thread Tobias Rapp
On 30.01.2017 04:54, Jerry Jiang wrote: [...] diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak index a51f16c..a325da9 100644 --- a/tests/fate/vcodec.mak +++ b/tests/fate/vcodec.mak @@ -213,11 +213,15 @@ fate-vsynth%-jpeg2000-97: DECINOPTS = -vcodec jpeg2000

[FFmpeg-devel] [PATCH v2 2/3] avcodec: estimate output bitrate for ffv1/huffyuv codecs

2017-02-06 Thread Tobias Rapp
Allows to get a more realistic total bitrate (and estimated file size) in avi_write_header. Previously a static default value of 200k was assumed. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavcodec/ffv1enc.c | 4 libavcodec/huffyu

[FFmpeg-devel] [PATCH v2 1/3] ffmpeg_opt: pass output framerate as a hint to the encoder

2017-02-06 Thread Tobias Rapp
Sets framerate field in output codec context if explicitly specified on the command-line. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- ffmpeg_opt.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 6a47d32..3b532da 100644 --- a/ffmpeg_opt.c

[FFmpeg-devel] [PATCH v2 3/3] avcodec: estimate output bitrate for uncompressed video codecs

2017-02-06 Thread Tobias Rapp
Allows to get a more realistic total bitrate (and estimated file size) in avi_write_header. Previously a static default value of 200k was assumed. Signed-off-by: Tobias Rapp <t.r...@noa-archive.com> --- libavcodec/r210enc.c | 15 +++ libavcodec/ra

[FFmpeg-devel] [PATCH][RFC] avcodec: estimate output bitrate for ffv1/huffyuv codecs

2017-02-01 Thread Tobias Rapp
(but don't know typical compression ratios). Comments welcome. Regards, Tobias >From bde1687baa0de1929c24bec8605285aba6fb9c85 Mon Sep 17 00:00:00 2001 From: Tobias Rapp <t.r...@noa-archive.com> Date: Tue, 31 Jan 2017 15:01:47 +0100 Subject: [PATCH] avcodec: estimate output bitrate for ffv1/huffy

Re: [FFmpeg-devel] [PATCH 2/3] avformat/avienc: add reserve_index_space option

2017-01-23 Thread Tobias Rapp
On 20.01.2017 21:02, Michael Niedermayer wrote: On Fri, Jan 20, 2017 at 05:06:59PM +0100, Tobias Rapp wrote: On 20.01.2017 15:56, Tobias Rapp wrote: On 19.01.2017 18:32, Michael Niedermayer wrote: On Wed, Jan 18, 2017 at 10:27:02AM +0100, Tobias Rapp wrote: Allows the user to reserve space

  1   2   3   4   5   >