[FFmpeg-devel] [PATCH] libavformat/rtsp.c: Avoids duplicated slashes in the RTSP URL Signed-off-by: Frederic Pillonel

2019-01-23 Thread fpi
From: Frederic Pillonel --- libavformat/rtsp.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c index ceb770a..3cc9012f 100644 --- a/libavformat/rtsp.c +++ b/libavformat/rtsp.c @@ -548,9 +548,10 @@ static void

[FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Gyan
From 1aa1db056e1e9887e6467a0c9e10276be78ff623 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Wed, 23 Jan 2019 13:35:23 +0530 Subject: [PATCH] avfilter/acrossfade: allow skipping fade on inputs --- doc/filters.texi | 2 ++ libavfilter/af_afade.c | 10 +++--- 2 files changed, 9

[FFmpeg-devel] [PATCH V3] avcodec/libx265: add support for ROI-based encoding

2019-01-23 Thread Guo, Yejun
Signed-off-by: Guo, Yejun --- libavcodec/libx265.c | 66 1 file changed, 66 insertions(+) diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c index 27c90b3..9841536 100644 --- a/libavcodec/libx265.c +++ b/libavcodec/libx265.c @@ -285,6

Re: [FFmpeg-devel] [PATCHv2 0/6] improved VP6 decoding

2019-01-23 Thread Carl Eugen Hoyos
2019-01-23 10:20 GMT+01:00, Peter Ross : > On Tue, Jan 15, 2019 at 07:46:49AM +1100, Peter Ross wrote: >> My last patch set omitted an essential vp3dsp modification. >> Thanks Michael for spotting this. >> I have incorporated Carl's other suggestions. >> >> Peter Ross (6): >> avcodec/vp3dsp:

[FFmpeg-devel] chromium-arm-build-ffmpeg-hlsproto.c-fail.patch

2019-01-23 Thread 商业平台事业部_商业平台技术部
From a000510b84ddd91bf776c32901ff8908997215fe Mon Sep 17 00:00:00 2001 From: caohui Date: Wed, 23 Jan 2019 11:13:27 +0800 Subject: [PATCH] chromium arm build ffmpeg hlsproto.c fail. --- libavformat/hlsproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Gyan
On 23-01-2019 07:40 PM, Paul B Mahol wrote: On 1/23/19, Gyan wrote: On 23-01-2019 03:00 PM, Paul B Mahol wrote: On 1/23/19, Gyan wrote: Why? afade needs change too. If a user doesn't want to apply fade, then they can simply not add afade filter. This change is meant for users who want to

Re: [FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Paul B Mahol
On 1/23/19, Gyan wrote: > > > On 23-01-2019 07:40 PM, Paul B Mahol wrote: >> On 1/23/19, Gyan wrote: >>> >>> On 23-01-2019 03:00 PM, Paul B Mahol wrote: On 1/23/19, Gyan wrote: Why? afade needs change too. >>> If a user doesn't want to apply fade, then they can simply not add afade

Re: [FFmpeg-devel] [PATCHv2 0/6] improved VP6 decoding

2019-01-23 Thread Peter Ross
On Wed, Jan 23, 2019 at 04:01:19PM +0100, Carl Eugen Hoyos wrote: > Did you see the other vp6-related ticket? > https://trac.ffmpeg.org/ticket/5581 i will look at that next. also, this email https://ffmpeg.org/pipermail/ffmpeg-devel/2007-December/024133.html includes a related nsv patch, but

Re: [FFmpeg-devel] [PATCHv2 0/6] improved VP6 decoding

2019-01-23 Thread Carl Eugen Hoyos
2019-01-23 21:33 GMT+01:00, Peter Ross : > On Wed, Jan 23, 2019 at 04:01:19PM +0100, Carl Eugen Hoyos wrote: > >> Did you see the other vp6-related ticket? >> https://trac.ffmpeg.org/ticket/5581 > > i will look at that next. > > also, this email >

Re: [FFmpeg-devel] chromium-arm-build-ffmpeg-hlsproto.c-fail.patch

2019-01-23 Thread Carl Eugen Hoyos
2019-01-23 4:22 GMT+01:00, CaoHui(商业平台事业部_商业平台技术部) : Patch applied. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH]lavf/cafdec: Do not fail for unknown atoms with negative size.

2019-01-23 Thread Carl Eugen Hoyos
Hi! Attached patch allows to read a user's file that plays fine with QT. The patch duplicates the behaviour of QT. Please comment, Carl Eugen From f0bf67a089cd1e321f6947be252b38b439e0aa7f Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Wed, 23 Jan 2019 23:22:57 +0100 Subject: [PATCH]

Re: [FFmpeg-devel] [PATCH]lavc/g723_1enc: Set the default bitrate to 6300

2019-01-23 Thread Carl Eugen Hoyos
2019-01-22 21:52 GMT+01:00, Michael Niedermayer : > On Tue, Jan 22, 2019 at 12:27:28PM +0100, Carl Eugen Hoyos wrote: >> Hi! >> >> Attached patch makes the G.723_1 encoder easier to use. >> >> Please comment, Carl Eugen > >> g723_1enc.c |6 ++ >> 1 file changed, 6 insertions(+) >>

Re: [FFmpeg-devel] [PATCH]lavf/cafdec: Do not fail hard for files ending with junk

2019-01-23 Thread Carl Eugen Hoyos
2019-01-22 13:47 GMT+01:00, Paul B Mahol : > On 1/22/19, Carl Eugen Hoyos wrote: >> 2019-01-22 12:21 GMT+01:00, Paul B Mahol : >>> On 1/22/19, Carl Eugen Hoyos wrote: 2019-01-22 12:04 GMT+01:00, Paul B Mahol : > On 1/22/19, Carl Eugen Hoyos wrote: >> 2019-01-22 11:56 GMT+01:00,

Re: [FFmpeg-devel] [PATCH 0/2] New version

2019-01-23 Thread Mark Thompson
On 28/11/2018 00:24, Andreas Rheinhardt wrote: > I have incorporated your proposal and have added the buffer directly to > H2645RBSP. This allowed to simplify the uninit process, as you already > predicted. I don't much like the implicit distinction between buffers being refcounted or not in

Re: [FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Paul B Mahol
On 1/23/19, Gyan wrote: > > Why? afade needs change too. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCHv2 0/6] improved VP6 decoding

2019-01-23 Thread Peter Ross
On Tue, Jan 15, 2019 at 07:46:49AM +1100, Peter Ross wrote: > My last patch set omitted an essential vp3dsp modification. > Thanks Michael for spotting this. > I have incorporated Carl's other suggestions. > > Peter Ross (6): > avcodec/vp3dsp: move vp3 init loop filter function to vp3dsp >

Re: [FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Gyan
On 23-01-2019 03:00 PM, Paul B Mahol wrote: On 1/23/19, Gyan wrote: Why? afade needs change too. If a user doesn't want to apply fade, then they can simply not add afade filter. This change is meant for users who want to combine two audio streams with overlap but don't want to apply

Re: [FFmpeg-devel] [PATCH] avcodec: add ARBC decoder

2019-01-23 Thread Paul B Mahol
On 1/22/19, Michael Niedermayer wrote: > On Tue, Jan 22, 2019 at 10:55:33AM +0100, Paul B Mahol wrote: >> Thanks Kostya for great help in reversing binary. >> >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/arbc.c

Re: [FFmpeg-devel] [PATCH V3] avcodec/libx265: add support for ROI-based encoding

2019-01-23 Thread Derek Buitenhuis
On 23/01/2019 16:11, Guo, Yejun wrote: > Signed-off-by: Guo, Yejun > --- > libavcodec/libx265.c | 66 > > 1 file changed, 66 insertions(+) > > diff --git a/libavcodec/libx265.c b/libavcodec/libx265.c > index 27c90b3..9841536 100644 > ---

[FFmpeg-devel] [PATCH v5] lavc/qsvenc: enable QVBR mode

2019-01-23 Thread Zhong Li
QVBR mode is to use the variable bitrate control algorithm with constant quality. mfxExtCodingOption3 should be supported to enable QVBR mode. Example usage: ffmpeg -hwaccel qsv -c:v h264_qsv -i input.mp4 -c:v h264_qsv -global_quality 25 -maxrate 2M test_qvbr.mp4 -v verbose Clip QVBR quality

[FFmpeg-devel] [PATCH 2/3] avformat/hlsenc: add var_stream_map DEFAULT field status parameter

2019-01-23 Thread Steven Liu
use a:0,agroup:aud_low,default:Yes a:1,agroup:aud_low, a:2,agroup:aud_high,default:Yes a:3, agroup:aud_high, v:0,agroup:aud_low v:1,agroup:aud_high create master m3u8 list. result: EXTM3U EXT-X-VERSION:3

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: add var_stream_map LANGUAGE field string parameter

2019-01-23 Thread Steven Liu
use a:0,agroup:aud_low,default:Yes,language:CHN a:1,agroup:aud_low,language:ENG a:2,agroup:aud_high,default:YesYes,language:CHN a:3,agroup:aud_high,language:ENG v:0,agroup:aud_low v:1,agroup:aud_high create master m3u8 list. result: EXTM3U EXT-X-VERSION:3

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: make the EXT-X-MEDIA NAME field by stream id.

2019-01-23 Thread Steven Liu
Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index ca57694e9e..eb094f7490 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -1258,7 +1258,7 @@ static int

Re: [FFmpeg-devel] [PATCH] avfilter/acrossfade: allow skipping fade on inputs

2019-01-23 Thread Paul B Mahol
On 1/23/19, Gyan wrote: > > > On 23-01-2019 03:00 PM, Paul B Mahol wrote: >> On 1/23/19, Gyan wrote: >>> >> Why? afade needs change too. > > If a user doesn't want to apply fade, then they can simply not add afade > filter. This change is meant for users who want to combine two audio > streams

[FFmpeg-devel] [PATCH 1/7] cbs: Mention all codecs in unit type comment

2019-01-23 Thread Mark Thompson
--- libavcodec/cbs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h index 53ac360bb1..053eccffde 100644 --- a/libavcodec/cbs.h +++ b/libavcodec/cbs.h @@ -49,6 +49,8 @@ struct CodedBitstreamType; * H.265 / HEVC: nal_unit_type * MPEG-2: start code

[FFmpeg-devel] [PATCH 4/7] cbs_h264: Use table-based alloc/free

2019-01-23 Thread Mark Thompson
--- libavcodec/cbs_h2645.c | 156 + 1 file changed, 64 insertions(+), 92 deletions(-) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index e74f8dce81..caf8a1062f 100644 --- a/libavcodec/cbs_h2645.c +++ b/libavcodec/cbs_h2645.c @@ -414,51

[FFmpeg-devel] [PATCH 0/7] Improve CBS unit content alloc/free/clone behaviour

2019-01-23 Thread Mark Thompson
On 26/11/2018 13:39, Andreas Rheinhardt wrote: > This will enable us to change e.g. the parameter sets of H.2645 in ways > that would change the parsing process of future units. An example of > this is the h264_redundant_pps bsf. I thought quite a bit more about how the alloc/free/clone should

[FFmpeg-devel] [PATCH 6/7] cbs: Add a function to make content of a unit writable

2019-01-23 Thread Mark Thompson
Use the unit type table to determine what we need to do to clone the internals of the unit content. (Will still fail for units with complex content if they do not have a defined clone function.) Setup and naming from a patch by Andreas Rheinhardt , but with the implementation changed to use the

[FFmpeg-devel] [PATCH]lavf/subviewerdec: Skip leading BOM

2019-01-23 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #7661 for me. Please comment, Carl Eugen From aa9df8940056919ac7c4b65900a2dd43a76321d2 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 24 Jan 2019 00:22:47 +0100 Subject: [PATCH] lavf/subviewerdec: Skip leading BOM. Fixes ticket #7661. ---

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vaapi_encode_mpeg2: add support for CBR/VBR

2019-01-23 Thread Mark Thompson
On 16/01/2019 14:34, Linjie Fu wrote: > Add support for VBR/CBR mode in mpeg2_vaapi encode. > > Fix #7650. > > Signed-off-by: Linjie Fu > --- > libavcodec/vaapi_encode_mpeg2.c | 7 +++ > 1 file changed, 7 insertions(+) > > diff --git a/libavcodec/vaapi_encode_mpeg2.c

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vaapi_encode: fix the mismatched vbvBuf size unit for mpeg2

2019-01-23 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, January 24, 2019 07:38 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 2/2] lavc/vaapi_encode: fix the > mismatched vbvBuf size unit for

Re: [FFmpeg-devel] [PATCH V10] libavfilter: add transpose_vaapi filter

2019-01-23 Thread Mark Thompson
On 17/01/2019 03:33, Zachary Zhou wrote: > Swap width and height when do clock/cclock rotation > Add reversal/hflip/vflip options > > ffmpeg -hwaccel vaapi -vaapi_device /dev/dri/renderD128 > -hwaccel_output_format vaapi -i input.264 -vf "transpose_vaapi=clock_flip" > -c:v h264_vaapi output.h264

[FFmpeg-devel] [PATCH 3/7] cbs: Add macros to support defining unit type tables

2019-01-23 Thread Mark Thompson
--- libavcodec/cbs_internal.h | 21 + 1 file changed, 21 insertions(+) diff --git a/libavcodec/cbs_internal.h b/libavcodec/cbs_internal.h index 667c90cb14..aefe1a81e7 100644 --- a/libavcodec/cbs_internal.h +++ b/libavcodec/cbs_internal.h @@ -117,6 +117,27 @@ int

[FFmpeg-devel] [PATCH 5/7] cbs_h265: Use table-based alloc/free

2019-01-23 Thread Mark Thompson
--- libavcodec/cbs_h2645.c | 186 ++--- 1 file changed, 83 insertions(+), 103 deletions(-) diff --git a/libavcodec/cbs_h2645.c b/libavcodec/cbs_h2645.c index caf8a1062f..4fda12adb7 100644 --- a/libavcodec/cbs_h2645.c +++ b/libavcodec/cbs_h2645.c @@ -414,70

[FFmpeg-devel] [PATCH 1/1] libavdevice/v4l2enc: support additional v4l2 output formats

2019-01-23 Thread james . hilliard1
From: James Hilliard Signed-off-by: James Hilliard --- libavdevice/v4l2enc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/libavdevice/v4l2enc.c b/libavdevice/v4l2enc.c index faf6e07..f778208 100644 --- a/libavdevice/v4l2enc.c +++ b/libavdevice/v4l2enc.c @@ -47,8

Re: [FFmpeg-devel] [PATCH 02/14] vaapi_encode: Convert to send/receive API

2019-01-23 Thread Mark Thompson
On 20/12/2018 20:39, Mark Thompson wrote: > This attaches the logic of picking the mode of for the next picture to > the output, which simplifies some choices by removing the concept of > the picture for which input is not yet available. At the same time, > we allow more complex reference

Re: [FFmpeg-devel] [PATCH 2/2] lavc/vaapi_encode: fix the mismatched vbvBuf size unit for mpeg2

2019-01-23 Thread Mark Thompson
On 16/01/2019 14:34, Linjie Fu wrote: > hrd_buffer_size and hrd_initial_buffer_fullness are set in bits, while > driver takes the vbvBuf size in 16 kbits. The mismatch will cause > quality issue. > > One way to solve this issue in FFmpeg level is set the bufsize > specially for mpeg2 as the unit

Re: [FFmpeg-devel] [PATCH 1/2] lavc/vaapi_encode_mpeg2: add support for CBR/VBR

2019-01-23 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Thursday, January 24, 2019 07:35 > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavc/vaapi_encode_mpeg2: add > support for CBR/VBR > > On

[FFmpeg-devel] [PATCH 7/7] h264_redundant_pps: Make it reference-compatible

2019-01-23 Thread Mark Thompson
From: Andreas Rheinhardt Since c6a63e11092c975b89d824f08682fe31948d3686, the parameter sets modified as content of PPS units were references shared with the CodedBitstreamH264Context, so modifying them alters the parsing process of future access units which meant that frames often got discarded

[FFmpeg-devel] [PATCH 2/7] cbs: Describe allocate/free methods in tabular form

2019-01-23 Thread Mark Thompson
Unit types are split into three categories, depending on how their content is managed: * POD structure - these require no special treatment. * Structure containing direct internal references to other structures - these can use a common free function when the offsets of all the internal

[FFmpeg-devel] [PATCH] avformat/dashenc: Skip writing trailer for MP4 output when in streaming mode

2019-01-23 Thread Karthick J
In streaming mode mp4 trailer is not required for playout. --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 9c90cf17e5..6299e179c2 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@

Re: [FFmpeg-devel] [PATCH] avformat/dashenc: Skip writing trailer for MP4 output when in streaming mode

2019-01-23 Thread Liu Steven
> 在 2019年1月24日,下午2:01,Karthick J 写道: > > In streaming mode mp4 trailer is not required for playout. > --- > libavformat/dashenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c > index 9c90cf17e5..6299e179c2 100644 > ---