Re: [FFmpeg-devel] [PATCH v5 0/4] Initial implementation of TTML encoding/muxing

2021-02-25 Thread Jan Ekström
On Mon, Feb 22, 2021, 15:32 Jan Ekström wrote: > On Mon, Feb 22, 2021 at 3:19 PM Jan Ekström wrote: > > > > I've intentionally kept this initial version simple (no styling etc) to > focus > > on the basics. As this goes through review, additional features can be > added > > (I had initial PoC fo

Re: [FFmpeg-devel] [PATCH V2 6/7] libavformat/smoothstreamingenc.c: fix build warning for [-Wformat-truncation=]

2021-02-25 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel On Behalf Of Reimar > D?ffinger > Sent: 2021年2月25日 16:22 > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH V2 6/7] > libavformat/smoothstreamingenc.c: fix build warning for > [-Wformat-truncation=] > > > > O

Re: [FFmpeg-devel] Proposal of two projects for GSoC

2021-02-25 Thread Xiang, Haihao
On Thu, 2021-02-25 at 19:05 +0800, Steven Liu wrote: > Artem Galin 于2021年2月24日周三 下午11:46写道: > > > > Hello, > > > > > > > > Please find the proposal for the following two projects for GSoC this year. > > > > The FATE project had been proposed earlier already but I don't know why it > > didn't

Re: [FFmpeg-devel] [PATCH 1/2] aea: make demuxer probing actually work and set title info

2021-02-25 Thread Andreas Rheinhardt
Lynne: > Someone forgot to add `i` to the loop. > Also, the format has a 16-char title that we don't currently > check. > > Bytestream info from: > https://github.com/dcherednik/atracdenc/blob/master/src/aea.cpp > > Patch attached > > @@ -61,12 +61,19 @@ static int aea_read_probe(const AVProbeD

Re: [FFmpeg-devel] [PATCH 2/2] aeaenc: add an aea muxer

2021-02-25 Thread Andreas Rheinhardt
Lynne: > This allows to (re)mux Sony ATRAC1 files. > > Patch attached > > +#include "libavutil/intreadwrite.h" > +#include "avformat.h" > +#include "rawenc.h" > + > +#define AT1_SU_SIZE 212 > + > +typedef struct AEAEncContext { > +uint32_t frame_cnt; > +} AEAEncContext; > + > +static int aea_

[FFmpeg-devel] [PATCH 4/4] avcodec/xpm: Minor speed increase for mod_strcspn() use string pointer

2021-02-25 Thread Jose Da Silva
Incrementing pointer *ps once is faster than computing string[i] for each time we need it. Bug fix: For the remote possibility of a crazy-long comment section that overflows int, this fix can also return a value larger than sizeof(int). Signed-off-by: Jose Da Silva --- libavcodec/xpmdec.c | 27

[FFmpeg-devel] [PATCH 3/4] avcodec/xpm: Minor speed increase for mod_strcspn() use reject pointer

2021-02-25 Thread Jose Da Silva
Incrementing pointer *pr once is faster than computing reject[j] for each time we need it. Signed-off-by: Jose Da Silva --- libavcodec/xpmdec.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/libavcodec/xpmdec.c b/libavcodec/xpmdec.c index 66a9a8008c..7b3d3a7ff5 10

[FFmpeg-devel] [PATCH 2/4] avcodec/xpm: Minor speed increase for mod_strcspn() {string, reject}==0

2021-02-25 Thread Jose Da Silva
Test string==0 once before looping. This avoids testing 'string!=0' i times inside the for i loop, (plus more checks for comments). Test reject==0 once before looping. This avoids testing 'reject!=0' i*[strlen(reject)+1] times inside the for j loop string. Signed-off-by: Jose Da Silva --- libav

[FFmpeg-devel] [PATCH 1/4] avcodec/xpm: Minor speed increase to function hex_char_to_number()

2021-02-25 Thread Jose Da Silva
Search for 0 to 9 first as this is 10/16th of possible choices we want, then search for lowercase 6/16th, or uppercase 6/16th possible choices. This gives us a minor speed increase similar to xbmdec.c nibble search. Some modern compilers complain if using "unsigned" without using "int". Signed-of

Re: [FFmpeg-devel] [PATCH 2/4] avcodec/xpm: Minor speed increase for mod_strcspn() {string, reject}==0

2021-02-25 Thread Jose Da Silva
On February 24, 2021 05:56:17 AM Moritz Barsnick wrote: > On Mon, Feb 22, 2021 at 20:32:14 -0800, Jose Da Silva wrote: > > -for (i = 0; string && string[i]; i++) { > > +if (string == 0) > > "if (!string)" is the preferred style for pointers. Works for me. Updated patches reworked for toda

[FFmpeg-devel] [PATCH 2/2] aeaenc: add an aea muxer

2021-02-25 Thread Lynne
This allows to (re)mux Sony ATRAC1 files. Patch attached >From fd2c5b70c202fd11d48efc5ed4366093351eb0de Mon Sep 17 00:00:00 2001 From: Lynne Date: Fri, 26 Feb 2021 06:25:41 +0100 Subject: [PATCH 2/2] aeaenc: add an aea muxer This allows to (re)mux Sony ATRAC1 files. --- libavformat/Makefile

[FFmpeg-devel] [PATCH 1/2] aea: make demuxer probing actually work and set title info

2021-02-25 Thread Lynne
Someone forgot to add `i` to the loop. Also, the format has a 16-char title that we don't currently check. Bytestream info from: https://github.com/dcherednik/atracdenc/blob/master/src/aea.cpp Patch attached >From b72c6ead223b393a3a117bd85d41832b2edbb504 Mon Sep 17 00:00:00 2001 From: Lynne Da

[FFmpeg-devel] [PATCH] lavu/tx: WIP add x86 assembly

2021-02-25 Thread Lynne
This commit adds sse3 and avx assembly optimizations for 4-point and 8-point transforms only. The code to recombine them into higher-level transforms is non-functional currently, so it's not included here. This is just to get some feedback on possible optimizations. The 4-point assembly is based

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Add webm file extension

2021-02-25 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/matroskadec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c > index 75f72d330c..3879a54af5 100644 > --- a/libavformat/matroskadec.c > +++ b

Re: [FFmpeg-devel] [PATCH] avformat/vividas: Use signed n in read_sb_block()

2021-02-25 Thread Andreas Rheinhardt
Michael Niedermayer: > On Wed, Feb 24, 2021 at 03:23:40PM +0100, Anton Khirnov wrote: >> Quoting Michael Niedermayer (2021-02-15 21:31:23) >>> Fixes: OOM >>> Fixes: >>> 27780/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5097985075314688 >>> >>> Found-by: continuous fuzzing process >>>

Re: [FFmpeg-devel] [PATCH 1/3] avformat/wavenc: Fix leak and segfault on reallocation error

2021-02-25 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Up until now, the wav muxer used a reallocation of the form ptr = > av_realloc(ptr, size); that leaks upon error. Furthermore, if a > failed reallocation happened when writing the trailer, a segfault > would occur due to avio_write(NULL, size) because the muxer only > prints a

Re: [FFmpeg-devel] [PATCH] avformat/vividas: Use signed n in read_sb_block()

2021-02-25 Thread Michael Niedermayer
On Wed, Feb 24, 2021 at 03:23:40PM +0100, Anton Khirnov wrote: > Quoting Michael Niedermayer (2021-02-15 21:31:23) > > Fixes: OOM > > Fixes: > > 27780/clusterfuzz-testcase-minimized-ffmpeg_dem_VIVIDAS_fuzzer-5097985075314688 > > > > Found-by: continuous fuzzing process > > https://github.com/goo

[FFmpeg-devel] [PATCH] avcodec/options: deprecate avcodec_get_frame_class()

2021-02-25 Thread James Almer
AVFrame hasn't been a struct defined in libavcodec for a decade now, when it was moved to libavutil. Found-by: mkver Signed-off-by: James Almer --- libavcodec/avcodec.h | 8 libavcodec/options.c | 2 ++ libavcodec/version.h | 3 +++ 3 files changed, 9 insertions(+), 4 deletions(-) diff

Re: [FFmpeg-devel] [PATCH v7 3/8] libavutil/hwcontext_qsv: enabling d3d11va usage by default, add usage child_device_type argument

2021-02-25 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Artem Galin > Sent: Tuesday, November 3, 2020 7:46 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Artem Galin > Subject: [FFmpeg-devel] [PATCH v7 3/8] libavutil/hwcontext_qsv: enabling > d3d11va usage by default, add usage child_device_ty

Re: [FFmpeg-devel] [PATCH] avcodec/dxtory: Fix undefined shift with negative linesize

2021-02-25 Thread Michael Niedermayer
On Mon, Feb 22, 2021 at 05:56:31PM +0100, Paul B Mahol wrote: > lgtm will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyrant has disposed of foreign enemies by conquest or treaty, and there is nothing more to fear from them, then he is al

Re: [FFmpeg-devel] [PATCH] avfilter/lavfutils.h: Don't include avformat.h

2021-02-25 Thread James Almer
On 2/25/2021 1:35 PM, Andreas Rheinhardt wrote: Only lavfutils.c needs avformat.h, not lavfutils.h. Signed-off-by: Andreas Rheinhardt --- libavfilter/lavfutils.c | 1 + libavfilter/lavfutils.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/lavfutils.c b/l

Re: [FFmpeg-devel] [PATCH V2 1/7] libavdevice/v4l2.c: fix build warning for [-Wformat-truncation=]

2021-02-25 Thread Chad Fraleigh
On 2/24/2021 10:38 PM, Guo, Yejun wrote: Here is the warning message: src/libavdevice/v4l2.c: In function ‘v4l2_get_device_list’: src/libavdevice/v4l2.c:1054:58: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size 251 [-Wformat-truncation=] s

Re: [FFmpeg-devel] Proposal of two projects for GSoC

2021-02-25 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Artem Galin > Sent: Thursday, February 25, 2021 12:31 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] Proposal of two projects for GSoC > > On Wed, 24 Feb 2021 at 17:01, Soft Wo

Re: [FFmpeg-devel] [PATCH] avformat/avlanguage: Remove long disabled av_convert_lang_to

2021-02-25 Thread Paul B Mahol
On Thu, Feb 25, 2021 at 6:33 PM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > 1582e306a47977b09fddb029b999f99eb03cd485 slated it for removal with > typo, 'slated'. probably ok libavformat major version 58, but it was never removed. > > Signed-off-by: Andreas Rheinhardt > --- >

[FFmpeg-devel] [PATCH] avformat/avlanguage: Remove long disabled av_convert_lang_to

2021-02-25 Thread Andreas Rheinhardt
1582e306a47977b09fddb029b999f99eb03cd485 slated it for removal with libavformat major version 58, but it was never removed. Signed-off-by: Andreas Rheinhardt --- libavformat/avlanguage.c | 7 --- libavformat/avlanguage.h | 7 --- 2 files changed, 14 deletions(-) diff --git a/libavformat

Re: [FFmpeg-devel] [PATCH 3/2] doc/encoders: Add documentation for the GIF encoder

2021-02-25 Thread Derek Buitenhuis
On 21/02/2021 21:02, Moritz Barsnick wrote: >> +@item global_palette @var{integer} >> +Writes a palette to the global GIF header whee feasible. > ^ where > Fixed and pushed the set (+1 other small fix). - Derek ___

[FFmpeg-devel] [PATCH] avfilter/lavfutils.h: Don't include avformat.h

2021-02-25 Thread Andreas Rheinhardt
Only lavfutils.c needs avformat.h, not lavfutils.h. Signed-off-by: Andreas Rheinhardt --- libavfilter/lavfutils.c | 1 + libavfilter/lavfutils.h | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/libavfilter/lavfutils.c b/libavfilter/lavfutils.c index f8f8415c80..34051ee61d 1

Re: [FFmpeg-devel] [PATCH v2 4/4] avcodec/avcodec: Add missing deprecation to AVCodecParser.next

2021-02-25 Thread James Almer
On 2/25/2021 1:27 PM, Andreas Rheinhardt wrote: The whole old next API has been deprecated in commit 7e8eba2d8755962d9dca5eade57bf8f591a73c0c, yet deprecating the next pointer has been forgotten (the next pointers of other structures are below the public API delimiter, but such a delimiter doesn'

[FFmpeg-devel] [PATCH v2 4/4] avcodec/avcodec: Add missing deprecation to AVCodecParser.next

2021-02-25 Thread Andreas Rheinhardt
The whole old next API has been deprecated in commit 7e8eba2d8755962d9dca5eade57bf8f591a73c0c, yet deprecating the next pointer has been forgotten (the next pointers of other structures are below the public API delimiter, but such a delimiter doesn't exist for AVCodecParser). Signed-off-by: Andrea

Re: [FFmpeg-devel] [PATCH v7 8/8] libavfilter/vf_deinterlace_qsv: enabling d3d11va support, added mfxhdlpair

2021-02-25 Thread Soft Works
> -Original Message- > From: ffmpeg-devel On Behalf Of > Artem Galin > Sent: Thursday, February 25, 2021 12:34 PM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH v7 8/8] libavfilter/vf_deinterlace_qsv: > enabling d3d11va support, a

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/transform: Stop exporting internal functions

2021-02-25 Thread Andreas Rheinhardt
James Almer: > On 2/25/2021 11:44 AM, Andreas Rheinhardt wrote: >> James Almer: >>> On 2/24/2021 9:31 PM, Andreas Rheinhardt wrote: James Almer: > On 2/24/2021 11:22 AM, Andreas Rheinhardt wrote: >> avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of >> the >> pu

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/transform: Stop exporting internal functions

2021-02-25 Thread James Almer
On 2/25/2021 11:44 AM, Andreas Rheinhardt wrote: James Almer: On 2/24/2021 9:31 PM, Andreas Rheinhardt wrote: James Almer: On 2/24/2021 11:22 AM, Andreas Rheinhardt wrote: avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the public API (transform.h is not a public header), y

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/transform: Stop exporting internal functions

2021-02-25 Thread Andreas Rheinhardt
James Almer: > On 2/24/2021 9:31 PM, Andreas Rheinhardt wrote: >> James Almer: >>> On 2/24/2021 11:22 AM, Andreas Rheinhardt wrote: avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the public API (transform.h is not a public header), yet they are currently exported

Re: [FFmpeg-devel] [PATCH 1/4] avformat/wavenc: Improve unsupported codec error messages

2021-02-25 Thread Paul B Mahol
lgtm ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/transform: Stop exporting internal functions

2021-02-25 Thread James Almer
On 2/24/2021 9:31 PM, Andreas Rheinhardt wrote: James Almer: On 2/24/2021 11:22 AM, Andreas Rheinhardt wrote: avfilter_transform, avfilter_(add|sub|mult)_matrix are not part of the public API (transform.h is not a public header), yet they are currently exported because of their name. This commi

Re: [FFmpeg-devel] [PATCH 4/4] avcodec/avcodec: Add missing deprecation to AVCodecParser.next

2021-02-25 Thread James Almer
On 2/25/2021 11:05 AM, Andreas Rheinhardt wrote: The whole old next API has been deprecated in commit 7e8eba2d8755962d9dca5eade57bf8f591a73c0c, yet deprecating the next pointer has been forgotten (the next pointers of other structures are below the public API delimiter, but such a delimiter doesn

[FFmpeg-devel] [PATCH 4/4] avcodec/avcodec: Add missing deprecation to AVCodecParser.next

2021-02-25 Thread Andreas Rheinhardt
The whole old next API has been deprecated in commit 7e8eba2d8755962d9dca5eade57bf8f591a73c0c, yet deprecating the next pointer has been forgotten (the next pointers of other structures are below the public API delimiter, but such a delimiter doesn't exist for AVCodecParser). Signed-off-by: Andrea

[FFmpeg-devel] [PATCH 3/4] fftools: Switch to const AVCodec * where possible

2021-02-25 Thread Andreas Rheinhardt
The obstacle to do so was in filter_codec_opts: It uses searches the AVCodec for options via the AV_OPT_SEARCH_FAKE_OBJ method, which requires using a void * that points to a pointer to a const AVClass. When using const AVCodec *, one can not simply use a pointer that points to the AVCodec's pointe

[FFmpeg-devel] [PATCH 2/4] avcodec/libx264: Don't use init_static_data for newer versions

2021-02-25 Thread Andreas Rheinhardt
x264 versions >= 153 can support multiple bitdepths; they also don't export x264_bit_depth any more. The actual check whether a bitdepth is supported is therefore performed at runtime in x264_encoder_open. Ergo it is unnecessary to use init_static_data for these versions: One can already set ff_lib

[FFmpeg-devel] [PATCH 1/4] avformat/wavenc: Improve unsupported codec error messages

2021-02-25 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- The actual aim is of course to remove a nonconst AVCodec. libavformat/wavenc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/libavformat/wavenc.c b/libavformat/wavenc.c index b65b8b0940..078b7fcd9a 100644 --- a/libavform

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
On Thu, Feb 25, 2021 at 12:47 PM Nicolas George wrote: > Werner Robitza (12021-02-25): > > After fiddling around a bit, when I run: > > > > ffprobe -loglevel error -f lavfi -i "testsrc,signalstats" > > -show_entries tags -of csv=nk=0 | head -n 1 > > > > I get a line like: > > > > packet,tag:lavfi.

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Nicolas George
Werner Robitza (12021-02-25): > Would you accept this patch if this particular function was extracted > to an API and re-used by ffprobe? (And potentially segment.c …) Yes, but I must warn you that the constraints on a libavutil API are stronger than the constraints on helper functions in ffprobe.

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Nicolas George
Werner Robitza (12021-02-25): > After fiddling around a bit, when I run: > > ffprobe -loglevel error -f lavfi -i "testsrc,signalstats" > -show_entries tags -of csv=nk=0 | head -n 1 > > I get a line like: > > packet,tag:lavfi.signalstats.YMIN=16,tag:lavfi.signalstats.YLOW=16,… I doubt ffprobe di

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
On Thu, Feb 25, 2021 at 11:26 AM Nicolas George wrote: > Werner Robitza (12021-02-24): > > I didn't really duplicate anything; this was mostly from scratch. The > > case could be made that a function for escaping CSV could be shared. > > The variable names seemed quite similar. Anyway, duplicating

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
On Thu, Feb 25, 2021 at 11:25 AM Nicolas George wrote: > > Werner Robitza (12021-02-25): > > If you are referring to: > > > > -vf your_filter,metadata=mode=print > > > > That does not work in ffprobe. > > Of course, since ffprobe does the printing for you. At the risk of repeating the same questi

Re: [FFmpeg-devel] [RFC] Unified string / stream API

2021-02-25 Thread Nicolas George
We have more and more users demanding a better output for the side information generated by filters and other components than savage log output. That probably means moving the formatted writer features of ffprobe into proper libavutil APIs. But ffprobe only outputs to standard output, a proper API

Re: [FFmpeg-devel] [PATCH v7 8/8] libavfilter/vf_deinterlace_qsv: enabling d3d11va support, added mfxhdlpair

2021-02-25 Thread Artem Galin
On Wed, 24 Feb 2021 at 17:50, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Artem Galin > > Sent: Tuesday, November 3, 2020 7:46 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Artem Galin > > Subject: [FFmpeg-devel] [PATCH v7 8/8] libavfilter/vf_deinte

Re: [FFmpeg-devel] Proposal of two projects for GSoC

2021-02-25 Thread Artem Galin
On Wed, 24 Feb 2021 at 17:01, Soft Works wrote: > > > > -Original Message- > > From: ffmpeg-devel On Behalf Of > > Artem Galin > > Sent: Wednesday, February 24, 2021 4:40 PM > > To: FFmpeg development discussions and patches > de...@ffmpeg.org> > > Subject: [FFmpeg-devel] Proposal of tw

Re: [FFmpeg-devel] Proposal of two projects for GSoC

2021-02-25 Thread Steven Liu
Artem Galin 于2021年2月24日周三 下午11:46写道: > > Hello, > > > > Please find the proposal for the following two projects for GSoC this year. > > The FATE project had been proposed earlier already but I don't know why it > didn't happen. > > I previously got the feedback from Thilo Borgmann and would be hap

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Nicolas George
Werner Robitza (12021-02-24): > I didn't really duplicate anything; this was mostly from scratch. The > case could be made that a function for escaping CSV could be shared. The variable names seemed quite similar. Anyway, duplicating a feature is just as bad as duplicating code. > There are at le

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Nicolas George
Werner Robitza (12021-02-25): > If you are referring to: > > -vf your_filter,metadata=mode=print > > That does not work in ffprobe. Of course, since ffprobe does the printing for you. > For instance, using the patch I submitted, I can get easy to parse output > like: Parsing the standard outp

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Nicolas George
Werner Robitza (12021-02-25): > > This adds a new option to the metadata filter that allows outputting CSV > > data. > > The separator can be set via another option. > > Special characters are handled via escaping. > > Fixed a newline bug and removed unused function. Still duplicating code from

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/transform: Stop exporting internal functions

2021-02-25 Thread Nicolas George
Andreas Rheinhardt (12021-02-25): > And why? There was never a legitimate outside user of these functions. I agree with that. Something that was not part of the API cannot be considered part of the ABI. If some project use these functions, they were explicitly cheating, and they knew it. Regards,

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
On Thu, Feb 25, 2021 at 1:32 AM Paul B Mahol wrote: > On Wed, Feb 24, 2021 at 9:48 PM Werner Robitza > wrote: >> Could please show an example on how to achieve this with ffprobe? > See same thread where I replied or use search. If you are referring to: -vf your_filter,metadata=mode=print That

Re: [FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
On Thu, Feb 25, 2021 at 9:34 AM Werner Robitza wrote: > > This adds a new option to the metadata filter that allows outputting CSV data. > The separator can be set via another option. > Special characters are handled via escaping. Fixed a newline bug and removed unused function. _

[FFmpeg-devel] [PATCH] filters/metadata: add CSV output support

2021-02-25 Thread Werner Robitza
This adds a new option to the metadata filter that allows outputting CSV data. The separator can be set via another option. Special characters are handled via escaping. Signed-off-by: Werner Robitza --- doc/filters.texi | 14 libavfilter/f_metadata.c | 155 +

Re: [FFmpeg-devel] [PATCH V2 6/7] libavformat/smoothstreamingenc.c: fix build warning for [-Wformat-truncation=]

2021-02-25 Thread Reimar Döffinger
> On 25 Feb 2021, at 07:38, Guo, Yejun wrote: > --- a/libavformat/smoothstreamingenc.c > +++ b/libavformat/smoothstreamingenc.c > @@ -501,7 +501,7 @@ static int ism_flush(AVFormatContext *s, int final) > > for (i = 0; i < s->nb_streams; i++) { > OutputStream *os = &c->streams[i]; > -