Re: [FFmpeg-devel] [PATCH] Support Ctrl+Break in ffmpeg.exe on Windows as if it was Ctrl+C

2015-06-24 Thread Roger Pack
On 6/25/15, James Almer wrote: > On 24/06/15 7:19 AM, Roger Pack wrote: >> +#ifdef HAVE_SETCONSOLECTRLHANDLER >> +static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) >> +{ >> +av_log(NULL, AV_LOG_DEBUG, "\nReceived windows signal %d\n", >> fdwCtrlType); >> + >> +switch (fdwCtrlType) >> +

Re: [FFmpeg-devel] verbiage

2015-06-24 Thread Roger Pack
On 6/24/15, compn wrote: > On Wed, 24 Jun 2015 04:30:10 -0600 > Roger Pack wrote: > >> Received signal %d: terminating. >> >> Today sounds as if the process is "hard exiting" (like SIGKILL or some >> odd) when it might be as benign as a ctrl+c that is used as a normal >> shutdown process. >> >> P

Re: [FFmpeg-devel] [PATCH] Support Ctrl+Break in ffmpeg.exe on Windows as if it was Ctrl+C

2015-06-24 Thread James Almer
On 24/06/15 7:19 AM, Roger Pack wrote: > +#ifdef HAVE_SETCONSOLECTRLHANDLER > +static BOOL WINAPI CtrlHandler(DWORD fdwCtrlType) > +{ > +av_log(NULL, AV_LOG_DEBUG, "\nReceived windows signal %d\n", > fdwCtrlType); > + > +switch (fdwCtrlType) > +{ > +case CTRL_C_EVENT: > +case C

Re: [FFmpeg-devel] [PATCH] Support Ctrl+Break in ffmpeg.exe on Windows as if it was Ctrl+C

2015-06-24 Thread Roger Pack
On 6/24/15, Michael Niedermayer wrote: > On Wed, Jun 24, 2015 at 04:19:38AM -0600, Roger Pack wrote: >> On 7/5/12, Michael Niedermayer wrote: >> > On Mon, Jun 25, 2012 at 02:21:21PM +0200, Michael Niedermayer wrote: >> >> On Tue, Jun 19, 2012 at 07:10:04PM +0200, Reimar Döffinger wrote: >> >> > O

Re: [FFmpeg-devel] patch: log when hard exiting from too many signals.

2015-06-24 Thread Roger Pack
On 6/24/15, wm4 wrote: > On Wed, 24 Jun 2015 13:04:27 +0200 > Michael Niedermayer wrote: > >> On Wed, Jun 24, 2015 at 04:28:22AM -0600, Roger Pack wrote: >> > If it looks worth anything, see attached (there's only one file). >> > Thanks! >> >> > ffmpeg.c |4 +++- >> > 1 file changed, 3 inser

[FFmpeg-devel] [PATCH 3/3] fate: test ea vp6 with alpha stream

2015-06-24 Thread Peter Ross
Signed-off-by: Peter Ross --- The binary file is in /incoming/fate-ea-vp6 (64kb) -map 0 required because there are two video streams in this file. tests/fate/demux.mak | 3 ++ tests/ref/fate/d-eavp6-demux | 98 2 files changed, 101 insertio

[FFmpeg-devel] [PATCH 2/3] electronicarts: demux alpha stream

2015-06-24 Thread Peter Ross
Electronic Arts VP6 files may contain two video streams: one for the primary video stream and another for the alpha mask. The file format uses identical data structures for both streams. Signed-off-by: Peter Ross --- libavformat/electronicarts.c | 18 +++--- 1 file changed, 15 insert

[FFmpeg-devel] [PATCH 1/3] electronicarts: move video stream properties into dedicated structure

2015-06-24 Thread Peter Ross
This is required for the alpha stream demux patch. Signed-off-by: Peter Ross --- libavformat/electronicarts.c | 123 +++ 1 file changed, 67 insertions(+), 56 deletions(-) diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index d999a

Re: [FFmpeg-devel] GCC 5.1 warning: -Warray-bounds

2015-06-24 Thread James Almer
On 04/06/15 6:55 PM, Ganesh Ajjanagadde wrote: > I have created a small test case which gets at the heart of one of > these spurious > warnings, namely the one for libavfilter/vf_swapuv.c. > > Here is the ticket on the GCC Bugzilla: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66422 > > Note

Re: [FFmpeg-devel] [PATCH] vp9: fix profile check for intraonly frames.

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 02:21:15PM -0700, James Zern wrote: > Hi, > > On Wed, Jun 24, 2015 at 7:41 AM, Ronald S. Bultje wrote: > > --- > > libavcodec/vp9.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > lgtm applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147E

Re: [FFmpeg-devel] [PATCH] avcodec/vdpau: Support for VDPAU accelerated HEVC decoding

2015-06-24 Thread Philip Langdale
Ping? On Sat, 20 Jun 2015 11:45:01 -0700 Philip Langdale wrote: > This change introduces basic support for HEVC decoding through vdpau. > Right now, there are problems with the nvidia driver/library > implementation that mean that frames are incorrectly laid out in > memory when they are returne

Re: [FFmpeg-devel] [PATCH] libavformat: Add H264 API test

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 07:21:07PM +0300, Ludmila Glinskih wrote: > Result differs in pkt_duration and time_base.den for some reason. > Right now it tests only one example (adjusted to match the output). > > Signed-off-by: Ludmila Glinskih [...] > +printf("%d, %10"PRId64", %10"P

Re: [FFmpeg-devel] GSoC Weekly Report (libswscale refactor)

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 02:41:54PM -0300, Pedro Arthur wrote: > Hi, > > I'm working on the libswscale refactoring and Michael advised me to send > the changes to the > mailing list so that I can get more feedback about it. Thus I added the > references [1] - [7] which > are links to commits on my

Re: [FFmpeg-devel] [PATCH 2/2] libvpxdec: report colorspace

2015-06-24 Thread James Zern
On Tue, Jun 23, 2015 at 4:19 PM, Ronald S. Bultje wrote: > Hi, > > On Tue, Jun 23, 2015 at 6:21 PM, James Zern wrote: > >> --- >> libavcodec/libvpxdec.c | 7 +++ >> 1 file changed, 7 insertions(+) > > > sgtm. > applied ___ ffmpeg-devel mailing lis

[FFmpeg-devel] [RFC] [WIP] [PATCH] lavfi: add drawgraph filter

2015-06-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Example: ffplay movie.webm -vf signalstats,drawgraph=lavfi.signalstats.YAVG:min=0:max=255:mode=0 --- libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_drawgraph.c | 186 + 3 files c

[FFmpeg-devel] GSoC Weekly Report (libswscale refactor)

2015-06-24 Thread Pedro Arthur
Hi, I'm working on the libswscale refactoring and Michael advised me to send the changes to the mailing list so that I can get more feedback about it. Thus I added the references [1] - [7] which are links to commits on my github fork of FFmpeg. Last week I wrote the horizontal chroma scaling (pat

[FFmpeg-devel] [PATCH] fix reference quicktime movie reading

2015-06-24 Thread Maksym Veremeyenko
Hi, i noticed that ffmpeg from latest git stop decoding all reference mov files: [root@dev-5 data]# ffmpeg -debug 3 -i BNC123914.mov -y q.mp4 ffmpeg version N-73128-g5a1f785 Copyright (c) 2000-2015 the FFmpeg developers built with gcc 4.6.3 (GCC) 20120306 (Red Hat 4.6.3-2) configuration:

Re: [FFmpeg-devel] [PATCH] libavformat: Add H264 API test

2015-06-24 Thread Ronald S. Bultje
Hi, On Wed, Jun 24, 2015 at 11:45 AM, Ludmila Glinskih wrote: > вт, 23 июня 2015 г. в 16:21, Ronald S. Bultje : > > On Tue, Jun 23, 2015 at 9:05 AM, Ludmila Glinskih > > wrote: > > > > > +do { > > > +if (pkt.stream_index != video_stream) > > > +break; > > > > > > That ch

[FFmpeg-devel] [PATCH] libavformat: Add H264 API test

2015-06-24 Thread Ludmila Glinskih
Result differs in pkt_duration and time_base.den for some reason. Right now it tests only one example (adjusted to match the output). Signed-off-by: Ludmila Glinskih --- libavformat/Makefile| 1 + libavformat/api-h264-test.c | 183 tests/fat

[FFmpeg-devel] [PATCHv3] libavformat: Add H264 API test

2015-06-24 Thread Ludmila Glinskih
I added av_find_best_stream() and changed libavformat.mak, because previous version failed without samples. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] libavformat: Add H264 API test

2015-06-24 Thread Ludmila Glinskih
Hi! вт, 23 июня 2015 г. в 16:21, Ronald S. Bultje : > Hi, > > On Tue, Jun 23, 2015 at 9:05 AM, Ludmila Glinskih > wrote: > > > +do { > > +if (pkt.stream_index != video_stream) > > +break; > > > That check shouldn't be necessary for the last frame. Sorry for missing > that

[FFmpeg-devel] [PATCH] vp9: fix profile check for intraonly frames.

2015-06-24 Thread Ronald S. Bultje
--- libavcodec/vp9.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c index 9d9326c..3ad9056 100644 --- a/libavcodec/vp9.c +++ b/libavcodec/vp9.c @@ -594,7 +594,7 @@ static int decode_frame_header(AVCodecContext *ctx, av_log(c

Re: [FFmpeg-devel] [PATCH 2/2] fate/api-tests: Move api-flac-test to API tests directory.

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 02:27:32AM +0100, George Boyle wrote: > --- > libavcodec/Makefile| 2 - > libavcodec/api-flac-test.c | 266 > - > tests/Makefile | 1 + > tests/api/Makefile | 3 + > tests/api/api-flac-test.c |

Re: [FFmpeg-devel] [PATCH] Support Ctrl+Break in ffmpeg.exe on Windows as if it was Ctrl+C

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 04:19:38AM -0600, Roger Pack wrote: > On 7/5/12, Michael Niedermayer wrote: > > On Mon, Jun 25, 2012 at 02:21:21PM +0200, Michael Niedermayer wrote: > >> On Tue, Jun 19, 2012 at 07:10:04PM +0200, Reimar Döffinger wrote: > >> > On 19 Jun 2012, at 11:31, Joe Wreschnig > >> >

Re: [FFmpeg-devel] [PATCH] electronicarts: demux alpha stream

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 12:31:56AM +1000, Peter Ross wrote: > .vp6 files may contain two video streams: one for the primary video > stream and another for the alpha mask. The file format uses identical > data structures for both streams. > > Signed-off-by: Peter Ross > --- > libavformat/electron

Re: [FFmpeg-devel] [PATCH] lavf: set is_connected flag so url can be properly closed

2015-06-24 Thread Michael Niedermayer
On Tue, Jun 23, 2015 at 03:35:16AM +0200, Mariusz Szczepańczyk wrote: > --- > libavformat/avio.c | 1 + > 1 file changed, 1 insertion(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Everything should be made as simple as possible, but not sim

Re: [FFmpeg-devel] [PATCH] avfilter: add ssim filter

2015-06-24 Thread Ronald S. Bultje
Hi, On Wed, Jun 24, 2015 at 9:21 AM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Changelog| 1 + > doc/filters.texi | 58 +++ > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_ssim.c| 399 >

[FFmpeg-devel] [PATCH] avfilter: add ssim filter

2015-06-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Changelog| 1 + doc/filters.texi | 58 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_ssim.c| 399 +++ 5 files changed, 460 insertions(+) create

[FFmpeg-devel] [PATCH] lavc/adpcm: THP: set approx_nb_samples correctly

2015-06-24 Thread Rodger Combs
--- libavcodec/adpcm.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index bad0be4..2dac23b 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -654,11 +654,9 @@ static int get_nb_samples(AVCodecContext *avctx, GetByteCon

Re: [FFmpeg-devel] [PATCH] avcodec/evrc: make it possible to disable postfilter

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 06:05:38AM +, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/evrcdec.c | 29 ++--- > 1 file changed, 26 insertions(+), 3 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B

Re: [FFmpeg-devel] [PATCH] lavf/matroskaenc: fix crash on empty H.264 packets

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 04:21:15AM -0500, Rodger Combs wrote: > Fixes: > ffmpeg -i > https://dl.dropboxusercontent.com/u/105828/sample%20crash%20file.mkv \ > -bsf:v h264_mp4toannexb -c copy -y -f matroska /dev/null > > Not 100% sure if this is the best place to do this. fixed differently Thank

Re: [FFmpeg-devel] patch: log when hard exiting from too many signals.

2015-06-24 Thread wm4
On Wed, 24 Jun 2015 13:04:27 +0200 Michael Niedermayer wrote: > On Wed, Jun 24, 2015 at 04:28:22AM -0600, Roger Pack wrote: > > If it looks worth anything, see attached (there's only one file). > > Thanks! > > > ffmpeg.c |4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > 76e781

Re: [FFmpeg-devel] verbiage

2015-06-24 Thread compn
On Wed, 24 Jun 2015 04:30:10 -0600 Roger Pack wrote: > Received signal %d: terminating. > > Today sounds as if the process is "hard exiting" (like SIGKILL or some > odd) when it might be as benign as a ctrl+c that is used as a normal > shutdown process. > > Perhaps it could be made to be someth

Re: [FFmpeg-devel] patch: log when hard exiting from too many signals.

2015-06-24 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 04:28:22AM -0600, Roger Pack wrote: > If it looks worth anything, see attached (there's only one file). > Thanks! > ffmpeg.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > 76e781dafd7324903c7cc08dbf297bd95841126c > 0002-log-error-message-when-shutting-do

[FFmpeg-devel] verbiage

2015-06-24 Thread Roger Pack
Hello again. I was thinking this text: Received signal %d: terminating. Today sounds as if the process is "hard exiting" (like SIGKILL or some odd) when it might be as benign as a ctrl+c that is used as a normal shutdown process. Perhaps it could be made to be something like: Shutting down beca

[FFmpeg-devel] patch: log when hard exiting from too many signals.

2015-06-24 Thread Roger Pack
If it looks worth anything, see attached (there's only one file). Thanks! 0002-log-error-message-when-shutting-down-from-too-many-s.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/f

Re: [FFmpeg-devel] [PATCH] Support Ctrl+Break in ffmpeg.exe on Windows as if it was Ctrl+C

2015-06-24 Thread Roger Pack
On 7/5/12, Michael Niedermayer wrote: > On Mon, Jun 25, 2012 at 02:21:21PM +0200, Michael Niedermayer wrote: >> On Tue, Jun 19, 2012 at 07:10:04PM +0200, Reimar Döffinger wrote: >> > On 19 Jun 2012, at 11:31, Joe Wreschnig >> > wrote: >> > > On Windows, the Ctrl+Break key combination usually does

[FFmpeg-devel] [PATCH] lavf/matroskaenc: fix crash on empty H.264 packets

2015-06-24 Thread Rodger Combs
Fixes: ffmpeg -i https://dl.dropboxusercontent.com/u/105828/sample%20crash%20file.mkv \ -bsf:v h264_mp4toannexb -c copy -y -f matroska /dev/null Not 100% sure if this is the best place to do this. --- libavformat/matroskaenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/

[FFmpeg-devel] Request for CVs (I¹m NOT from an Agency)

2015-06-24 Thread Ed Silvester
Hi, Full-time role for FFmpeg developer, based in London. I’m looking to hire a very specific person. I know you’re out there! - I work for a large company that streams tens of thousand of live sporting events a year. We use FFmpeg in our encoding back-end and I want to strengthen this te

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-06-24 Thread Sebastien Zwickert
> On 20 Jun 2015, at 17:35, Clément Bœsch wrote: > > On Sat, Jun 20, 2015 at 01:33:00PM +0200, Sebastien Zwickert wrote: >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. >> As VDA is a wrapper of VideoToolbox framework, the changes base vda >> implementation >> upon

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-06-24 Thread Sebastien Zwickert
> On 20 Jun 2015, at 17:08, Hendrik Leppkes wrote: > > On Sat, Jun 20, 2015 at 1:33 PM, Sebastien Zwickert > wrote: >> Old videtotoolbox patch rebased and updated to target the new HWAccel API. >> As VDA is a wrapper of VideoToolbox framework, the changes base vda >> implementation >> upon th