Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-19 Thread Carl Eugen Hoyos
On Thursday 14 May 2015 01:47:54 pm Michael Niedermayer wrote: On Thu, May 14, 2015 at 12:28:13PM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes reading valid pict files with non-zero user data.

Re: [FFmpeg-devel] [PATCH] [WIP] avcodec/lpc: quantize LPC coefficients by multidimensional search instead of independant scalar quantization

2015-05-19 Thread Michael Niedermayer
On Mon, May 18, 2015 at 09:21:30PM -0400, Ronald S. Bultje wrote: Hi, On Mon, May 18, 2015 at 7:53 AM, Michael Niedermayer michae...@gmx.at wrote: This improves compression but only by a very small bit possibly it could be improved by exactly calculating the number of bits that would

Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-19 Thread Michael Niedermayer
On Tue, May 19, 2015 at 10:33:52AM +0200, Carl Eugen Hoyos wrote: On Thursday 14 May 2015 01:47:54 pm Michael Niedermayer wrote: On Thu, May 14, 2015 at 12:28:13PM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes reading valid pict files with non-zero user data.

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

2015-05-19 Thread tim nicholson
On 19/05/15 01:33, Michael Niedermayer wrote: The default is assumed to be 0xFF, which is what the 2009 spec lists, the older version i have lists 0 as the default. Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavformat/mxfenc.c| 28 +

[FFmpeg-devel] [PATCH]lavf/img2: Only autodetect valid Quickdraw images

2015-05-19 Thread Carl Eugen Hoyos
Hi! Attached patch improves the Quickdraw autodetection. Please comment, Carl Eugen diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c index 0830f00..ec234d1 100644 --- a/libavformat/img2dec.c +++ b/libavformat/img2dec.c @@ -714,8 +714,10 @@ static int qdraw_probe(AVProbeData *p) {

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Merge of FrameHeader01() and GlobalHeader()

2015-05-19 Thread Michael Niedermayer
On Tue, May 19, 2015 at 10:24:02PM +0200, Jerome Martinez wrote: Le 19/05/2015 21:15, Michael Niedermayer a écrit : On Mon, May 18, 2015 at 09:04:01PM +0200, Jerome Martinez wrote: FrameHeader01() and GlobalHeader() have a lot of common fields and having a common function + default value for

[FFmpeg-devel] [PATCH] doc/encoders: add flac

2015-05-19 Thread Michael Niedermayer
If someone wants to cleanup spelling and grammer and push this, do not hesitate! I just wanted to document the 2 newly added options and then realized that flac enc is missig from the docs ... Signed-off-by: Michael Niedermayer michae...@gmx.at --- doc/encoders.texi | 76

Re: [FFmpeg-devel] [PATCH 2/3] nutdec: stop skipping bytes at EOF

2015-05-19 Thread Michael Niedermayer
On Wed, May 20, 2015 at 12:49:55AM +0200, Andreas Cadhalpun wrote: This can unnecessarily waste a lot of time. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavformat/nutdec.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/3] nutdec: fix infinite resync loops

2015-05-19 Thread Michael Niedermayer
On Wed, May 20, 2015 at 12:49:49AM +0200, Andreas Cadhalpun wrote: nut-last_syncpoint_pos doesn't necessarily change between resync attempts, so find_any_startcode can return the same startcode again. Thus remember where the last resync happened and don't try to resync before that. This

Re: [FFmpeg-devel] [PATCH] Fix 'while' loop condition to prevent movtext crashes by tracking packet size

2015-05-19 Thread Niklesh Lalwani
Thanks Philip. Updated. -Niklesh 3gpp-fix-crashes-19may.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

2015-05-19 Thread tim nicholson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/05/15 14:11, Michael Niedermayer wrote: On Tue, May 19, 2015 at 12:07:24PM +0100, tim nicholson wrote: On 19/05/15 01:33, Michael Niedermayer wrote: The default is assumed to be 0xFF, which is what the 2009 spec lists , the older version i

Re: [FFmpeg-devel] [PATCH] Fix 'while' loop condition to prevent movtext crashes by tracking packet size

2015-05-19 Thread Philip Langdale
On Tue, 19 May 2015 18:35:09 +0530 Niklesh Lalwani niklesh.lalw...@iitb.ac.in wrote: Thanks Philip. Updated. -Niklesh Looks good. I'll commit it later today. --phil ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

2015-05-19 Thread Michael Niedermayer
On Tue, May 19, 2015 at 03:35:42PM +0100, tim nicholson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/05/15 14:11, Michael Niedermayer wrote: On Tue, May 19, 2015 at 12:07:24PM +0100, tim nicholson wrote: On 19/05/15 01:33, Michael Niedermayer wrote: The default is assumed

Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-19 Thread Michael Niedermayer
On Tue, May 19, 2015 at 10:33:52AM +0200, Carl Eugen Hoyos wrote: On Thursday 14 May 2015 01:47:54 pm Michael Niedermayer wrote: On Thu, May 14, 2015 at 12:28:13PM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes reading valid pict files with non-zero user data.

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: Add color siting element

2015-05-19 Thread Michael Niedermayer
On Tue, May 19, 2015 at 12:07:24PM +0100, tim nicholson wrote: On 19/05/15 01:33, Michael Niedermayer wrote: The default is assumed to be 0xFF, which is what the 2009 spec lists, the older version i have lists 0 as the default. Signed-off-by: Michael Niedermayer michae...@gmx.at ---

[FFmpeg-devel] [RFC]Allow to change colour range with the scale filter

2015-05-19 Thread Carl Eugen Hoyos
Hi! The scale filter currently skips scaling if width, height and pix_fmt do not change. I suspect it should scale if the user specified different colour ranges for input and output. Attached patch is not sufficient, libswscale decides to use simple copy before srcRange and dstRange are set. I

[FFmpeg-devel] [PATCH 1/3] nutdec: fix infinite resync loops

2015-05-19 Thread Andreas Cadhalpun
nut-last_syncpoint_pos doesn't necessarily change between resync attempts, so find_any_startcode can return the same startcode again. Thus remember where the last resync happened and don't try to resync before that. This can't be done locally in nut_read_packet, because this wouldn't prevent

[FFmpeg-devel] [PATCH 3/3] nutdec: abort if EOF is reached in decode_info_header/read_sm_data

2015-05-19 Thread Andreas Cadhalpun
These loops can take a lot of time if count is very large. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavformat/nutdec.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index e979ee6..ad61d7e 100644 ---

[FFmpeg-devel] [PATCH 2/3] nutdec: stop skipping bytes at EOF

2015-05-19 Thread Andreas Cadhalpun
This can unnecessarily waste a lot of time. Signed-off-by: Andreas Cadhalpun andreas.cadhal...@googlemail.com --- libavformat/nutdec.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index a75587f..e979ee6 100644 ---

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Merge of FrameHeader01() and GlobalHeader()

2015-05-19 Thread Jerome Martinez
Le 19/05/2015 21:15, Michael Niedermayer a écrit : On Mon, May 18, 2015 at 09:04:01PM +0200, Jerome Martinez wrote: FrameHeader01() and GlobalHeader() have a lot of common fields and having a common function + default value for fields unused in previous versions is less complex and more