[FFmpeg-devel] [PATCH] cmdutils_opencl: fix resource_leak cid 1396852

2017-01-11 Thread Steven Liu
CID: 1396852 check the devices_list alloc status, and release the devices_list when alloc devices error Signed-off-by: Steven Liu --- cmdutils_opencl.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmdutils_opencl.c b/cmdutils_opencl.c index dd21344..655d1c9 100644

[FFmpeg-devel] [PATCH] avformat/hlsenc: refine the hlsenc code

2017-01-11 Thread Steven Liu
because the oc have been potint to hls->avf or hls->vtt_avf here is not needed point once again Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 772232b..fb98b01 100644 --- a/libavformat/

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-11 Thread Steven Liu
when hlsenc use flag second_level_segment_index, second_level_segment_size and second_level_segment_duration, the rename is ok but the output filename always use the old filename so move the rename operation after the close the ts file and before open new segment Reported-by: Christian Johannesen

Re: [FFmpeg-devel] fate/psd : add test for bitmap and duotone

2017-01-11 Thread Michael Niedermayer
On Wed, Jan 11, 2017 at 09:59:24PM +0100, Martin Vignali wrote: > Hello, > > In attach patch to add fate test for bitmap file, and duotone. > > The duotone test, is based on the actual state of the decoder, where the > sample is interpreted as gray file. > > Sample can be found here : > https://

[FFmpeg-devel] [PATCH] avformat/flvdec.c: testing for ontextdata packet

2017-01-11 Thread Thomas Turner
file can be found at: https://drive.google.com/file/d/0B2asIA9Y3hy4eVEwWEI3WmhJRUk/view?usp=sharing Signed-off-by: Thomas Turner --- tests/fate/demux.mak| 3 + tests/ref/fate/flv-demux-ontextdata | 559 2 files changed, 562 insertions(+) c

[FFmpeg-devel] [PATCH] avutil/tests/audio_fifo.c: pass by reference for efficiency and change datatype to const

2017-01-11 Thread Thomas Turner
Signed-off-by: Thomas Turner --- libavutil/tests/audio_fifo.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/libavutil/tests/audio_fifo.c b/libavutil/tests/audio_fifo.c index 861cebb..e107166 100644 --- a/libavutil/tests/audio_fifo.c +++ b/lib

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in vaapi_encode

2017-01-11 Thread Jun Zhao
On 2017/1/12 4:39, Mark Thompson wrote: > On 09/01/17 06:19, Jun Zhao wrote: >> From 40804a849556e1303f6351f5560d5552e2588b12 Mon Sep 17 00:00:00 2001 >> From: Jun Zhao >> Date: Mon, 9 Jan 2017 14:05:59 +0800 >> Subject: [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in >> vaapi_en

[FFmpeg-devel] [PATCH] Don't disable SSA Optimizer on MSVC v19.00.24218+.

2017-01-11 Thread Kacper Michajłow
--- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 398e843..3bfd514 100755 --- a/configure +++ b/configure @@ -6317,9 +6317,9 @@ EOF check_func strtoll || add_cflags -Dstrtoll=_strtoi64 check_func strtoull || add_cflags -Ds

[FFmpeg-devel] [PATCH] HTTP: optimize forward seek performance

2017-01-11 Thread Joel Cunningham
Hi, I’ve been working on optimizing HTTP forward seek performance for ffmpeg and would like to contribute this patch into mainline ffmpeg. Please see the below patch for an explanation of the issue and proposed fix. I have provided evidence of the current performance issue and my sample MP4 s

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-11 Thread Bodecs Bela
2017.01.10. 22:02 keltezéssel, Moritz Barsnick írta: On Tue, Jan 10, 2017 at 16:02:34 +0100, Bodecs Bela wrote: Missing documentation in doc/muxers.texi. my patch included the muxers.texi also. D'uh, sorry! ;) Will you please review it? ___ ffmpe

Re: [FFmpeg-devel] fate/psd : add test for 256 color psd file

2017-01-11 Thread Michael Niedermayer
On Tue, Jan 10, 2017 at 03:41:19PM +0100, Michael Niedermayer wrote: > On Mon, Jan 09, 2017 at 11:08:00PM +0100, Martin Vignali wrote: > > Hello, > > > > Sample can be found here : > > https://we.tl/CX9svvyEdI > > file uploaded applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147E

Re: [FFmpeg-devel] [PATCH 1/2] libavcodec/qsvdec: Fix the QSV decoder can't work when using system memory

2017-01-11 Thread Mark Thompson
On 09/01/17 02:05, Huang, Zhengxu wrote: > From 37629f14294125c7396e5e12970d75e895b1caba Mon Sep 17 00:00:00 2001 > From: Zhengxu > Date: Mon, 19 Dec 2016 01:27:06 -0500 > Subject: [PATCH 1/2] libavcodec/qsvdec: Fix the QSV decoder can't work when > using system memory > > Description: ./ffmpeg

[FFmpeg-devel] fate/psd : add test for bitmap and duotone

2017-01-11 Thread Martin Vignali
Hello, In attach patch to add fate test for bitmap file, and duotone. The duotone test, is based on the actual state of the decoder, where the sample is interpreted as gray file. Sample can be found here : https://we.tl/sKMmiVhWT1 and need to be put inside : fate-suite/psd/ Martin From 031441

[FFmpeg-devel] libavcodec/psd : add test for channel depth/count in bitmap mode

2017-01-11 Thread Martin Vignali
Hello, Patch in attach add test for channel depth and channel count in bitmap mode and return invalid data, if channel count or depth != 1. Martin From e1ae30182861bebbee7ce640db4e7038bff09e75 Mon Sep 17 00:00:00 2001 From: Martin Vignali Date: Wed, 11 Jan 2017 21:47:56 +0100 Subject: [PATCH 1/2

Re: [FFmpeg-devel] [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in vaapi_encode

2017-01-11 Thread Mark Thompson
On 09/01/17 06:19, Jun Zhao wrote: > From 40804a849556e1303f6351f5560d5552e2588b12 Mon Sep 17 00:00:00 2001 > From: Jun Zhao > Date: Mon, 9 Jan 2017 14:05:59 +0800 > Subject: [PATCH] lavc/vaapi_encode: enable "force_key_frames" option in > vaapi_encode > > enable the opt "force_key_frame" to for

Re: [FFmpeg-devel] [PATCH] libavutil/hwcontext_qsv: Command line using hwaccel 'QSV' doesn't work

2017-01-11 Thread Mark Thompson
On 09/01/17 05:58, Huang, Zhengxu wrote: > 在 2017/1/8 7:36, Mark Thompson 写道: >> On 06/01/17 06:37, Huang, Zhengxu wrote: >>> Hi >>> >>> According to the suggestion update the patch. >>> >>> thanks. >>> >>> >>> From 4beadd3c84c797a56c4f375458d0a1e9d9b233c8 Mon Sep 17 00:00:00 2001 >>> From: Zhengx

Re: [FFmpeg-devel] [PATCH 1/3] cmdutils_opencl: fix resource_leak cid 1396852

2017-01-11 Thread Michael Niedermayer
On Tue, Jan 10, 2017 at 07:44:32PM +0800, Steven Liu wrote: > CID: 1396852 > check the devices_list alloc status, > and release the devices_list when alloc devices error > > Signed-off-by: Steven Liu > --- > cmdutils_opencl.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > dif

Re: [FFmpeg-devel] [PATCH]lavf/matroskaenc: Do not write two CodecID elements for rawvideo

2017-01-11 Thread Michael Niedermayer
On Tue, Jan 10, 2017 at 05:23:04PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #6068. > > Please comment, Carl Eugen > matroskaenc.c |1 + > 1 file changed, 1 insertion(+) > 41a44b306b4f66f182c30289e093372556ca184c > 0001-lavf-matroskaenc-Do-not-write-two-CodecID-

Re: [FFmpeg-devel] Add audio support to lavfi/framepool

2017-01-11 Thread Matthieu Bouron
On Thu, Jan 05, 2017 at 12:11:31PM +0100, Matthieu Bouron wrote: > Patchset updated and rebased on master with the following minor changes: > * add av_assert0 in ff_frame_pool_get_{audio,video}_config > * FFFramePool.type declared as enum AVMediaType instead of int > > I was not able to reprod

Re: [FFmpeg-devel] [PATCH v4 2/2] Newtek SpeedHQ decoder.

2017-01-11 Thread Paul B Mahol
On 1/8/17, Steinar H. Gunderson wrote: > This decoder can decode all existing SpeedHQ formats (SHQ0-5, 7, and 9), > including correct decoding of the alpha channel. > > 1080p is decoded in 142 fps on one core of my i7-4600U (2.1 GHz Haswell), > about evenly split between bitstream reader and IDCT.

Re: [FFmpeg-devel] [PATCH v4 1/2] Move bitswap_32() into a header file.

2017-01-11 Thread Paul B Mahol
On 1/11/17, Steinar H. Gunderson wrote: > On Sun, Jan 08, 2017 at 02:14:54PM +0100, Steinar H. Gunderson wrote: >> Allows more codecs than mpeg12video to make use of it. >> --- > > 48h ping. (I realize I should maybe have reset the commit date so that it > doesn't sort odd.) Is there anything else

Re: [FFmpeg-devel] [PATCH]lavf/dss: Support files with larger header

2017-01-11 Thread Paul B Mahol
On 1/11/17, Carl Eugen Hoyos wrote: > Hi! > > Attached patch files ticket #6072 for me. > > Please comment, Carl Eugen > ok ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]lavf/dss: Support files with larger header

2017-01-11 Thread Carl Eugen Hoyos
Hi! Attached patch files ticket #6072 for me. Please comment, Carl Eugen From ab932a78315ad08fa67590b8d7cd97806c876f54 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 11 Jan 2017 13:23:13 +0100 Subject: [PATCH] lavf/dss: Support version 3 file / file with larger header. Fixes ticket

Re: [FFmpeg-devel] [PATCH]lavf/matroskaenc: Print an error if an unreadable rawvideo pix_fmt is written

2017-01-11 Thread Moritz Barsnick
On Tue, Jan 10, 2017 at 17:05:47 +0100, Carl Eugen Hoyos wrote: > +enum AVPixelFormat pix_fmt = > avpriv_find_pix_fmt(avpriv_pix_fmt_bps_avi, > + > par->bits_per_coded_sample); > +if (par->format != pi

Re: [FFmpeg-devel] [PATCH v4 1/2] Move bitswap_32() into a header file.

2017-01-11 Thread Steinar H. Gunderson
On Sun, Jan 08, 2017 at 02:14:54PM +0100, Steinar H. Gunderson wrote: > Allows more codecs than mpeg12video to make use of it. > --- 48h ping. (I realize I should maybe have reset the commit date so that it doesn't sort odd.) Is there anything else that I should do about this patch set? /* Steina