Re: [FFmpeg-devel] [PATCH] ffprobe: add stream_index to frame data

2015-05-14 Thread Stefano Sabatini
[...] > From c655acffb8d9acc97e19553c2e464c0d78586063 Mon Sep 17 00:00:00 2001 > From: Dave Rice > Date: Wed, 13 May 2015 13:38:29 -0400 > Subject: [PATCH] ffprobe: print stream_index with frame data > > otherwise the frame data can't be associated back to its stream. This > makes it easier to wo

Re: [FFmpeg-devel] Fwd: Help with codecs

2015-05-14 Thread Fernandon Bautista
Hi all, thanks for your support :) I have been reading the posts and well ... we need the codec for linux not windows. Mi question is: have you managed to find out which code is the one that it is used? From the posts it looks like is the G729 but, I tried it with ffmpeg without exit. Is it a modif

Re: [FFmpeg-devel] Fix bug: libavcodec/ppc/h264dsp.c

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 03:31:15PM +0800, rongyan wrote: > Hi, > We got defective video when use GCC 4.9.2 instead of GCC 4.9.1 to compile > FFMEPG. And further found that GCC 4.8 and 4.9 need patch to fix the > lvsl/lvsr bug on POWER LE, and GCC 5.1 contains the correct code since its > releas

[FFmpeg-devel] [PATCH] avcodec: loongson fix optimized ff_sqrt bug

2015-05-14 Thread 周晓勇
>From a825fc8ad61d6296d12cc4074eda494e4b978fa3 Mon Sep 17 00:00:00 2001 From: ZhouXiaoyong Date: Fri, 15 May 2015 01:30:42 +0800 Subject: [PATCH] avcodec: loongson fix optimized ff_sqrt bug Signed-off-by: ZhouXiaoyong --- libavcodec/mips/mathops.h | 13 + 1 file changed, 5 insertion

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/srtdec: attempt to correct SubRip positioning

2015-05-14 Thread Clément Bœsch
On Sun, Feb 08, 2015 at 12:42:11PM +0100, Clément Bœsch wrote: > On Sun, Feb 08, 2015 at 12:40:19PM +0100, Clément Bœsch wrote: > > The positioning was completely wrong. First, the coordinates are > > expressed in ASS playback resolution (which is by default 384x288). > > Secondly, the coordinates

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/ass: make default playback resolution available to decoders

2015-05-14 Thread Clément Bœsch
On Mon, Feb 09, 2015 at 01:04:47AM +0100, Michael Niedermayer wrote: > On Sun, Feb 08, 2015 at 12:40:18PM +0100, Clément Bœsch wrote: > > --- > > libavcodec/ass.c | 5 +++-- > > libavcodec/ass.h | 3 +++ > > 2 files changed, 6 insertions(+), 2 deletions(-) > > LGTM > Applied. -- Clément B.

[FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-14 Thread Carl Eugen Hoyos
Hi! Attached patch fixes reading valid pict files with non-zero user data. https://developer.apple.com/legacy/library/documentation/mac/QuickDraw/QuickDraw-334.html Please comment, Carl Eugen diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 1c3244b..6ec35c6 100644 --- a/libavcodec/qdrw.c

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Add more details about the configuration record

2015-05-14 Thread Jerome Martinez
Le 14/05/2015 00:48, Michael Niedermayer a écrit : nut and ffm surely work too I have doubts there are lot of FFV1 content in such container format ;-) Anyway: - Patch updated with NUT file format information - I tested FFmpeg for the support of FFV1 in FFM (source MOV files are there https

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-14 Thread Stefano Sabatini
On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: > On Tue, May 12, 2015 at 3:33 PM, Stefano Sabatini wrote: [...] > > There are some cases when DXVA2 (or in general HW decoding) can be > > used effectively in ffmpeg? Can you tell if there is something which > > could be improved

Re: [FFmpeg-devel] [PATCH] fate: Test pullup and fieldmatch with 5 instead of 1 frame

2015-05-14 Thread Clément Bœsch
On Tue, May 12, 2015 at 12:29:10PM +0200, Michael Niedermayer wrote: > On Tue, May 12, 2015 at 10:21:47AM +0200, Clément Bœsch wrote: > > On Mon, May 11, 2015 at 12:59:57PM +0200, Michael Niedermayer wrote: > > > On Mon, May 11, 2015 at 07:34:11AM +0200, Clément Bœsch wrote: > > > > On Mon, May 11,

Re: [FFmpeg-devel] [PATCH] avcodec: loongson fix optimized ff_sqrt bug

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 05:49:32PM +0800, 周晓勇 wrote: > From a825fc8ad61d6296d12cc4074eda494e4b978fa3 Mon Sep 17 00:00:00 2001 > From: ZhouXiaoyong > Date: Fri, 15 May 2015 01:30:42 +0800 > Subject: [PATCH] avcodec: loongson fix optimized ff_sqrt bug > > Signed-off-by: ZhouXiaoyong > --- > libav

Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 12:28:13PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes reading valid pict files with non-zero user data. > https://developer.apple.com/legacy/library/documentation/mac/QuickDraw/QuickDraw-334.html > > Please comment, Carl Eugen > qdrw.c |5 ++--- >

Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-14 Thread Carl Eugen Hoyos
On Thursday 14 May 2015 01:47:54 pm Michael Niedermayer wrote: > > Attached patch fixes reading valid pict files with non-zero user data. > This wont work with files that have a different version I don't think such files exist. New patch for reading valid files attached, tested with ImageMagick

[FFmpeg-devel] [PATCH]Fix overwrite when reading invalid Quickdraw images

2015-05-14 Thread Carl Eugen Hoyos
Hi! Attached patch fixes an overwrite in decode_rle() for invalid pict files. Please comment, Carl Eugen diff --git a/libavcodec/qdrw.c b/libavcodec/qdrw.c index 6c920aa..85aa5f4 100644 --- a/libavcodec/qdrw.c +++ b/libavcodec/qdrw.c @@ -95,6 +95,8 @@ static int decode_rle(AVCodecContext *avctx,

Re: [FFmpeg-devel] [PATCH]Do not fail for valid PICT files

2015-05-14 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > I also attached a patch that fixes an overread in > the rle function. Ignore the second patch, I just sent a separate mail. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailm

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-14 Thread Stefano Sabatini
On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: > On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: [...] > > One limitation is as the manual said, it needs to be copied from the > > GPU to system memory. ffmpeg_dxva2.c does not implement a optimized > > copy

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-14 Thread wm4
On Thu, 14 May 2015 14:52:29 +0200 Stefano Sabatini wrote: > On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: > > On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: > [...] > > > One limitation is as the manual said, it needs to be copied from the > > > GPU t

[FFmpeg-devel] [PATCH 08/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [4/4]

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 78ead89..7fb8dc6 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefi

[FFmpeg-devel] Implementation of fixed point AAC decoder

2015-05-14 Thread Nedeljko Babic
After the changes to the libavutil/softfloat that were merged in FFmpeg, patch set with implementation of AAC fixed point decoder needed rebase, so I am sending new patch set. Code is rebased to the newest version and changes are made to accommodate changes to the softfloat. Also, change is ma

[FFmpeg-devel] [PATCH 04/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [4/4]

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Build system modified Signed-off-by: Nedeljko Babic --- configure | 1 + libavcodec/Makefile | 13 ++--- libavcodec/aacdec.c | 1 - libavcodec/aacdec_fixed.c | 1 - libavcodec/allcodecs.c| 1 + 5 files changed, 12 insertions(+)

[FFmpeg-devel] [PATCH 13/14] tests: Add aac_fixed decoder test

2015-05-14 Thread Nedeljko Babic
From: Nedeljko Babic Signed-off-by: Nedeljko Babic --- tests/fate/aac.mak | 58 +- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak index 34823be..7ebec45 100644 --- a/tests/fate/aac.mak +++

[FFmpeg-devel] [PATCH 02/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [2/4]

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables Signed-off-by: Nedeljko Babic --- libavcodec/aacdectab.h | 34 +-- libavcodec/aactab.c| 486 + libavcodec/aactab.h|

[FFmpeg-devel] [PATCH 14/14] Edit documentation and versioning

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Signed-off-by: Nedeljko Babic --- Changelog | 1 + doc/general.texi| 2 +- doc/mips.txt| 5 + libavutil/version.h | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 667dd29..0e44b0d 100644 --- a/Cha

[FFmpeg-devel] [PATCH 12/14] libavcodec: Minor macro polishing

2015-05-14 Thread Nedeljko Babic
Use macros from aac_defines.h for adding suffixes instead of local macros. Signed-off-by: Nedeljko Babic --- libavcodec/cbrt_tablegen.h | 5 ++--- libavcodec/cbrt_tablegen_template.c| 2 +- libavcodec/sinewin.h | 17 + libavcodec/sinewin_table

[FFmpeg-devel] [PATCH 10/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [2/3]

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Add fixed point implementation of functions for generating tables. Signed-off-by: Nedeljko Babic --- libavcodec/aacps_fixed_tablegen.c| 24 +++ libavcodec/aacps_fixed_tablegen.h| 402 +++ libavcodec/aacps_tablegen.c | 73

[FFmpeg-devel] [PATCH 09/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [1/3]

2015-05-14 Thread Nedeljko Babic
From: Djordje Pesut Move existing code to a new file. Signed-off-by: Nedeljko Babic --- libavcodec/aacps.c | 157 - libavcodec/aacps_float.c | 177 +++ 2 files changed, 177 insertions(+), 157 deletions(-)

[FFmpeg-devel] [PATCH 07/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [3/4]

2015-05-14 Thread Nedeljko Babic
From: Djordje Pesut Add fixed poind code. Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 51 +--- libavcodec/aac_defines.h | 76 ++ libavcodec/aacsbr.c | 3 + libavcodec/aacsbr.h | 12 +- libavcodec/aacsbr_fixed.c| 586 ++

[FFmpeg-devel] [PATCH 05/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [1/4]

2015-05-14 Thread Nedeljko Babic
From: Djordje Pesut Move the existing code to a new template file. Signed-off-by: Nedeljko Babic --- libavcodec/aacsbr.c | 1419 -- libavcodec/aacsbr.h | 45 ++ libavcodec/aacsbr_template.c | 1401 +

[FFmpeg-devel] [PATCH 11/14] libavcodec: Implementation of AAC_fixed_decoder (PS-module) [3/3]

2015-05-14 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 14 +- libavcodec/aac_defines.h | 36 libavcodec/aacps.c| 344 +++--- libavcodec/aacps.h| 3

[FFmpeg-devel] [PATCH 06/14] libavcodec: Implementation of AAC_fixed_decoder (SBR-module) [2/4]

2015-05-14 Thread Nedeljko Babic
From: Jovan Zelincevic Create tables for fixed point code. Signed-off-by: Nedeljko Babic --- libavcodec/Makefile | 5 +- libavcodec/aacsbr_fixed_tablegen.c | 40 +++ libavcodec/aacsbr_fixed_tablegen.h | 32 +++ libavcodec/aacsbr_tablegen.c| 1 + libavcodec/aacsb

[FFmpeg-devel] [PATCH 03/14] libavcodec/libavutil: Implementation of AAC_fixed_decoder (LC-module) [3/4]

2015-05-14 Thread Nedeljko Babic
From: Djordje Pesut Add fixed point implementation Signed-off-by: Nedeljko Babic --- libavcodec/aac.h | 101 -- libavcodec/aacdec.c | 5 + libavcodec/aacdec_fixed.c| 446 +++ libavcodec/aacdec_template.c | 433 +

[FFmpeg-devel] [PATCH] libavutil/softfloat: Add test case for av_add_sf

2015-05-14 Thread Nedeljko Babic
Recently normalization (av_normalize_sf) of output was added to av_add_sf. This normalization is used for better precision for small values and the purpose of this (quite simple) test case is to test difference between double and softfloat. The values used are tailored to maximally highlighte prob

[FFmpeg-devel] [PATCH]Do not fail mov demuxing if metadata reading fails

2015-05-14 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #4557 for me. Please comment, Carl Eugen diff --git a/libavformat/mov.c b/libavformat/mov.c index 085d2a7..a31c556 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -277,7 +277,7 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom at

Re: [FFmpeg-devel] [PATCH]Fix overwrite when reading invalid Quickdraw images

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 02:37:21PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes an overwrite in decode_rle() for invalid pict files. > > Please comment, Carl Eugen > qdrw.c |2 ++ > 1 file changed, 2 insertions(+) > 9a329e941d8bc50cb6015d5ab69af79acd9b1d79 patchqdrw2.diff

Re: [FFmpeg-devel] [PATCH] libavutil/softfloat: Add test case for av_add_sf

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 03:36:36PM +0200, Nedeljko Babic wrote: > Recently normalization (av_normalize_sf) of output was added to av_add_sf. > This normalization is used for better precision for small values and the > purpose of this (quite simple) test case is to test difference between double > a

Re: [FFmpeg-devel] [RFC] DXVA2 decoding and FFmpeg

2015-05-14 Thread Hendrik Leppkes
On Thu, May 14, 2015 at 2:52 PM, Stefano Sabatini wrote: > On date Thursday 2015-05-14 13:01:51 +0200, Stefano Sabatini encoded: >> On date Tuesday 2015-05-12 15:54:17 +0200, Hendrik Leppkes encoded: > [...] >> > One limitation is as the manual said, it needs to be copied from the >> > GPU to syst

[FFmpeg-devel] [PATCH] hevc: make avcodec_decode_video2() fail if get_format() fails

2015-05-14 Thread wm4
Personally, I need to the decoder to back out if get_format() returns no useable pixel format. This didn't work because the error code was not propagated down the call chain. This in turn happened because the variable declaration removed in this patch shadowed the variable, whose value is returned

Re: [FFmpeg-devel] [PATCH] hevc: make avcodec_decode_video2() fail if get_format() fails

2015-05-14 Thread Andreas Cadhalpun
On 14.05.2015 18:27, wm4 wrote: > Personally, I need to the decoder to back out if get_format() returns no ^ This 'to' should not be there. > useable pixel format. This didn't work because the error code was not usable > propagated down the call chain. This in turn happened

Re: [FFmpeg-devel] [PATCH] FFV1 specification: Add more details about the configuration record

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 12:36:53PM +0200, Jerome Martinez wrote: > Le 14/05/2015 00:48, Michael Niedermayer a écrit : > > > >nut and ffm surely work too > > I have doubts there are lot of FFV1 content in such container format ;-) > > Anyway: > - Patch updated with NUT file format information > -

Re: [FFmpeg-devel] [PATCH] hevc: make avcodec_decode_video2() fail if get_format() fails

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 06:49:34PM +0200, Andreas Cadhalpun wrote: > On 14.05.2015 18:27, wm4 wrote: > > Personally, I need to the decoder to back out if get_format() returns no > ^ > This 'to' should not be there. > > > useable pixel format. This didn't work because the error

[FFmpeg-devel] [PATCH] lavf/webmdashenc: fix unchecked strftime

2015-05-14 Thread Vignesh Venkatasubramanian
Fix unchecked strftime return value. This patch fixes Coverity CID 1295086. Signed-off-by: Vignesh Venkatasubramanian --- libavformat/webmdashenc.c | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c in

Re: [FFmpeg-devel] Fwd: Help with codecs

2015-05-14 Thread compn
On Thu, 14 May 2015 10:31:37 +0200 Fernandon Bautista wrote: > Hi all, > thanks for your support :) I have been reading the posts and well ... > we need the codec for linux not windows. Mi question is: have you > managed to find out which code is the one that it is used? From the > posts it looks

Re: [FFmpeg-devel] [PATCH] lavf/webmdashenc: fix unchecked strftime

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 10:32:24AM -0700, Vignesh Venkatasubramanian wrote: > Fix unchecked strftime return value. This patch fixes Coverity > CID 1295086. > > Signed-off-by: Vignesh Venkatasubramanian > --- > libavformat/webmdashenc.c | 22 ++ > 1 file changed, 14 insertions

Re: [FFmpeg-devel] Compilation failure for the debug target

2015-05-14 Thread Michael Niedermayer
On Fri, May 15, 2015 at 01:14:17AM +0100, Emmanuel Poitier wrote: > All, > > The flag we use to cause this issue to happen is -DDEBUG -g. > > The compilation failure happen in two different files in libavcodec > and you may find attached the patch to fix the issue. what version of libavcodec is

Re: [FFmpeg-devel] [PATCH] fate: Test pullup and fieldmatch with 5 instead of 1 frame

2015-05-14 Thread Michael Niedermayer
On Thu, May 14, 2015 at 01:38:00PM +0200, Clément Bœsch wrote: > On Tue, May 12, 2015 at 12:29:10PM +0200, Michael Niedermayer wrote: > > On Tue, May 12, 2015 at 10:21:47AM +0200, Clément Bœsch wrote: > > > On Mon, May 11, 2015 at 12:59:57PM +0200, Michael Niedermayer wrote: > > > > On Mon, May 11,

Re: [FFmpeg-devel] [PATCH] avcodec[/format]/webpenc: use WebPAnimEncoder API to generate animated WebP

2015-05-14 Thread Michael Niedermayer
On Fri, May 15, 2015 at 01:29:19AM +, Urvang Joshi wrote: > On Fri, May 8, 2015 at 8:22 AM Michael Niedermayer wrote: > > > On Thu, May 07, 2015 at 09:28:43PM +, Urvang Joshi wrote: > > > On Thu, Apr 30, 2015 at 12:05 PM Michael Niedermayer > > > wrote: > > > > > > > On Wed, Apr 29, 2015

Re: [FFmpeg-devel] [PATCH]Fix flac with high lpc precision

2015-05-14 Thread Michael Niedermayer
On Tue, May 12, 2015 at 01:07:54PM +0200, Carl Eugen Hoyos wrote: > On Wednesday 06 May 2015 09:27:22 am Carl Eugen Hoyos wrote: > > Hi! > > > > Attached is my attempt to fix ticket #4421 based on the > > analysis by trac user lvqcl. If the patch is ok, > > > I will add the encoder check to the de

Re: [FFmpeg-devel] Compilation failure for the debug target

2015-05-14 Thread Emmanuel Poitier
Michael, ok, I have noticed that the ffmpeg from the git does include indeed the fix I mentioned. The package I made reference to is when using ffmpeg in VLC using the vlc.git from master branch with commit 16acc6a95c25a5a9b68be27d4e605dc497aa37e1. I guess this was fixed in VLC possibly or w