Re: [FFmpeg-devel] [PATCH] avformat: add AVFMT_FULLREAD for standalone subtitles formats

2014-10-24 Thread wm4
On Thu, 23 Oct 2014 23:45:19 +0200 Clément Bœsch wrote: > --- > Requested by wm4, who is concerned about opening a thousands of > subtitles files at once. > > I'm a bit concerned about the fact that the avio is not closed until > later. Yep. It's not that unusual for a media player to open a la

Re: [FFmpeg-devel] [PATCH]Mention in the documentation that fieldmatch needs cfr input

2014-10-24 Thread tim nicholson
On 23/10/14 17:06, Dave Rice wrote: > On Oct 23, 2014, at 4:05 AM, Clément Bœsch wrote: >> On Tue, Oct 21, 2014 at 09:32:39AM +0200, Carl Eugen Hoyos wrote: >>> Hi! >>> >>> It appears to me that we all know that fieldmatch needs cfr input, >>> but it isn't mentioned in the documentation. >>> Rela

Re: [FFmpeg-devel] [PATCH]Mention in the documentation that fieldmatch needs cfr input

2014-10-24 Thread Clément Bœsch
On Thu, Oct 23, 2014 at 05:58:48PM +0200, Carl Eugen Hoyos wrote: > On Thursday 23 October 2014 10:05:07 am Clément Bœsch wrote: > > > +The filter only works for strictly constant frame rate input. If your > > > input +has variable frame rate, try the @ref{pullup} filter. > > > + > > > > Well... is

[FFmpeg-devel] [PATCH] avcodec/aacdec: warn user when remapping streams.

2014-10-24 Thread Benoit Fouet
--- libavcodec/aac.h| 1 + libavcodec/aacdec.c | 12 2 files changed, 13 insertions(+) diff --git a/libavcodec/aac.h b/libavcodec/aac.h index 1bcd95c..387e103 100644 --- a/libavcodec/aac.h +++ b/libavcodec/aac.h @@ -274,6 +274,7 @@ struct AACContext { ChannelElement

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2014-10-24 Thread Nicolas George
Le duodi 2 brumaire, an CCXXIII, Clement Boesch a écrit : > I'd be curious to hear about how VapourSynth & friends handle that > problem, because AFAIK it's only one way. It's likely they don't have to > deal with the same problems we have though (the usage is more limited, no > audio typically); t

[FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-24 Thread arwa arif
From a4b2a4fecbb147b285cf8609d9c0144081e3c40a Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Fri, 24 Oct 2014 16:49:40 +0530 Subject: [PATCH] lvafi: add xBR filter Makefile allfilter.c --- libavfilter/Makefile |1 + libavfilter/allfilters.c |1 + libavfilter/vf_xbr.c | 359 +++

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-24 Thread Clément Bœsch
On Fri, Oct 24, 2014 at 07:01:11PM +0530, arwa arif wrote: > From a4b2a4fecbb147b285cf8609d9c0144081e3c40a Mon Sep 17 00:00:00 2001 > From: Arwa Arif > Date: Fri, 24 Oct 2014 16:49:40 +0530 > Subject: [PATCH] lvafi: add xBR filter > > Makefile > > allfilter.c I don't think this belongs in the

[FFmpeg-devel] regarding dsputil_init function (Audio MLP Encoder)

2014-10-24 Thread greeshma
hi, There is no dsputil_init function any where,neither is dsputil_init.c file .is it replced anywhere?? i have to use it for mlp encoding of pcm file Greeshma Balabhadra ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/l

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2014-10-24 Thread Nicolas George
Le duodi 2 brumaire, an CCXXIII, Clement Boesch a écrit : > More still standing problems while we are at it: > >1.7. Metadata > > Metadata are not available at "graph" level, or at least filter > level, only at frame level. We also need to define how they can be > injected and

[FFmpeg-devel] [PATCH] avformat/mpegtsenc: add an option to disable first PTS check.

2014-10-24 Thread Benoit Fouet
Fixes ticket #1598 --- libavformat/mpegtsenc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index d73b75f..74541d1 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -91,6 +91,7 @@ typedef struct MpegT

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: add an option to disable first PTS check.

2014-10-24 Thread Nicolas George
Le tridi 3 brumaire, an CCXXIII, Benoit Fouet a écrit : > Fixes ticket #1598 > --- > libavformat/mpegtsenc.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) Are the produced files valid? If they are, why do the test at all? If they are not, can this be considered actually a fix for t

[FFmpeg-devel] [PATCH] lavd/avfoundation: Add support for screen capturing.

2014-10-24 Thread Thilo Borgmann
Hi, Joseph Benden's pull request required some rework to properly fit into avfoundation device. However, I adapted his patches and added screen capturing support based on that. Thanks! -Thilo From 3962fee23b74ee4f550c57665be2a9a31359c34e Mon Sep 17 00:00:00 2001 From: Thilo Borgmann Date: Fri, 2

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2014-10-24 Thread wm4
On Fri, 24 Oct 2014 13:07:22 +0200 Nicolas George wrote: > Le duodi 2 brumaire, an CCXXIII, Clement Boesch a écrit : > > I'd be curious to hear about how VapourSynth & friends handle that > > problem, because AFAIK it's only one way. It's likely they don't have to > > deal with the same problems

[FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

2014-10-24 Thread Andrey Utkin
--- libavdevice/v4l2.c | 8 1 file changed, 8 insertions(+) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index cf7a92c..ebc50bb 100644 --- a/libavdevice/v4l2.c +++ b/libavdevice/v4l2.c @@ -806,6 +806,13 @@ static int device_try_init(AVFormatContext *ctx, return ret; } +st

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: add an option to disable first PTS check.

2014-10-24 Thread Benoit Fouet
Hi, Le 24/10/2014 16:47, Nicolas George a écrit : > Le tridi 3 brumaire, an CCXXIII, Benoit Fouet a écrit : >> Fixes ticket #1598 >> --- >> libavformat/mpegtsenc.c | 6 +- >> 1 file changed, 5 insertions(+), 1 deletion(-) > Are the produced files valid? If they are, why do the test at all? If

Re: [FFmpeg-devel] [PATCH] avformat/mpegtsenc: add an option to disable first PTS check.

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 04:47:51PM +0200, Nicolas George wrote: > Le tridi 3 brumaire, an CCXXIII, Benoit Fouet a écrit : > > Fixes ticket #1598 > > --- > > libavformat/mpegtsenc.c | 6 +- > > 1 file changed, 5 insertions(+), 1 deletion(-) > > Are the produced files valid? If they are, why do

Re: [FFmpeg-devel] [PATCH] avformat: add AVFMT_FULLREAD for standalone subtitles formats

2014-10-24 Thread Michael Niedermayer
On Thu, Oct 23, 2014 at 11:45:19PM +0200, Clément Bœsch wrote: > --- > Requested by wm4, who is concerned about opening a thousands of > subtitles files at once. > > I'm a bit concerned about the fact that the avio is not closed until > later. > --- > doc/APIchanges | 5 + > lib

Re: [FFmpeg-devel] regarding dsputil_init function (Audio MLP Encoder)

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 07:31:59PM +0530, greeshma wrote: > hi, > > There is no dsputil_init function any where,neither is dsputil_init.c file > .is it replced anywhere?? dsputil_init() existed in previous releases, it was removed when dsputil was split in multiple smaller dsp contexts each havin

Re: [FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

2014-10-24 Thread Benoit Fouet
Hi, Le 24/10/2014 17:50, Andrey Utkin a écrit : > --- > libavdevice/v4l2.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c > index cf7a92c..ebc50bb 100644 > --- a/libavdevice/v4l2.c > +++ b/libavdevice/v4l2.c > @@ -806,6 +806,13 @@ static i

Re: [FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

2014-10-24 Thread Nicolas George
Le tridi 3 brumaire, an CCXXIII, Andrey Utkin a écrit : > --- > libavdevice/v4l2.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c > index cf7a92c..ebc50bb 100644 > --- a/libavdevice/v4l2.c > +++ b/libavdevice/v4l2.c > @@ -806,6 +806,13 @@

Re: [FFmpeg-devel] Evolution of lavfi's design and API

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 04:22:23PM +0200, Nicolas George wrote: > Le duodi 2 brumaire, an CCXXIII, Clement Boesch a écrit : [...] > As for the actual implementation, I suppose that a filter that supports > seeking would be required to advertise so on its output: "I can seek back to > pts=42", and

Re: [FFmpeg-devel] [PATCH] avcodec/aacdec: warn user when remapping streams.

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 12:31:45PM +0200, Benoit Fouet wrote: > --- > libavcodec/aac.h| 1 + > libavcodec/aacdec.c | 12 > 2 files changed, 13 insertions(+) > > diff --git a/libavcodec/aac.h b/libavcodec/aac.h > index 1bcd95c..387e103 100644 applied thanks [...] -- Michael

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-24 Thread arwa arif
I have taken care of aal the things mentioned except the floating point. I will update the floating point part till tomorrow. For now, I have attached the patch updated till now. On Fri, Oct 24, 2014 at 7:28 PM, Clément Bœsch wrote: > On Fri, Oct 24, 2014 at 07:01:11PM +0530, arwa arif wrote: >

Re: [FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

2014-10-24 Thread Andrey Utkin
2014-10-24 20:34 GMT+04:00 Benoit Fouet : > Shouldn't this also test p->filename for non-NULLness? > LGTM otherwise. The code was copied from lavf/rtspdec.c There're places with same code. If this is really needed, then we should update it in other places. libavformat/sapdec.c:static int sap_prob

Re: [FFmpeg-devel] [PATCH] lavfi: add xbr filter

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 10:34:32PM +0530, arwa arif wrote: > I have taken care of aal the things mentioned except the floating point. I > will update the floating point part till tomorrow. For now, I have attached > the patch updated till now. [...] > vf_xbr.c | 418 > ++

Re: [FFmpeg-devel] [PATCH] lavd/alsa: implement get_device_list callbacks

2014-10-24 Thread Lukasz Marek
On 23.10.2014 14:28, Nicolas George wrote: Le primidi 1er brumaire, an CCXXIII, Lukasz Marek a écrit : It gives the same list as aplay -L (upper case). For example (ffmpeg will display it in different way, but the content is the same) I thought for a time that "dmix:CARD=PCH,DEV=0" had placeho

Re: [FFmpeg-devel] [PATCH 2/2] opts: add list device sources/sinks options

2014-10-24 Thread Lukasz Marek
On 22.10.2014 02:02, Michael Niedermayer wrote: it seems the only use of this function is under #if CONFIG_AVDEVICE so the fallback shouldnt be needed same for the other function also mising documentation and example in docs Updated patch is attached. >From 545cb5b81e9d4b8dee3d6e1e34f72cd165

Re: [FFmpeg-devel] [PATCH 2/2] opts: add list device sources/sinks options

2014-10-24 Thread Michael Niedermayer
On Fri, Oct 24, 2014 at 10:08:21PM +0200, Lukasz Marek wrote: > On 22.10.2014 02:02, Michael Niedermayer wrote: > > > >it seems the only use of this function is under #if CONFIG_AVDEVICE > >so the fallback shouldnt be needed > >same for the other function > > > >also mising documentation and exampl

[FFmpeg-devel] [PATCH] doc/fftools-common-opts: document -devices option

2014-10-24 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- doc/fftools-common-opts.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/fftools-common-opts.texi b/doc/fftools-common-opts.texi index 18027d2..c0bfb7e 100644 --- a/doc/fftools-common-opts.texi +++ b/doc/fftools-common-opts.texi @@ -

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/libutvideodec: Support YUV422P10

2014-10-24 Thread Michael Niedermayer
On Sun, Oct 19, 2014 at 08:35:08PM +0200, Benoit Fouet wrote: > Hi, > > On 19 October 2014 14:52:17 CEST, Michael Niedermayer > wrote: > >Based on ConvertToPlanar() from libutvideo > >libutvideo sadly does not seem to support exporting its internal planar > >buffers > > > >Signed-off-by: Michael

Re: [FFmpeg-devel] [PATCH] Use v4l2 input format automatically if filename starts with "/dev/video"

2014-10-24 Thread Timothy Gu
On Fri, Oct 24, 2014 at 11:50 AM, Andrey Utkin wrote: > 2014-10-24 20:34 GMT+04:00 Benoit Fouet : >> Shouldn't this also test p->filename for non-NULLness? >> LGTM otherwise. > > The code was copied from lavf/rtspdec.c > There're places with same code. > If this is really needed, then we should up

[FFmpeg-devel] [PATCH] libavformat/mxfdec: read source timecode from pulldown component

2014-10-24 Thread Mark Reid
hi, Some avid generated mxf files store source timecode component on a pulldown component in the physcial source package. This patch adds support for reading source timecode from the pulldown component if it is there. I was unable to find a pre-existing sample so I upload one to upload.ffmpeg.org

[FFmpeg-devel] [PATCH] libavformat/mxfdec: read source timecode from pulldown component

2014-10-24 Thread Mark Reid
--- libavformat/mxf.h | 1 + libavformat/mxfdec.c | 31 +-- tests/ref/lavf/mxf | 6 +++--- tests/ref/lavf/mxf_d10 | 2 +- 4 files changed, 34 insertions(+), 6 deletions(-) diff --git a/libavformat/mxf.h b/libavformat/mxf.h index 036c15e..5b95efa 100644 --