[FFmpeg-devel] Reorganizing Cookies (was Re: [PATCH] Replace old cookies with new cookies of the same name)

2014-09-28 Thread Micah Galizia
On 18/08/14 21:36, Nicolas George wrote: Le primidi 1er fructidor, an CCXXII, Micah Galizia a écrit : Yes no. I agree its not an ideal implementation (it actually was mine to begin with) to just use a string full of cookies. But we can't pass around complex structures through avopts, which is

Re: [FFmpeg-devel] [PATCH]Do not add extradata size to bitmapinfoheader size

2014-09-28 Thread Reimar Döffinger
On Sat, Sep 27, 2014 at 10:51:25AM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch is one of two patches necessary to fix ticket #1304. The MSDN documentation indicates that the palette is not part of the bitmapinfoheader but the bitmapinfoheader is part of the bitmapinfo structure that

Re: [FFmpeg-devel] [PATCH]Do not add extradata size to bitmapinfoheader size

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 09:50:43AM +0200, Reimar Döffinger wrote: On Sat, Sep 27, 2014 at 10:51:25AM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch is one of two patches necessary to fix ticket #1304. The MSDN documentation indicates that the palette is not part of the

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 03:50:11AM +0200, Michael Niedermayer wrote: On Sun, Sep 21, 2014 at 10:17:16AM +0100, Reimar Döffinger wrote: Should should fix seeking in some blurays in combination with e.g. MPlayer. Not yet tested due to no bluray at hand. Signed-off-by: Reimar Döffinger

Re: [FFmpeg-devel] [PATCH]Do not add extradata size to bitmapinfoheader size

2014-09-28 Thread Carl Eugen Hoyos
Reimar Döffinger Reimar.Doeffinger at gmx.de writes: On Sun, Sep 28, 2014 at 09:50:43AM +0200, Reimar Döffinger wrote: On Sat, Sep 27, 2014 at 10:51:25AM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch is one of two patches necessary to fix ticket #1304. The MSDN documentation

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread wm4
On Sun, 21 Sep 2014 10:17:16 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: Should should fix seeking in some blurays in combination with e.g. MPlayer. Not yet tested due to no bluray at hand. Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libavformat/mpegts.c | 8

Re: [FFmpeg-devel] [PATCH]Do not add extradata size to bitmapinfoheader size

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 08:06:40AM +, Carl Eugen Hoyos wrote: biSize must be calculated so that it points to the palette, so if you have both extradata and palette you absolutely need to add the extradata size: This is wrong afaict. Or do we misunderstand each other?

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 10:15:51AM +0200, wm4 wrote: On Sun, 21 Sep 2014 10:17:16 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: @@ -2680,6 +2687,7 @@ AVInputFormat ff_mpegtsraw_demuxer = { .read_packet= mpegts_raw_read_packet, .read_close = mpegts_read_close,

Re: [FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 21, 2014 at 10:17:15AM +0100, Reimar Döffinger wrote: Allows 32 bit version of FFmpeg to use up to 4 GB of RAM instead of just 2 GB on Windows if the OS can provide it. Any other comments? Note the documentation for that option: The /LARGEADDRESSAWARE option tells the linker that

Re: [FFmpeg-devel] [PATCH] avformat/mxfdec: read reel_name and source timecode from physical source package

2014-09-28 Thread Tomas Härdin
On Thu, 2014-09-25 at 16:13 -0700, Mark Reid wrote: --- libavformat/mxfdec.c | 118 ++- 1 file changed, 97 insertions(+), 21 deletions(-) diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 7a4633f..3a1889f 100644 ---

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread wm4
On Sun, 28 Sep 2014 10:40:18 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Sun, Sep 28, 2014 at 10:15:51AM +0200, wm4 wrote: On Sun, 21 Sep 2014 10:17:16 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: @@ -2680,6 +2687,7 @@ AVInputFormat ff_mpegtsraw_demuxer = {

[FFmpeg-devel] [PATCH] avcodec/srtdec: use AVBPrint API

2014-09-28 Thread Clément Bœsch
--- Can only be applied after timed SRT is dropped. --- libavcodec/srtdec.c | 78 - 1 file changed, 35 insertions(+), 43 deletions(-) diff --git a/libavcodec/srtdec.c b/libavcodec/srtdec.c index cc17486..d9cc16a 100644 --- a/libavcodec/srtdec.c

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread wm4
On Sun, 28 Sep 2014 10:40:18 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Sun, Sep 28, 2014 at 10:15:51AM +0200, wm4 wrote: On Sun, 21 Sep 2014 10:17:16 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: In general, this avio_read_seek() thing seems to be a somewhat

Re: [FFmpeg-devel] [PATCH 2/3] configure: Set large address aware.

2014-09-28 Thread Reimar Döffinger
On 28.09.2014, at 11:12, Matt Oliver protogo...@gmail.com wrote: On 28 September 2014 18:49, Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Sun, Sep 21, 2014 at 10:17:15AM +0100, Reimar Döffinger wrote: Allows 32 bit version of FFmpeg to use up to 4 GB of RAM instead of just 2 GB on

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread wm4
On Sun, 28 Sep 2014 13:37:59 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On 28.09.2014, at 11:05, wm4 nfx...@googlemail.com wrote: On Sun, 28 Sep 2014 10:40:18 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Sun, Sep 28, 2014 at 10:15:51AM +0200, wm4 wrote: On

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: enable psnr reporting when requested by the user

2014-09-28 Thread Derek Buitenhuis
On 9/28/2014 3:46 AM, Michael Niedermayer wrote: applied Sorry I missed that, been very busy lately. Luckily the patch seems OK. Is there a similar flag for SSIM? - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 10:15:51AM +0200, wm4 wrote: On Sun, 21 Sep 2014 10:17:16 +0100 Reimar Döffinger reimar.doeffin...@gmx.de wrote: diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 3434341..c04e156 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread Reimar Döffinger
On Sun, Sep 28, 2014 at 01:52:45PM +0200, wm4 wrote: On Sun, 28 Sep 2014 13:37:59 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: That's not how the libavformat seeking API works. If you want a different layer, use something from the different layer. E.g. seek avio directly, and

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: enable psnr reporting when requested by the user

2014-09-28 Thread Michael Niedermayer
On Sun, Sep 28, 2014 at 01:06:17PM +0100, Derek Buitenhuis wrote: On 9/28/2014 3:46 AM, Michael Niedermayer wrote: applied Sorry I missed that, been very busy lately. Luckily the patch seems OK. Is there a similar flag for SSIM? i dont think so, also libxvid and libx264 use private

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: enable psnr reporting when requested by the user

2014-09-28 Thread Derek Buitenhuis
On 9/28/2014 2:26 PM, Michael Niedermayer wrote: i dont think so, also libxvid and libx264 use private AVOptions for ssim, OK. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avutil/lls: Make unchanged function arguments const

2014-09-28 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavutil/lls.c |4 ++-- libavutil/lls.h |4 ++-- libavutil/x86/lls_init.c |6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/libavutil/lls.c b/libavutil/lls.c index 06fe423..f77043b

Re: [FFmpeg-devel] [PATCH 3/3] [RFC] mpegts: Support seeking based on stream timestamps.

2014-09-28 Thread wm4
On Sun, 28 Sep 2014 14:45:33 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: On Sun, Sep 28, 2014 at 01:52:45PM +0200, wm4 wrote: On Sun, 28 Sep 2014 13:37:59 +0200 Reimar Döffinger reimar.doeffin...@gmx.de wrote: That's not how the libavformat seeking API works. If you want a

Re: [FFmpeg-devel] [PATCH] avutil/lls: Make unchanged function arguments const

2014-09-28 Thread Paul B Mahol
On 9/28/14, Michael Niedermayer michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavutil/lls.c |4 ++-- libavutil/lls.h |4 ++-- libavutil/x86/lls_init.c |6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) probably ok

Re: [FFmpeg-devel] compiling on MAC OSX10.9 crashes on =10.85

2014-09-28 Thread Georg Stein
thanks for the answer, I tried this, and it's still crashing on 10.85 (I did not even test 10.7) is there a general hint how to configure this correct (as shared libs), I only need the standard codec's while I only read a hls/apple http stream form the net and write it to a mpegts file Georg

Re: [FFmpeg-devel] [PATCH] avutil/lls: Make unchanged function arguments const

2014-09-28 Thread Michael Niedermayer
On Sun, Sep 28, 2014 at 04:16:36PM +, Paul B Mahol wrote: On 9/28/14, Michael Niedermayer michae...@gmx.at wrote: Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavutil/lls.c |4 ++-- libavutil/lls.h |4 ++-- libavutil/x86/lls_init.c |6

[FFmpeg-devel] [PATCH]Do not add palette size to the bitmapheader size

2014-09-28 Thread Carl Eugen Hoyos
Hi! Attached patch is the first part of the fix for ticket #1304. Please comment, Carl Eugen diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c index 2eb2ae1..cf235c1 100644 --- a/libavformat/riffenc.c +++ b/libavformat/riffenc.c @@ -212,6 +212,8 @@ void ff_put_bmp_header(AVIOContext

[FFmpeg-devel] [PATCH]Set the rawvideo image size to 0 in the bitmapinfoheader

2014-09-28 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #1304: biSizeImage may be 0 for images with codec tag 0, if the size is set too small, WMP refuses to play the file. Please comment, Carl Eugen diff --git a/libavformat/riffenc.c b/libavformat/riffenc.c index 2eb2ae1..9e30f64 100644 --- a/libavformat/riffenc.c

[FFmpeg-devel] [PATCH]Fix 32bit pcm audio in mov

2014-09-28 Thread Carl Eugen Hoyos
Hi! Attached patch fixes decoding 32bit pcm audio in mov as written by the Convergent Design's Odyssey 7Q recorder. Please comment, Carl Eugen diff --git a/libavformat/mov.c b/libavformat/mov.c index ae48c02..8070b4d 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1422,6 +1422,10 @@

[FFmpeg-devel] [PATCH 2/3] avcodec/put_bits: Add rebase_put_bits()

2014-09-28 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/put_bits.h | 17 + 1 file changed, 17 insertions(+) diff --git a/libavcodec/put_bits.h b/libavcodec/put_bits.h index 8081fb9..f16d04a 100644 --- a/libavcodec/put_bits.h +++ b/libavcodec/put_bits.h @@ -63,6

[FFmpeg-devel] [PATCH 1/3] avcodec/utils: Fix off by 1 error causing unneeded allocation in ff_fast_malloc()

2014-09-28 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/utils.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index b27f918..9eb2b5b 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -122,7 +122,7 @@ static void

[FFmpeg-devel] [PATCH 3/3] avcodec/mpegvideo_enc: Allocate only a small buffer and reallocate as needed

2014-09-28 Thread Michael Niedermayer
This should reduce the memory requirement Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavcodec/mpegvideo_enc.c | 36 ++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index