Re: [FFmpeg-devel] Questions about Video Memory in qsv decoders

2016-07-23 Thread Ivan Uskov
Hello 张玉晓, Friday, July 22, 2016, 4:10:36 AM, you wrote: 张> I have a question when learning ffmpeg qsv decoder and Intel media sdk. 张> The intel media sdk suggest to use Video Memory while doing Hardware 张> decoding, use System Memory while doing Software decoding. 张> FFmpeg only used System

Re: [FFmpeg-devel] Questions about Video Memory in qsv decoders

2016-07-23 Thread Mark Thompson
On 23/07/16 21:19, Ivan Uskov wrote: > Second (subjective) problem that nobody in ffmpeg community is interested to > advance QSV codecs. Most of patches at this year provided by me or by my > colleagues (including tries to solve issue with GPU memory) were rejected or > ignored silently.

Re: [FFmpeg-devel] [PATCH] libavutil/opt: Small changes in example.

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 09:43:06PM +0200, Kacper Michajłow wrote: > Fix const corectness and zero init the struct. This example code would > actually crash when initializing string. > --- > libavutil/opt.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thx [...] --

[FFmpeg-devel] [PATCH v2] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
added sws_flags flags and tested against x86_32 --- tests/fate/seek.mak | 2 ++ tests/fate/vcodec.mak | 26 - tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb | 40 +++ tests/ref/vsynth/vsynth1-dnxhd-2k-hr-hq

Re: [FFmpeg-devel] [PATCH] af_hdcd: Improve HDCD detection

2016-07-23 Thread Burt P.
On Sat, Jul 23, 2016 at 5:41 PM, Michael Niedermayer wrote: > > this looks like 2 unrelated changes > one is improving documentation the other is changing ths detect code > can you split these in 2 patches ? Ok, I've submitted a new set.

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec.c: Restoring decoding functionality after unsuccessful merge from libav.

2016-07-23 Thread Michael Niedermayer
On Mon, Apr 25, 2016 at 04:13:33PM +0300, Ivan Uskov wrote: > Hello All, > > After commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e qsv-based decoding > aborts with crash, there are many incorrect places appeared. The attached > patch fixes the issues but keeps new method of the 'sync'

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec.c: Restoring decoding functionality after unsuccessful merge from libav.

2016-07-23 Thread Mark Thompson
On 23/07/16 20:33, Ivan Uskov wrote: > If you are use qsv, I would like to recommend to roll-back to version before > d30cf57a7b2097b565db02ecfffbdc9c16423d0e > Really the d30cf57a7b2097b565db02ecfffbdc9c16423d0e is useless and only > makes code complex and work slow, the sync variable is not

Re: [FFmpeg-devel] Questions about Video Memory in qsv decoders

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 11:19:59PM +0300, Ivan Uskov wrote: > Hello 张玉晓, > > Friday, July 22, 2016, 4:10:36 AM, you wrote: > > 张> I have a question when learning ffmpeg qsv decoder and Intel media sdk. > > 张> The intel media sdk suggest to use Video Memory while doing Hardware > 张> decoding,

[FFmpeg-devel] [PATCH] libavformat/rtpdec_asf: zero initialize the AVIOContext struct

2016-07-23 Thread Kacper Michajłow
This fixes crash in avformat_open_input() when accessing protocol_whitelist field. --- libavformat/rtpdec_asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c index 8459a51..2c09fda 100644 --- a/libavformat/rtpdec_asf.c +++

Re: [FFmpeg-devel] [PATCH]lavc/h264_ps: Be more verbose when truncating likely oversized pps.

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 07:26:41PM +0200, Carl Eugen Hoyos wrote: > Hi! > > Attached patch prints the size of the oversized pps when truncating. > > Please comment, Carl Eugen > h264_ps.c |4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > d31b582b08f7b3457160ab5418d652746aa3d34c

Re: [FFmpeg-devel] Outreachy 2016 december

2016-07-23 Thread Yayoi Ukai
On Jul 22, 2016 10:18 AM, "Michael Niedermayer" wrote: > > On Wed, Jul 06, 2016 at 11:25:21PM +0200, Michael Niedermayer wrote: > > Hi all > > > > The next Outreachy round starts soon > > FFmpeg has till august 22 IIUC (https://www.gnome.org/outreachy/) > > to express

Re: [FFmpeg-devel] [GSoC] MLP/TrueHD encoder

2016-07-23 Thread Michael Niedermayer
On Thu, Jul 07, 2016 at 04:58:21AM +0530, Jai Luthra wrote: > Hi, > > This is an update for the TrueHD encoder gsoc project. Any input from the > community about work done till now, or for plans ahead, is most welcome :) > > The MLP encoder (patch attached) works without any lossless check

[FFmpeg-devel] [PATCH] lavc: add mpeg4 mediacodec decoder

2016-07-23 Thread Thomas Volkert
From: Thomas Volkert --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/mediacodecdec_mpeg4.c | 239 +++ 3 files changed, 241 insertions(+) create mode 100644 libavcodec/mediacodecdec_mpeg4.c

Re: [FFmpeg-devel] [PATCH] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
On Sat, Jul 23, 2016 at 2:12 PM, Michael Niedermayer wrote: > On Sat, Jul 23, 2016 at 12:38:33PM -0700, Mark Reid wrote: >> --- >> tests/fate/seek.mak | 2 ++ >> tests/fate/vcodec.mak | 22 ++- >>

[FFmpeg-devel] [PATCH 3/4] af_hdcd: Add counter for cdt expirations

2016-07-23 Thread Burt P
Adds a counter for when the code detect timer expired without finding a valid packet. Signed-off-by: Burt P --- libavfilter/af_hdcd.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index

Re: [FFmpeg-devel] [PATCH] fate: add test for chorus filter

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 08:37:51PM -0300, James Almer wrote: > On 7/19/2016 10:05 PM, Michael Niedermayer wrote: > > On Tue, Jul 19, 2016 at 07:37:16PM +, Petru Rares Sincraian wrote: > >> > >> Hi there, > >> > >> Here is a patch for the chorus filter. I tested on x64 and x86. > >> > >> > >>

[FFmpeg-devel] [PATCH 2/4] af_hdcd: more comments in state struct

2016-07-23 Thread Burt P
Add some comments describing the fields in hdcd_state_t. Signed-off-by: Burt P --- libavfilter/af_hdcd.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index

[FFmpeg-devel] [PATCH 0/4] HDCD filter improvements

2016-07-23 Thread Burt P
I've split an earlier patch as requested, and added a couple more to the set. -- Burt ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH 1/4] af_hdcd: Improve HDCD detection

2016-07-23 Thread Burt P
HDCD is now only considered detected if a valid packet is active in both channels simultaneously. Signed-off-by: Burt P --- libavfilter/af_hdcd.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c index

Re: [FFmpeg-devel] [PATCH] lavc: add mpeg4 mediacodec decoder

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 11:21:20PM +0200, Thomas Volkert wrote: > From: Thomas Volkert > > --- > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/mediacodecdec_mpeg4.c | 239 > +++ > 3

Re: [FFmpeg-devel] [PATCH] af_hdcd: Improve HDCD detection

2016-07-23 Thread Michael Niedermayer
On Sun, Jul 17, 2016 at 12:34:12PM -0500, Burt P wrote: > HDCD is only "detected" if a valid code is active in both > channels simultaneously, as described here: > https://hydrogenaud.io/index.php/topic,79427.msg900371.html#msg900371 > > Signed-off-by: Burt P > --- >

Re: [FFmpeg-devel] [PATCH] fate: add test for chorus filter

2016-07-23 Thread James Almer
On 7/19/2016 10:05 PM, Michael Niedermayer wrote: > On Tue, Jul 19, 2016 at 07:37:16PM +, Petru Rares Sincraian wrote: >> >> Hi there, >> >> Here is a patch for the chorus filter. I tested on x64 and x86. >> >> >> Regards, >> Petru Rares. > >> fate/filter-audio.mak |5 + >>

[FFmpeg-devel] [PATCH 4/4] af_hdcd: Report PE as being intermittent or permanent

2016-07-23 Thread Burt P
The Peak Extend feature could be enabled permanently or only when needed. This is now reported. Signed-off-by: Burt P --- libavfilter/af_hdcd.c | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/libavfilter/af_hdcd.c

Re: [FFmpeg-devel] [PATCH v5 0/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-23 Thread Mark Reid
On Sat, Jul 23, 2016 at 5:08 AM, Michael Niedermayer wrote: > On Fri, Jul 22, 2016 at 01:30:13PM -0700, Mark Reid wrote: >> changes since v4: >> * use profile to set codec tag >> >> to test >> ffmpeg -i lb_uhd.mxf -vcodec copy out.mov >> >> here are some samples: >>

Re: [FFmpeg-devel] [PATCH] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 12:38:33PM -0700, Mark Reid wrote: > --- > tests/fate/seek.mak | 2 ++ > tests/fate/vcodec.mak | 22 ++- > tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb | 40 > +++ >

Re: [FFmpeg-devel] Questions about Video Memory in qsv decoders

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 11:19:59PM +0300, Ivan Uskov wrote: > Hello 张玉晓, > > Friday, July 22, 2016, 4:10:36 AM, you wrote: > > 张> I have a question when learning ffmpeg qsv decoder and Intel media sdk. > > 张> The intel media sdk suggest to use Video Memory while doing Hardware > 张> decoding,

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: return AVERROR(EIO) rather than AVERROR_EOF on parse error

2016-07-23 Thread Nicolas George
Le quintidi 5 thermidor, an CCXXIV, Sophia Wang a écrit : > Signed-off-by: Sophia Wang > --- > libavformat/matroskadec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c > index f3d701f..c536605

Re: [FFmpeg-devel] [PATCH] Avoid sending packets to network when multicast ttl is 0 in udp

2016-07-23 Thread Omid Ghaffarinia
I'm sorry for that, it failed because it was prepared for release/2.8, this one should work on master. On Thu, Jul 21, 2016 at 3:48 AM, Michael Niedermayer wrote: > On Wed, Jul 20, 2016 at 05:38:10PM +0430, Omid Ghaffarinia wrote: >> Thanks for testing in mingw >> New

Re: [FFmpeg-devel] [PATCH] af_hdcd: Improve HDCD detection

2016-07-23 Thread Burt P.
It does not fix #5727, it only improves the result for the "HDCD detected" line in the log. To fix #5727, the code has to be changed to process both channels at once, so that target_gain of both channels is known for every processed sample, or at least every segment between HDCD packets. I am

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself to the project server

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 04:15:20PM +0200, Nikolay Aleksandrov wrote: > I've been helping out with the project servers' maintenance and migration > to the new machine hosted in Telepoint's data center in Sofia, BG. > > Signed-off-by: Nikolay Aleksandrov > --- > note: the

Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: fix unsigned overflow to improve seeking

2016-07-23 Thread Michael Niedermayer
On Thu, Jul 21, 2016 at 12:01:45PM -0700, Chris Cunningham wrote: > When seeking a file where codec delay is greater than 0, the timecode > can become negative after offsetting by the codec delay. Failing to cast > to a signed int64 will cause the check against skip_to_timecode to evaluate > true

Re: [FFmpeg-devel] [PATCH 2/2] doc/examples/muxing: Fix packet duration

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 10:39:26PM -0300, Gonzalo wrote: > > > El 21/07/16 a las 20:02, Michael Niedermayer escribió: > >On Sun, Jul 17, 2016 at 04:10:39AM +0200, Michael Niedermayer wrote: > >>Set needed fields in st->codec > >> > >>Fixes Ticket5684 > >> > >>Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] [PATCH v5 2/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 01:30:15PM -0700, Mark Reid wrote: > --- > libavformat/movenc.c | 31 ++- > 1 file changed, 26 insertions(+), 5 deletions(-) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a

Re: [FFmpeg-devel] [PATCH v5 0/2] libavformat/movenc: add dnxhr compatibility for apple players

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 01:30:13PM -0700, Mark Reid wrote: > changes since v4: > * use profile to set codec tag > > to test > ffmpeg -i lb_uhd.mxf -vcodec copy out.mov > > here are some samples: > https://dl.dropboxusercontent.com/u/170952/ffmpeg_samples/mxf/UHD/lb_uhd.mxf >

Re: [FFmpeg-devel] [PATCH 4/4] libavcodec/dnxhdenc: add support for dnxhr encoding

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 16, 2016 at 07:37:39PM -0700, Mark Reid wrote: > --- > libavcodec/dnxhddata.c | 31 +++--- > libavcodec/dnxhddata.h | 1 + > libavcodec/dnxhdenc.c | 85 > +- > libavcodec/dnxhdenc.h | 5 +++ > 4 files changed, 103

Re: [FFmpeg-devel] [PATCH 3/4] libavcodec/dnxhdenc: add support for variable mircoblock counts

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 16, 2016 at 07:37:38PM -0700, Mark Reid wrote: > dnxhr has variable resolution, 8160 is the mb num for 1920x1080 > --- > libavcodec/dnxhdenc.c | 41 +++-- > libavcodec/dnxhdenc.h | 2 +- > 2 files changed, 24 insertions(+), 19 deletions(-) applied

Re: [FFmpeg-devel] [PATCH v2] avcodec/bsf: Set EOF flag only if pkt == NULL

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 10:14:16PM +0200, Nicolas George wrote: > Le quintidi 5 thermidor, an CCXXIV, sebechlebsky...@gmail.com a écrit : > > From: Jan Sebechlebsky [...] > and an assert failure is the most sympathetic undefined > behaviours for developers. +1 [...]

Re: [FFmpeg-devel] [PATCH 2/2] avformat: parse iTunes gapless information

2016-07-23 Thread James Almer
On 7/23/2016 8:25 AM, Michael Niedermayer wrote: > On Fri, Jul 22, 2016 at 05:19:14PM -0700, kod...@gmail.com wrote: >> From: Chris Moeller >> >> --- >> libavformat/mp3dec.c | 64 >> +++- >> 1 file changed, 63 insertions(+), 1

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: return AVERROR(EIO) rather than AVERROR_EOF on parse error

2016-07-23 Thread James Almer
On 7/23/2016 5:50 AM, Nicolas George wrote: > Le quintidi 5 thermidor, an CCXXIV, Sophia Wang a écrit : >> Signed-off-by: Sophia Wang >> --- >> libavformat/matroskadec.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavformat/matroskadec.c

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-07-23 Thread Martin Vignali
Hello, New patch in attach. - add support for RLE compression (who can be use by Photoshop and After Effects) RLE samples can be found here : https://we.tl/LCQLqwuvZ4 - fix trouble with not even width. - modification of the probe function, but i'm not sure of mine for this - cosmetics fix.

Re: [FFmpeg-devel] ffbox0 server hosting

2016-07-23 Thread Michael Niedermayer
On Tue, Jul 19, 2016 at 07:32:01PM +0200, Clément Bœsch wrote: > Hi, > > As stated in previous meeting¹ I'd like to stop paying for ffbox0. This is > not exactly an issue today for me, but I feel like it could be avoided. > There was a need for a fast solution a while ago, but it's now long past

Re: [FFmpeg-devel] [PATCH 2/2] avformat: parse iTunes gapless information

2016-07-23 Thread Nicolas George
Le sextidi 6 thermidor, an CCXXIV, Michael Niedermayer a écrit : > > +uint32_t zero, start_pad, end_pad; > > +uint64_t last_eight_frames_offset; > > +if (sscanf(de->value, "%x %x %x %llx %x %llx", , _pad, > > _pad, duration, , _eight_frames_offset) < 6) { > %llx mismatches the type

Re: [FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr prefix tests

2016-07-23 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 06:15:38PM -0700, Mark Reid wrote: > The data offset value in the prefix increases as the heights increases. > This test adds a tests for some common dnxhr heights. > > can somebody add the following test footage to fate/dnxhd? >

Re: [FFmpeg-devel] [PATCH 1/2] avformat: read id3v2 comment tags

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 05:59:09PM -0700, kod...@gmail.com wrote: > From: Chris Moeller > > --- > libavformat/id3v2.c | 44 > 1 file changed, 44 insertions(+) > > diff --git a/libavformat/id3v2.c b/libavformat/id3v2.c > index

Re: [FFmpeg-devel] [PATCH 2/2] avformat: parse iTunes gapless information

2016-07-23 Thread Michael Niedermayer
On Fri, Jul 22, 2016 at 05:19:14PM -0700, kod...@gmail.com wrote: > From: Chris Moeller > > --- > libavformat/mp3dec.c | 64 > +++- > 1 file changed, 63 insertions(+), 1 deletion(-) > > diff --git a/libavformat/mp3dec.c

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-07-23 Thread Michael Niedermayer
On Sat, Jul 23, 2016 at 04:37:19PM +0200, Martin Vignali wrote: > Hello, > > New patch in attach. > > - add support for RLE compression (who can be use by Photoshop and After > Effects) > > RLE samples can be found here : > https://we.tl/LCQLqwuvZ4 > > - fix trouble with not even width. > -

Re: [FFmpeg-devel] [PATCH v2 3/7] avformat/tee: Rescale ts using av_packet_rescale_ts

2016-07-23 Thread Marton Balint
On Sun, 17 Jul 2016, Nicolas George wrote: Le nonidi 29 messidor, an CCXXIV, sebechlebsky...@gmail.com a écrit : From: Jan Sebechlebsky This ensures that AV_NOPTS_VALUE value is handled correctly. Signed-off-by: Jan Sebechlebsky ---

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvdec.c: Restoring decoding functionality after unsuccessful merge from libav.

2016-07-23 Thread Ivan Uskov
Hello Mark, Friday, July 15, 2016, 1:37:54 PM, you wrote: MT> On 15/07/16 07:15, Chao Liu wrote: >> Ivan Uskov nablet.com> writes: >> >>> >>> Hello All, >>> >>> After commit d30cf57a7b2097b565db02ecfffbdc9c16423d0e qsv-based >> decoding >>> aborts with crash, there are many incorrect

[FFmpeg-devel] [PATCH] tests/fate: add dnxhr encoding tests

2016-07-23 Thread Mark Reid
--- tests/fate/seek.mak | 2 ++ tests/fate/vcodec.mak | 22 ++- tests/ref/seek/vsynth_lena-dnxhd-4k-hr-lb | 40 +++ tests/ref/vsynth/vsynth1-dnxhd-2k-hr-hq | 4 +++

[FFmpeg-devel] [PATCH] libavutil/opt: Small changes in example.

2016-07-23 Thread Kacper Michajłow
Fix const corectness and zero init the struct. This example code would actually crash when initializing string. --- libavutil/opt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index 9a76a47..9430b98 100644 --- a/libavutil/opt.h +++

[FFmpeg-devel] [PATCH] libavformat/rtpdec_asf: zero initialize the AVIOContext struct

2016-07-23 Thread Kacper Michajłow
This fixes crash in avformat_open_input() when accessing protocol_whitelist field. --- libavformat/rtpdec_asf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rtpdec_asf.c b/libavformat/rtpdec_asf.c index 8459a51..e344376 100644 --- a/libavformat/rtpdec_asf.c +++

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: implement floating point decoding

2016-07-23 Thread Umair Khan
HI, On Fri, Jul 22, 2016 at 9:19 PM, Michael Niedermayer wrote: > On Fri, Jul 22, 2016 at 06:22:30PM +0530, Umair Khan wrote: >> On Thu, Jul 21, 2016 at 6:18 PM, Michael Niedermayer >> wrote: >> > On Sun, Jul 17, 2016 at 12:06:03AM +0530, Umair