[FFmpeg-devel] [PATCH 2/2] avcodec/avpacket: fix leaks on side data copying failure

2017-09-21 Thread James Almer
pkt->side_data_elems being set at the very end of the process will leak memory if some side data elements were already copied before an error ocurrs. Signed-off-by: James Almer --- libavcodec/avpacket.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH 1/2] avfilter/vf_fps: clean-up filter options

2017-09-21 Thread Michael Niedermayer
On Thu, Sep 21, 2017 at 04:55:51PM +0200, Tobias Rapp wrote: > Align order of "start_time" option to documentation and add missing > AV_OPT_FLAG_FILTERING_PARAM flag. Fix indent of "round" named constants > and clear unused field values. > > Also fix some documentation cosmetics. > >

Re: [FFmpeg-devel] Supporting DirecTV captioning.

2017-09-21 Thread Hendrik Leppkes
On Thu, Sep 21, 2017 at 11:54 PM, Joseph Van Riper wrote: > > I would normally not want to request of an open source team a fast response > to something like this, but I sense some urgency to resolving this issue > for the folks who have asked me to look into it. I will

[FFmpeg-devel] [PATCH] change of deprecated log to debug level

2017-09-21 Thread Thomas Hartwig
The problem is this warning is flooding the console with deprecated warnings for every decoded frame. However decoding works well. This is an issue with an Axis camera H264 stream received via rtsp for instance. There are several complaints about it in the WEB for years now and I could not

Re: [FFmpeg-devel] [PATCH] avformat/async: allow to set buffer size

2017-09-21 Thread Michael Niedermayer
On Fri, Sep 22, 2017 at 12:36:40AM +0900, Takayuki 'January June' Suwa wrote: > --- > doc/protocols.texi | 6 ++ > libavformat/async.c | 7 ++- > 2 files changed, 12 insertions(+), 1 deletion(-) > > diff --git a/doc/protocols.texi b/doc/protocols.texi > index a7968ff56e3..f321664d7bf

[FFmpeg-devel] Supporting DirecTV captioning.

2017-09-21 Thread Joseph Van Riper
I would like to provide a patch to ffmpeg that would help it support writing 608-style captions to DirecTV HD mp4 streams. The a53 sei header used by ff_alloc_a53_sei does not match the header required by DirecTV. I've written a function (ff_alloc_directv_sei) that will write the correct header,

Re: [FFmpeg-devel] [PATCH] option: allow to set slice_flags to video decoder

2017-09-21 Thread Michael Niedermayer
On Thu, Sep 21, 2017 at 02:17:53PM +0800, Zhong Li wrote: > Make slice_flags setable as avcodec.h definition > > Signed-off-by: Zhong Li > --- > libavcodec/options_table.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/options_table.h

[FFmpeg-devel] [PATCH] swscale_unscaled: fix DITHER_COPY macro, use it only for dst_depth == 8

2017-09-21 Thread Mateusz
To reduce bit depth in planar YUV or gray pixel formats ffmpeg uses DITHER_COPY macro. Now it makes images greener and with visible dither pattern. In my opinion there is no point to use dither tables for destination bit depth >= 9, we can use simple down-shift which is neutral in full and

[FFmpeg-devel] [PATCH 1/2] avcodec/avpacket: fix leaks when copying side data if src == dst

2017-09-21 Thread James Almer
The scenario makes no sense and produces all kinds of memory leaks. Return 0 instead of an error as the process is pretty much a nop. Signed-off-by: James Almer --- libavcodec/avpacket.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[FFmpeg-devel] [PATCH] libavdevice/v4l2: fix invalid access to struct v4l2_buffer

2017-09-21 Thread Jaroslav Beran
In case we are short of queued buffers, at first v4l2_buffer was enqueued to kernel so it's not owned by user-space anymore. After that it's timestamp field was read, but it might be overwritten by driver at that moment. It resulted in invalid timestamp sometimes. --- libavdevice/v4l2.c | 5

Re: [FFmpeg-devel] [Patch] Add input swap functionality to movie filter (src_movie.c)

2017-09-21 Thread Jaime Martinez
Hi, Was this patch finally included? Regards -- Jaime Martinez Muradas Spain Mobile: +34656833035 UK mobile: +447858503623 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] change of deprecated log to debug level

2017-09-21 Thread Michael Niedermayer
On Thu, Sep 21, 2017 at 10:55:14PM +0200, Thomas Hartwig wrote: > The problem is this warning is flooding the console with deprecated > warnings for every decoded frame. However decoding works well. This > is an issue with an Axis camera H264 stream received via rtsp for > instance. There are

Re: [FFmpeg-devel] [PATCH] avcodec/hevc_sei: Support HEVC paired fields.

2017-09-21 Thread Brian Matherly
On 9/14/2017 8:39 PM, Brian Matherly wrote: Correctly set frame.interlaced and frame.top_field_first when pic_struct indicates paired fields. --- libavcodec/hevc_sei.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/hevc_sei.c b/libavcodec/hevc_sei.c index

Re: [FFmpeg-devel] [PATCH] change of deprecated log to debug level

2017-09-21 Thread Carl Eugen Hoyos
2017-09-21 22:55 GMT+02:00 Thomas Hartwig : > It looks like vendors are not changing their encoding easily. ;-) The warning is not related to the vendors (or input streams in general). Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] [PATCH] avfilter: add normalize filter

2017-09-21 Thread Richard Ling
> > > Thanks for the patch. Unfortunately, your mail software mangled it with > line breaks, it cannot be applied as is. Still, see a few comments > below. > > I should have posted to myself first to make sure it worked OK. I will do that before posting another patch to the list. > +The amount of

[FFmpeg-devel] [PATCH] avcodec/mips: Unrolled loops avc intra msa functions

2017-09-21 Thread kaustubh.raste
From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264pred_msa.c | 318 1 file changed, 158 insertions(+), 160 deletions(-) diff --git a/libavcodec/mips/h264pred_msa.c

Re: [FFmpeg-devel] [PATCH] avcodec/mips: preload data in hevc sao edge 90 degree filter msa functions

2017-09-21 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, September 21, 2017 12:18 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: preload data in hevc sao

[FFmpeg-devel] [PATCH] h264_sei: handle stereoscopy frame sequential flags

2017-09-21 Thread Steve Lhomme
From: "Mohammed (Shaan) Huzaifa Danish" --- libavcodec/h264_sei.c | 6 -- libavcodec/h264_sei.h | 1 + libavcodec/h264_slice.c | 2 ++ libavutil/stereo3d.h| 4 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264_sei.c

[FFmpeg-devel] [PATCH 1/4] qsv: fix the max payload size

2017-09-21 Thread Steve Lhomme
We only have one possible Payload for now: A53 CC --- libavcodec/qsv_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsv_internal.h b/libavcodec/qsv_internal.h index c0305508dd..5419db05be 100644 --- a/libavcodec/qsv_internal.h +++

[FFmpeg-devel] [PATCH 3/4] qsvenc: merge the output fifo elements into a structure

2017-09-21 Thread Steve Lhomme
This is cleaner to read and less error prone. --- libavcodec/qsvenc.c | 117 +--- 1 file changed, 56 insertions(+), 61 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 772336b719..bbf72e54b0 100644 --- a/libavcodec/qsvenc.c

[FFmpeg-devel] [PATCH] avcodec/mips: Improve avc chroma horiz mc msa functions

2017-09-21 Thread kaustubh.raste
From: Kaustubh Raste Replace generic with block size specific function. Signed-off-by: Kaustubh Raste --- libavcodec/mips/h264chroma_msa.c | 231 ++ 1 file changed, 133 insertions(+), 98 deletions(-)

[FFmpeg-devel] [PATCH 4/4] qsvenc: use 'else' on exclusive code

2017-09-21 Thread Steve Lhomme
--- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index bbf72e54b0..806cef5633 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -1048,7 +1048,7 @@ static int encode_frame(AVCodecContext *avctx,

Re: [FFmpeg-devel] [PATCHv13] libavcodec: v4l2: add support for v4l2 mem2mem codecs

2017-09-21 Thread Jorge Ramirez-Ortiz
On 09/20/2017 06:55 PM, Jorge Ramirez-Ortiz wrote: This patchset enhances Alexis Ballier's original patch and validates it using Qualcomm's Venus hardware (driver recently landed upstream [1]). This has been tested on Qualcomm's DragonBoard 410c and 820c Configure/make

[FFmpeg-devel] [PATCH 1/2] avfilter/vf_fps: clean-up filter options

2017-09-21 Thread Tobias Rapp
Align order of "start_time" option to documentation and add missing AV_OPT_FLAG_FILTERING_PARAM flag. Fix indent of "round" named constants and clear unused field values. Also fix some documentation cosmetics. Signed-off-by: Tobias Rapp --- doc/filters.texi | 4

[FFmpeg-devel] [PATCH 2/2] avfilter/vf_fps: add eof_action filter option

2017-09-21 Thread Tobias Rapp
Allows to specify the action to be performed when reading the last frame from the internal FIFO buffer. By default the last frame is written to filter output depending on the timestamp rounding method. When using "pass" action the last frame is passed through if input duration has not been reached

[FFmpeg-devel] [PATCH] avformat/async: allow to set buffer size

2017-09-21 Thread Takayuki 'January June' Suwa
--- doc/protocols.texi | 6 ++ libavformat/async.c | 7 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/protocols.texi b/doc/protocols.texi index a7968ff56e3..f321664d7bf 100644 --- a/doc/protocols.texi +++ b/doc/protocols.texi @@ -57,6 +57,12 @@ Asynchronous data

Re: [FFmpeg-devel] [PATCH 2/2] MAINTAINERS: modify the hlsenc description

2017-09-21 Thread Steven Liu
2017-09-19 1:00 GMT+08:00 Lou Logan : > On Sun, Sep 17, 2017, at 06:08 PM, Steven Liu wrote: >> change the hlsenc from hls encryption to hlsenc >> >> Suggested-by: Aman Gupta >> Signed-off-by: Steven Liu >> --- >> MAINTAINERS | 2 +- >> 1 file

Re: [FFmpeg-devel] [PATCH 1/2] avformat/hlsenc: fix CID 1418106

2017-09-21 Thread Steven Liu
2017-09-18 10:08 GMT+08:00 Steven Liu : > fix the "Uninitialized scalar variable (UNINIT)" problem. > > Signed-off-by: Steven Liu > --- > libavformat/hlsenc.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: support http method for hls fmp4 init file

2017-09-21 Thread Steven Liu
2017-09-20 5:42 GMT+08:00 Carl Eugen Hoyos : > 2017-09-19 12:15 GMT+02:00 Steven Liu : >> fix ticket id: 6673 > > Please split if/when you push. > > Thank you, Carl Eugen > ___ > ffmpeg-devel mailing list >

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Remove generic func use in hevc non-uni copy mc msa functions

2017-09-21 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, September 21, 2017 12:45 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Remove generic func use in

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-09-21 Thread Umair Khan
Hi Ronald, On Mon, Sep 11, 2017 at 10:27 PM, Ronald S. Bultje wrote: > Hi Umair, > > On Mon, Sep 11, 2017 at 4:06 AM, Umair Khan wrote: > >> On Sun, Sep 10, 2017 at 10:30 PM, Paul B Mahol wrote: >> > On 9/10/17, Umair Khan

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-09-21 Thread Paul B Mahol
On 9/21/17, Umair Khan wrote: > Hi Ronald, > > On Mon, Sep 11, 2017 at 10:27 PM, Ronald S. Bultje > wrote: >> Hi Umair, >> >> On Mon, Sep 11, 2017 at 4:06 AM, Umair Khan wrote: >> >>> On Sun, Sep 10, 2017 at 10:30 PM, Paul B Mahol

[FFmpeg-devel] [PATCH 2/4] qsvenc: the return value is not any kind of int, it's a mfxStatus

2017-09-21 Thread Steve Lhomme
--- libavcodec/qsvenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 5eb506fb76..772336b719 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -989,7 +989,7 @@ static int encode_frame(AVCodecContext *avctx,

[FFmpeg-devel] [PATCH] option: allow to set slice_flags to video decoder

2017-09-21 Thread Zhong Li
Make slice_flags setable as avcodec.h definition Signed-off-by: Zhong Li --- libavcodec/options_table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h index 12712fb541..5b9e344554 100644 ---

[FFmpeg-devel] [PATCH] avcodec/mips: preload data in hevc sao edge 90 degree filter msa functions

2017-09-21 Thread kaustubh.raste
From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevc_lpf_sao_msa.c | 181 1 file changed, 122 insertions(+), 59 deletions(-) diff --git a/libavcodec/mips/hevc_lpf_sao_msa.c

[FFmpeg-devel] [PATCH 2/2] lavc/vaapi_decode: fix profile search when disable exact profile match.

2017-09-21 Thread Jun Zhao
From d7dc5c00692302e810412dea44ae3d2f122fb9a4 Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 21 Sep 2017 02:44:42 -0400 Subject: [PATCH 2/2] lavc/vaapi_decode: fix profile search when disable exact profile match. When disable exact profile match, alway use the profile

[FFmpeg-devel] [PATCH V2] mpeg2_hwaccel: always submit twice for a frame with two fileds.

2017-09-21 Thread Zhong Li
Though this patch to fix https://trac.ffmpeg.org/ticket/6668, I belive it is unnecessary to set SLICE_FLAG_ALLOW_FIELD flag to other hwaccels(dxva, vdpau, etc). Signed-off-by: Zhong Li --- libavcodec/mpeg12dec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff

[FFmpeg-devel] [PATCH] avcodec/mips: Remove generic func use in hevc non-uni copy mc msa functions

2017-09-21 Thread kaustubh.raste
From: Kaustubh Raste Signed-off-by: Kaustubh Raste --- libavcodec/mips/hevcdsp_msa.c | 168 +++-- 1 file changed, 160 insertions(+), 8 deletions(-) diff --git a/libavcodec/mips/hevcdsp_msa.c

[FFmpeg-devel] [PATCH 1/2] ffmpeg: re-enable hwaccel_lax_profile_check use hwaccel_flags.

2017-09-21 Thread Jun Zhao
From 742a7fb25d36543a7c2092103001278bd707d9ea Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Thu, 21 Sep 2017 02:41:29 -0400 Subject: [PATCH 1/2] ffmpeg: re-enable hwaccel_lax_profile_check use hwaccel_flags. re-enable hwaccel_lax_profile_check option use hwaccel_flags.

Re: [FFmpeg-devel] [PATCHv13] libavcodec: v4l2: add support for v4l2 mem2mem codecs

2017-09-21 Thread wm4
On Wed, 20 Sep 2017 18:55:40 -0700 Jorge Ramirez-Ortiz wrote: > This patchset enhances Alexis Ballier's original patch and validates > it using Qualcomm's Venus hardware (driver recently landed upstream > [1]). I intend to apply this later today.

Re: [FFmpeg-devel] [PATCH] change of deprecated log to debug level

2017-09-21 Thread wm4
On Thu, 21 Sep 2017 22:55:14 +0200 Thomas Hartwig wrote: > The problem is this warning is flooding the console with deprecated > warnings for every decoded frame. However decoding works well. This is > an issue with an Axis camera H264 stream received via rtsp for

Re: [FFmpeg-devel] [PATCH] h264_sei: handle stereoscopy frame sequential flags

2017-09-21 Thread wm4
On Thu, 21 Sep 2017 15:57:00 +0200 Steve Lhomme wrote: > From: "Mohammed (Shaan) Huzaifa Danish" > > --- > libavcodec/h264_sei.c | 6 -- > libavcodec/h264_sei.h | 1 + > libavcodec/h264_slice.c | 2 ++ > libavutil/stereo3d.h| 4 > 4 files

Re: [FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-21 Thread Jacob Trimble
On Thu, Sep 21, 2017 at 10:03 AM, Nicolas George wrote: > Le jour de la Récompense, an CCXXV, Jacob Trimble a écrit : >> But without this, you can't have a compiler path that has a space in >> it. Plus, AFAIK, there is no way to escape the space through a bash >> variable.

Re: [FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-21 Thread Jacob Trimble
On Wed, Sep 20, 2017 at 4:29 PM, Michael Niedermayer wrote: > > On Tue, Sep 19, 2017 at 04:54:16PM -0700, Jacob Trimble wrote: > > Signed-off-by: Jacob Trimble > > --- > > configure | 16 > > 1 file changed, 8 insertions(+), 8

Re: [FFmpeg-devel] [PATCH] configure: quote compiler paths

2017-09-21 Thread Nicolas George
Le jour de la Récompense, an CCXXV, Jacob Trimble a écrit : > But without this, you can't have a compiler path that has a space in > it. Plus, AFAIK, there is no way to escape the space through a bash > variable. Meaning there is no way for $cc to have an escaped space in > it. Is this just

Re: [FFmpeg-devel] [PATCH] avdevice/decklink: new options 'list_pixelformats' and 'pixelformat_code' to allow pixelformat selection by code

2017-09-21 Thread Gildas Fargeas
Hey, do you need more stuff changed on this patch ? 2017-09-07 14:46 GMT+02:00 Gildas Fargeas : > Ok, I changed the texi, added the bitrate and turned rgb48 value to rgb10. > > --- > doc/indevs.texi | 22 ++-- >

[FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc uni-w copy mc msa functions

2017-09-21 Thread kaustubh.raste
From: Kaustubh Raste Load the specific destination bytes instead of MSA load and pack. Pack the data to half word before clipping. Use immediate unsigned saturation for clip to max saving one vector register. Signed-off-by: Kaustubh Raste

Re: [FFmpeg-devel] [PATCH] option: allow to set slice_flags to video decoder

2017-09-21 Thread Jun Zhao
On 2017/9/21 14:17, Zhong Li wrote: > Make slice_flags setable as avcodec.h definition > > Signed-off-by: Zhong Li > --- > libavcodec/options_table.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/options_table.h