Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Donny Yang
On 1 April 2015 at 17:03, Paul B Mahol wrote: > Dana 31. 3. 2015. 22:59 osoba "Donny Yang" napisala je: > > +#include > > This is missing dependency on zlib in configure. > Fixed From 83de9b22f63542c5190a76dde299335297f781d4 Mon Sep 17 00:00:00 2001 From: Donny Yang Date: Sat, 28 Mar 2015 19:

[FFmpeg-devel] [PATCH] avcodec/nvenc: Fix typoed nv_status checks

2015-04-01 Thread timo
From: Timo Rothenpieler Thanks to Wyatt Aaron for pointing this out --- libavcodec/nvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/nvenc.c b/libavcodec/nvenc.c index 78b5253..b015f88 100644 --- a/libavcodec/nvenc.c +++ b/libavcodec/nvenc.c @@ -822,7 +82

[FFmpeg-devel] Encoder Boundary Points

2015-04-01 Thread Niklas Fondberg
Hi In the current project we are using ffmpeg for encoding multi-bitrate live streams towards an external OTT packager and I have a question: Are there any patches or work with the CableLabs ATS standard and with Encoder Boundary Points in particular? http://www.cablelabs.com/wp-content/uploads/

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Fix typoed nv_status checks

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 09:46:50AM +0200, t...@rothenpieler.org wrote: > From: Timo Rothenpieler > > Thanks to Wyatt Aaron for pointing this out > --- > libavcodec/nvenc.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF21

[FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
--- libavcodec/h264.c | 2 +- libavcodec/vda_h264.c | 25 - 2 files changed, 9 insertions(+), 18 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index e8d5120..60f8aa1 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1589,7 +1589,7 @@ again:

[FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
vda wants the entire buffer with all info. it has no other means to deliver picture parameters. according to documentation start_frame can pass the entire buffer ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmp

Re: [FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Hendrik Leppkes
On Wed, Apr 1, 2015 at 12:40 PM, Rainer Hochecker wrote: > vda wants the entire buffer with all info. it has no other means to deliver > picture parameters. > according to documentation start_frame can pass the entire buffer This doesn't make much sense. If I follow that argument, then vda would

Re: [FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Carl Eugen Hoyos
Hendrik Leppkes gmail.com> writes: > On Wed, Apr 1, 2015 at 12:40 PM, Rainer Hochecker wrote: > > vda wants the entire buffer with all info. it has no > > other means to deliver picture parameters. > > according to documentation start_frame can pass the > > entire buffer > > This doesn't make

[FFmpeg-devel] [PATCH]lavf/mkv: Fix AAC remuxing

2015-04-01 Thread Carl Eugen Hoyos
Hi! Attached patch fixes a user-reported regression when remuxing some streams containing aac to mkv. Please comment, Carl Eugen diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 6b2e390..a03da14 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -57

Re: [FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Xidorn Quan
On Wed, Apr 1, 2015 at 10:10 PM, Hendrik Leppkes wrote: > On Wed, Apr 1, 2015 at 12:40 PM, Rainer Hochecker > wrote: > > vda wants the entire buffer with all info. it has no other means to > deliver > > picture parameters. > > according to documentation start_frame can pass the entire buffer > >

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Paul B Mahol
On 4/1/15, Donny Yang wrote: > On 1 April 2015 at 17:03, Paul B Mahol wrote: > >> Dana 31. 3. 2015. 22:59 osoba "Donny Yang" napisala je: >> > +#include >> >> This is missing dependency on zlib in configure. >> > Fixed > > But this is more appropriate for APNG encoder. APNG muxer seems to not

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Donny Yang
On 1 April 2015 at 22:57, Paul B Mahol wrote: > On 4/1/15, Donny Yang wrote: > > On 1 April 2015 at 17:03, Paul B Mahol wrote: > > > >> Dana 31. 3. 2015. 22:59 osoba "Donny Yang" napisala je: > >> > +#include > >> > >> This is missing dependency on zlib in configure. > >> > > Fixed > > > > >

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 12:07:46PM +, Donny Yang wrote: > On 1 April 2015 at 22:57, Paul B Mahol wrote: > > > On 4/1/15, Donny Yang wrote: > > > On 1 April 2015 at 17:03, Paul B Mahol wrote: > > > > > >> Dana 31. 3. 2015. 22:59 osoba "Donny Yang" napisala je: > > >> > +#include > > >> > >

[FFmpeg-devel] [PATCH]Copy codec profile on stream copy

2015-04-01 Thread Carl Eugen Hoyos
Hi! Attached patch allows a muxer to know (and possibly write) the codec profile on stream copying. Please comment, Carl Eugen diff --git a/ffmpeg.c b/ffmpeg.c index 67ce1f3..4499f5a 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2675,6 +2675,7 @@ static int transcode_init(void) enc_ctx->

Re: [FFmpeg-devel] [PATCH]lavf/mkv: Fix AAC remuxing

2015-04-01 Thread Carl Eugen Hoyos
On Wednesday 01 April 2015 01:55:57 pm Carl Eugen Hoyos wrote: > Attached patch fixes a user-reported regression when > remuxing some streams containing aac to mkv. New patch attached. Please comment, Carl Eugen diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 6b2e390..dab

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Donny Yang
On 1 April 2015 at 23:28, Michael Niedermayer wrote: > On Wed, Apr 01, 2015 at 12:07:46PM +, Donny Yang wrote: > > On 1 April 2015 at 22:57, Paul B Mahol wrote: > > > > > On 4/1/15, Donny Yang wrote: > > > > On 1 April 2015 at 17:03, Paul B Mahol wrote: > > > > > > > >> Dana 31. 3. 2015. 2

Re: [FFmpeg-devel] [PATCH]Copy codec profile on stream copy

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 02:40:59PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch allows a muxer to know (and possibly write) > the codec profile on stream copying. > > Please comment, Carl Eugen LGTM [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 01:17:50PM +, Donny Yang wrote: > On 1 April 2015 at 23:28, Michael Niedermayer wrote: > > > On Wed, Apr 01, 2015 at 12:07:46PM +, Donny Yang wrote: > > > On 1 April 2015 at 22:57, Paul B Mahol wrote: > > > > > > > On 4/1/15, Donny Yang wrote: > > > > > On 1 Apri

[FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil --- configure | 29 + 1 file changed, 29 insertions(+) diff --git a/configure b/configure index 392946a..49be9ac 100755 --

[FFmpeg-devel] [PATCH 2/4] configure: add support for mips64r6 and i6400 cpu

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil --- configure | 21 + 1 file changed, 21 insertions(+) diff --git a/configure b/configure index 49be9ac..f70472e 100755 --- a/conf

[FFmpeg-devel] [PATCH 3/4] configure: add support for 74kf cpu

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Signed-off-by: Shivraj Patil --- configure | 5 + 1 file changed, 5 insertions(+) diff --git a/configure b/configure index f70472e..f9caf11 100755 --- a/configure +++ b/configure @@ -3883,6 +3883,11 @@ elif enabled mips; then disable mipsfpu di

[FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

2015-04-01 Thread shivraj.patil
From: Shivraj Patil Note:- This is a preparation patch to submit optimized code for msa(mips simd architecture). Signed-off-by: Shivraj Patil --- libavutil/mips/intreadwrite.h | 2 ++ 1 file changed, 2 insertions(+) mode change 100644 => 100755 libavutil/mips/intreadwrite.h diff --git a/lib

Re: [FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-01 Thread Nedeljko Babic
LGTM Thanks, Nedeljko Od: ffmpeg-devel-boun...@ffmpeg.org [ffmpeg-devel-boun...@ffmpeg.org] u ime korisnika Shivraj Patil Poslato: 1. april 2015 15:58 Za: ffmpeg-devel@ffmpeg.org Cc: Shivraj Patil Tema: [FFmpeg-devel] [PATCH 1/4] configure: add support for

Re: [FFmpeg-devel] [PATCH 2/4] configure: add support for mips64r6 and i6400 cpu

2015-04-01 Thread Nedeljko Babic
LGTM Thanks, Nedeljko Od: ffmpeg-devel-boun...@ffmpeg.org [ffmpeg-devel-boun...@ffmpeg.org] u ime korisnika Shivraj Patil Poslato: 1. april 2015 15:58 Za: ffmpeg-devel@ffmpeg.org Cc: Shivraj Patil Tema: [FFmpeg-devel] [PATCH 2/4] configure: add support for

Re: [FFmpeg-devel] [PATCH 3/4] configure: add support for 74kf cpu

2015-04-01 Thread Nedeljko Babic
LGTM Thanks, Nedeljko Od: ffmpeg-devel-boun...@ffmpeg.org [ffmpeg-devel-boun...@ffmpeg.org] u ime korisnika Shivraj Patil Poslato: 1. april 2015 15:58 Za: ffmpeg-devel@ffmpeg.org Cc: Shivraj Patil Tema: [FFmpeg-devel] [PATCH 3/4] configure: add support for

Re: [FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

2015-04-01 Thread Nedeljko Babic
LGTM Thanks, Nedeljko Od: ffmpeg-devel-boun...@ffmpeg.org [ffmpeg-devel-boun...@ffmpeg.org] u ime korisnika Shivraj Patil Poslato: 1. april 2015 15:58 Za: ffmpeg-devel@ffmpeg.org Cc: Shivraj Patil Tema: [FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite:

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Donny Yang
On 2 April 2015 at 00:23, Michael Niedermayer wrote: > On Wed, Apr 01, 2015 at 01:17:50PM +, Donny Yang wrote: > > On 1 April 2015 at 23:28, Michael Niedermayer wrote: > > > > > On Wed, Apr 01, 2015 at 12:07:46PM +, Donny Yang wrote: > > > > On 1 April 2015 at 22:57, Paul B Mahol wrote:

Re: [FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

2015-04-01 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 04:06:18PM +0100, tim nicholson wrote: > On 31/03/15 13:41, Steve Dierker wrote: > > Hello List, > > > > I found another MXF File containing ProRes with the following > > codec_uls: 060E2B34040101010E04020102110500 > > Therefor I relaxed the pattern. > > > > Are the Prore

Re: [FFmpeg-devel] [PATCH 1/4] configure: add support for mips32r5, p5600 cpu and msa

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 07:28:54PM +0530, shivraj.pa...@imgtec.com wrote: > From: Shivraj Patil > > Note:- This is a preparation patch to submit optimized code for msa(mips simd > architecture). > > Signed-off-by: Shivraj Patil > --- > configure | 29 + > 1 file ch

Re: [FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
Hendrik Leppkes gmail.com> writes: > > On Wed, Apr 1, 2015 at 12:40 PM, Rainer Hochecker > online.de> wrote: > > vda wants the entire buffer with all info. it has no other means to deliver > > picture parameters. > > according to documentation start_frame can pass the entire buffer > > This

Re: [FFmpeg-devel] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Carl Eugen Hoyos
Rainer Hochecker online.de> writes: > I don't know why nobody cared about this so far. A possible explanation is that not all new hardware supports vda at all... Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mail

Re: [FFmpeg-devel] [PATCH 4/4] avutil/mips/intreadwrite: build fix for mips64r6 (instruction 'lwl' not supported)

2015-04-01 Thread Timothy Gu
On Wed, Apr 1, 2015 at 6:56 AM wrote: > From: Shivraj Patil > > Note:- This is a preparation patch to submit optimized code for msa(mips > simd architecture). > > Signed-off-by: Shivraj Patil > --- > libavutil/mips/intreadwrite.h | 2 ++ > 1 file changed, 2 insertions(+) > > mode change 100

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 12:40:54PM +0200, Rainer Hochecker wrote: > --- > libavcodec/h264.c | 2 +- > libavcodec/vda_h264.c | 25 - > 2 files changed, 9 insertions(+), 18 deletions(-) Why does this makes a difference ? data is collected during the decode_slice() call

[FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Himangi Saraogi
--- This fixes CID 1292296. libavcodec/smvjpegdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c index 5eca9bb..1eacc6c 100644 --- a/libavcodec/smvjpegdec.c +++ b/libavcodec/smvjpegdec.c @@ -94,7 +94,7 @@ static

Re: [FFmpeg-devel] [PATCH] Relaxed pattern to find ProRes in MXF.

2015-04-01 Thread Steve Dierker
Hello, > I support this patch if you didn't make the > file yourself. > I only had one sample. This sample is from the same customer as the other ProRes in MXF sample I uploaded for the bug. (Doner Advertisment) I found it while searching for the reason why FFmpeg refused to encode some files af

Re: [FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 08:45:02PM +0530, Himangi Saraogi wrote: > --- > This fixes CID 1292296. > > libavcodec/smvjpegdec.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c > index 5eca9bb..1eacc6c 100644 > --

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 12:40:54PM +0200, Rainer Hochecker wrote: [...] > @@ -330,22 +337,6 @@ static int vda_h264_decode_slice(AVCodecContext *avctx, > const uint8_t *buffer, > uint32_t size) > { > -VDAContext *vda = av

[FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Himangi Saraogi
--- This fixes CID 1292296. libavcodec/smvjpegdec.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/libavcodec/smvjpegdec.c b/libavcodec/smvjpegdec.c index 5eca9bb..f30d240 100644 --- a/libavcodec/smvjpegdec.c +++ b/libavcodec/smvjpegdec.c @@ -94,7 +94,7 @@ static

[FFmpeg-devel] EBP

2015-04-01 Thread Niklas Fondberg
Hi In the current project we are using ffmpeg for encoding multi-bitrate live streams towards an external OTT packager and I have a question: Are there any patches or work with the CableLabs ATS standard and with Encoder Boundary Points in particular? http://www.cablelabs.com/wp-content/uploads/sp

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
Michael Niedermayer gmx.at> writes: > > could it be that this should be using nal_length_size ? > > [...] I am quite sure that the fix is correct. Our VDA decoder has always been working like this. Further I could not find any info on developer@apple that the current code is valid. No idea wh

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
Michael Niedermayer gmx.at> writes: > > have you tried this with both annex b and .mp4 style h264 ? > > [...] could you please point me the samples you want me to test? ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailm

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Carl Eugen Hoyos
Rainer Hochecker online.de> writes: > > have you tried this with both annex b and .mp4 style h264 ? > > could you please point me the samples you want me to test? (guessing, needs --enable-libx264) $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out.mp4 $ ffmpeg -f lavfi -i testsrc -pix_fmt

Re: [FFmpeg-devel] EBP

2015-04-01 Thread Kieran Kunhya
On 1 April 2015 at 17:23, Niklas Fondberg wrote: > Hi > In the current project we are using ffmpeg for encoding multi-bitrate live > streams towards an external OTT packager and I have a question: > > Are there any patches or work with the CableLabs ATS standard and with > Encoder Boundary Points

Re: [FFmpeg-devel] [PATCH] lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 09:35:16PM +0530, Himangi Saraogi wrote: > --- > This fixes CID 1292296. > > libavcodec/smvjpegdec.c | 11 ++- > 1 file changed, 6 insertions(+), 5 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Obs

Re: [FFmpeg-devel] Ticket 4386 : crash create by previous patch

2015-04-01 Thread Michael Niedermayer
On Mon, Mar 30, 2015 at 11:11:53PM +0200, Martin Vignali wrote: > Hello, > > After some research, the crash when reading exr Piz file (ticket 4386), > appear with this patch : > https://github.com/FFmpeg/FFmpeg/commit/586ba24ff29468d2a4ee843a9650feea5b2be6f6 > > if, i use the previous line : > me

[FFmpeg-devel] [FFmpeg-Devel] [PATCH 2/5] postproc: Made QP, nonBQP, and pQPb arrays

2015-04-01 Thread Tucker DiNapoli
Also pulled QP initialization out of inner loop. Added some dummy fields to PPContext to allow current code to work while changing QP stuff. --- libpostproc/postprocess_internal.h | 10 - libpostproc/postprocess_template.c | 82 ++ 2 files changed, 47 inser

[FFmpeg-devel] [FFmpeg-Devel] [PATCH 4/5] postproc: Merged second and third inner loops in postprocess_template.c

2015-04-01 Thread Tucker DiNapoli
The structure of the postprocess function is to loop over x from 0 to width, and in that loop to process 4 block at a time. This inner loop was previously split into 3 seperate loops, i.e: outer_loop over x save current x location loop over 4 blocks restore x location lo

[FFmpeg-devel] [FFmpeg-Devel][PATCH 1/5] postproc: Replaced inline asm for prefetching with prefetch macros

2015-04-01 Thread Tucker DiNapoli
These patches are updates to patches previously posted to the mailing lists, with some bugs fixed and the reasoning behind some changes expanded on. This addes macros in postprocess.c that use inline asm for x86, __builtin_prefetch if using a recent enough gcc compatable compiler, and that does n

[FFmpeg-devel] [FFmpeg-Devel] [PATCH 3/5] postproc: Indendentation changes in postprocess_template.c

2015-04-01 Thread Tucker DiNapoli
--- libpostproc/postprocess_template.c | 296 +++-- 1 file changed, 152 insertions(+), 144 deletions(-) diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index 8220d36..866ba8f 100644 --- a/libpostproc/postprocess_template.c +++

[FFmpeg-devel] [FFMpeg-Devel] [PATCH 5/5] postproc: Merged first and second inner loop

2015-04-01 Thread Tucker DiNapoli
Also removed some variables that became unused (startx, srcBlockStart, and dstBlockStart) due to this change. --- libpostproc/postprocess_template.c | 32 ++-- 1 file changed, 10 insertions(+), 22 deletions(-) diff --git a/libpostproc/postprocess_template.c b/libpostp

Re: [FFmpeg-devel] [Libav-user] ffpreset

2015-04-01 Thread Tanim Islam
On Tuesday, March 31, 2015, Clément Champetier wrote: > Hello, > > I work on an opensource project, AvTranscoder ( > https://github.com/mikrosimage/avTranscoder), which is basically a > project to give a high level API of ffmpeg in C++, Java and python. > > To easily launch some encodes, we creat

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
Carl Eugen Hoyos ag.or.at> writes: > (guessing, needs --enable-libx264) > $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out.mp4 > $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out.h264 > > Carl Eugen > my vda decoder does not even open with those generated samples. it fails in VDA

Re: [FFmpeg-devel] [PATCH 3/3] apng: Add a basic APNG muxer

2015-04-01 Thread Paul B Mahol
Dana 1. 4. 2015. 16:30 osoba "Donny Yang" napisala je: > > On 2 April 2015 at 00:23, Michael Niedermayer wrote: > > > On Wed, Apr 01, 2015 at 01:17:50PM +, Donny Yang wrote: > > > On 1 April 2015 at 23:28, Michael Niedermayer wrote: > > > > > > > On Wed, Apr 01, 2015 at 12:07:46PM +, Don

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-04-01 Thread Alexander Strasser
On 2015-03-28 23:30 +0100, Lukasz Marek wrote: > W dniu sobota, 28 marca 2015 Peter Ross napisał(a): > > > On Sat, Mar 28, 2015 at 08:38:40PM +0100, Lukasz Marek wrote: > > > I assumed it is local file (no other option so far). So I stat full path > > > (/tmp/outer.zip/tmp/inner.zip/tmp/data.bin)

Re: [FFmpeg-devel] [FFmpeg-Devel][PATCH 1/5] postproc: Replaced inline asm for prefetching with prefetch macros

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 02:36:01PM -0400, Tucker DiNapoli wrote: > These patches are updates to patches previously posted to the mailing lists, > with some bugs fixed and the reasoning behind some changes expanded on. > > This addes macros in postprocess.c that use inline asm for x86, > __builtin

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Carl Eugen Hoyos
Rainer Hochecker online.de> writes: > Carl Eugen Hoyos ag.or.at> writes: > > > (guessing, needs --enable-libx264) > > $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out.mp4 > > $ ffmpeg -f lavfi -i testsrc -pix_fmt yuv420p -t 10 out.h264 > > my vda decoder does not even open with those >

Re: [FFmpeg-devel] [FFmpeg-Devel] [PATCH 2/5] postproc: Made QP, nonBQP, and pQPb arrays

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 02:36:02PM -0400, Tucker DiNapoli wrote: > Also pulled QP initialization out of inner loop. > > Added some dummy fields to PPContext to allow current code to work while > changing QP stuff. > --- > libpostproc/postprocess_internal.h | 10 - > libpostproc/postprocess_te

Re: [FFmpeg-devel] [FFmpeg-Devel] [PATCH 4/5] postproc: Merged second and third inner loops in postprocess_template.c

2015-04-01 Thread Michael Niedermayer
On Wed, Apr 01, 2015 at 02:36:04PM -0400, Tucker DiNapoli wrote: > The structure of the postprocess function is to loop over x from 0 to > width, and in that loop to process 4 block at a time. This inner loop > was previously split into 3 seperate loops, i.e: > outer_loop over x > save cu

[FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

2015-04-01 Thread Timo Rothenpieler
It was not possible to set a profile before, the builtin profile parameter does not seem to work propperly. To be compatible with libx264, this overlays it with a local parameter that expects a string, instead of an int, that takes the well known values "high", "main" or "baseline". --- libavcodec

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

2015-04-01 Thread James Almer
On 01/04/15 7:04 PM, Timo Rothenpieler wrote: > It was not possible to set a profile before, the builtin profile > parameter does not seem to work propperly. > To be compatible with libx264, this overlays it with a local parameter > that expects a string, instead of an int, that takes the well know

Re: [FFmpeg-devel] Patch for High color and High bit-depth support

2015-04-01 Thread Debargha Mukherjee
On Tue, Mar 31, 2015 at 4:08 PM, James Zern wrote: > On Mon, Mar 30, 2015 at 10:43 AM, Carl Eugen Hoyos > wrote: > > Debargha Mukherjee google.com> writes: > > > >> - if (avctx->profile != FF_PROFILE_UNKNOWN) > >> - enccfg.g_profile = avctx->profile; > >> +if (avctx->profile != FF_P

Re: [FFmpeg-devel] Patch for High color and High bit-depth support

2015-04-01 Thread Debargha Mukherjee
Updated patch. On Wed, Apr 1, 2015 at 3:10 PM, Debargha Mukherjee wrote: > > > On Tue, Mar 31, 2015 at 4:16 PM, James Zern wrote: > >> On Mon, Mar 30, 2015 at 10:26 AM, Debargha Mukherjee >> wrote: >> > On Fri, Mar 27, 2015 at 8:07 PM, James Zern wrote: >> > >> >> On Fri, Mar 27, 2015 at 6:58

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

2015-04-01 Thread Hendrik Leppkes
On Thu, Apr 2, 2015 at 12:08 AM, James Almer wrote: > On 01/04/15 7:04 PM, Timo Rothenpieler wrote: >> It was not possible to set a profile before, the builtin profile >> parameter does not seem to work propperly. >> To be compatible with libx264, this overlays it with a local parameter >> that ex

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

2015-04-01 Thread Timo Rothenpieler
> Did you try to adding the FF_PROFILE_H264* and FF_PROFILE_HEVC* values to > options_table.h? > Currently it only has entries for aac, dts, mpeg2 and mpeg4. While that would propably work, i'm more interested in staying compatible with libx264 here, which accepts stuff like "-profile:v high", wh

Re: [FFmpeg-devel] [PATCH] lavf: add zip protocol

2015-04-01 Thread Lukasz Marek
On 01.04.2015 21:22, Alexander Strasser wrote: On 2015-03-28 23:30 +0100, Lukasz Marek wrote: W dniu sobota, 28 marca 2015 Peter Ross napisał(a): What about the following? ffplay zip://dir/a.zip/m.mkv # open dir/a.zip, read file m.mkv inside ffplay -file m.mkv zip://dir/a.zip # s

[FFmpeg-devel] [PATCH] lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int

2015-04-01 Thread Lukasz Marek
Signed-off-by: Lukasz Marek --- libavutil/dict.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/dict.c b/libavutil/dict.c index 1dfcb68..e30988d 100644 --- a/libavutil/dict.c +++ b/libavutil/dict.c @@ -145,6 +145,7 @@ int av_dict_set_int(AVDictionary **pm, const char *key, int64_t

Re: [FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-04-01 Thread Lukasz Marek
On 01.04.2015 04:33, Michael Niedermayer wrote: On Wed, Apr 01, 2015 at 03:25:23AM +0200, Lukasz Marek wrote: Fixes following scenario: av_dict_set(&d, "key", "old", 0); AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0); av_dict_set(&d, e->key, "new", 0); Signed-off-by: Lukasz Marek ---

Re: [FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-04-01 Thread Lukasz Marek
On 01.04.2015 03:25, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- tests/fate/libavutil.mak | 4 tests/ref/fate/dict | 26 ++ I added more tests, so please see 2 attached instead >From a3cca0b8533877f14ae31f2a1ecfb1e25633e536 Mon Sep 17 00:00:00 2001

Re: [FFmpeg-devel] [PATCH] lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int

2015-04-01 Thread Michael Niedermayer
On Thu, Apr 02, 2015 at 12:36:02AM +0200, Lukasz Marek wrote: > Signed-off-by: Lukasz Marek > --- > libavutil/dict.c | 1 + > 1 file changed, 1 insertion(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old school: Use the lowest level langua

Re: [FFmpeg-devel] [PATCH 1/2] lavu/dict: fix set function when reuse existing key pointer

2015-04-01 Thread Michael Niedermayer
On Thu, Apr 02, 2015 at 12:37:34AM +0200, Lukasz Marek wrote: > On 01.04.2015 04:33, Michael Niedermayer wrote: > >On Wed, Apr 01, 2015 at 03:25:23AM +0200, Lukasz Marek wrote: > >>Fixes following scenario: > >> > >>av_dict_set(&d, "key", "old", 0); > >>AVDictionaryEentry *e = av_dict_get(d, "key",

Re: [FFmpeg-devel] [PATCH 2/2] fate: add AVDictionary tests

2015-04-01 Thread Michael Niedermayer
On Thu, Apr 02, 2015 at 12:38:20AM +0200, Lukasz Marek wrote: > On 01.04.2015 03:25, Lukasz Marek wrote: > >Signed-off-by: Lukasz Marek > >--- > > tests/fate/libavutil.mak | 4 > > tests/ref/fate/dict | 26 ++ > > I added more tests, so please see 2 attached ins

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Fix profile parameter handling

2015-04-01 Thread Philip Langdale
On Thu, 2 Apr 2015 00:04:07 +0200 Timo Rothenpieler wrote: > It was not possible to set a profile before, the builtin profile > parameter does not seem to work propperly. > To be compatible with libx264, this overlays it with a local parameter > that expects a string, instead of an int, that tak

Re: [FFmpeg-devel] [PATCH 2/3] apng: Add a basic APNG encoder

2015-04-01 Thread Michael Niedermayer
On Tue, Mar 31, 2015 at 08:58:26PM +, Donny Yang wrote: > Signed-off-by: Donny Yang > --- > configure | 1 + > libavcodec/Makefile| 1 + > libavcodec/allcodecs.c | 2 +- > libavcodec/pngenc.c| 149 > ++--- > 4 files chang

[FFmpeg-devel] HEVC decoder debug in ffmpeg

2015-04-01 Thread Zhan Ma
Dear experts I am trying to do step-by-step debugging of HEVC decoder in ffmpeg for a detailed study. I created the eclipse project for ffmpeg and then compile the ffmpeg using --enable-static and --enable-debug. However, it seems that I can't get into the low-level functions of HEVC, such as

Re: [FFmpeg-devel] [PATCH] vda: fix h64 decoding, vda wants the entire buffer

2015-04-01 Thread Rainer Hochecker
Michael Niedermayer gmx.at> writes: > > could it be that this should be using nal_length_size ? > > [...] I tried nal_length_size and it does not fix the issue. Instead it breaks some other files. Seems silly VDA does only support 4 byte avcC flavour. The patch brakes annexb. Should we add a