[FFmpeg-devel] [PATCH] avformat/hls: Do not iterate to next sequence number if interrupted is requested

2015-06-25 Thread Schenk, Michael
Hi, In general it's a good and useful feature iterating to the next sequence if open_input failes. But if the application is using the abort callback possibility we shall be aware of this and returning with a meaningful error code, otherwise we just increases sequence numbers. Feedback for sure

Re: [FFmpeg-devel] [GSoC 2015]Trouble with running specific fate tests

2015-06-25 Thread Niklesh Lalwani
On 26-Jun-2015 12:29 AM, "Michael Niedermayer" wrote: > > On Fri, Jun 26, 2015 at 12:16:10AM +0530, Niklesh Lalwani wrote: > > Hi all, > > > > I am having trouble in running single fate tests. I want to perform the > > test binsub-movtextenc. I am using the following command- make > > fate-binsub

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

2015-06-25 Thread Philip Langdale
On Thu, 25 Jun 2015 19:15:40 +0200 Michael Niedermayer wrote: > On Wed, Jun 24, 2015 at 07:54:52PM -0700, Philip Langdale wrote: > > Ping? > > the indention depth seems inconsistent > > should be ok if it works otherwise but iam no VDPAU devel Fixed and pushed. Thanks, --phil ___

Re: [FFmpeg-devel] [PATCH] WebP native muxer bugfix: frames should have alpha blending off

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 08:07:06PM +, Urvang Joshi wrote: > On Thu, May 28, 2015 at 8:30 PM Michael Niedermayer > wrote: > > > On Thu, May 28, 2015 at 05:52:35PM +, Urvang Joshi wrote: > > > On Wed, May 27, 2015 at 5:33 PM Michael Niedermayer > > > wrote: > > > > > > > On Wed, May 27, 20

Re: [FFmpeg-devel] Patch to parse H264 SEI Green Metadata

2015-06-25 Thread Vittorio Giovara
On Thu, Jun 25, 2015 at 5:30 PM, Michael Niedermayer wrote: > On Thu, Jun 25, 2015 at 11:13:53AM +, Nicolas Derouineau wrote: >> Hello, >> Please find here enclosed a patch enabling h264 Green Metada SEI parsing for >> FFMPEG. You'll be able to find reference bitstreams containing the metadat

[FFmpeg-devel] [PATCH] WIP: lavc/h264_mp4toannexb_bsf: Support HEVC

2015-06-25 Thread Rodger Combs
This is the result of me screwing around to see how complex of a task this would be; the answer is evidently "not particularly complex". I seem to have at least a few issues to work out, since the .ts files I'm generating don't always seek correctly, but it's a start. Would appreciate it if anyone

Re: [FFmpeg-devel] [PATCH] mpegaudiodec: copy AVFloatDSPContext from first context to all contexts

2015-06-25 Thread Michael Niedermayer
On Fri, Jun 26, 2015 at 12:32:48AM +0200, Andreas Cadhalpun wrote: > This fixes a segfault when decoding multi-channel MP3onMP4 files. > > This is similar to commit cb72230d for MPADSPContext. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/mpegaudiodec_template.c | 1 + > 1 file change

Re: [FFmpeg-devel] [PATCH] nutdec: check maxpos in read_sm_data before reading count

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 11:46:41PM +0200, Andreas Cadhalpun wrote: > Otherwise sm_size can be larger than size, which results in a negative > packet size. > > Signed-off-by: Andreas Cadhalpun > --- > libavformat/nutdec.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff

Re: [FFmpeg-devel] [PATCH] s302m: fix arithmetic exception

2015-06-25 Thread Michael Niedermayer
On Fri, Jun 26, 2015 at 12:05:09AM +0200, Andreas Cadhalpun wrote: > If 'buf_size * 8' is smaller than 'avctx->channels * > (avctx->bits_per_raw_sample + 4)' it resulted in a division by zero. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/s302m.c | 6 +++--- > 1 file changed, 3 inserti

Re: [FFmpeg-devel] [PATCH] vc1dec: use get_bits_long and limit the read bits to 32

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 10:54:17PM +0200, Andreas Cadhalpun wrote: > get_bits should not be used with more than 25 bits. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/vc1dec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1

Re: [FFmpeg-devel] [PATCH]j2k: Increase cblk size to maximum value

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 11:04:12PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #4672 for me. > My old valgrind reports many (!) invalid memory accesses with the patch, > but the line numbers make no sense so this may be a valgrind issue. > The memory footprint with the pa

[FFmpeg-devel] [PATCH] mpegaudiodec: copy AVFloatDSPContext from first context to all contexts

2015-06-25 Thread Andreas Cadhalpun
This fixes a segfault when decoding multi-channel MP3onMP4 files. This is similar to commit cb72230d for MPADSPContext. Signed-off-by: Andreas Cadhalpun --- libavcodec/mpegaudiodec_template.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/mpegaudiodec_template.c b/libavcodec/mp

[FFmpeg-devel] [PATCH] s302m: fix arithmetic exception

2015-06-25 Thread Andreas Cadhalpun
If 'buf_size * 8' is smaller than 'avctx->channels * (avctx->bits_per_raw_sample + 4)' it resulted in a division by zero. Signed-off-by: Andreas Cadhalpun --- libavcodec/s302m.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c inde

[FFmpeg-devel] [PATCH] nutdec: check maxpos in read_sm_data before reading count

2015-06-25 Thread Andreas Cadhalpun
Otherwise sm_size can be larger than size, which results in a negative packet size. Signed-off-by: Andreas Cadhalpun --- libavformat/nutdec.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 13fb399..43bd27b 100644 --- a/

[FFmpeg-devel] [PATCH]j2k: Increase cblk size to maximum value

2015-06-25 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #4672 for me. My old valgrind reports many (!) invalid memory accesses with the patch, but the line numbers make no sense so this may be a valgrind issue. The memory footprint with the patch is still a magnitude lower than for the sample from ticket #4648 (without

[FFmpeg-devel] [PATCH] vc1dec: use get_bits_long and limit the read bits to 32

2015-06-25 Thread Andreas Cadhalpun
get_bits should not be used with more than 25 bits. Signed-off-by: Andreas Cadhalpun --- libavcodec/vc1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 3fa39a5..d7a0cef 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1d

Re: [FFmpeg-devel] [PATCH] WebP native muxer bugfix: frames should have alpha blending off

2015-06-25 Thread Urvang Joshi
On Thu, May 28, 2015 at 8:30 PM Michael Niedermayer wrote: > On Thu, May 28, 2015 at 05:52:35PM +, Urvang Joshi wrote: > > On Wed, May 27, 2015 at 5:33 PM Michael Niedermayer > > wrote: > > > > > On Wed, May 27, 2015 at 03:10:05PM -0700, Urvang Joshi wrote: > > > > All the frames that the na

Re: [FFmpeg-devel] [GSoC 2015]Trouble with running specific fate tests

2015-06-25 Thread George Boyle
Did you try: $ make fate-binsub-movtextenc SAMPLES=/home/niklesh/FFmpeg/fate-suite On 25/06/15 19:51, Niklesh Lalwani wrote: > Hi all, > > I am having trouble in running single fate tests. I want to perform the > test binsub-movtextenc and I am using the following command- make > fate-binsub-mov

Re: [FFmpeg-devel] GSoC update

2015-06-25 Thread Stephan Holljes
On Thu, Jun 25, 2015 at 11:12 AM, Nicolas George wrote: > Le sextidi 6 messidor, an CCXXIII, Stephan Holljes a écrit : >> > * Creating and preparing the server socket: avio_open2() with various >> > options for the address and the "listen" option set. >> Am I correct to understand that this has

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

2015-06-25 Thread wm4
On Thu, 25 Jun 2015 13:34:57 -0300 Pedro Arthur wrote: > > it passes fate but seems to crash for example with: > > ./ffmpeg -i lena.pnm -vf format=gbrp test.avi > > > I'll check it. > > how /over what did you meassure the 3% exactly ? > > iam asking, so i understand if this performance chnage i

Re: [FFmpeg-devel] [GSoC 2015]Trouble with running specific fate tests

2015-06-25 Thread Michael Niedermayer
On Fri, Jun 26, 2015 at 12:16:10AM +0530, Niklesh Lalwani wrote: > Hi all, > > I am having trouble in running single fate tests. I want to perform the > test binsub-movtextenc. I am using the following command- make > fate-binsub-movtextenc FATE = /home/niklesh/FFmpeg/fate-suite/ and the > target

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

2015-06-25 Thread Paul B Mahol
On 6/25/15, Michael Niedermayer wrote: > On Thu, Jun 25, 2015 at 06:03:14PM +, Paul B Mahol wrote: >> On 6/25/15, Michael Niedermayer wrote: >> > On Wed, Jun 24, 2015 at 05:49:35PM +, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol >> >> --- >> >> Example: >> >> >> >> ffplay movie.

[FFmpeg-devel] [GSoC 2015]Trouble with running specific fate tests

2015-06-25 Thread Niklesh Lalwani
Hi all, I am having trouble in running single fate tests. I want to perform the test binsub-movtextenc and I am using the following command- make fate-binsub-movtextenc FATE=/home/niklesh/FFmpeg/fate-suite . The target file MovText_capability_tester.mp4 is located in /home/niklesh/FFmpeg/fate-sui

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

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 06:03:14PM +, Paul B Mahol wrote: > On 6/25/15, Michael Niedermayer wrote: > > On Wed, Jun 24, 2015 at 05:49:35PM +, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> Example: > >> > >> ffplay movie.webm -vf > >> signalstats,drawgraph=lavfi.signals

[FFmpeg-devel] [GSoC 2015]Trouble with running specific fate tests

2015-06-25 Thread Niklesh Lalwani
Hi all, I am having trouble in running single fate tests. I want to perform the test binsub-movtextenc. I am using the following command- make fate-binsub-movtextenc FATE = /home/niklesh/FFmpeg/fate-suite/ and the target file MovText_capability_tester.mp4 is located in /home/niklesh/FFmpeg/fate-s

Re: [FFmpeg-devel] [PATCH 2/4] lavc+doc: adjust names to reflect ADPCM THP not being GameCube-only

2015-06-25 Thread Michael Niedermayer
On Tue, Jun 23, 2015 at 12:35:34PM -0500, Rodger Combs wrote: > --- > doc/general.texi| 2 +- > libavcodec/adpcm.c | 4 ++-- > libavcodec/codec_desc.c | 4 ++-- > 3 files changed, 5 insertions(+), 5 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6

Re: [FFmpeg-devel] [PATCH 1/4] lavf/brstm: expose the loop point when present

2015-06-25 Thread Michael Niedermayer
On Tue, Jun 23, 2015 at 12:35:33PM -0500, Rodger Combs wrote: > --- > libavformat/brstm.c | 15 +-- > 1 file changed, 13 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In fact, the RIAA has been known t

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

2015-06-25 Thread Paul B Mahol
On 6/25/15, Michael Niedermayer wrote: > On Wed, Jun 24, 2015 at 05:49:35PM +, Paul B Mahol wrote: >> 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

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

2015-06-25 Thread George Boyle
--- libavcodec/Makefile| 2 - libavcodec/api-flac-test.c | 266 - tests/Makefile | 1 + tests/api/Makefile | 1 + tests/api/api-flac-test.c | 266 + tests/fate/api.mak

[FFmpeg-devel] fate/api-tests: Facilitate separating API tests from other code

2015-06-25 Thread George Boyle
I believe this fixes the problem raised in the previous version of this patch. It also properly handles cleaning the build files, which wasn't there before. I hope I haven't missed anything else. I considered two approaches to this. One was to treat the API tests almost like another library, which

[FFmpeg-devel] [PATCH 1/2] fate/api-tests: Add directory and Makefile for API tests

2015-06-25 Thread George Boyle
The intention of this change is to allow separation of API tests from the existing tests, and also to have a place for the API test source/executable files so they're not mixed in with the actual library code. --- tests/Makefile | 7 +-- tests/api/Makefile | 15 +++ 2 files ch

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

2015-06-25 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 07:54:52PM -0700, Philip Langdale wrote: > Ping? the indention depth seems inconsistent should be ok if it works otherwise but iam no VDPAU devel thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have never wished to cater to the

Re: [FFmpeg-devel] verbiage

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 12:26:16AM -0600, Roger Pack wrote: > 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

Re: [FFmpeg-devel] [PATCH] Fix ranlib failure with older cross toolchains

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 11:01:12AM -0400, Shawn Rainey wrote: > From: Shawn Rainey > > Cross-compile toolchains without support for ranlib -D would fail. This > fixes the configure script to test the cross ranlib rather than the native > ranlib. > --- > configure | 12 ++-- > 1 file c

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

2015-06-25 Thread Pedro Arthur
> it passes fate but seems to crash for example with: > ./ffmpeg -i lena.pnm -vf format=gbrp test.avi > I'll check it. how /over what did you meassure the 3% exactly ? > iam asking, so i understand if this performance chnage is irrelevant > or not. > for init code that runs once some speed loss i

Re: [FFmpeg-devel] Patch to parse H264 SEI Green Metadata

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 11:13:53AM +, Nicolas Derouineau wrote: > Hello, > Please find here enclosed a patch enabling h264 Green Metada SEI parsing for > FFMPEG. You'll be able to find reference bitstreams containing the metadata > at the following adress: > > ftp-public-greenvideo.insa-renn

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

2015-06-25 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 05:49:35PM +, Paul B Mahol wrote: > 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 + > libav

[FFmpeg-devel] [PATCH] Fix ranlib failure with older cross toolchains

2015-06-25 Thread Shawn Rainey
From: Shawn Rainey Cross-compile toolchains without support for ranlib -D would fail. This fixes the configure script to test the cross ranlib rather than the native ranlib. --- configure | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/configure b/configure ind

[FFmpeg-devel] [PATCH] Fix ranlib configuration when configured to build with old cross toolchain

2015-06-25 Thread Shawn Rainey
make would fail at the cross ranlib step because configure was testing the native ranlib for -D support instead of testing the cross ranlib diff --git a/configure b/configure index 0620936..c1f1fca 100755 --- a/configure +++ b/configure @@ -2810,11 +2810,7 @@ ln_s="ln -s -f" nm_default="nm

[FFmpeg-devel] implement process_command for vf_scale and vf_crop

2015-06-25 Thread Bernd Blessmann
Hi all, I want to implement process_command for vf_scale.c and vf_crop.c in order to use zmq to change scaling and cropping dynamically. I have implemented it using av_opt_set() and calling config_props() for scale and config_input() and config_output() for crop. I am using the config_-functi

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

2015-06-25 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 11:48:10PM -0600, Roger Pack wrote: > 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 Tu

Re: [FFmpeg-devel] [PATCH]Autodetect dds frames

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 09:37:42AM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch adds autodetection for dds. > > Please comment, Carl Eugen > Makefile |1 + > allformats.c |1 + > img2dec.c| 12 > 3 files changed, 14 insertions(+) > 694e8baeb11c153fd9b81

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

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 03:06:25PM +1000, Peter Ross wrote: > Signed-off-by: Peter Ross > --- > > The binary file is in /incoming/fate-ea-vp6 (64kb) sample uploaded [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB When the tyrant has disposed of foreign enemi

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

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 03:05:07PM +1000, Peter Ross wrote: > 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 > --- > libav

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

2015-06-25 Thread Michael Niedermayer
On Thu, Jun 25, 2015 at 03:04:58PM +1000, Peter Ross wrote: > 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(-) applied

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

2015-06-25 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 11:46:07PM -0600, Roger Pack wrote: > 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).

Re: [FFmpeg-devel] [PATCH 2/2] lavf/file: check for dirent.h support

2015-06-25 Thread Michael Niedermayer
On Wed, Jun 24, 2015 at 03:25:18AM +0200, Mariusz Szczepańczyk wrote: > On Tue, Jun 23, 2015 at 8:34 PM, Michael Niedermayer > wrote: > > > On Mon, Jun 22, 2015 at 12:01:33AM +0200, Mariusz Szczepańczyk wrote: > > > --- > > > configure | 2 ++ > > > libavformat/file.c | 34

Re: [FFmpeg-devel] GSoC update

2015-06-25 Thread Nicolas George
Le sextidi 6 messidor, an CCXXIII, Stephan Holljes a écrit : > > * Creating and preparing the server socket: avio_open2() with various > > options for the address and the "listen" option set. > Am I correct to understand that this has to return immediately, > because if avio_open2() does not retu

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

2015-06-25 Thread wm4
On Wed, 24 Jun 2015 23:46:07 -0600 Roger Pack wrote: > From 2d28d3e880e71d6ac9838e08a6b0914191f57da4 Mon Sep 17 00:00:00 2001 > From: rogerdpack > Date: Wed, 24 Jun 2015 23:45:26 -0600 > Subject: [PATCH 2/2] log error message when shutting down from too many > > Signed-off-by: rogerdpack > ---

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

2015-06-25 Thread Carl Eugen Hoyos
On Tuesday 19 May 2015 06:15:49 pm Michael Niedermayer wrote: > On Tue, May 19, 2015 at 11:58:47AM +0200, Carl Eugen Hoyos wrote: > > Hi! > > > > Attached patch improves the Quickdraw autodetection. > > > > Please comment, Carl Eugen > > > > img2dec.c |6 -- > > 1 file changed, 4 insertion

[FFmpeg-devel] [PATCH]Autodetect dds frames

2015-06-25 Thread Carl Eugen Hoyos
Hi! Attached patch adds autodetection for dds. Please comment, Carl Eugen diff --git a/libavformat/Makefile b/libavformat/Makefile index 5380a2a..11bdd2b 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -200,6 +200,7 @@ OBJS-$(CONFIG_IMAGE2PIPE_MUXER) += img2enc.o img2.o