Re: [FFmpeg-devel] [PATCH] web/index: News about 2.6.1

2015-03-16 Thread Clément Bœsch
On Mon, Mar 16, 2015 at 11:47:10PM +0100, Michael Niedermayer wrote: --- src/index | 12 1 file changed, 12 insertions(+) diff --git a/src/index b/src/index index 22dd574..787f78c 100644 --- a/src/index +++ b/src/index @@ -36,6 +36,18 @@ News /h1 + a

Re: [FFmpeg-devel] [RFC]Ignore ff_isom_write_hvcc() return value writing mkv like the mov muxer does

2015-03-16 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at ag.or.at writes: Attached poc fixes remuxing hevc from mpegts to mkv. The mov muxer writes an empty hvcC atom in this case. What has to be done? Ping. Or would the output file be invalid? In this case, an error should be printed imo. Carl Eugen

Re: [FFmpeg-devel] [PATCH] web/index: News about 2.6.1

2015-03-16 Thread Michael Niedermayer
On Tue, Mar 17, 2015 at 12:21:18AM +0100, Michael Niedermayer wrote: On Mon, Mar 16, 2015 at 11:52:19PM +0100, Clément Bœsch wrote: On Mon, Mar 16, 2015 at 11:47:10PM +0100, Michael Niedermayer wrote: --- src/index | 12 1 file changed, 12 insertions(+) diff

Re: [FFmpeg-devel] [PATCH] mov: Add option to keep packet order after seeking

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 04:07:07PM +, Derek Buitenhuis wrote: The current behavior may produce packets in a different order after seeking, compared to demuxing linearly from the beginning. This is because the MOV demuxer seeks in each stream based on timestamp, which may not necessarily

Re: [FFmpeg-devel] [PATCH] Refactor repeated HLS option updates

2015-03-16 Thread Micah Galizia
Excellent. Thank you! On Mon, Mar 16, 2015 at 11:02 PM, Michael Niedermayer michae...@gmx.at wrote: On Mon, Mar 16, 2015 at 08:34:24PM +1100, Micah Galizia wrote: Hi, Attached patch puts repeated code into a function. TIA -- The mark of an immature man is that he wants to die nobly for a

Re: [FFmpeg-devel] [PATCH]Fix changed channel layout log info

2015-03-16 Thread Nicolas George
Le sextidi 26 ventôse, an CCXXIII, Carl Eugen Hoyos a écrit : It seems to me that the line that is shown when the channel layout changes uses an incorrect new layout. The current output can be (line breaks for readability): Input stream #0:1 frame changed from rate:48000 fmt:fltp ch:8

[FFmpeg-devel] [PATCH] configure: Silence warnings about constant unsigned overflows in MSVC

2015-03-16 Thread Michael Niedermayer
unsigned overflows are well defined in C and used for example in crypto and various other places. None of the affected warnings currently shown points to an actual defect untested Signed-off-by: Michael Niedermayer michae...@gmx.at --- configure |1 + 1 file changed, 1 insertion(+) diff

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/formats: proper error handling in ff_set_common_*() functions

2015-03-16 Thread Clément Bœsch
On Mon, Mar 16, 2015 at 11:05:12AM +0100, Stefano Sabatini wrote: On date Monday 2015-03-16 11:00:12 +0100, Stefano Sabatini encoded: On date Sunday 2015-03-15 15:15:34 +0100, Clément Bœsch encoded: [...] To elaborate on this, the bug here is referring to an allocation check not done in

[FFmpeg-devel] [PATCH] Refactor repeated HLS option updates

2015-03-16 Thread Micah Galizia
Hi, Attached patch puts repeated code into a function. TIA -- The mark of an immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one. --W. Stekel From 38b40bb622693f6b6f579092537aa9b7da28f9e1 Mon Sep 17 00:00:00 2001

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/formats: proper error handling in ff_set_common_*() functions

2015-03-16 Thread Stefano Sabatini
On date Monday 2015-03-16 11:00:12 +0100, Stefano Sabatini encoded: On date Sunday 2015-03-15 15:15:34 +0100, Clément Bœsch encoded: [...] To elaborate on this, the bug here is referring to an allocation check not done in the caller (there are many currently since I'm just introducing the

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/formats: proper error handling in ff_set_common_*() functions

2015-03-16 Thread Stefano Sabatini
On date Monday 2015-03-16 11:11:55 +0100, Clément Bœsch encoded: On Mon, Mar 16, 2015 at 11:05:12AM +0100, Stefano Sabatini wrote: On date Monday 2015-03-16 11:00:12 +0100, Stefano Sabatini encoded: On date Sunday 2015-03-15 15:15:34 +0100, Clément Bœsch encoded: [...] To elaborate on

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/formats: proper error handling in ff_set_common_*() functions

2015-03-16 Thread Stefano Sabatini
On date Sunday 2015-03-15 15:15:34 +0100, Clément Bœsch encoded: On Sun, Mar 15, 2015 at 03:11:14PM +0100, Clément Bœsch wrote: On Sun, Mar 15, 2015 at 03:07:16PM +0100, Stefano Sabatini wrote: On date Sunday 2015-03-15 14:24:29 +0100, Clément Bœsch encoded: ---

Re: [FFmpeg-devel] [PATCH] Refactor repeated HLS option updates

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 08:34:24PM +1100, Micah Galizia wrote: Hi, Attached patch puts repeated code into a function. TIA -- The mark of an immature man is that he wants to die nobly for a cause, while the mark of the mature man is that he wants to live humbly for one. --W. Stekel

Re: [FFmpeg-devel] [PATCH 5/5] avfilter: handle error in query_formats() of a bunch of random video filters

2015-03-16 Thread Stefano Sabatini
On date Sunday 2015-03-15 14:24:30 +0100, Clément Bœsch encoded: --- libavfilter/f_select.c | 9 - libavfilter/vf_codecview.c | 6 -- libavfilter/vf_colorbalance.c | 7 --- libavfilter/vf_colormatrix.c| 8 libavfilter/vf_curves.c | 6

[FFmpeg-devel] [PATCH] configure: Silence EMMS warnings in ICC

2015-03-16 Thread Michael Niedermayer
Real world MMX code does not put EMMS at the start and end of every function, it would be incredibly inefficient to do that thus do not warn about that untested Signed-off-by: Michael Niedermayer michae...@gmx.at --- configure |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] [PATCH] mov: Add option to keep packet order after seeking

2015-03-16 Thread Derek Buitenhuis
The current behavior may produce packets in a different order after seeking, compared to demuxing linearly from the beginning. This is because the MOV demuxer seeks in each stream based on timestamp, which may not necessarily match the original packet order. This makes implementing certain

Re: [FFmpeg-devel] ffmpeg issues

2015-03-16 Thread Michael Niedermayer
On Sun, Mar 15, 2015 at 10:46:22PM -0600, Dazzle Software wrote: Tested this with different both ​1.7 and 2.0 release but the same issue still applies I have also tried static and shared but same issue always seems to come up it either shows the following when it does compile

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 04:04:16PM +0100, Nicolas George wrote: Le primidi 21 ventôse, an CCXXIII, Michael Niedermayer a écrit : [...] \r\n, five exclamation marks or an ASCII-art tortoise. put some joke about how a computer can recognize ASCII-art tortoises here For the GUI application

Re: [FFmpeg-devel] [PATCH] avformat/m4vdec: use avpriv_find_start_code in mpeg4video_probe()

2015-03-16 Thread Michael Niedermayer
On Sun, Mar 15, 2015 at 04:58:52PM +0800, zhaoxiu.zeng wrote: From 7d57cb0e822ac755ba7e3d9c09d90bf62c7da24d Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu zhaoxiu.z...@gmail.com Date: Sun, 15 Mar 2015 11:59:27 +0800 Subject: [PATCH 4/7] avformat/m4vdec: use avpriv_find_start_code in

Re: [FFmpeg-devel] [PATCH] Add ability to pause transcoding via keyboard interaction

2015-03-16 Thread Jeremy Luce
Here is the updated patch with documentation and proper line breaks. Jeremy On Fri, Mar 13, 2015 at 1:02 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Mar 11, 2015 at 08:34:39AM -0500, Jeremy Luce wrote: Resubmitting with [PATCH] tag and unified diff. Adds functionality to pause

Re: [FFmpeg-devel] [PATCH]Add one CRLF to http headers if necessary

2015-03-16 Thread Nicolas George
Le primidi 21 ventôse, an CCXXIII, Michael Niedermayer a écrit : If the user passes just one header line then either he adds CRLF at the end or he doesnt. These 2 cases can be easily distnguished and teh code can add CRLF if its missing this is basically carls patch and i think its good and

Re: [FFmpeg-devel] [PATCH] avformat/cavsvideodec: use avpriv_find_start_code in cavsvideo_probe()

2015-03-16 Thread Michael Niedermayer
On Sun, Mar 15, 2015 at 04:56:04PM +0800, zhaoxiu.zeng wrote: From 9a97b5559a8c4ea9a03560d59e1725b6c99d0960 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu zhaoxiu.z...@gmail.com Date: Sun, 15 Mar 2015 11:58:12 +0800 Subject: [PATCH 3/7] avformat/cavsvideodec: use avpriv_find_start_code in

Re: [FFmpeg-devel] [PATCH] avfilter/showwaves: add single_pic option

2015-03-16 Thread Stefano Sabatini
On date Sunday 2014-12-28 12:48:19 +0100, Clément Bœsch encoded: On Fri, Dec 26, 2014 at 01:16:07AM +0100, Stefano Sabatini wrote: On date Friday 2014-12-26 00:17:53 +0100, Clément Bœsch encoded: [...] The first case has its use cases. Random example: https://soundcloud.com/explore The

Re: [FFmpeg-devel] [PATCH]Fix changed channel layout log info

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 05:34:59PM +, Carl Eugen Hoyos wrote: Nicolas George george at nsup.org writes: The line you change seems completely wrong by itself. IMHO, it should read something like av_assert0(decoded_frame-channel_layout == avctx-channel_layout);, to allow finding the

Re: [FFmpeg-devel] [PATCH]Fix changed channel layout log info

2015-03-16 Thread Carl Eugen Hoyos
Nicolas George george at nsup.org writes: The line you change seems completely wrong by itself. IMHO, it should read something like av_assert0(decoded_frame-channel_layout == avctx-channel_layout);, to allow finding the places where lavc returns inconsistent layouts. That happens for dca

Re: [FFmpeg-devel] [PATCH] Add ability to pause transcoding via keyboard interaction

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 11:23:33AM -0500, Jeremy Luce wrote: Here is the updated patch with documentation and proper line breaks. Jeremy On Fri, Mar 13, 2015 at 1:02 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Mar 11, 2015 at 08:34:39AM -0500, Jeremy Luce wrote: Resubmitting

[FFmpeg-devel] GSoc Qualification Task - Implementing Compression technique B44 as a part of exr format (libavcodec/exr.c)

2015-03-16 Thread greeshma
Hello , I have implemented B44 lossy compression technique.The first patch is hereby attached.Please have a look. The diff file is also attached. diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 6251fb7..e540d4c 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -45,6 +45,10 @@

[FFmpeg-devel] [PATCH 2/2] libavutil: add bmi2 optimized av_zhb

2015-03-16 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- GCC apparently can't generate a bzhi instruction on its own from the c version, so here's a custom implementation. Before: gcc -O3 av_zhb_c: 0: 89 f1 movecx,esi 2: ba 01 00 00 00 movedx,0x1 7: d3

[FFmpeg-devel] [PATCH 1/2] libavutil: add av_zhb

2015-03-16 Thread James Almer
Signed-off-by: James Almer jamr...@gmail.com --- Better name (av_zero_high_bits?) and doxygen welcome. libavutil/common.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/libavutil/common.h b/libavutil/common.h index 852c1de..2ee5a98 100644 --- a/libavutil/common.h +++

Re: [FFmpeg-devel] [PATCH] web/index: News about 2.6.1

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 11:52:19PM +0100, Clément Bœsch wrote: On Mon, Mar 16, 2015 at 11:47:10PM +0100, Michael Niedermayer wrote: --- src/index | 12 1 file changed, 12 insertions(+) diff --git a/src/index b/src/index index 22dd574..787f78c 100644 --- a/src/index

Re: [FFmpeg-devel] [RFC]Ignore ff_isom_write_hvcc() return value writing mkv like the mov muxer does

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 09:56:43PM +, Carl Eugen Hoyos wrote: Carl Eugen Hoyos cehoyos at ag.or.at writes: Attached poc fixes remuxing hevc from mpegts to mkv. The mov muxer writes an empty hvcC atom in this case. What has to be done? Ping. Or would the output file be

Re: [FFmpeg-devel] [PATCH 2/5] avfilter/formats: use av_realloc_array in ADD_FORMAT()

2015-03-16 Thread Clément Bœsch
On Sun, Mar 15, 2015 at 03:01:55PM +0100, Stefano Sabatini wrote: On date Sunday 2015-03-15 14:24:27 +0100, Clément Bœsch encoded: --- libavfilter/formats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/formats.c b/libavfilter/formats.c index

Re: [FFmpeg-devel] [PATCH] mov: Add option to keep packet order after seeking

2015-03-16 Thread Derek Buitenhuis
On 3/16/2015 8:17 PM, Michael Niedermayer wrote: LGTM Martin had a few suggestions, and I will send a v2 in a bit. - Derek ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 4/5] avfilter/formats: proper error handling in ff_set_common_*() functions

2015-03-16 Thread Clément Bœsch
On Mon, Mar 16, 2015 at 01:26:04PM +0100, Stefano Sabatini wrote: On date Monday 2015-03-16 11:11:55 +0100, Clément Bœsch encoded: On Mon, Mar 16, 2015 at 11:05:12AM +0100, Stefano Sabatini wrote: On date Monday 2015-03-16 11:00:12 +0100, Stefano Sabatini encoded: On date Sunday

Re: [FFmpeg-devel] [PATCH 5/5] avfilter: handle error in query_formats() of a bunch of random video filters

2015-03-16 Thread Clément Bœsch
On Mon, Mar 16, 2015 at 01:25:11PM +0100, Stefano Sabatini wrote: On date Sunday 2015-03-15 14:24:30 +0100, Clément Bœsch encoded: --- libavfilter/f_select.c | 9 - libavfilter/vf_codecview.c | 6 -- libavfilter/vf_colorbalance.c | 7 ---

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-16 Thread Michael Niedermayer
On Tue, Mar 17, 2015 at 12:44:07AM +0530, Himangi Saraogi wrote: On 14 March 2015 at 09:42, Michael Niedermayer michae...@gmx.at wrote: On Wed, Mar 11, 2015 at 03:20:47AM +0530, Himangi Saraogi wrote: This is an exact inverse of the telecine filter unlike previously existing pullup

Re: [FFmpeg-devel] [PATCH] configure: Silence EMMS warnings in ICC

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 08:42:43PM +, Carl Eugen Hoyos wrote: Michael Niedermayer michaelni at gmx.at writes: -check_cflags -wd144,167,188,556,1292,1419,10006,10148,10156 +# 13200: No EMMS instruction before call to function +# 13203: No EMMS instruction before return from

[FFmpeg-devel] [PATCH] web/index: News about 2.6.1

2015-03-16 Thread Michael Niedermayer
--- src/index | 12 1 file changed, 12 insertions(+) diff --git a/src/index b/src/index index 22dd574..787f78c 100644 --- a/src/index +++ b/src/index @@ -36,6 +36,18 @@ News /h1 + a id=pr2.6.1/ah3March 16, 2015, FFmpeg 2.6.1/h3 + p +We have made a new major release

Re: [FFmpeg-devel] [PATCH] configure: Silence EMMS warnings in ICC

2015-03-16 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: -check_cflags -wd144,167,188,556,1292,1419,10006,10148,10156 +# 13200: No EMMS instruction before call to function +# 13203: No EMMS instruction before return from function +check_cflags

Re: [FFmpeg-devel] [PATCH] is_compiled flag not being cleared in av_opencl_uninit

2015-03-16 Thread Michael Niedermayer
On Mon, Mar 16, 2015 at 01:20:25PM -0500, Srikanth G wrote: Attaching the patch file per Wei's request applied thanks [..,] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Those who are best at talking, realize last or never when they are wrong. signature.asc

Re: [FFmpeg-devel] [PATCH] [PATCH] lavfi: add inverse telecine filter

2015-03-16 Thread Himangi Saraogi
On 14 March 2015 at 09:42, Michael Niedermayer michae...@gmx.at wrote: On Wed, Mar 11, 2015 at 03:20:47AM +0530, Himangi Saraogi wrote: This is an exact inverse of the telecine filter unlike previously existing pullup and fieldmatch ones. The algorithm was briefly discussed with Carl.

Re: [FFmpeg-devel] [PATCH] is_compiled flag not being cleared in av_opencl_uninit

2015-03-16 Thread Srikanth G
Attaching the patch file per Wei's request -Srikanth On Mon, Mar 9, 2015 at 5:45 PM, Srikanth G gska...@gmail.com wrote: Hi Michael, I did the fix and verified compilation and run. Confirmed it works. Here is the patch --- libavutil/opencl.c | 4 1 file changed, 4 insertions(+)

Re: [FFmpeg-devel] [PATCH 1/2] hevc: avoid unnecessary calls to?get_format

2015-03-16 Thread Michael Niedermayer
On Thu, Mar 12, 2015 at 01:12:47PM +, Rainer Hochecker wrote: Rainer Hochecker fernetmenta at online.de writes: hevc_decode_flush(AVCodecContext *avctx) { HEVCContext *s = avctx-priv_data; ff_hevc_flush_dpb(s); +hevc_decode_free(avctx); +s-context_initialized =