Re: [FFmpeg-devel] [libav-devel] [PATCH 2/2] lavf: move internal fields from public to internal context

2015-03-07 Thread Rainer Hochecker
Michael Niedermayer gmx.at> writes: > > ive already applied wm4s patch yesterday, so the next ffmpeg release > (2.6) should contain avformat_flush() > > if further changes are needed please tell me > > [...] > Thanks for notification. I will switch Kodi to 2.6 this weekend. __

Re: [FFmpeg-devel] [PATCH] vp9: fix segmentation map retention with threading enabled.

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 12:46:46AM -0300, James Almer wrote: > On 07/03/15 12:22 AM, Michael Niedermayer wrote: > > On Sat, Mar 07, 2015 at 04:20:58AM +0100, Michael Niedermayer wrote: > >> On Fri, Mar 06, 2015 at 09:07:54PM -0500, Ronald S. Bultje wrote: > >>> Fixes ticket 4359. > >>> --- > >>> l

Re: [FFmpeg-devel] [PATCH v2 3/4] mips: port optimizations to mips n64

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 02:47:51AM -0300, James Almer wrote: > On 05/03/15 2:40 PM, James Cowgill wrote: > > diff --git a/libavutil/mips/asmdefs.h b/libavutil/mips/asmdefs.h > > new file mode 100644 > > index 000..4d2922c > > --- /dev/null > > +++ b/libavutil/mips/asmdefs.h > > @@ -0,0 +1,48 @@

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

2015-03-07 Thread Michael Niedermayer
On Fri, Mar 06, 2015 at 03:30:00PM +0100, Michael Niedermayer wrote: > On Fri, Mar 06, 2015 at 07:34:06PM +0800, Wei Gao wrote: > > 2015-03-05 8:48 GMT+08:00 Srikanth G : > > > > > When OpenCL kernels are compiled, is_compiled flag is being set for each > > > kernel. But, in opencl uninit, this fl

Re: [FFmpeg-devel] [PATCH] fate: add test for vp90-2-trac4359.webm

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 02:24:24AM -0300, James Almer wrote: > Regression test for the bug from trac ticket #4359 fixed in commit efff3854 > > Signed-off-by: James Almer > --- > The file was uploaded to the ftp (Incoming folder). It should of course be > placed in the vp9-test-vectors folder.

Re: [FFmpeg-devel] FFmpeg 2.6 release

2015-03-07 Thread Michael Niedermayer
On Sun, Mar 01, 2015 at 05:53:59PM +0100, Michael Niedermayer wrote: > Hi all > > its a while since FFmpeg 2.5, so its getting time to make 2.6 > if you want something in it or something fixed, now is your last > chance ;) > > About the name if noone suggests something then ill pick a random > sc

Re: [FFmpeg-devel] [PATCH v2 3/4] mips: port optimizations to mips n64

2015-03-07 Thread James Cowgill
On Sat, 2015-03-07 at 10:15 +0100, Michael Niedermayer wrote: > On Sat, Mar 07, 2015 at 02:47:51AM -0300, James Almer wrote: > > On 05/03/15 2:40 PM, James Cowgill wrote: > > > diff --git a/libavutil/mips/asmdefs.h b/libavutil/mips/asmdefs.h > > > new file mode 100644 > > > index 000..4d2922c >

[FFmpeg-devel] [PATCH] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread James Cowgill
Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, but the linux kernel does in asm/sgidefs.h. So use that header if we can. Change _ABI64 to _MIPS_SIM_ABI64 which is defined in both headers. Signed-off-by: James Cowgill --- libavutil/mips/asmdefs.h | 6 +- 1 file

[FFmpeg-devel] [PATCH] mips/asmdefs: change include guard to read AVUTIL_ instead of AVCODEC_

2015-03-07 Thread James Cowgill
Signed-off-by: James Cowgill --- libavutil/mips/asmdefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/mips/asmdefs.h b/libavutil/mips/asmdefs.h index 3660e98..04c036e 100644 --- a/libavutil/mips/asmdefs.h +++ b/libavutil/mips/asmdefs.h @@ -24,8 +24,8 @@ * a

Re: [FFmpeg-devel] [PATCH] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:13:23AM +, James Cowgill wrote: > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, > but the linux kernel does in asm/sgidefs.h. So use that header if we can. > > Change _ABI64 to _MIPS_SIM_ABI64 which is defined in both headers. > > Sign

Re: [FFmpeg-devel] [PATCH] mips/asmdefs: change include guard to read AVUTIL_ instead of AVCODEC_

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:15:19AM +, James Cowgill wrote: > Signed-off-by: James Cowgill > --- > libavutil/mips/asmdefs.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB There wil

Re: [FFmpeg-devel] [PATCH] Port FFT domain filter.

2015-03-07 Thread arwa arif
Updated the patch. From 4e73a3876d0e33af33ea3af27d38ce4e5755ad25 Mon Sep 17 00:00:00 2001 From: Arwa Arif Date: Tue, 24 Feb 2015 12:17:30 +0530 Subject: [PATCH] Add FFT domain filter. --- doc/filters.texi | 38 + libavfilter/Makefile |1 + libavfilter/allfilters.c |1 +

[FFmpeg-devel] [PATCH v2] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread James Cowgill
Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, but the linux kernel does have an almost equivalent asm/sgidefs.h which will do so use that header if we can. Change _ABI64 to _MIPS_SIM_ABI64 which is defined in both headers. Signed-off-by: James Cowgill --- configur

Re: [FFmpeg-devel] [PATCH] Port FFT domain filter.

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 04:09:09PM +0530, arwa arif wrote: > Updated the patch. > doc/filters.texi | 38 + > libavfilter/Makefile |1 > libavfilter/allfilters.c |1 > libavfilter/vf_fftfilt.c | 344 > +++ > 4 files changed,

Re: [FFmpeg-devel] [PATCH v2] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:56:45AM +, James Cowgill wrote: > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, > but the linux kernel does have an almost equivalent asm/sgidefs.h which will > do so use that header if we can. > > Change _ABI64 to _MIPS_SIM_ABI64 which

Re: [FFmpeg-devel] [PATCH v2] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread James Cowgill
On Sat, 2015-03-07 at 13:32 +0100, Michael Niedermayer wrote: > On Sat, Mar 07, 2015 at 10:56:45AM +, James Cowgill wrote: > > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, > > but the linux kernel does have an almost equivalent asm/sgidefs.h which will > > do so

[FFmpeg-devel] [PATCH] vp9: split segmentation map / mvpair references.

2015-03-07 Thread Ronald S. Bultje
This prevents a memcpy if segmentation.update_map == false. --- libavcodec/vp9.c | 68 ++-- 1 file changed, 32 insertions(+), 36 deletions(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index aff86d0..6ac2935 100644 --- a/libavcodec/vp9.c +

[FFmpeg-devel] [PATCH 1/5] avcodec/vc1_mc: remove useless variables

2015-03-07 Thread zhaoxiu.zeng
>From b448a6af018f8322c761571149d961853492a437 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 16:24:42 +0800 Subject: [PATCH 1/5] avcodec/vc1_mc: remove useless variables Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_mc.c | 18 +++--- 1 file changed, 7 insertions

[FFmpeg-devel] [PATCH 2/5] avcodec/vc1_mc: Simplify v_edge_pos and src_y correction when fieldmv is true

2015-03-07 Thread zhaoxiu.zeng
>From 1a57b4d3809710aeefc073a102a38e82f1d6e164 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 17:36:33 +0800 Subject: [PATCH 2/5] avcodec/vc1_mc: Simplify v_edge_pos and src_y correction when fieldmv is true Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_mc.c | 21 ++

[FFmpeg-devel] [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to uint8_t

2015-03-07 Thread zhaoxiu.zeng
>From 89d7ae20136a6d65cd72117dd367f60003a7391e Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 17:38:54 +0800 Subject: [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to uint8_t Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_mc.c | 2 +- 1 file changed, 1 inserti

[FFmpeg-devel] [PATCH 4/5] avcodec/vc1_mc: simplifying

2015-03-07 Thread zhaoxiu.zeng
>From 5b695f07a5c62149bf2477efd02150e74ea12c36 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 17:41:51 +0800 Subject: [PATCH 4/5] avcodec/vc1_mc: simplifying Signed-off-by: Zeng Zhaoxiu --- libavcodec/vc1_mc.c | 18 ++ 1 file changed, 6 insertions(+), 12 delet

[FFmpeg-devel] [PATCH 5/5] avcodec/vc1_mc: optimize get_chroma_mv, and add get_luma_mv

2015-03-07 Thread zhaoxiu.zeng
>From 8936ad9561a44fa71126a07efc2ca8096d209600 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 22:08:35 +0800 Subject: [PATCH 5/5] avcodec/vc1_mc: optimize get_chroma_mv, and add get_luma_mv Test results: before: fate-suite/vc1/SA10091.vc1: 1062 decicycles in ff_vc1_mc_4mv_ch

[FFmpeg-devel] [PATCH] avcodec/wmalossless: use av_clip_intp2

2015-03-07 Thread zhaoxiu.zeng
>From 47c997fa0623ab94a7a93b2d2e4cc4fa64c85d5f Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 23:26:42 +0800 Subject: [PATCH 1/1] avcodec/wmalossless: use av_clip_intp2 Signed-off-by: Zeng Zhaoxiu --- libavcodec/wmalosslessdec.c | 8 +++- 1 file changed, 3 insertions(+),

[FFmpeg-devel] [PATCH] avcodec/hevc_parser: use avpriv_find_start_code in hevc_split()

2015-03-07 Thread zhaoxiu.zeng
>From ab12e3081ba987c2e05d819be97cde96952f1c2a Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 23:29:46 +0800 Subject: [PATCH 1/1] avcodec/hevc_parser: use avpriv_find_start_code in hevc_split() Signed-off-by: Zeng Zhaoxiu --- libavcodec/hevc_parser.c | 26 +--

[FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Peter
So trying to compile on VS2015 now works fine for the libraries. However the command-line tool does not compile successfully. The issue is this patch https://github.com/FFmpeg/FFmpeg/commit/ca4d71b149ebe32aeaf617ffccf362624b9aafb1 which uses a member of the FILE struct which is not available in th

[FFmpeg-devel] [PATCH] avcodec/golomb: cleanup

2015-03-07 Thread zhaoxiu.zeng
>From 87f51c45cf3ebb2ffefbba72414bf5f9c06f6351 Mon Sep 17 00:00:00 2001 From: Zeng Zhaoxiu Date: Sat, 7 Mar 2015 23:42:05 +0800 Subject: [PATCH 1/1] avcodec/golomb: cleanup Signed-off-by: Zeng Zhaoxiu --- libavcodec/golomb.h | 19 +-- 1 file changed, 5 insertions(+), 14 deletion

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

2015-03-07 Thread Srikanth G
Hi Michael, Can you let me know the compilation errors? I tried with this fix and things were working for me. I will try again though. -Srikanth On Sat, Mar 7, 2015 at 3:24 AM, Michael Niedermayer wrote: > On Fri, Mar 06, 2015 at 03:30:00PM +0100, Michael Niedermayer wrote: > > On Fri, Mar 06

Re: [FFmpeg-devel] [PATCH] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread wm4
On Sat, 7 Mar 2015 10:13:23 + James Cowgill wrote: > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, > but the linux kernel does in asm/sgidefs.h. So use that header if we can. > > Change _ABI64 to _MIPS_SIM_ABI64 which is defined in both headers. What does thi

Re: [FFmpeg-devel] [PATCH] mips/asmdefs: use asm/sgidefs.h header on linux

2015-03-07 Thread James Cowgill
On Sat, 2015-03-07 at 18:06 +0100, wm4 wrote: > On Sat, 7 Mar 2015 10:13:23 + > James Cowgill wrote: > > > Unfortunately android < api 21 (lollipop) doesn't have the sgidefs.h header, > > but the linux kernel does in asm/sgidefs.h. So use that header if we can. > > > > Change _ABI64 to _MIP

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

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:53:05AM -0600, Srikanth G wrote: > Hi Michael, > > Can you let me know the compilation errors? > I tried with this fix and things were working for me. > > I will try again though. you can checkout a fresh ffmpeg and apply the patch "i" is not declared in that function

Re: [FFmpeg-devel] [PATCH 1/5] avcodec/vc1_mc: remove useless variables

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:43:19PM +0800, zhaoxiu.zeng wrote: > From b448a6af018f8322c761571149d961853492a437 Mon Sep 17 00:00:00 2001 > From: Zeng Zhaoxiu > Date: Sat, 7 Mar 2015 16:24:42 +0800 > Subject: [PATCH 1/5] avcodec/vc1_mc: remove useless variables > > Signed-off-by: Zeng Zhaoxiu > ---

[FFmpeg-devel] GSoC '15 Introduction

2015-03-07 Thread Ilinca Andrei
Hello! Short description: Full name : Andrei Ilinca IRC Handle: andrei_il / andrei__il Studies: Second year student at the Faculty of Automatic Control and Computer Science at the Polytechnic Univ of Bucharest Github: https://github.com/ailinca

[FFmpeg-devel] [PATCH] ChangeLog: Remove the redundant VP9 RTP entry

2015-03-07 Thread Xiangyu Liu
Hi, There is a redundant VP9 RTP entry in current Changelog. Just remove it. - PATCH --- diff -Narup a/ChangeLog b/ChangeLog --- a/ChangeLog2015-03-06 09:28:36.0 +0800 +++ b/ChangeLog2015-03-06

[FFmpeg-devel] [PATCH] doc: avoid the incorrect phrase 'allow to'

2015-03-07 Thread Andreas Cadhalpun
Hi, I missed some occurrences of 'allow to' in my previous patch. Best regards, Andreas >From f3c94a70bfe9264e25575999a3cb134f029bea2d Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Sat, 7 Mar 2015 19:36:07 +0100 Subject: [PATCH] doc: avoid the incorrect phrase 'allow to' Signed-off-by

[FFmpeg-devel] gsoc-2015: APNG

2015-03-07 Thread Федор
Is GSOC task Animated Portable Network Graphics free? If yes I will work on it. My qualification Task: Improve the filter selection heuristic in in the png encoder so files compress better Fedor Strizhnev Федор Стрижнёв. ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] ChangeLog: Remove the redundant VP9 RTP entry

2015-03-07 Thread Michael Niedermayer
On Fri, Mar 06, 2015 at 09:42:04AM +0800, Xiangyu Liu wrote: > Hi, > > There is a redundant VP9 RTP entry in current Changelog. Just remove it. applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When you are offended at any man's fault, turn to you

Re: [FFmpeg-devel] [PATCH] avcodec/golomb: cleanup

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 11:53:39PM +0800, zhaoxiu.zeng wrote: > From 87f51c45cf3ebb2ffefbba72414bf5f9c06f6351 Mon Sep 17 00:00:00 2001 > From: Zeng Zhaoxiu > Date: Sat, 7 Mar 2015 23:42:05 +0800 > Subject: [PATCH 1/1] avcodec/golomb: cleanup > > Signed-off-by: Zeng Zhaoxiu applied thanks [...

Re: [FFmpeg-devel] gsoc-2015: APNG

2015-03-07 Thread Paul B Mahol
On 3/7/15, Fedor wrote: > Is GSOC task Animated Portable Network Graphics free? If yes I will work on > it. My qualification Task: Improve the filter selection heuristic in in the > png encoder so files compress better > You are 5th that picked it. I wonder why APNG is so popular. Good luck with

[FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Gilles Chanteperdrix
When transcoding to SRT, do not assume that each sub-title frame contains text. Signed-off-by: Gilles Chanteperdrix --- libavcodec/srtenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/srtenc.c b/libavcodec/srtenc.c index 3287970..ab790f8 100644 --- a/libavcodec/srtenc.c +++

Re: [FFmpeg-devel] [PATCH 2/5] avcodec/vc1_mc: Simplify v_edge_pos and src_y correction when fieldmv is true

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:45:36PM +0800, zhaoxiu.zeng wrote: > From 1a57b4d3809710aeefc073a102a38e82f1d6e164 Mon Sep 17 00:00:00 2001 > From: Zeng Zhaoxiu > Date: Sat, 7 Mar 2015 17:36:33 +0800 > Subject: [PATCH 2/5] avcodec/vc1_mc: Simplify v_edge_pos and src_y correction > when fieldmv is true

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Nicolas George
Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > When transcoding to SRT, do not assume that each sub-title frame contains > text. Can you explain how to reproduce the segfault? I tried transcoding an ASS file and it worked. Regards, -- Nicolas George signature.asc Descri

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to uint8_t

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 10:47:18PM +0800, zhaoxiu.zeng wrote: > From 89d7ae20136a6d65cd72117dd367f60003a7391e Mon Sep 17 00:00:00 2001 > From: Zeng Zhaoxiu > Date: Sat, 7 Mar 2015 17:38:54 +0800 > Subject: [PATCH 3/5] avcodec/vc1_mc: change the type of s_rndtblfield to > uint8_t > > Signed-off-b

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Gilles Chanteperdrix
On Sat, Mar 07, 2015 at 09:18:41PM +0100, Nicolas George wrote: > Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > > When transcoding to SRT, do not assume that each sub-title frame contains > > text. > > Can you explain how to reproduce the segfault? I tried transcoding an ASS

[FFmpeg-devel] [PATCH] doc/filters: Add some random examples for fftfilt

2015-03-07 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- doc/filters.texi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index b15087c..9149ae5 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -4629,6 +4629,29 @@ The coordinates of the curr

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Reimar Döffinger
On 07.03.2015, at 16:51, Peter wrote: > The issue is this patch > https://github.com/FFmpeg/FFmpeg/commit/ca4d71b149ebe32aeaf617ffccf362624b9aafb1 > which uses a member of the FILE struct which is not available in the > new C runtime (it's now just a struct with a void*). > > I do not quite know

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Nicolas George
Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > You need an ASS file that produces a sub-title frame without text. I > have been carrying this patch since 2013, I am afraid I no longer > have the problematic file. I tried an ASS file with an empty text part, and it did not cras

[FFmpeg-devel] Patch proposal : Fix crash with astats filter when no audio input

2015-03-07 Thread Martin Vignali
Hello, Exemple to create the crash : ffmpeg -i fileWithoutSound -filter astats -f null - A patch in attach avoid the crash by avoiding Zero division in print_stats. I test the patch on several files, and the crash doesn't appear anymore. Best regards Martin 0001-Fix-crash-in-astats-filter-wh

Re: [FFmpeg-devel] Patch proposal : Fix crash with astats filter when no audio input

2015-03-07 Thread Nicolas George
Le septidi 17 ventôse, an CCXXIII, Martin Vignali a écrit : > Exemple to create the crash : > ffmpeg -i fileWithoutSound -filter astats -f null - I experience no crash. As far as I can see, the divisions happen with floats, which is valid. > From 621b18a278c3d314da773b8eec9f9e12707a20bb Mon Sep 1

[FFmpeg-devel] [PATCH] intreadwrite: Altivec implementations of AV_COPY128 and AV_ZERO128.

2015-03-07 Thread Reimar Döffinger
Slightly (ca. 4%?) faster and smaller ff_h264_decode_mb_cavlc in my tests on a G4 7450. Signed-off-by: Reimar Döffinger --- libavutil/ppc/intreadwrite.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavutil/ppc/intreadwrite.h b/libavutil/ppc/intreadwrite.h index 1ec349e..b68b

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Peter
>It checks if there is data in the buffer. The point is to do a non-blocking >read on stdin. I don't know how else to do that for stdin. Using WaitForSingleObject with generic functions like read() from io.h or ReadFile doesn't work since WaitForSingleObject will trigger on mouse and windows even

Re: [FFmpeg-devel] [PATCH] Port FFT domain filter.

2015-03-07 Thread James Almer
On 07/03/15 7:39 AM, arwa arif wrote: > Updated the patch. Please send a patch to add the relevant dependencies to configure. Look how showspectrum is handled to get an idea. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Gilles Chanteperdrix
On Sat, Mar 07, 2015 at 11:46:44PM +0100, Nicolas George wrote: > Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > > You need an ASS file that produces a sub-title frame without text. I > > have been carrying this patch since 2013, I am afraid I no longer > > have the problematic

Re: [FFmpeg-devel] Patch proposal : Fix crash with astats filter when no audio input

2015-03-07 Thread Martin Vignali
In attach a sample file, who make a crash. (on mac os x with latest git version, and on windows with older version). i just make the test now, and s->nb_channels can be 0. (this is the case with the file in attach). For the coding style. Do you prefer something like that : ? if (s->nb_channels ==

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Peter
Alright, I may have been really stupid, for some reason I always passed "input_handle" to read and WaitForSingleObject instead of stdin, no clue what happened there in my head. Turns out this actually works in my initial tests: https://github.com/Bigpet/FFmpeg/commit/93864dd0373bc6561be8e45f14f83

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Gilles Chanteperdrix
On Sat, Mar 07, 2015 at 11:46:44PM +0100, Nicolas George wrote: > Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > > You need an ASS file that produces a sub-title frame without text. I > > have been carrying this patch since 2013, I am afraid I no longer > > have the problematic

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Reimar Döffinger
On 08.03.2015, at 00:46, Peter wrote: > Alright, I may have been really stupid, for some reason I always passed > "input_handle" to read and WaitForSingleObject instead of stdin, no clue > what happened there in my head. > > Turns out this actually works in my initial tests: > > https://github.c

Re: [FFmpeg-devel] [PATCH] doc/filters: Add some random examples for fftfilt

2015-03-07 Thread Timothy Gu
On Sat, Mar 7, 2015 at 2:29 PM Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > doc/filters.texi | 23 +++ > 1 file changed, 23 insertions(+) > > diff --git a/doc/filters.texi b/doc/filters.texi > index b15087c..9149ae5 100644 > --- a/doc/filters.tex

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Hendrik Leppkes
On Sun, Mar 8, 2015 at 1:01 AM, Reimar Döffinger wrote: > On 08.03.2015, at 00:46, Peter wrote: >> Alright, I may have been really stupid, for some reason I always passed >> "input_handle" to read and WaitForSingleObject instead of stdin, no clue >> what happened there in my head. >> >> Turns out

Re: [FFmpeg-devel] Windows deprecated stdin reading method

2015-03-07 Thread Peter
Sadly it seems WaitForSingleObject behavior with FILE handles is not well defined behavior either, I think I've read the words "strongly discouraged" I'm probably still gonna do some more tests to see if it actually breaks under some circumstances. But this is not the golden ticket solution either

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/vc1_mc: optimize get_chroma_mv, and add get_luma_mv

2015-03-07 Thread Michael Niedermayer
On Sat, Mar 07, 2015 at 11:17:53PM +0800, zhaoxiu.zeng wrote: > From 8936ad9561a44fa71126a07efc2ca8096d209600 Mon Sep 17 00:00:00 2001 > From: Zeng Zhaoxiu > Date: Sat, 7 Mar 2015 22:08:35 +0800 > Subject: [PATCH 5/5] avcodec/vc1_mc: optimize get_chroma_mv, and add > get_luma_mv > > Test results

Re: [FFmpeg-devel] [PATCH] AAC: [PATCH] AAC: Add support for 7350Hz sampling rates

2015-03-07 Thread Claudio Freire
On Fri, Mar 6, 2015 at 2:19 PM, Michael Niedermayer wrote: >> So it seems the test doesn't set up the LD_LIBRARY_PATH correctly. >> That's fixable, I'll see about getting a patch for that when I >> understand the makefile layout. >> >> In the meantime, I'm *guessing* a test would look like the pat

Re: [FFmpeg-devel] [PATCH] avformat/srtenc: avoid segmentation fault when transcoding from SSA to SRT

2015-03-07 Thread Clément Bœsch
On Sun, Mar 08, 2015 at 12:27:49AM +0100, Gilles Chanteperdrix wrote: > On Sat, Mar 07, 2015 at 11:46:44PM +0100, Nicolas George wrote: > > Le septidi 17 ventôse, an CCXXIII, Gilles Chanteperdrix a écrit : > > > You need an ASS file that produces a sub-title frame without text. I > > > have been ca