Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash in low_pass_complex

2017-12-14 Thread Thomas Mundt
Hi, 2017-12-14 17:58 GMT+01:00 Martin Vignali : > Hello, > > related to ticket 6491 (crash using crop and vf_interlace) > > in attach patch to fix crash when data are unaligned, with low_pass_complex > filtering > (the previous patch, fix crash, for low_pass_simple

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Martin Vignali
2017-12-14 21:33 GMT+01:00 Thomas Mundt : > Hi, > > 2017-12-14 17:01 GMT+01:00 Martin Vignali : > > > Hello, > > > > > > in attach patch to fix crash using this command line > > ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf > >

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Thomas Mundt
2017-12-14 21:33 GMT+01:00 Thomas Mundt : > Hi, > > 2017-12-14 17:01 GMT+01:00 Martin Vignali : > >> Hello, >> >> >> in attach patch to fix crash using this command line >> ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf >>

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Rodger Combs
> On Dec 14, 2017, at 07:26, wm4 wrote: > > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs, > in

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Steven Liu
> 在 2017年12月14日,下午10:12,Hendrik Leppkes 写道: > >> On Thu, Dec 14, 2017 at 2:26 PM, wm4 wrote: >> I propose that FFmpeg sets the minimum supported Windows version to >> Windows Vista (or maybe Windows 7). This would remove Windows XP >> support. >>

Re: [FFmpeg-devel] [PATCH v6 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-12-14 Thread Steven Liu
> 在 2017年12月14日,下午6:52,vdi...@akamai.com 写道: > > From: Vishwanath Dixit > > --- > doc/muxers.texi | 12 + > libavformat/dashenc.c | 3 ++- > libavformat/hlsenc.c | 62 --- > libavformat/hlsplaylist.c | 4

Re: [FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread Steven Liu
> 在 2017年12月14日,下午6:55,vdi...@akamai.com 写道: > > From: Vishwanath Dixit > > --- > libavformat/Makefile | 2 +- > libavformat/dashenc.c | 2 +- > libavformat/hlsenc.c | 65 +-- > libavformat/hlsplaylist.c | 5 +++- >

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Hendrik Leppkes
On Thu, Dec 14, 2017 at 2:26 PM, wm4 wrote: > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs, > in

[FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread wm4
I propose that FFmpeg sets the minimum supported Windows version to Windows Vista (or maybe Windows 7). This would remove Windows XP support. The reason is that Windows XP does not provide certain convenient APIs, in particular locking primitives that map well to pthread. There are other

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Derek Buitenhuis
On 12/14/2017 1:26 PM, wm4 wrote: > The subject of the vote is: > > Should we drop support for Windows XP starting in git master and the > next FFmpeg major release? I am not on the voting list (which is form 2015 and contains people who have since vanished, as well), but I would like to put

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Michael Niedermayer
On Thu, Dec 14, 2017 at 02:26:31PM +0100, wm4 wrote: > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs, > in particular

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Ronald S. Bultje
Hi, On Thu, Dec 14, 2017 at 8:26 AM, wm4 wrote: > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs,

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 16:01:55 +0100 Michael Niedermayer wrote: > On Thu, Dec 14, 2017 at 02:26:31PM +0100, wm4 wrote: > > I propose that FFmpeg sets the minimum supported Windows version to > > Windows Vista (or maybe Windows 7). This would remove Windows XP > > support. >

[FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and .wrapper_name fields. Explicitly

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Rostislav Pehlivanov
On 14 December 2017 at 13:26, wm4 wrote: > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs, > in

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Tomas Härdin
On 2017-12-14 14:26, wm4 wrote: I propose that FFmpeg sets the minimum supported Windows version to Windows Vista (or maybe Windows 7). This would remove Windows XP support. The reason is that Windows XP does not provide certain convenient APIs, in particular locking primitives that map well to

[FFmpeg-devel] [PATCH 1/2] configure: use pkg-config to detect twolame

2017-12-14 Thread Stephen Hutchinson
--- configure | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure b/configure index d5bbb5b7a9..ec6e570472 100755 --- a/configure +++ b/configure @@ -5889,9 +5889,7 @@ enabled libssh&& require_pkg_config libssh libssh libssh/sftp.h sftp enabled libspeex

[FFmpeg-devel] [PATCH 0/2] pkg-config detection for twolame, openal (alternate)

2017-12-14 Thread Stephen Hutchinson
Based on the suggestions last time*, this version of the patchset switches twolame and openal completely over to pkg-config. I personally don't care whether this version or the previous version with the fallbacks are the ones accepted, I really only care that pkg-config support gets added for

[FFmpeg-devel] avfilter/x86/vf_interlace : fix crash in low_pass_complex

2017-12-14 Thread Martin Vignali
Hello, related to ticket 6491 (crash using crop and vf_interlace) in attach patch to fix crash when data are unaligned, with low_pass_complex filtering (the previous patch, fix crash, for low_pass_simple filtering) Can be test with For 8 bits ./ffmpeg -f lavfi -i

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 16:01:49 + Aman Gupta wrote: > > diff --git a/libavcodec/videotoolboxenc.c b/libavcodec/videotoolboxenc.c > > index 086beb41fc..c47e5c4045 100644 > > --- a/libavcodec/videotoolboxenc.c > > +++ b/libavcodec/videotoolboxenc.c > > @@ -2599,8 +2599,9 @@

[FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Martin Vignali
Hello, in attach patch to fix crash using this command line ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf crop=1440:1080,interlace -f null - (ticket 6491) Use unaligned load, to avoid crash Doesn't fix crash when using low_pass_complex : ./ffmpeg -f lavfi -i

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Michael Niedermayer
On Thu, Dec 14, 2017 at 03:00:50AM -0500, mymoey...@gmail.com wrote: > From: wu zhiqiang > > When using concat protocal, start from middle of file will generate non-zero > wrap reference. If seek to time less than the wrap reference, wrap control > will be triggered and

Re: [FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread Jeyapal, Karthick
>On 12/14/17, 8:24 PM, "Steven Liu" wrote: > > >> 在 2017年12月14日,下午6:55,vdi...@akamai.com 写道: >> […] >> +libavformat/reverse.c > >this need double check for a better way The better way of doing this is to share ff_reverse function. But such a patch submitted recently was not

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 01:02:49PM +0100, wm4 wrote: > On Thu, 14 Dec 2017 12:53:38 +0100 > Matthieu Bouron wrote: > > > On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4 wrote: > > > On Thu, 14 Dec 2017 11:09:13 +0100 > > > Matthieu Bouron

[FFmpeg-devel] [PATCH v2 2/3] avformat/hlsenc: Handle NULL input in IO open and close utility functions

2017-12-14 Thread Karthick J
From: Karthick Jeyapal --- libavformat/hlsenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 30d0285..af9d949 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -246,7 +246,7 @@ static

[FFmpeg-devel] [PATCH v2 3/3] avformat/hlsenc: Extend persistent http connections to playlists

2017-12-14 Thread Karthick J
From: Karthick Jeyapal Before this patch persistent http connections would work only for media segments. The playlists were still opening a new connection everytime. This patch extends persistent http connections to playlists as well. --- libavformat/hlsenc.c | 56

[FFmpeg-devel] [PATCH v2 1/3] avformat/hlsenc: Call avio_flush during persistent http connections

2017-12-14 Thread Karthick J
From: Karthick Jeyapal Since close is not called, during http persistent connection, flush needs to be called so that output is written on time. --- libavformat/hlsenc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread Aman Gupta
On Thu, Dec 14, 2017 at 7:10 AM wm4 wrote: > Explicitly identify decoder/encoder wrappers with a common name. This > saves API users from guessing by the name suffix. For example, they > don't have to guess that "h264_qsv" is the h264 QSV implementation, and > instead they

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread James Almer
On 12/14/2017 10:26 AM, wm4 wrote: > I propose that FFmpeg sets the minimum supported Windows version to > Windows Vista (or maybe Windows 7). This would remove Windows XP > support. > > The reason is that Windows XP does not provide certain convenient APIs, > in particular locking primitives

[FFmpeg-devel] [PATCH 2/2] configure: use pkg-config to detect openal

2017-12-14 Thread Stephen Hutchinson
--- configure | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/configure b/configure index ec6e570472..059eae7b39 100755 --- a/configure +++ b/configure @@ -288,7 +288,7 @@ External library support: --enable-libndi_newtek enable Newteck NDI I/O support [no]

Re: [FFmpeg-devel] [PATCH 10/24] avcodec/mjpegdec: replace YUVJ pixel formats

2017-12-14 Thread Paul B Mahol
On 12/14/17, wm4 wrote: > On Wed, 13 Dec 2017 20:56:30 +0100 (CET) > Marton Balint wrote: > >> On Wed, 13 Dec 2017, Michael Niedermayer wrote: >> >> > On Wed, Dec 13, 2017 at 11:59:26AM +0100, Paul B Mahol wrote: >> >> Signed-off-by: Paul B Mahol

Re: [FFmpeg-devel] avfilter/x86/vf_interlace : fix crash if unaligned data (ticket 6491)

2017-12-14 Thread Thomas Mundt
Hi, 2017-12-14 17:01 GMT+01:00 Martin Vignali : > Hello, > > > in attach patch to fix crash using this command line > ./ffmpeg -f lavfi -i testsrc=s=hd1080,format=yuv420p -vf > crop=1440:1080,interlace -f null - > (ticket 6491) > > Use unaligned load, to avoid crash >

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Lou Logan
On Thu, Dec 14, 2017, at 04:26 AM, wm4 wrote: > The subject of the vote is: > > Should we drop support for Windows XP starting in git master and the > next FFmpeg major release? I vote "yes". (But I can't remember if I'm on the vote list and I couldn't find it.) Also, I believe Zeranoe

[FFmpeg-devel] [PATCH] avformat/movenc: Add support for more colorspaces

2017-12-14 Thread Steven Robertson
With FCPX 10.4, Apple has expanded the set of colorspace, primaries, and trc flags officially supported in QuickTime files. The expanded set matches the codepoints used in ffmpeg and many other specs. --- libavformat/movenc.c | 25 - 1 file changed, 16 insertions(+), 9

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 16:02:59 +0100 wm4 wrote: > Explicitly identify decoder/encoder wrappers with a common name. This > saves API users from guessing by the name suffix. For example, they > don't have to guess that "h264_qsv" is the h264 QSV implementation, and > instead

[FFmpeg-devel] [PATCH 1/2] v4l_m2m: add missing AV_CODEC_CAP_DELAY flags

2017-12-14 Thread wm4
This is pretty much a requirement for any codec that handles modern codecs like h264, but it was missing. Potentially could lead to issues like missing frames at the end of a stream. --- Untested. --- libavcodec/v4l2_m2m_dec.c | 2 +- libavcodec/v4l2_m2m_enc.c | 2 +- 2 files changed, 2

Re: [FFmpeg-devel] [PATCH 1/2] v4l_m2m: add missing AV_CODEC_CAP_DELAY flags

2017-12-14 Thread Jorge Ramirez
On 12/14/2017 07:48 PM, wm4 wrote: This is pretty much a requirement for any codec that handles modern codecs like h264, but it was missing. Potentially could lead to issues like missing frames at the end of a stream. --- Untested. hi, please do not merge this (the capability was not missing,

Re: [FFmpeg-devel] [PATCH] avcodec: add metadata to identify wrappers and hardware decoders

2017-12-14 Thread Philip Langdale
On 2017-12-14 07:02, wm4 wrote: Explicitly identify decoder/encoder wrappers with a common name. This saves API users from guessing by the name suffix. For example, they don't have to guess that "h264_qsv" is the h264 QSV implementation, and instead they can just check the AVCodec .codec and

Re: [FFmpeg-devel] [PATCH 1/2] v4l_m2m: add missing AV_CODEC_CAP_DELAY flags

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 19:54:26 +0100 Jorge Ramirez wrote: > On 12/14/2017 07:48 PM, wm4 wrote: > > This is pretty much a requirement for any codec that handles modern > > codecs like h264, but it was missing. Potentially could lead to issues > > like missing frames

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 18:06:11 +0100 Matthieu Bouron wrote: > On Thu, Dec 14, 2017 at 01:02:49PM +0100, wm4 wrote: > > On Thu, 14 Dec 2017 12:53:38 +0100 > > Matthieu Bouron wrote: > > > > > On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-14 Thread Jacob Trimble
On Fri, Dec 8, 2017 at 10:06 AM, Jacob Trimble wrote: > On Tue, Dec 5, 2017 at 5:22 PM, Derek Buitenhuis > wrote: >> On 12/6/2017 12:36 AM, Jacob Trimble wrote: >>> Would a 0-length array work? Otherwise I would need to have it be a >>> 1-length

[FFmpeg-devel] [PATCH 2/2] rkmppdec: move AV_CODEC_CAP_AVOID_PROBING to the correct field

2017-12-14 Thread wm4
AVCodec.caps_internal doesn't hold this field. --- libavcodec/rkmppdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libavcodec/rkmppdec.c b/libavcodec/rkmppdec.c index fa522ce2ed..c57a6ded38 100644 --- a/libavcodec/rkmppdec.c +++ b/libavcodec/rkmppdec.c @@ -588,8 +588,7

Re: [FFmpeg-devel] [PATCH] Added Turing codec to ffmpeg

2017-12-14 Thread Matteo Naccari
> > I still have an issue with this patch, while it would be nice to have > > another > HEVC encoder available in FFmpeg for comparisons and whatnot, I feel that > turingcodec isn't a mature enough encoder compared to what is already in > the project. > > > > Not to mention that development seems

[FFmpeg-devel] [PATCH v6 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- libavcodec/libx264.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 9c67c91..ac1f8bb 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -19,11

Re: [FFmpeg-devel] [PATCH 10/24] avcodec/mjpegdec: replace YUVJ pixel formats

2017-12-14 Thread wm4
On Wed, 13 Dec 2017 20:56:30 +0100 (CET) Marton Balint wrote: > On Wed, 13 Dec 2017, Michael Niedermayer wrote: > > > On Wed, Dec 13, 2017 at 11:59:26AM +0100, Paul B Mahol wrote: > >> Signed-off-by: Paul B Mahol > >> --- > >> libavcodec/mjpegdec.c

Re: [FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread Liu Steven
> 在 2017年12月15日,上午6:28,Liu Steven 写道: > >> >> 在 2017年12月15日,上午12:29,Jeyapal, Karthick 写道: >> >>> On 12/14/17, 8:24 PM, "Steven Liu" wrote: >>> >>> 在 2017年12月14日,下午6:55,vdi...@akamai.com 写道: […]

Re: [FFmpeg-devel] [RFC] [Vote] Drop Windows XP support

2017-12-14 Thread Reino Wijnsma
On 14-12-2017 20:51, Lou Logan wrote: > Also, I believe Zeranoe stopped providing XP builds in 2016 so it will > be no issue downstream. I still am . But hey, it's your call in the end. -- Reino

[FFmpeg-devel] [PATCH] HW accelerator: Indicate when hardware acceleration is used for processing encode or decode.

2017-12-14 Thread Michele Lim
Clear indication of when a hardware accelerator is in operation prevents false assumptions in situations when the command line argument inadvertently omits certain required options for enabling it. --- libavutil/hwcontext_vaapi.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff

[FFmpeg-devel] DVD subtitles hacking

2017-12-14 Thread Matt Zagrabelny
[Please Cc me, I am not subscribed to -devel.] Hello! I've tried a variety of convoluted processes to convert DVD subtitles to SRT or WebVTT subtitle files with varying levels of success. The process has always been painful and convoluted. I have seen chatter about the following ticket:

Re: [FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread Liu Steven
> 在 2017年12月15日,上午12:29,Jeyapal, Karthick 写道: > >> On 12/14/17, 8:24 PM, "Steven Liu" wrote: >> >> >>> 在 2017年12月14日,下午6:55,vdi...@akamai.com 写道: >>> […] >>> +libavformat/reverse.c >> >> this need double check for a better way > The better way of

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Liu Steven
> 在 2017年12月15日,上午12:04,Michael Niedermayer 写道: > > On Thu, Dec 14, 2017 at 03:00:50AM -0500, mymoey...@gmail.com wrote: >> From: wu zhiqiang >> >> When using concat protocal, start from middle of file will generate non-zero >> wrap reference. If

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Add support for more colorspaces

2017-12-14 Thread Michael Niedermayer
On Thu, Dec 14, 2017 at 11:52:45AM -0800, Steven Robertson wrote: > With FCPX 10.4, Apple has expanded the set of colorspace, primaries, > and trc flags officially supported in QuickTime files. The expanded set > matches the codepoints used in ffmpeg and many other specs. > --- >

Re: [FFmpeg-devel] [PATCH] avfilter/drawbox+drawgrid - add option to prevent overwriting, of source pixels

2017-12-14 Thread Lou Logan
On Tue, 12 Dec 2017 18:36:29 +0530 Gyan Doshi wrote: > From cc2979978a8c101588c237c0bc9b6c03731b10e9 Mon Sep 17 00:00:00 2001 > From: Gyan Doshi > Date: Mon, 11 Dec 2017 22:35:18 +0530 > Subject: [PATCH] avfilter/drawbox+drawgrid - add option to prevent

Re: [FFmpeg-devel] [RFC] avcodec/avcodec.h: Add encryption info side data

2017-12-14 Thread Michael Niedermayer
On Fri, Dec 08, 2017 at 10:06:13AM -0800, Jacob Trimble wrote: > On Tue, Dec 5, 2017 at 5:22 PM, Derek Buitenhuis > wrote: > > On 12/6/2017 12:36 AM, Jacob Trimble wrote: > >> Would a 0-length array work? Otherwise I would need to have it be a > >> 1-length array and

Re: [FFmpeg-devel] [PATCH] avcodec/vp9: mark frame as finished on decode_tiles() failure

2017-12-14 Thread Michael Niedermayer
On Wed, Dec 13, 2017 at 11:00:37PM -0800, James Zern wrote: > On Wed, Dec 13, 2017 at 5:02 PM, Michael Niedermayer > wrote: > > Fixes deadlock with framethreads > > Fixes: > > Netflix_Aerial_1080p_60fps_8bit_420.y4m.vp9.noaltref.webm.ivf.s69372_r01-05_b6-.ivf > > Fixes:

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread 吴志强
I see pts_wrap_bits must be modified in this function. I re-submit the new patch, only replace avpriv_set_pts_info st->pts_wrap_bits = source_st->pts_wrap_bits by avpriv_set_pts_info. Liu Steven 于 2017年12月15日周五 上午6:30写道: > > > 在 2017年12月15日,上午12:04,Michael

[FFmpeg-devel] [PATCH 14/14] videotoolbox: remove opengl compatibility attribute

2017-12-14 Thread wbsecg1
From: wang-bin 1. a cvpixelbuffer backed by iosurface can always be converted to an opengl texture, using CGLTexImageIOSurface2D for macOS, and undocumented api texImageIOSurface(which is internally used by public api CVOpenGLESTextureCacheCreateTextureFromImage) for

[FFmpeg-devel] [PATCH 09/14] videotoolbox: allow software implementation

2017-12-14 Thread wbsecg1
From: wang-bin hevc is supported on macOS 10.12+ and iOS11+. sw implementaion is provided for old devices. vt sw decoder is more energy effecient than ffmpeg sw decoder. the sum of program and vt service cpu usage is about 50% lower than ffmpeg. decoding speed is faster

Re: [FFmpeg-devel] [PATCH 0/2] pkg-config detection for twolame, openal (alternate)

2017-12-14 Thread Carl Eugen Hoyos
2017-12-14 17:18 GMT+01:00 Stephen Hutchinson : > Based on the suggestions last time*, this > version of the patchset switches twolame and openal > completely over to pkg-config. > > I personally don't care whether this version or > the previous version with the fallbacks are the

Re: [FFmpeg-devel] DVD subtitles hacking

2017-12-14 Thread Carl Eugen Hoyos
2017-12-14 22:48 GMT+01:00 Matt Zagrabelny : > I've tried a variety of convoluted processes to convert DVD > subtitles to SRT This does currently not work (in one easy step) with FFmpeg and is to the best of my knowledge not related to ticket #2391. The necessary tesseract

Re: [FFmpeg-devel] [PATCH 08/14] avcodec: add AV_HWACCEL_FLAG_ALLOW_SOFTWARE

2017-12-14 Thread Jun Zhao
On 2017/12/15 15:03, wbse...@gmail.com wrote: > From: wang-bin > > a hw decoder may have software or hybrid implementation, for example > videotoolbox hevc. > the performance may be better than ffmpeg sw decoder. It's confused, and I think wm4 give a other patch for this

[FFmpeg-devel] [PATCH, V2] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread mymoeyard
From: Wu Zhiqiang When using concat protocol, start from middle of file will generate non-zero wrap reference. If seek to time before the wrap reference, wrap control will generate wrong wrapped timestamp. Copy wrap related stream properties when reading header can fix

Re: [FFmpeg-devel] Correction to Webpage

2017-12-14 Thread Lou Logan
On Thu, Dec 14, 2017, at 01:12 AM, Yogender Gupta wrote: > I would like to correct a couple of lines on the following ffmpeg web > page. Can anyone please guide me on how to do it (push patch or raise > ticket or edit page) [...] > https://trac.ffmpeg.org/wiki/HWAccelIntro As Carl tactlessly

[FFmpeg-devel] [PATCH 08/14] avcodec: add AV_HWACCEL_FLAG_ALLOW_SOFTWARE

2017-12-14 Thread wbsecg1
From: wang-bin a hw decoder may have software or hybrid implementation, for example videotoolbox hevc. the performance may be better than ffmpeg sw decoder. --- libavcodec/avcodec.h | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/avcodec.h

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Add support for more colorspaces

2017-12-14 Thread Steven Robertson
Actually QT has supported these codepoints for some time now internally, but not officially. That said, I modified this to write nonsense values and it interpreted everything as Rec 601 625 aka 470BG, which isn't great (I think the default for anything should be 709 these days) but is not crazy

Re: [FFmpeg-devel] Correction to Webpage

2017-12-14 Thread Carl Eugen Hoyos
2017-12-14 14:28 GMT+01:00 wm4 : >> > This email message is for the sole use of the intended >> > recipient(s) and may contain confidential information. >> >> Please remove this from emails sent to a public mailing list. > > I can't speak for him, but I suspect it's not up

Re: [FFmpeg-devel] Correction to Webpage

2017-12-14 Thread wm4
On Fri, 15 Dec 2017 03:11:47 +0100 Carl Eugen Hoyos wrote: > 2017-12-14 14:28 GMT+01:00 wm4 : > > >> > This email message is for the sole use of the intended > >> > recipient(s) and may contain confidential information. > >> > >> Please remove this

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Add support for more colorspaces

2017-12-14 Thread Carl Eugen Hoyos
2017-12-14 20:52 GMT+01:00 Steven Robertson : > With FCPX 10.4, Apple has expanded the set of colorspace, > primaries, and trc flags officially supported in QuickTime files. What happens if new files (with new colorspace etc.) areplayed back with older QT? Carl Eugen

[FFmpeg-devel] [PATCH 13/14] mmal: add option copy_frame to support retrieving sw frames w/o copy

2017-12-14 Thread wbsecg1
From: wang-bin mmal buffer->data is already in host memory. AFAIK decoders implemented in omx must be configured to output frames to either memory or something directly used by renderer, for example mediacodec surface, mmal buffer and omxil eglimage. test result: big buck

[FFmpeg-devel] [PATCH 03/14] configure: fix probing armv6zk

2017-12-14 Thread wbsecg1
From: wang-bin clang reports 6kz: https://reviews.llvm.org/D14568 --- configure | 1 + 1 file changed, 1 insertion(+) diff --git a/configure b/configure index d5bbb5b7a9..6065f01c5c 100755 --- a/configure +++ b/configure @@ -4521,6 +4521,7 @@ elif enabled arm; then

[FFmpeg-devel] [PATCH 07/14] mediacodec: check whether cropping is set before use

2017-12-14 Thread wbsecg1
From: wang-bin --- libavcodec/mediacodecdec_common.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index cb2f6ae5e5..05d3bcd4b5 100644 ---

Re: [FFmpeg-devel] [PATCH v6 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-14 Thread Mark Thompson
On 14/12/17 10:54, vdi...@akamai.com wrote: > From: Vishwanath Dixit > > --- > libavcodec/libx264.c | 20 +++- > 1 file changed, 15 insertions(+), 5 deletions(-) > > diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c > index 9c67c91..ac1f8bb 100644 >

Re: [FFmpeg-devel] Correction to Webpage

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 11:22:29 +0100 Carl Eugen Hoyos wrote: > 2017-12-14 11:12 GMT+01:00 Yogender Gupta : > > I would like to correct a couple of lines on the following ffmpeg web page. > > > > > https://trac.ffmpeg.org/wiki/HWAccelIntro > > A wiki is

Re: [FFmpeg-devel] AMD external header

2017-12-14 Thread Mironov, Mikhail
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Compn > Sent: November 29, 2017 10:50 AM > To: FFmpeg development discussions and patches de...@ffmpeg.org> > Subject: Re: [FFmpeg-devel] AMD external header > > On Wed, 29 Nov 2017 15:45:28

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Extend persistent http connections to playlists

2017-12-14 Thread 刘歧
> On 14 Dec 2017, at 16:07, Karthick Jeyapal wrote: > > > >> On Nov 30, 2017, at 2:36 PM, Karthick J wrote: >> >> >> From: Karthick Jeyapal >> >> >> Before this patch persistent http connections would work only for media >>

[FFmpeg-devel] [PATCH V2] lavc/qsvenc: ICQ/VCM/QVBR are only avilable on Windows

2017-12-14 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.h | 7 +++ 1 file changed, 7 insertions(+) diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h index 5cfd174..fae98e1 100644 --- a/libavcodec/qsvenc.h +++ b/libavcodec/qsvenc.h @@ -44,9 +44,16 @@ #define QSV_HAVE_LA

Re: [FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: Extend persistent http connections to playlists

2017-12-14 Thread Karthick Jeyapal
> On Nov 30, 2017, at 2:36 PM, Karthick J wrote: > > > From: Karthick Jeyapal > > > Before this patch persistent http connections would work only for media > segments. > The playlists were still opening a new connection everytime. > This patch

Re: [FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread Steven Liu
2017-12-14 16:00 GMT+08:00 : > From: wu zhiqiang > > When using concat protocal, start from middle of file will generate non-zero > wrap reference. If seek to time less than the wrap reference, wrap control > will be triggered and generate wrong

Re: [FFmpeg-devel] avfilter/x86/vf_hflip : make macro and add AVX2

2017-12-14 Thread Martin Vignali
2017-12-13 17:18 GMT+01:00 Henrik Gramner : > On Wed, Dec 13, 2017 at 6:07 AM, Martin Vignali > wrote: > > +vpermq m1, [srcq + xq - mmsize + %3], 0x4e; flip each lane > at load > > +vpermq m2, [srcq + xq - 2 * mmsize + %3],

[FFmpeg-devel] [PATCH] avformat/concat: Fix wrong wrapped timestamp

2017-12-14 Thread mymoeyard
From: wu zhiqiang When using concat protocal, start from middle of file will generate non-zero wrap reference. If seek to time less than the wrap reference, wrap control will be triggered and generate wrong wrapped timestamp. Copy wrap related stream properties when

[FFmpeg-devel] Correction to Webpage

2017-12-14 Thread Yogender Gupta
I would like to correct a couple of lines on the following ffmpeg web page. Can anyone please guide me on how to do it (push patch or raise ticket or edit page) It is definitely possible to do a complete end to end 10-bit transcode on the GPU pipeline without passing to system memory. I had

[FFmpeg-devel] [PATCH 2/2] lavc/mediacodec_wrapper: fix potential jni global reference leak

2017-12-14 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index 4660e895ca..f54e06b0ef 100644 --- a/libavcodec/mediacodec_wrapper.c +++ b/libavcodec/mediacodec_wrapper.c @@ -1194,6 +1194,9 @@ fail:

[FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
--- libavcodec/mediacodec_wrapper.c | 262 +++- 1 file changed, 70 insertions(+), 192 deletions(-) diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c index f34450a6d8..4660e895ca 100644 --- a/libavcodec/mediacodec_wrapper.c +++

Re: [FFmpeg-devel] Correction to Webpage

2017-12-14 Thread Carl Eugen Hoyos
2017-12-14 11:12 GMT+01:00 Yogender Gupta : > I would like to correct a couple of lines on the following ffmpeg web page. > https://trac.ffmpeg.org/wiki/HWAccelIntro A wiki is a wiki. > Can anyone please guide me on how to do it (push patch or raise > ticket or edit page) If

[FFmpeg-devel] [PATCH v6 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 12 + libavformat/dashenc.c | 3 ++- libavformat/hlsenc.c | 62 --- libavformat/hlsplaylist.c | 4 ++- libavformat/hlsplaylist.h | 2 +- 5 files changed, 77

[FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- libavformat/Makefile | 2 +- libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 65 +-- libavformat/hlsplaylist.c | 5 +++- libavformat/hlsplaylist.h | 3 ++- libavformat/reverse.c

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 11:09:13 +0100 Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 262 > +++- > 1 file changed, 70 insertions(+), 192 deletions(-) > > diff --git a/libavcodec/mediacodec_wrapper.c

Re: [FFmpeg-devel] [PATCH v2 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-14 Thread Dixit, Vishwanath
>On 11/24/17, 9:06 PM, "Jeyapal, Karthick" wrote: > >Thanks for your comments. I have uploaded new patchset v4 with suggested >corrections. >Please ignore patchset v3. > >On 11/24/17, 4:26 PM, "Mark Thompson" wrote: >[…] >>> +s =

Re: [FFmpeg-devel] avfilter/x86/vf_blend : add avx2 version for 8b func (WIP)

2017-12-14 Thread Martin Vignali
2017-12-13 17:37 GMT+01:00 Henrik Gramner : > On Sat, Dec 9, 2017 at 1:11 PM, Martin Vignali > wrote: > > the idea in AVX2 is to load 128bits of data (2x 64 bits) > > then shuffle accross lane, the two 64 bits in the low part of each lane, > to > >

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread Matthieu Bouron
On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4 wrote: > On Thu, 14 Dec 2017 11:09:13 +0100 > Matthieu Bouron wrote: > > > --- > > libavcodec/mediacodec_wrapper.c | 262 > > +++- > > 1 file changed, 70 insertions(+), 192 deletions(-)

Re: [FFmpeg-devel] [PATCH 1/2] lavc/mediacodec_wrapper: factorize MediaCodec creation functions

2017-12-14 Thread wm4
On Thu, 14 Dec 2017 12:53:38 +0100 Matthieu Bouron wrote: > On Thu, Dec 14, 2017 at 12:21:28PM +0100, wm4 wrote: > > On Thu, 14 Dec 2017 11:09:13 +0100 > > Matthieu Bouron wrote: > > > > > --- > > > libavcodec/mediacodec_wrapper.c | 262