Re: [FFmpeg-devel] [PATCH] swscale/ppc: Move VSX-using code to its own file

2018-11-29 Thread Lauri Kasanen
On Mon, 26 Nov 2018 14:24:15 +0200 Lauri Kasanen wrote: > Passes fate on LE (with "lavc/jrevdct: Avoid an aliasing violation" applied). > Can anyone test BE? Ping. - Lauri ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH v2] lavf/dashenc: Write media trailers when DASH trailer is written.

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 11:58 PM, Andrey Semashev wrote: > This commit ensures that all (potentially, long) filesystem activity is > performed when the user calls av_write_trailer on the DASH libavformat > context, not when freeing the context. Also, this defers media segment > deletion until after the media

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Fix file URI handling when deleting files.

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 11:49 PM, Andrey Semashev wrote: > On 11/29/18 2:17 PM, Andrey Semashev wrote: >> On 11/29/18 2:15 PM, Andrey Semashev wrote: >>> On 11/28/18 7:47 PM, Jeyapal, Karthick wrote: On 11/28/18 4:46 PM, Andrey Semashev wrote: > The URI used to open the output streams may be an

Re: [FFmpeg-devel] [PATCH 2/2] lavf/dashenc: Use avpriv_io_delete to delete files.

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 11:48 PM, Andrey Semashev wrote: > This fixes incorrect handling of file URIs (i.e. when the filename starts > with "file:", possibly followed by URI authority). > --- > libavformat/dashenc.c | 10 -- > 1 file changed, 8 insertions(+), 2 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc : Don't write sidx for empty urls

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 11:08 PM, Michael Niedermayer wrote: > On Wed, Nov 28, 2018 at 09:45:24PM +0530, Karthick J wrote: >> When movenc is used by other segmenting muxers such as dashenc, url field is >> always empty. >> In such cases it is better to not write sidx, instead of throwing errors. >> --- >>

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Remove global_sidx from movenc params for live streaming.

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 8:28 PM, Andrey Semashev wrote: > On 11/28/18 7:25 PM, Jeyapal, Karthick wrote: >> >> On 11/28/18 4:41 PM, Andrey Semashev wrote: >>> The global_sidx flag causes errors like the following in movenc when media >>> segment removal is enabled via windos_size or remove_at_exit: >>> >>>

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Added an option to ignore io errors

2018-11-29 Thread Jeyapal, Karthick
On 11/29/18 8:07 PM, Andrey Semashev wrote: > On 11/28/18 8:06 PM, Karthick J wrote: >> When dashenc has to run for long duration(say 24x7 live stream), one can >> enable this option to ignore the io failure of few segment's upload due to >> an intermittent network issues. >> When the network

[FFmpeg-devel] [PATCH] avformat/dashenc: Added proper logging when io_open fails for write

2018-11-29 Thread Karthick J
--- libavformat/dashenc.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 04218af6a6..09207dcf44 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -209,6 +209,15 @@ static const char

Re: [FFmpeg-devel] [PATCH] [RFC] channel_layout: add support for ambisonics

2018-11-29 Thread Michael Niedermayer
On Thu, Nov 29, 2018 at 02:02:43AM +, Rostislav Pehlivanov wrote: > This is an RFC to add support for tagging channel layouts as ambisonics > in a backward-compatible way. > For now ambisonics up to third order are supported. > The functions have been updated to support and propagate the >

Re: [FFmpeg-devel] [PATCH] lavc/libaomenc: Add a maximum constraint of 64 encoder threads.

2018-11-29 Thread James Almer
On 11/27/2018 6:18 AM, Jun Zhao wrote: > fixed the error in Intel(R) Xeon(R) Gold 6152 CPU like: > [libaom-av1 @ 0x469f340] Failed to initialize encoder: Invalid parameter > [libaom-av1 @ 0x469f340] Additional information: g_threads out of range > [..MAX_NUM_THREADS] > > Signed-off-by: Jun

Re: [FFmpeg-devel] [PATCH] lavc/hevc_parser: add 4 bytes startcode condition in hevc_find_frame_end

2018-11-29 Thread Michael Niedermayer
On Thu, Nov 29, 2018 at 04:14:29AM +, Fu, Linjie wrote: > > -Original Message- > > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > > Of Michael Niedermayer > > Sent: Thursday, November 29, 2018 02:14 > > To: FFmpeg development discussions and patches >

Re: [FFmpeg-devel] [PATCH] [RFC] channel_layout: add support for ambisonics

2018-11-29 Thread Marton Balint
On Thu, 29 Nov 2018, Rostislav Pehlivanov wrote: This is an RFC to add support for tagging channel layouts as ambisonics in a backward-compatible way. For now ambisonics up to third order are supported. The functions have been updated to support and propagate the AV_CH_LAYOUT_AMBISONICS flag.

Re: [FFmpeg-devel] [PATCH] avformat/ac3dec: always skip junk bytes before sync bytes

2018-11-29 Thread Paul B Mahol
On 11/27/18, Paul B Mahol wrote: > Fixes #7278. > > Signed-off-by: Paul B Mahol > --- > libavcodec/ac3dec.c | 20 +--- > libavformat/ac3dec.c | 2 +- > 2 files changed, 18 insertions(+), 4 deletions(-) > will apply soon. ___

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Andrey Semashev
On 11/29/18 10:16 PM, Nicolas George wrote: Andrey Semashev (2018-11-29): Nowdays, there is one common interface for interacting with ffmpeg, and this interface is URIs (or raw local paths). There is no third pseudo-URI option, AFAICT. So, in my humble

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Nicolas George
Andrey Semashev (2018-11-29): >Nowdays, there is one common interface > for interacting with ffmpeg, and this interface is URIs (or raw local > paths). There is no third pseudo-URI option, AFAICT. So, in my humble > opinion the docs are correct, it is the

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Andrey Semashev
On 11/29/18 9:47 PM, Nicolas George wrote: Andrey Semashev (2018-11-29): It does. avformat_open_input, avio_open and ffurl_open[_whitelist] docs all say it's an URL and they don't perform any conversion. So the file backend should be prepared to receive a URL, with a scheme and authority. So

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Nicolas George
Andrey Semashev (2018-11-29): > It does. avformat_open_input, avio_open and ffurl_open[_whitelist] docs all > say it's an URL and they don't perform any conversion. So the file backend > should be prepared to receive a URL, with a scheme and authority. So either the docs are slightly wrong or the

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Andrey Semashev
On 11/29/18 9:24 PM, Nicolas George wrote: Andrey Semashev (2018-11-29): Previously, URIs with authority field were incorrectly interpreted as if the authority was part of the path. The "file:" prefix does not indicate a file:// URI but a path for the file: protocol of FFmpeg. It does.

[FFmpeg-devel] [PATCH v2] lavf/dashenc: Write media trailers when DASH trailer is written.

2018-11-29 Thread Andrey Semashev
This commit ensures that all (potentially, long) filesystem activity is performed when the user calls av_write_trailer on the DASH libavformat context, not when freeing the context. Also, this defers media segment deletion until after the media trailers are written. --- libavformat/dashenc.c | 82

Re: [FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Nicolas George
Andrey Semashev (2018-11-29): > Previously, URIs with authority field were incorrectly interpreted as if > the authority was part of the path. The "file:" prefix does not indicate a file:// URI but a path for the file: protocol of FFmpeg. You can check by yourself that they are not URIs by

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Fix file URI handling when deleting files.

2018-11-29 Thread Andrey Semashev
On 11/29/18 2:17 PM, Andrey Semashev wrote: On 11/29/18 2:15 PM, Andrey Semashev wrote: On 11/28/18 7:47 PM, Jeyapal, Karthick wrote: On 11/28/18 4:46 PM, Andrey Semashev wrote: The URI used to open the output streams may be an actual URI with "file" scheme, according to

[FFmpeg-devel] [PATCH 1/2] lavf/file: Add proper support for authority in file URIs.

2018-11-29 Thread Andrey Semashev
Previously, URIs with authority field were incorrectly interpreted as if the authority was part of the path. This commit adds more complete file URI parsing according to https://tools.ietf.org/html/rfc8089. In particular, the file backend now recognizes URIs with authority field and ensures that

[FFmpeg-devel] [PATCH 2/2] lavf/dashenc: Use avpriv_io_delete to delete files.

2018-11-29 Thread Andrey Semashev
This fixes incorrect handling of file URIs (i.e. when the filename starts with "file:", possibly followed by URI authority). --- libavformat/dashenc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index

Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-29 Thread Devin Heitmueller
On Thu, Nov 29, 2018 at 12:55 PM Michael Niedermayer wrote: > > +if (s1->a53_caption) { > > +AVFrameSideData *sd; > > +av_frame_remove_side_data(s->current_picture_ptr->f, > > AV_FRAME_DATA_A53_CC); > > +sd = av_frame_new_side_data( > > +

Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-29 Thread Michael Niedermayer
On Wed, Nov 28, 2018 at 10:48:17PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes reading Closed Captions from a field-encoded > mpeg2video sample from the libav-user mailing list. > > Please review, Carl Eugen > mpeg12dec.c | 11 +++ > 1 file changed, 11 insertions(+)

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc : Don't write sidx for empty urls

2018-11-29 Thread Michael Niedermayer
On Wed, Nov 28, 2018 at 09:45:24PM +0530, Karthick J wrote: > When movenc is used by other segmenting muxers such as dashenc, url field is > always empty. > In such cases it is better to not write sidx, instead of throwing errors. > --- > libavformat/movenc.c | 3 +++ > 1 file changed, 3

Re: [FFmpeg-devel] [PATCH 2/3] lavf/avidec: don't treat I/O errors as EOF

2018-11-29 Thread Michael Niedermayer
On Wed, Nov 28, 2018 at 01:19:58AM -0600, Rodger Combs wrote: > --- > libavformat/avidec.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/libavformat/avidec.c b/libavformat/avidec.c > index 3f074795a7..1d131b299c 100644 > --- a/libavformat/avidec.c > +++

Re: [FFmpeg-devel] [INFO]AMD D3D11 to OpenCL interop extension for NV12 and P010 textures - split planes

2018-11-29 Thread Mironov, Mikhail
HI, I've wrote a small sample you can use: https://www.dropbox.com/s/c8m8evoao731tbm/OCLDX11Interop.zip?dl=0 If it doesn’t work - you have conflict of drivers with Intel - saw this before. Thanks, Mikhail > -Original Message- > From: ffmpeg-devel On Behalf Of > Mark Thompson > Sent:

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Remove global_sidx from movenc params for live streaming.

2018-11-29 Thread Andrey Semashev
On 11/28/18 7:25 PM, Jeyapal, Karthick wrote: On 11/28/18 4:41 PM, Andrey Semashev wrote: The global_sidx flag causes errors like the following in movenc when media segment removal is enabled via windos_size or remove_at_exit: Non-consecutive fragments, writing incorrect sidx Unable to

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/dashenc: Added an option to ignore io errors

2018-11-29 Thread Andrey Semashev
On 11/28/18 8:06 PM, Karthick J wrote: When dashenc has to run for long duration(say 24x7 live stream), one can enable this option to ignore the io failure of few segment's upload due to an intermittent network issues. When the network connection recovers dashenc will continue with the upload

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mpegenc: extend muxing PCM-DVD to other depths

2018-11-29 Thread Paul B Mahol
On 11/29/18, Gyan Doshi wrote: > On 29-11-2018 05:09 PM, Paul B Mahol wrote: >> Fixes #6783. >> >> Signed-off-by: Paul B Mahol >> --- >> libavformat/mpegenc.c | 27 +-- >> 1 file changed, 21 insertions(+), 6 deletions(-) >> >> diff --git a/libavformat/mpegenc.c

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mpegenc: extend muxing PCM-DVD to other depths

2018-11-29 Thread Gyan Doshi
On 29-11-2018 05:09 PM, Paul B Mahol wrote: Fixes #6783. Signed-off-by: Paul B Mahol --- libavformat/mpegenc.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 4c6fa67fb8..1389288b7f 100644

Re: [FFmpeg-devel] [PATCH] lavc/opusenc: add frame_alloc and frame_count check to quit encode

2018-11-29 Thread Fu, Linjie
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Hendrik Leppkes > Sent: Thursday, November 29, 2018 19:40 > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] [PATCH] lavc/opusenc: add

Re: [FFmpeg-devel] [PATCH] lavc/opusenc: add frame_alloc and frame_count check to quit encode

2018-11-29 Thread Hendrik Leppkes
On Thu, Nov 29, 2018 at 10:14 AM Linjie Fu wrote: > > Add frame_alloc and frame_count check in opus_encode_frame to avoid > the infinite loop issue. > > Fix #7578. > > Signed-off-by: Linjie Fu > --- > libavcodec/opusenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

[FFmpeg-devel] [PATCH 1/2] avcodec: add PCM-DVD encoder

2018-11-29 Thread Paul B Mahol
Fixes #6784. Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/pcm-dvdenc.c | 197 3 files changed, 199 insertions(+) create mode 100644 libavcodec/pcm-dvdenc.c diff --git a/libavcodec/Makefile

[FFmpeg-devel] [PATCH 2/2] avformat/mpegenc: extend muxing PCM-DVD to other depths

2018-11-29 Thread Paul B Mahol
Fixes #6783. Signed-off-by: Paul B Mahol --- libavformat/mpegenc.c | 27 +-- 1 file changed, 21 insertions(+), 6 deletions(-) diff --git a/libavformat/mpegenc.c b/libavformat/mpegenc.c index 4c6fa67fb8..1389288b7f 100644 --- a/libavformat/mpegenc.c +++

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Fix file URI handling when deleting files.

2018-11-29 Thread Andrey Semashev
On 11/29/18 2:15 PM, Andrey Semashev wrote: On 11/28/18 7:47 PM, Jeyapal, Karthick wrote: On 11/28/18 4:46 PM, Andrey Semashev wrote: The URI used to open the output streams may be an actual URI with "file" scheme, according to https://tools.ietf.org/html/rfc8089. This commit makes file

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Fix file URI handling when deleting files.

2018-11-29 Thread Andrey Semashev
On 11/28/18 7:47 PM, Jeyapal, Karthick wrote: On 11/28/18 4:46 PM, Andrey Semashev wrote: The URI used to open the output streams may be an actual URI with "file" scheme, according to https://tools.ietf.org/html/rfc8089. This commit makes file deletion routine recognize file URIs and extract

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Write media trailers when DASH trailer is written.

2018-11-29 Thread Andrey Semashev
On 11/29/18 9:27 AM, Jeyapal, Karthick wrote: On 11/28/18 5:13 PM, Andrey Semashev wrote: This commit ensures that all (potentially, long) filesystem activity is performed when the user calls av_write_trailer on the DASH libavformat context, not when freeing the context. Also, this defers

Re: [FFmpeg-devel] [PATCH] lavc/opusenc: add frame_alloc and frame_count check to quit encode

2018-11-29 Thread Paul B Mahol
On 11/29/18, Linjie Fu wrote: > Add frame_alloc and frame_count check in opus_encode_frame to avoid > the infinite loop issue. > > Fix #7578. > > Signed-off-by: Linjie Fu > --- > libavcodec/opusenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/opusenc.c

[FFmpeg-devel] [PATCH] configure: enable mipsfpu for loongson platform.

2018-11-29 Thread Shiyou Yin
mipsfpu supported by loongson 3a2000,3a3000,3a4000,2k1000, Fate tests passed. --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index 3e9222e..54b7e11 100755 --- a/configure +++ b/configure @@ -4848,7 +4848,6 @@ elif enabled mips; then enable

Re: [FFmpeg-devel] [PATCH] lavf/dashenc: Write media trailers when DASH trailer is written.

2018-11-29 Thread Andrey Semashev
On 11/29/18 9:27 AM, Jeyapal, Karthick wrote: On 11/28/18 5:13 PM, Andrey Semashev wrote: This commit ensures that all (potentially, long) filesystem activity is performed when the user calls av_write_trailer on the DASH libavformat context, not when freeing the context. Also, this defers

[FFmpeg-devel] [PATCH] lavc/opusenc: add frame_alloc and frame_count check to quit encode

2018-11-29 Thread Linjie Fu
Add frame_alloc and frame_count check in opus_encode_frame to avoid the infinite loop issue. Fix #7578. Signed-off-by: Linjie Fu --- libavcodec/opusenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/opusenc.c b/libavcodec/opusenc.c index 578785f4b4..7146968fc8

[FFmpeg-devel] [PATCH v4 9/9] lavc/qsvenc: add BRC sliding window setting

2018-11-29 Thread Zhong Li
WinBRCMaxAvgKbps is to specify maximum average bitrate over a sliding window with size of WinBRCSize WinBRCMaxAvgKbps will be ignored in CBR mode and equal to TargetKbps. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 7 +++ libavcodec/qsvenc.h | 3 +++

[FFmpeg-devel] [PATCH v4 5/9] lavc/qsvenc: dump log for frame rate

2018-11-29 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 781498c..91b8905 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -263,6 +263,10 @@ static void dump_video_param(AVCodecContext

[FFmpeg-devel] [PATCH] ff_connect_parallel: do not fail when getsockopt(SO_ERROR) returns EISCONN

2018-11-29 Thread Peter Ross
for O_NONBLOCK connect(), the watt32 socket library returns EISCONN when connection is established --- watt32 is a DOS/Windows BSD socket library. it seems iOS suffers this EISCON problem too, but i am unsure why it hasn't been reported here before. i don't have iOS device to test.

[FFmpeg-devel] [PATCH v4 8/9] lavc/qsvenc: enable QVBR mode

2018-11-29 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 Signed-off-by: Zhong

[FFmpeg-devel] [PATCH v4 6/9] lavc/qsvenc: add an option to set h264 pps for every frame

2018-11-29 Thread Zhong Li
RepeatPPS is enabled by default in mfx. It is not necessary mostly and wasting encoding bits. Add an option to control it and disable it by default. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 1 + libavcodec/qsvenc.h | 2 ++ libavcodec/qsvenc_h264.c | 2 ++ libavcodec/version.h

[FFmpeg-devel] [PATCH v4 7/9] lavc/qsvenc: add an option to set MB numbers of each slice

2018-11-29 Thread Zhong Li
This option specifies suggested macroblocks numbers in each slice. MSDK may adjust it based on platform capability. And slice_number will be ignored if this option set to a non-zero value. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 1 + libavcodec/qsvenc.h | 1 +

[FFmpeg-devel] [PATCH v4 4/9] lavc/qsvenc: make hevc alignment same as h264 for 1.19+ version

2018-11-29 Thread Zhong Li
It is to clean up to the code and To-Do list. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 3b10980..781498c 100644 --- a/libavcodec/qsvenc.c +++

[FFmpeg-devel] [PATCH v4 3/9] lavc/qsvenc: remove redundant code

2018-11-29 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 13 + 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 3946c1d..3b10980 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -444,6 +444,7 @@ static int

[FFmpeg-devel] [PATCH v4 1/9] lavc/qsvenc: enable ICQ and ICQ_LA on Linux

2018-11-29 Thread Zhong Li
ICQ/ICQ_LA are enabled with MSDK V1.28 Signed-off-by: Zhong Li --- libavcodec/qsvenc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 50cc426..055b4a6 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -53,7 +53,7

[FFmpeg-devel] [PATCH v4 2/9] lavc/qsvenc: add forced_idr option

2018-11-29 Thread Zhong Li
This option can be used to repect original input I/IDR frame type. Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 7 +++ libavcodec/qsvenc.h | 2 ++ 2 files changed, 9 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 948751d..3946c1d 100644 ---

[FFmpeg-devel] [PATCH v4 0/9] qsv encoder enhancement and code refine

2018-11-29 Thread Zhong Li
v4: add QVBR mode support and BRC sliding window setting Zhong Li (9): lavc/qsvenc: enable ICQ and ICQ_LA on Linux lavc/qsvenc: add forced_idr option lavc/qsvenc: remove redundant code lavc/qsvenc: make hevc alignment same as h264 for 1.19+ version lavc/qsvenc: dump log for frame rate