Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-22 Thread Nicolas George
Le sextidi 26 brumaire, an CCXXIV, Marton Balint a écrit : > No, the reason behind the return value is based on how the select filter > works which is: > - negative or NaN - frame is sent to the first output > - zero - frame is discarded > - positive - frame is sent to the output with index ceil(va

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-20 Thread Marton Balint
On Mon, 16 Nov 2015, Stefano Sabatini wrote: +@item concatdec_select +The concat demuxer can set the @var{lavf.concat.start_time} and the +@var{lavf.concat.duration} packet metadata values which are also present in the +decoded frames. + +The @var{concatdec_select} variable is -1 if the fram

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-16 Thread Marton Balint
On Mon, 16 Nov 2015, Nicolas George wrote: Le quartidi 24 brumaire, an CCXXIV, Marton Balint a écrit : No, this is deliberately -1. This is the case where the duration metadata is missing (because it is unkown), but this also means that the outpoint was not set in the file segment, therefore w

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-16 Thread Nicolas George
Le quartidi 24 brumaire, an CCXXIV, Marton Balint a écrit : > No, this is deliberately -1. This is the case where the duration metadata is > missing (because it is unkown), but this also means that the outpoint was > not set in the file segment, therefore we need to select every frame after > start

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-16 Thread Stefano Sabatini
On date Tuesday 2015-11-10 00:25:30 +0100, Marton Balint encoded: > This option can be used to select useful frames from an ffconcat file which is > using inpoints and outpoints but where the source files are not intra frame > only. > > Signed-off-by: Marton Balint > --- > doc/filters.texi

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-14 Thread Marton Balint
On Fri, 13 Nov 2015, Nicolas George wrote: [...] +AVDictionary *metadata = av_frame_get_metadata(frame); +AVDictionaryEntry *e1 = av_dict_get(metadata, "lavf.concatdec.start_time", NULL, 0); +AVDictionaryEntry *e2 = av_dict_get(metadata, "lavf.concatdec.duration", NULL, 0); +

Re: [FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-13 Thread Nicolas George
Le decadi 20 brumaire, an CCXXIV, Marton Balint a écrit : > This option can be used to select useful frames from an ffconcat file which is > using inpoints and outpoints but where the source files are not intra frame > only. > > Signed-off-by: Marton Balint > --- > doc/filters.texi | 17 ++

[FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-11-09 Thread Marton Balint
This option can be used to select useful frames from an ffconcat file which is using inpoints and outpoints but where the source files are not intra frame only. Signed-off-by: Marton Balint --- doc/filters.texi | 17 + libavfilter/f_select.c | 27 +++

[FFmpeg-devel] [PATCH 5/5] lavfi/select: add support for concatdec_select option

2015-10-24 Thread Marton Balint
This option can be used to select useful frames from an ffconcat file which is using inpoints and outpoints but where the source files are not intra frame only. Signed-off-by: Marton Balint --- doc/filters.texi | 17 + libavfilter/f_select.c | 20 2 fil