Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-25 Thread Jun Li
On Sat, May 25, 2019 at 2:46 AM Nicolas George wrote: > Jun Li (12019-05-24): > > Add exif orientation support and expose an option. > > --- > > libavfilter/vf_transpose.c | 258 + > > 1 file changed, 207 insertions(+), 51 deletions(-) > > If I read the code c

Re: [FFmpeg-devel] [PATCH v1 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-25 Thread Jun Li
On Sat, May 25, 2019 at 2:53 AM Nicolas George wrote: > Jun Li (12019-05-24): > > Fix #6945 > > Rotate or/and flip frame according to frame's metadata orientation > > Since ffmpeg does not handle resolution changes very well, do we want > this enabled by default? Thanks Nicolas for review. I be

Re: [FFmpeg-devel] [PATCH v1 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-25 Thread Jun Li
On Sat, May 25, 2019 at 6:16 AM Michael Niedermayer wrote: > On Fri, May 24, 2019 at 05:04:27PM -0700, Jun Li wrote: > > Fix #6945 > > Rotate or/and flip frame according to frame's metadata orientation > > --- > > fftools/ffmpeg.c| 3 ++- > > fftools/ffmpeg.h| 3 ++- > > fftool

[FFmpeg-devel] [PATCH v2 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-25 Thread Jun Li
Fix #6945 Rotate or/and flip frame according to frame's metadata orientation --- fftools/ffmpeg.c| 3 ++- fftools/ffmpeg.h| 3 ++- fftools/ffmpeg_filter.c | 35 ++- 3 files changed, 30 insertions(+), 11 deletions(-) diff --git a/fftools/ffmpeg.c b

[FFmpeg-devel] [PATCH v2 1/2] lavf/vf_transpose: add exif orientation support

2019-05-25 Thread Jun Li
Add exif orientation support and expose an option. --- libavfilter/vf_transpose.c | 258 + 1 file changed, 207 insertions(+), 51 deletions(-) diff --git a/libavfilter/vf_transpose.c b/libavfilter/vf_transpose.c index dd54947bd9..4aebfb9ee4 100644 --- a/libavfil

[FFmpeg-devel] [PATCH 4/5] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support Have fix the build issue for other platform by Michael Niedermayer comments: https://patchwor

2019-05-25 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 79 1 file changed, 47 insertions(+), 32 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ee51a54659..2d06074f15 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf

[FFmpeg-devel] [PATCH 1/5] libavfilter/vf_overlay.c: change the comment style for the following macro defined function

2019-05-25 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 0a8f089c0d..b468cedf2e 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -500,7 +500,7 @@

[FFmpeg-devel] [PATCH 3/5] libavfilter/vf_overlay.c: define the macro-style function to support 8bit and 10bit blend, keep the 8bit function same now

2019-05-25 Thread lance . lmwang
From: Limin Wang --- libavfilter/vf_overlay.c | 52 ++-- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index ba8147f579..ee51a54659 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf

[FFmpeg-devel] [PATCH 2/5] libavfilter/vf_overlay.c: Add "\" for the following macro style function

2019-05-25 Thread lance . lmwang
From: Limin Wang Merge the old patch 2/3/4 into one by Carl Eugen comments: https://patchwork.ffmpeg.org/patch/13270/ --- libavfilter/vf_overlay.c | 358 +++ 1 file changed, 179 insertions(+), 179 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilt

[FFmpeg-devel] [PATCH 5/5] libavfilter/vf_overlay.c: add the yuv420p10 10bit support

2019-05-25 Thread lance . lmwang
From: Limin Wang The test ffmpeg command in iMAC system: ./ffmpeg -y -i input.ts -i ./logo.png -filter_complex overlay=50:50:format=yuv420p10 -c:v hevc_videotoolbox ./test.ts Now I have tested with yuv420p10 overlay and check the result is OK, please help to test with your condition. --- lib

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support

2019-05-25 Thread Lance Wang
On Sat, May 25, 2019 at 7:52 PM Michael Niedermayer wrote: > On Fri, May 24, 2019 at 05:36:15PM +0800, lance.lmw...@gmail.com wrote: > > From: Limin Wang > > > > --- > > libavfilter/vf_overlay.c | 69 +--- > > 1 file changed, 44 insertions(+), 25 deletions(-)

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Support full range videos

2019-05-25 Thread Derek Buitenhuis
On 25/05/2019 22:31, James Almer wrote: > Ah hell, whatever, just push it. Jeeb pointed out the reason you wrote > this patch. Reverting this patch in the future should be trivial anyway. This patch also adds support for checking the AVCOL range. If you object that strongly to it, I'm sure they do

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Support full range videos

2019-05-25 Thread James Almer
On 5/25/2019 6:03 PM, James Almer wrote: > On 5/25/2019 12:50 PM, Derek Buitenhuis wrote: >> On 25/05/2019 04:25, James Almer wrote: + >>> >>> Unnecessary empty line. >> >> Fixed. >> >>> Could we not? The idea is to eventually kill these, so we should at >>> least try to not make them even mor

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Support full range videos

2019-05-25 Thread James Almer
On 5/25/2019 12:50 PM, Derek Buitenhuis wrote: > On 25/05/2019 04:25, James Almer wrote: >>> + >> >> Unnecessary empty line. > > Fixed. > >> Could we not? The idea is to eventually kill these, so we should at >> least try to not make them even more widespread... > > As far as I know, they can't

[FFmpeg-devel] [PATCH v5] avformat/ifv: added support for ifv cctv files

2019-05-25 Thread Swaraj Hota
Fixes ticket #2956. Signed-off-by: Swaraj Hota --- Minor changes based on previous discussions. Seeking is fixed. --- Changelog| 1 + libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/ifv.c| 304 +++ liba

Re: [FFmpeg-devel] [FFMPEG DEVEL] [PATCH v6] fftools/ffprobe: Add S12M Timecode output as side data (such as SEI TC)

2019-05-25 Thread Antonin Gouzer
Hello, Shame on me, I didn't test the patch with the json format, only xml and flat. It's ok now. ok for XML too. Thanks! Le sam. 25 mai 2019 à 00:27, Marton Balint a écrit : > > > > On Fri, 24 May 2019, Antonin Gouzer wrote: > > > --- > > Add S12M Timecode output with the show_frame option > >

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-25 Thread Paul B Mahol
On 5/25/19, Michael Niedermayer wrote: > On Fri, May 24, 2019 at 06:05:42PM +0200, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libswresample/swresample.c | 8 >> 1 file changed, 8 insertions(+) >> >> diff --git a/libswresample/swresample.c b/libswresample/swresample.c >

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-25 Thread Michael Niedermayer
On Sat, May 25, 2019 at 06:45:01PM +0200, Hendrik Leppkes wrote: > On Sat, May 25, 2019 at 5:58 PM Michael Niedermayer > wrote: > > > > On Fri, May 24, 2019 at 06:05:42PM +0200, Paul B Mahol wrote: > > > Signed-off-by: Paul B Mahol > > > --- > > > libswresample/swresample.c | 8 > > > 1

[FFmpeg-devel] HLS-decoding question

2019-05-25 Thread Thomas Schmiedl
Hello, I read the note on the mailing-lists page "It is not for development of software that use the FFmpeg libraries...", but I hope someone could help me (I have only few development knowledge in scripting languages). I use the xupnpd2-mediaserver (https://github.com/clark15b/xupnpd2) to displ

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-25 Thread Hendrik Leppkes
On Sat, May 25, 2019 at 5:58 PM Michael Niedermayer wrote: > > On Fri, May 24, 2019 at 06:05:42PM +0200, Paul B Mahol wrote: > > Signed-off-by: Paul B Mahol > > --- > > libswresample/swresample.c | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/libswresample/swresample.c b/

Re: [FFmpeg-devel] [PATCH] swresample/swresample: check for invalid sample rates

2019-05-25 Thread Michael Niedermayer
On Fri, May 24, 2019 at 06:05:42PM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libswresample/swresample.c | 8 > 1 file changed, 8 insertions(+) > > diff --git a/libswresample/swresample.c b/libswresample/swresample.c > index 6d28e6a798..1ac5ef9a30 100644 > --- a/li

Re: [FFmpeg-devel] [PATCH] avcodec/libx265: Support full range videos

2019-05-25 Thread Derek Buitenhuis
On 25/05/2019 04:25, James Almer wrote: >> + > > Unnecessary empty line. Fixed. > Could we not? The idea is to eventually kill these, so we should at > least try to not make them even more widespread... As far as I know, they can't be removed, as there isn't a simple replacement for some of the

Re: [FFmpeg-devel] [PATCH 2/3] avcodec/nvenc: add master display and light level sei for HDR10

2019-05-25 Thread James Almer
On 5/22/2019 3:59 AM, lance.lmw...@gmail.com wrote: > From: Limin Wang > > The testing command for the HDR10 output with nvenc: > $ ./ffmpeg_g -y -i 4K.mp4 -c:v hevc_nvenc -g 7 -color_primaries bt2020 > -colorspace bt2020_ncl -color_trc smpte2084 -sei hdr10 \ > -master_display > "G(1325

Re: [FFmpeg-devel] [PATCH] avformat/segment: populate empty outer stream extradata from packet

2019-05-25 Thread Gyan
On 23-05-2019 06:40 PM, Gyan wrote: On 21-05-2019 06:59 PM, Gyan wrote: Fixes playback in QT for me. Gyan Ping. Pong. Gyan ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe

Re: [FFmpeg-devel] [PATCH V1 2/2] lavfi/sr: Remove slice thread flag

2019-05-25 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Jun Zhao > Sent: Saturday, May 25, 2019 8:17 PM > To: ffmpeg-devel@ffmpeg.org > Cc: Jun Zhao > Subject: [FFmpeg-devel] [PATCH V1 2/2] lavfi/sr: Remove slice thread flag > > From: Jun Zhao > > sr didn't enable the slice

Re: [FFmpeg-devel] [PATCH v1 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-25 Thread Michael Niedermayer
On Fri, May 24, 2019 at 05:04:27PM -0700, Jun Li wrote: > Fix #6945 > Rotate or/and flip frame according to frame's metadata orientation > --- > fftools/ffmpeg.c| 3 ++- > fftools/ffmpeg.h| 3 ++- > fftools/ffmpeg_filter.c | 19 ++- > 3 files changed, 22 insertion

Re: [FFmpeg-devel] [PATCH v4] avformat/ifv: added support for ifv cctv files

2019-05-25 Thread Peter Ross
On Sat, May 25, 2019 at 01:59:44PM +0200, Paul B Mahol wrote: > On 5/25/19, Swaraj Hota wrote: > > Fixes ticket #2956. > > > > Signed-off-by: Swaraj Hota > > --- > > Changes made based on previous discussions. > > > > Now the demuxer is working pretty much as the original dvr player does. > > Fra

[FFmpeg-devel] [PATCH V1 1/2] lavfi/sr: Change the backend type from flags to int

2019-05-25 Thread Jun Zhao
From: Jun Zhao native and tensorflow is exclusive, so change the type from flags to int. Signed-off-by: Jun Zhao --- libavfilter/vf_sr.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index 65baf5f..95bd3b7 100644 --- a/libav

[FFmpeg-devel] [PATCH V1 2/2] lavfi/sr: Remove slice thread flag

2019-05-25 Thread Jun Zhao
From: Jun Zhao sr didn't enable the slice threading, so remove the flag Signed-off-by: Jun Zhao --- libavfilter/vf_sr.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/libavfilter/vf_sr.c b/libavfilter/vf_sr.c index 95bd3b7..86dc551 100644 --- a/libavfilter/vf_sr.c +

Re: [FFmpeg-devel] [PATCH v4] avformat/ifv: added support for ifv cctv files

2019-05-25 Thread Paul B Mahol
On 5/25/19, Swaraj Hota wrote: > Fixes ticket #2956. > > Signed-off-by: Swaraj Hota > --- > Changes made based on previous discussions. > > Now the demuxer is working pretty much as the original dvr player does. > Framerate is based on timestamps (hence correct). Seeking is working for > all file

[FFmpeg-devel] [PATCH] avfilter: add showspatial multimedia filter

2019-05-25 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 52 + libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/avf_showspatial.c | 384 ++ 4 files changed, 438 insertions(+) create mode 100644 libavfilter/avf_s

Re: [FFmpeg-devel] [PATCH 6/7] libavfilter/vf_overlay.c: using the nbits and depth for 8bits and 10bit support

2019-05-25 Thread Michael Niedermayer
On Fri, May 24, 2019 at 05:36:15PM +0800, lance.lmw...@gmail.com wrote: > From: Limin Wang > > --- > libavfilter/vf_overlay.c | 69 +--- > 1 file changed, 44 insertions(+), 25 deletions(-) breaks build CC libavfilter/vf_overlay.o libavfilter/vf_overlay.

[FFmpeg-devel] [PATCH v4] avformat/ifv: added support for ifv cctv files

2019-05-25 Thread Swaraj Hota
Fixes ticket #2956. Signed-off-by: Swaraj Hota --- Changes made based on previous discussions. Now the demuxer is working pretty much as the original dvr player does. Framerate is based on timestamps (hence correct). Seeking is working for all files without any issue. --- Changelog

Re: [FFmpeg-devel] [PATCH v1 2/2] fftools/ffmpeg: add exif orientation support per frame's metadata

2019-05-25 Thread Nicolas George
Jun Li (12019-05-24): > Fix #6945 > Rotate or/and flip frame according to frame's metadata orientation Since ffmpeg does not handle resolution changes very well, do we want this enabled by default? > --- > fftools/ffmpeg.c| 3 ++- > fftools/ffmpeg.h| 3 ++- > fftools/ffmpeg_fil

Re: [FFmpeg-devel] [PATCH v1 1/2] lavf/vf_transpose: add exif orientation support

2019-05-25 Thread Nicolas George
Jun Li (12019-05-24): > Add exif orientation support and expose an option. > --- > libavfilter/vf_transpose.c | 258 + > 1 file changed, 207 insertions(+), 51 deletions(-) If I read the code correctly, when orientation=1 (unchanged), this code will copy the fra

Re: [FFmpeg-devel] native mode in FFmpeg DNN module

2019-05-25 Thread Guo, Yejun
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Steven Liu > Sent: Friday, May 24, 2019 11:35 PM > To: FFmpeg development discussions and patches > Cc: Steven Liu > Subject: Re: [FFmpeg-devel] native mode in FFmpeg DNN module > > > >