Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Clément Bœsch
On Mon, Aug 11, 2014 at 01:49:19AM +0200, Michael Niedermayer wrote: > From: Luca Barbato > > TODO:bump > > Signed-off-by: Michael Niedermayer > --- > libswresample/Makefile |1 + > libswresample/swresample.h | 61 +++ > libswresample/swresample_frame.c | 158

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Kieran Kunhya
On 11 August 2014 00:49, Michael Niedermayer wrote: > From: Luca Barbato Clearly this is Luca's patch but rewritten by you for swr so you should say "Based on patch from Luca for avresample" or similar. IANAL but this is quite dubious from a copyright perspective. ___

Re: [FFmpeg-devel] [PATCH] avcodec: add C xvid IDCT support

2014-08-11 Thread James Darnley
On 2014-08-11 07:44, Clément Bœsch wrote: > /** > * @file > * Walken IDCT > * Alternative idct implementations for decoding compatibility > * > * @author Skal > * @note this "C" version is not the original one, but is modified to > * yield the same error profile than the MMX version.

[FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Steven Liu
Hi Guys, The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the old ts segment file. If always run this module, the disk will full, so this patch can fix the problem. When update the segment list m3u8 file, it will delete the ts segment out range from the list file.

Re: [FFmpeg-devel] [PATCH] avcodec: add C xvid IDCT support

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 07:44:25AM +0200, Clément Bœsch wrote: > On Mon, Aug 11, 2014 at 05:18:32AM +0200, Michael Niedermayer wrote: > > From: Pascal Massimino > > > > Thanks to Pascal Massimino and Michael Militzer for permission to use under > > LGPL > > Signed-off-by: Michael Niedermayer >

Re: [FFmpeg-devel] [PATCH] avcodec: add C xvid IDCT support

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:56:11AM +0200, James Darnley wrote: > On 2014-08-11 07:44, Clément Bœsch wrote: > > /** > > * @file > > * Walken IDCT > > * Alternative idct implementations for decoding compatibility > > * > > * @author Skal > > * @note this "C" version is not the original one, but

Re: [FFmpeg-devel] [PATCH] avcodec: add C xvid IDCT support

2014-08-11 Thread James Darnley
On 2014-08-11 12:39, Michael Niedermayer wrote: > On Mon, Aug 11, 2014 at 10:56:11AM +0200, James Darnley wrote: >> On 2014-08-11 07:44, Clément Bœsch wrote: >>> /** >>> * @file >>> * Walken IDCT >>> * Alternative idct implementations for decoding compatibility >>> * >>> * @author Skal >>> *

Re: [FFmpeg-devel] [PATCH] avcodec: add C xvid IDCT support

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 12:36:56AM -0300, James Almer wrote: > On 11/08/14 12:18 AM, Michael Niedermayer wrote: > > From: Pascal Massimino > > > > Thanks to Pascal Massimino and Michael Militzer for permission to use under > > LGPL > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/

Re: [FFmpeg-devel] [PATCH 1/4] lavc: stop exporting internal functions and tables

2014-08-11 Thread Michael Niedermayer
On Sat, Aug 09, 2014 at 09:04:32PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/libavcodec.v | 18 -- > 1 file changed, 18 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Asymptotically

Re: [FFmpeg-devel] [PATCH 1/2] lavc/raw: remove obsolete ff_raw_pix_fmt_tags cruft

2014-08-11 Thread Michael Niedermayer
On Sat, Aug 09, 2014 at 10:01:46PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/raw.h | 4 > 1 file changed, 4 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB You can kill me, but you cannot change

Re: [FFmpeg-devel] [PATCH 2/2] lavf/mpegts: remove obsolete ff_mpegts_parse_* cruft

2014-08-11 Thread Michael Niedermayer
On Sat, Aug 09, 2014 at 10:01:47PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavformat/mpegts.c | 18 -- > libavformat/mpegts.h | 7 --- > 2 files changed, 25 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF1

[FFmpeg-devel] [PATCH] avformat/metadata: Implement AVFMT_FLAG_NO_META_CONV

2014-08-11 Thread Mohammad Alsaleh
Decoders/parsers run ff_metadata_conv() unconditionally. This makes it impossible to retrieve or keep original metadata field names. If one wishes to skip ff_metadata_conv() calls at the decoding/parsing stage. This patch implements AVFMT_FLAG_NO_META_CONV which is set by the decoding fflag o

Re: [FFmpeg-devel] [PATCH 2/4] lavf: stop exporting internal functions

2014-08-11 Thread Michael Niedermayer
On Sat, Aug 09, 2014 at 09:04:33PM -0300, James Almer wrote: > Except for those currently used by ffserver. > > Signed-off-by: James Almer > --- > libavformat/libavformat.v | 9 - > 1 file changed, 9 deletions(-) mostly applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B1

[FFmpeg-devel] [PATCH] avcodec: export motion vectors in frame side data on demand

2014-08-11 Thread Clément Bœsch
From: Clément Bœsch The reasoning behind this addition is that various third party applications are interested in getting some motion information out of a video "for free" when it is available. It was considered to export other information as well (such as the intra information about the block,

Re: [FFmpeg-devel] rectification filter

2014-08-11 Thread Daniel Oberhoff
Am 11.08.2014 um 00:20 schrieb Michael Niedermayer : > On Sun, Aug 10, 2014 at 08:36:37PM +0200, Daniel Oberhoff wrote: >> >> >> Von meinem iPhone gesendet >> >>> Am 10.08.2014 um 17:50 schrieb Michael Niedermayer : >>> On Sun, Aug 10, 2014 at 03:36:04PM +0200, Nicolas George wrote:

Re: [FFmpeg-devel] rectification filter

2014-08-11 Thread Clément Bœsch
On Mon, Aug 11, 2014 at 05:33:10PM +0200, Daniel Oberhoff wrote: > > Am 11.08.2014 um 00:20 schrieb Michael Niedermayer : > > > On Sun, Aug 10, 2014 at 08:36:37PM +0200, Daniel Oberhoff wrote: > >> > >> > >> Von meinem iPhone gesendet > >> > >>> Am 10.08.2014 um 17:50 schrieb Michael Niedermay

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Theodore Ts'o
On Sun, Aug 10, 2014 at 12:25:33AM -0700, Andrew Kelley wrote: > > High quality libraries must iterate on their API. Especially for a library > trying to solve such a complex problem as audio and video encoding and > decoding for every codec and format. It is unreasonable to expect no > incompatib

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Ben Hutchings
On Sun, 2014-08-10 at 23:02 +0200, Andreas Cadhalpun wrote: [...] > * dvswitch: Still uses CodecID (and also avcodec_encode_video, but > that is still present in FFmpeg.) [3] [...] dvswitch was also broken by the removal of support for downscaled decoding of DV video. I don't know whether t

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Holger Levsen
Hi, On Montag, 11. August 2014, Ben Hutchings wrote: > dvswitch was also broken by the removal of support for downscaled > decoding of DV video. I don't know whether that change is specific to > libav or was also made in FFmpeg. dvswitch is still broken and there is no dvswitch in jessie... We

[FFmpeg-devel] [PATCH] Add missing initialization for AVProbeData.

2014-08-11 Thread Reimar Döffinger
This has become necessary since the new mime field was added. Signed-off-by: Reimar Döffinger --- libavformat/img2dec.c | 2 +- tools/probetest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index d70fc75..a82f50f 100644

[FFmpeg-devel] Should add AVProbeData change to API changes + release notes

2014-08-11 Thread Reimar Döffinger
Hello, (sorry for being too lazy to send a patch) With the major version bump AVProbeData was extended by a new field. This so far has broken 3 places within FFmpeg and one within MPlayer, where AVProbeData was only initialized field-by-field. This will cause "random" crashes. I'm at this point fai

Re: [FFmpeg-devel] [PATCH] Add missing initialization for AVProbeData.

2014-08-11 Thread Carl Eugen Hoyos
Reimar Döffinger gmx.de> writes: > This has become necessary since the new mime field was added. The patch is definitely ok, sorry for missing this when I fixed one occurrence. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://

Re: [FFmpeg-devel] [RFC][PATCH] Allow include files to be installed into subdirectory

2014-08-11 Thread Andreas Cadhalpun
Hi Ivan, On 11.08.2014 01:23, Ivan Kalvachev wrote: The patch is inspired by something I read in the Debian discussion. Libav and FFmpeg could be installed side by side without conflicts in the libraries, thanks to using additional suffixes. Thanks for your interest in the matter. However de

Re: [FFmpeg-devel] [PATCH 4/4] lavu: stop exporting internal functions

2014-08-11 Thread Andreas Cadhalpun
On 10.08.2014 02:04, James Almer wrote: Signed-off-by: James Almer --- libavutil/libavutil.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/libavutil.v b/libavutil/libavutil.v index eb16ae1..e9f04cb 100644 --- a/libavutil/libavutil.v +++ b/libavutil/libavutil.v

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Reimar Döffinger
Hello, Apologies for not being able to resist answering even if it is getting off-topic. On Sun, Aug 10, 2014 at 05:43:33PM -0400, Theodore Ts'o wrote: > On Sun, Aug 10, 2014 at 12:25:33AM -0700, Andrew Kelley wrote: > > > > High quality libraries must iterate on their API. Especially for a libr

Re: [FFmpeg-devel] [PATCH] Add missing initialization for AVProbeData.

2014-08-11 Thread Reimar Döffinger
On Mon, Aug 11, 2014 at 06:09:54PM +, Carl Eugen Hoyos wrote: > Reimar Döffinger gmx.de> writes: > > > This has become necessary since the new mime field was added. > > The patch is definitely ok, sorry for missing this > when I fixed one occurrence. I'm glad you fixed the other one first,

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavf: stop exporting internal functions

2014-08-11 Thread James Almer
> ffmpeg | branch: master | James Almer | Sat Aug 9 > 21:04:33 2014 -0300| [7b3de03c8fa7c7a49522b45dc90f9970417554b4] | committer: > Michael Niedermayer > > lavf: stop exporting internal functions > > Except for those currently used by ffserver. > > Signed-off-by: James Almer > > Also left som

Re: [FFmpeg-devel] [PATCH 4/4] lavu: stop exporting internal functions

2014-08-11 Thread James Almer
On 11/08/14 3:39 PM, Andreas Cadhalpun wrote: > On 10.08.2014 02:04, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavutil/libavutil.v | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavutil/libavutil.v b/libavutil/libavutil.v >> index eb16ae1..e9f04

[FFmpeg-devel] [PATCH 1/4] dict.c: Add av_dict_set_int helper function.

2014-08-11 Thread Reimar Döffinger
This allows getting rid of the many, slightly differing, implementations of basically the same thing. Signed-off-by: Reimar Döffinger --- doc/APIchanges | 3 +++ libavutil/dict.c| 8 libavutil/dict.h| 8 libavutil/version.h | 2 +- 4 files changed, 20 insertions(+)

[FFmpeg-devel] [PATCH 2/4] Use new av_dict_set_int helper function.

2014-08-11 Thread Reimar Döffinger
Get rid of the many, slightly differing, implementations of basically the same thing. Signed-off-by: Reimar Döffinger --- ffmpeg_opt.c | 12 +++- ffplay.c | 2 +- libavfilter/vf_bbox.c| 4 +--- libavfilter/vf_cropdetect.c |

[FFmpeg-devel] [PATCH 3/4] dict.c: Free non-strduped av_dict_set arguments on error.

2014-08-11 Thread Reimar Döffinger
Unfortunately this was not explicitly documented and thus might be very risky. But basically all uses I saw in FFmpeg had a memleak in these cases. Signed-off-by: Reimar Döffinger --- libavutil/dict.c | 9 +++-- libavutil/dict.h | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff

[FFmpeg-devel] [PATCH 4/4] dict.c: empty dictionaries should be a NULL pointer.

2014-08-11 Thread Reimar Döffinger
Ensure this is even the case if they are empty because we failed adding the first entry. Signed-off-by: Reimar Döffinger --- libavutil/dict.c | 4 1 file changed, 4 insertions(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index f23b768..bdb5690 100644 --- a/libavutil/dict.c +++ b/lib

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Michael Niedermayer
On Sun, Aug 10, 2014 at 11:05:13PM -0300, James Almer wrote: > On 10/08/14 8:49 PM, Michael Niedermayer wrote: > > From: Luca Barbato > > > > TODO:bump > > APIChanges entry as well added TODO [...] > > +int swr_config_by_frames(SwrContext *swr, AVFrame *out, AVFrame *in); > > Maybe swr_config

[FFmpeg-devel] [PATCH] lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()

2014-08-11 Thread James Almer
It was wrongly being exported and used by libavfilter. Signed-off-by: James Almer --- libavfilter/deshake_opencl.c | 4 ++-- libavfilter/unsharp_opencl.c | 6 +++--- libavutil/opencl_internal.c | 2 +- libavutil/opencl_internal.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff -

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 09:25:20AM +0100, Kieran Kunhya wrote: > On 11 August 2014 00:49, Michael Niedermayer wrote: > > From: Luca Barbato > > Clearly this is Luca's patch but rewritten by you for swr so you > should say "Based on patch from Luca for avresample" or similar. its copy and pasted

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Timothy Gu
On Aug 10, 2014 4:49 PM, "Michael Niedermayer" wrote: > > From: Luca Barbato > > TODO:bump > > Signed-off-by: Michael Niedermayer > --- > libswresample/Makefile |1 + > libswresample/swresample.h | 61 +++ > libswresample/swresample_frame.c | 158 +

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:02:54AM +0200, Clément Bœsch wrote: > On Mon, Aug 11, 2014 at 01:49:19AM +0200, Michael Niedermayer wrote: > > From: Luca Barbato > > > > TODO:bump > > > > Signed-off-by: Michael Niedermayer > > --- > > libswresample/Makefile |1 + > > libswresample/swr

Re: [FFmpeg-devel] [PATCH 3/4] dict.c: Free non-strduped av_dict_set arguments on error.

2014-08-11 Thread wm4
On Mon, 11 Aug 2014 21:17:18 +0200 Reimar Döffinger wrote: > Unfortunately this was not explicitly documented and thus > might be very risky. > But basically all uses I saw in FFmpeg had a memleak in these > cases. It's the more convenient behavior, although on the other hand it feels wrong to c

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 12:53:30PM -0700, Timothy Gu wrote: > On Aug 10, 2014 4:49 PM, "Michael Niedermayer" wrote: [...] > > + * to an internal FIFO buffer, to be returned at the next call to this > function > > + * or to swr_convert() or to swr_convert_frame(). > > at the next call to this func

Re: [FFmpeg-devel] Should add AVProbeData change to API changes + release notes

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 08:05:38PM +0200, Reimar Döffinger wrote: > Hello, > (sorry for being too lazy to send a patch) > With the major version bump AVProbeData was extended by a new field. > This so far has broken 3 places within FFmpeg and one within MPlayer, > where AVProbeData was only initial

Re: [FFmpeg-devel] [PATCH] lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 04:35:39PM -0300, James Almer wrote: > It was wrongly being exported and used by libavfilter. > > Signed-off-by: James Almer > --- > libavfilter/deshake_opencl.c | 4 ++-- > libavfilter/unsharp_opencl.c | 6 +++--- > libavutil/opencl_internal.c | 2 +- > libavutil/opencl

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread wm4
On Mon, 11 Aug 2014 20:40:28 +0200 Reimar Döffinger wrote: > Hello, > > Apologies for not being able to resist answering even if it is getting > off-topic. > > On Sun, Aug 10, 2014 at 05:43:33PM -0400, Theodore Ts'o wrote: > > On Sun, Aug 10, 2014 at 12:25:33AM -0700, Andrew Kelley wrote: > > >

Re: [FFmpeg-devel] [PATCH] lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()

2014-08-11 Thread James Almer
On 11/08/14 5:31 PM, Michael Niedermayer wrote: > On Mon, Aug 11, 2014 at 04:35:39PM -0300, James Almer wrote: >> It was wrongly being exported and used by libavfilter. >> >> Signed-off-by: James Almer >> --- >> libavfilter/deshake_opencl.c | 4 ++-- >> libavfilter/unsharp_opencl.c | 6 +++--- >>

[FFmpeg-devel] [PATCH 0/4] prores: fix various issues

2014-08-11 Thread Christophe Gisquet
There are mostly issues (in order), potentially causing crashes: - no check on the buffer left - no reallocation when the buffer will overflow - incorrect buffer size when encoding alpha Christophe Gisquet (4): proresenc_kostya: remove unneeded parameters proresenc_kostya: report buffer overfl

[FFmpeg-devel] [PATCH 2/4] proresenc_kostya: report buffer overflow

2014-08-11 Thread Christophe Gisquet
If the allocated size, despite best efforts, is too small, exit with the appropriate error. --- libavcodec/proresenc_kostya.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 24cb333..a70ae3c 1006

[FFmpeg-devel] [PATCH 3/4] proresenc_kostya: realloc if buffer too small

2014-08-11 Thread Christophe Gisquet
The buffer allocation may be incorrect (e.g. with an alpha plane), and currently causes the buffer to be set to NULL by init_put_bits, later on causing crashing. So, detect that situation, and if detected, reallocate the buffer and ask a sample if it happens. Fixes ticket #2760 --- libavcodec/pr

[FFmpeg-devel] [PATCH 4/4] proresenc_kostya: properly account for alpha

2014-08-11 Thread Christophe Gisquet
The packet buffer allocation considered as dct-coded, while it is actually run-coded and thus requires a larger buffer. --- libavcodec/proresenc_kostya.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c

[FFmpeg-devel] [PATCH 1/4] proresenc_kostya: remove unneeded parameters

2014-08-11 Thread Christophe Gisquet
--- libavcodec/proresenc_kostya.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/proresenc_kostya.c b/libavcodec/proresenc_kostya.c index 93bcde7..24cb333 100644 --- a/libavcodec/proresenc_kostya.c +++ b/libavcodec/proresenc_kostya.c @@ -471,7 +471,6 @@ static voi

Re: [FFmpeg-devel] [PATCH 1/4] dict.c: Add av_dict_set_int helper function.

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 09:17:16PM +0200, Reimar Döffinger wrote: > This allows getting rid of the many, slightly differing, implementations > of basically the same thing. > > Signed-off-by: Reimar Döffinger > --- > doc/APIchanges | 3 +++ > libavutil/dict.c| 8 > libavutil/dic

Re: [FFmpeg-devel] [PATCH] swresample: Add AVFrame based API

2014-08-11 Thread Alexander Strasser
On 2014-08-11 21:42 +0200, Michael Niedermayer wrote: > On Mon, Aug 11, 2014 at 09:25:20AM +0100, Kieran Kunhya wrote: > > On 11 August 2014 00:49, Michael Niedermayer wrote: > > > From: Luca Barbato > > > > Clearly this is Luca's patch but rewritten by you for swr so you > > should say "Based o

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Theodore Ts'o
On Mon, Aug 11, 2014 at 10:53:56PM +0200, wm4 wrote: > > To be fair, FFmpeg does its own "manual" symbol versioning by appending > increasing numbers to function names. But the real problem are not > these functions, but public structs. Imagine a new API user fighting to > guess which fields in AV

Re: [FFmpeg-devel] [PATCH 1/4] proresenc_kostya: remove unneeded parameters

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:06:07PM +, Christophe Gisquet wrote: > --- > libavcodec/proresenc_kostya.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB During times of universal deceit,

Re: [FFmpeg-devel] rectification filter

2014-08-11 Thread Daniel Oberhoff
Am 11.08.2014 um 17:39 schrieb Clément Bœsch : > On Mon, Aug 11, 2014 at 05:33:10PM +0200, Daniel Oberhoff wrote: >> >> Am 11.08.2014 um 00:20 schrieb Michael Niedermayer : >> >>> On Sun, Aug 10, 2014 at 08:36:37PM +0200, Daniel Oberhoff wrote: Von meinem iPhone gesendet

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Simon Thelen
On 11/08/14 at 17:39, Steven Liu wrote: > Hi Guys, Hello, > > The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the > old ts segment file. > If always run this module, the disk will full, so this patch can fix > the problem. > When update the segment list m3u8 file, it will delete

Re: [FFmpeg-devel] [PATCH 4/4] proresenc_kostya: properly account for alpha

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:06:10PM +, Christophe Gisquet wrote: > The packet buffer allocation considered as dct-coded, while it is > actually run-coded and thus requires a larger buffer. > --- > libavcodec/proresenc_kostya.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(

Re: [FFmpeg-devel] [PATCH 2/4] proresenc_kostya: report buffer overflow

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:06:08PM +, Christophe Gisquet wrote: > If the allocated size, despite best efforts, is too small, exit > with the appropriate error. > --- > libavcodec/proresenc_kostya.c | 13 ++--- > 1 file changed, 10 insertions(+), 3 deletions(-) This is kind of an inter

Re: [FFmpeg-devel] [RFC][PATCH] Allow include files to be installed into subdirectory

2014-08-11 Thread Ivan Kalvachev
On 8/11/14, Andreas Cadhalpun wrote: > Hi Ivan, > > On 11.08.2014 01:23, Ivan Kalvachev wrote: >> The patch is inspired by something I read in the Debian discussion. >> Libav and FFmpeg could be installed side by side without conflicts in >> the libraries, thanks to using additional suffixes. > >

Re: [FFmpeg-devel] [PATCH 3/4] proresenc_kostya: realloc if buffer too small

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 10:06:09PM +, Christophe Gisquet wrote: > The buffer allocation may be incorrect (e.g. with an alpha plane), > and currently causes the buffer to be set to NULL by init_put_bits, > later on causing crashing. > > So, detect that situation, and if detected, reallocate the

Re: [FFmpeg-devel] Reintroducing FFmpeg to Debian

2014-08-11 Thread Matthias Urlichs
Hi, wm4: > Build something on a newer glibc system, and try to run the binary on > an older system. It most likely won't work - even if it could in > theory. (At least it was this way some years ago. Probably still is.) What would be the point of introducing new or updated interfaces if you then

Re: [FFmpeg-devel] rectification filter

2014-08-11 Thread Michael Niedermayer
On Tue, Aug 12, 2014 at 12:52:45AM +0200, Daniel Oberhoff wrote: > > Am 11.08.2014 um 17:39 schrieb Clément Bœsch : > > > On Mon, Aug 11, 2014 at 05:33:10PM +0200, Daniel Oberhoff wrote: > >> > >> Am 11.08.2014 um 00:20 schrieb Michael Niedermayer : > >> > >>> On Sun, Aug 10, 2014 at 08:36:37PM

Re: [FFmpeg-devel] [PATCH] lavu: rename ff_opencl_set_parameter() to avpriv_opencl_set_parameter()

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 05:56:50PM -0300, James Almer wrote: > On 11/08/14 5:31 PM, Michael Niedermayer wrote: > > On Mon, Aug 11, 2014 at 04:35:39PM -0300, James Almer wrote: > >> It was wrongly being exported and used by libavfilter. > >> > >> Signed-off-by: James Almer > >> --- > >> libavfilte

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Steven Liu
2014-08-12 7:26 GMT+08:00 Simon Thelen : > On 11/08/14 at 17:39, Steven Liu wrote: > > Hi Guys, > Hello, > > > > The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the > > old ts segment file. > > If always run this module, the disk will full, so this patch can fix > > the problem.

[FFmpeg-devel] [PATCH] configure: disallow OpenCL with shared libs

2014-08-11 Thread Michael Niedermayer
Its API is marked as experimental, we should not export experimental API from shared libs Signed-off-by: Michael Niedermayer --- configure |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 0ac6132..84d308e 100755 --- a/configure +++ b/configure

Re: [FFmpeg-devel] [PATCH] delete the old segment file from hls list

2014-08-11 Thread Steven Liu
2014-08-12 7:26 GMT+08:00 Simon Thelen : > On 11/08/14 at 17:39, Steven Liu wrote: > > Hi Guys, > Hello, > > > > The FFmpeg hls module can make m3u8 and ts, but it dosen't delete the > > old ts segment file. > > If always run this module, the disk will full, so this patch can fix > > the problem.

Re: [FFmpeg-devel] [PATCH 4/4] lavu: stop exporting internal functions

2014-08-11 Thread Michael Niedermayer
On Mon, Aug 11, 2014 at 08:39:24PM +0200, Andreas Cadhalpun wrote: > On 10.08.2014 02:04, James Almer wrote: > >Signed-off-by: James Almer > >--- > > libavutil/libavutil.v | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >diff --git a/libavutil/libavutil.v b/libavutil/libavutil.v >

[FFmpeg-devel] [PATCH] fix: 'make' with mingw32

2014-08-11 Thread spanknebel.bor...@t-online.de
>From 48e4da7d6476ac2a62cc462478b8ccf4d0c45361 Mon Sep 17 00:00:00 2001 From: Youka Date: Tue, 12 Aug 2014 04:32:02 +0200 Subject: [PATCH] fix: 'make' with mingw32 Older mingw32 compilers (not mingw-64, but tdm [default by IDE C::B]) don't auto-include pthread headers, so struct timespec & nanos

Re: [FFmpeg-devel] [PATCH 3/4] proresenc_kostya: realloc if buffer too small

2014-08-11 Thread Christophe Gisquet
Hi, 2014-08-12 2:34 GMT+02:00 Michael Niedermayer : >> +if (pkt_size <= buf - orig_buf) { > > this isnt sufficient, there could be 1 byte space left, then the > reallocate wouldnt run and encode_slice() would run into the extra > padding and fail Yeah, you're right. I have no idea

Re: [FFmpeg-devel] [PATCH 4/4] proresenc_kostya: properly account for alpha

2014-08-11 Thread Christophe Gisquet
Hi, 2014-08-12 1:56 GMT+02:00 Michael Niedermayer : >> - (2 + 2 * ctx->num_planes + >> + (2 + 2 * FFMIN(3, ctx->num_planes) + > > slice_hdr_size is 2 + 2 * (ctx->num_planes - 1); > > is this difference intended ? I don't know why