Re: [FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-07 Thread Mateusz
W dniu 07.12.2017 o 22:58, Hendrik Leppkes pisze: > Am 07.12.2017 20:40 schrieb "Mateusz" : > > W dniu 07.12.2017 o 10:42, Hendrik Leppkes pisze: >> On Thu, Dec 7, 2017 at 2:02 AM, Mateusz wrote: >>> After commit 3701d49 'error_resilience: remove

[FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-07 Thread Mateusz
After commit 3701d49 'error_resilience: remove avpriv_atomic usage' we have included windows.h in much more files and we should avoid conflicts with defines/function declarations. Signed-off-by: Mateusz Brzostek --- libavcodec/jpegls.h | 2 ++ libavcodec/mjpegdec.h |

Re: [FFmpeg-devel] [PATCH 3/4] opus: Add Special Hybrid Folding (per RFC8251)

2017-12-07 Thread Andrew D'Addesio
On Wed Dec 6 21:42:48 EET 2017, James Almer wrote: > Valgrind apparently complains about this commit, as i mentioned in > another reply to this thread Hi James, thanks for reporting the issue. There's indeed a problem with patch #3 (use-of-uninitialized-memory in norm[] and norm2[]). libopus

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread wm4
On Fri, 8 Dec 2017 06:52:20 +0100 Michael Niedermayer wrote: > On Fri, Dec 08, 2017 at 01:09:50AM -0300, James Almer wrote: > > On 12/8/2017 12:26 AM, wm4 wrote: > > > On Thu, 7 Dec 2017 23:23:51 +0100 > > > Michael Niedermayer wrote: > > > >

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread Michael Niedermayer
On Fri, Dec 08, 2017 at 01:09:50AM -0300, James Almer wrote: > On 12/8/2017 12:26 AM, wm4 wrote: > > On Thu, 7 Dec 2017 23:23:51 +0100 > > Michael Niedermayer wrote: > > > >> On Tue, Nov 21, 2017 at 07:58:18PM +0100, Michael Niedermayer wrote: > >>> On Sat, Nov 18, 2017

[FFmpeg-devel] [PATCH] lavc/utils: remove unnecessary locking

2017-12-07 Thread Rostislav Pehlivanov
Its already done by lockmgr. Signed-off-by: Rostislav Pehlivanov --- libavcodec/utils.c | 6 -- 1 file changed, 6 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index baf09119fe..796d24dcbb 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread James Almer
On 12/8/2017 1:33 AM, Carl Eugen Hoyos wrote: > 2017-12-08 5:09 GMT+01:00 James Almer : > >> When the old decode API was turned into a wrapper for the >> new, some applications using said API this way started to >> experience issues/crashes that did not happen before. > >

Re: [FFmpeg-devel] [PATCH 2/3] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Carl Eugen Hoyos
2017-12-08 5:23 GMT+01:00 Rodger Combs : > +if ((s->flags & AVFMT_FLAG_DISCARD_CORRUPT_TS) && > +(pkt->flags & AV_PKT_FLAG_CORRUPT)) { The brackets look ugly. Carl Eugen ___ ffmpeg-devel mailing list

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread Carl Eugen Hoyos
2017-12-08 5:09 GMT+01:00 James Almer : > When the old decode API was turned into a wrapper for the > new, some applications using said API this way started to > experience issues/crashes that did not happen before. Where was a crash reported? Carl Eugen

[FFmpeg-devel] [PATCH 3/3] lavf/utils: add flag to fill unset timestamps from wallclock offset

2017-12-07 Thread Rodger Combs
--- libavformat/avformat.h | 1 + libavformat/internal.h | 5 + libavformat/options_table.h | 1 + libavformat/utils.c | 12 4 files changed, 19 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index d10d583dff..a039a2764d 100644

[FFmpeg-devel] [PATCH 1/3] lavf/mpegts: mark packets with TEI flag as corrupted

2017-12-07 Thread Rodger Combs
--- libavformat/mpegts.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 53cbcfb543..0a3ad05726 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2296,6 +2296,14 @@ static int handle_packet(MpegTSContext *ts, const

[FFmpeg-devel] [PATCH 2/3] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Rodger Combs
--- libavformat/avformat.h | 1 + libavformat/options_table.h | 1 + libavformat/utils.c | 8 3 files changed, 10 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4f2798a871..d10d583dff 100644 --- a/libavformat/avformat.h +++

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread James Almer
On 12/8/2017 12:26 AM, wm4 wrote: > On Thu, 7 Dec 2017 23:23:51 +0100 > Michael Niedermayer wrote: > >> On Tue, Nov 21, 2017 at 07:58:18PM +0100, Michael Niedermayer wrote: >>> On Sat, Nov 18, 2017 at 09:11:17PM +0100, Michael Niedermayer wrote: On Sat, Nov 18,

Re: [FFmpeg-devel] [PATCH] swscale/utils: Remove bpc==8 gating init_range_convert

2017-12-07 Thread Neil Birkbeck
On Sat, Dec 2, 2017 at 5:25 PM, Carl Eugen Hoyos wrote: > 2017-12-01 20:08 GMT+01:00 Neil Birkbeck : > > On Thu, Nov 30, 2017 at 9:52 AM, Michael Niedermayer wrote: > > >> > For that sample, I feel like it may be incorrectly tagged as pc/full. > >> >

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread wm4
On Thu, 7 Dec 2017 23:23:51 +0100 Michael Niedermayer wrote: > On Tue, Nov 21, 2017 at 07:58:18PM +0100, Michael Niedermayer wrote: > > On Sat, Nov 18, 2017 at 09:11:17PM +0100, Michael Niedermayer wrote: > > > On Sat, Nov 18, 2017 at 09:50:33AM +0100, Hendrik Leppkes

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: ICQ/VCM/QVBR are not avilable on Linux

2017-12-07 Thread Li, Zhong
> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Carl Eugen Hoyos > Sent: Friday, December 8, 2017 8:39 AM > To: FFmpeg development discussions and patches > > Subject: Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: ICQ/VCM/QVBR are > not avilable

Re: [FFmpeg-devel] [PATCH 1/2] lavc/qsvenc: ICQ/VCM/QVBR are not avilable on Linux

2017-12-07 Thread Carl Eugen Hoyos
2017-12-07 7:24 GMT+01:00 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

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: add AVFMT_VARIABLE_FPS flag to mimic mpegtsenc

2017-12-07 Thread Carl Eugen Hoyos
2017-12-08 1:14 GMT+01:00 Aman Gupta : > From: Aman Gupta > > Previously, using a filter that changed frame_rate/time_base would work > as expected with mpegtsenc, but duplicate frames when used with hlsenc > (which uses mpegtsenc underneath). > > For instance,

[FFmpeg-devel] [PATCH] libavformat/hlsenc: add AVFMT_VARIABLE_FPS flag to mimic mpegtsenc

2017-12-07 Thread Aman Gupta
From: Aman Gupta Previously, using a filter that changed frame_rate/time_base would work as expected with mpegtsenc, but duplicate frames when used with hlsenc (which uses mpegtsenc underneath). For instance, using https://tmm1.s3.amazonaws.com/720p.ts: $ ffmpeg -i 720p.ts

[FFmpeg-devel] [PATCH v2] libavcodec/mpegvideo_parser: improve detection of progressive mpeg2

2017-12-07 Thread Aman Gupta
From: Aman Gupta Previously many progressive mpeg2video samples were detected as interlaced by ffmpeg/ffprobe. For example, https://tmm1.s3.amazonaws.com/720p.ts Before: Input #0, mpegts, from 'https://tmm1.s3.amazonaws.com/720p.ts': Duration: 00:00:08.62, start:

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-12-07 Thread Tomas Härdin
On Thu, 2017-12-07 at 14:45 -0800, Mark Reid wrote: > On Dec 7, 2017 7:45 AM, "Tomas Härdin" wrote: > > On 2017-12-05 05:46, Mark Reid wrote: > > > --- > > libavformat/mxf.h| 1 + > > libavformat/mxfenc.c | 42 +++-- > > - > > 2

Re: [FFmpeg-devel] [PATCH] fix for transparencies in animated gifs

2017-12-07 Thread Bjorn Roche
Hey all, Just wondering what else is needed to get this merged? Is there anything else I can do? Thanks, bjorn On Thu, Nov 30, 2017 at 12:33 PM, Bjorn Roche wrote: > We've done a bit more testing on this and it looks good here. > > On Thu, Nov 30, 2017 at 12:26 PM, Bjorn

[FFmpeg-devel] [PATCH] libavcodec/hevcdsp: compilation error fixed for ARM

2017-12-07 Thread Ihor Bobalo
This e-mail may contain privileged and confidential information. If you are not the intended recipient, be aware that any use, disclosure, copying or distribution of this e-mail or any attachments is prohibited. If you have received this e-mail in error,

Re: [FFmpeg-devel] [PATCH 2/2] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Rodger Combs
> On Dec 7, 2017, at 16:53, Hendrik Leppkes wrote: > > On Thu, Dec 7, 2017 at 9:46 PM, Michael Niedermayer > > wrote: >> On Thu, Dec 07, 2017 at 03:37:38AM -0600, Rodger Combs wrote: >>> --- >>> libavformat/avformat.h

Re: [FFmpeg-devel] [PATCH 2/2] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Hendrik Leppkes
On Thu, Dec 7, 2017 at 9:46 PM, Michael Niedermayer wrote: > On Thu, Dec 07, 2017 at 03:37:38AM -0600, Rodger Combs wrote: >> --- >> libavformat/avformat.h | 1 + >> libavformat/internal.h | 5 + >> libavformat/options_table.h | 1 + >>

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-12-07 Thread Mark Reid
On Dec 7, 2017 7:45 AM, "Tomas Härdin" wrote: On 2017-12-05 05:46, Mark Reid wrote: > --- > libavformat/mxf.h| 1 + > libavformat/mxfenc.c | 42 +++--- > 2 files changed, 36 insertions(+), 7 deletions(-) > > > @@ -1476,6 +1495,15

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegvideo_parser: set field_order correctly for progressive mpeg2

2017-12-07 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 07:47:58PM +, Aman Gupta wrote: > On Thu, Dec 7, 2017 at 11:42 AM Michael Niedermayer > wrote: > > > On Wed, Dec 06, 2017 at 02:54:50PM -0800, Aman Gupta wrote: > > > From: Aman Gupta > > > > > > --- > > >

Re: [FFmpeg-devel] FFmpeg 3.4.1

2017-12-07 Thread Michael Niedermayer
On Tue, Nov 21, 2017 at 07:58:18PM +0100, Michael Niedermayer wrote: > On Sat, Nov 18, 2017 at 09:11:17PM +0100, Michael Niedermayer wrote: > > On Sat, Nov 18, 2017 at 09:50:33AM +0100, Hendrik Leppkes wrote: > > > On Sat, Nov 18, 2017 at 3:05 AM, Michael Niedermayer > > >

Re: [FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-07 Thread Hendrik Leppkes
Am 07.12.2017 20:40 schrieb "Mateusz" : W dniu 07.12.2017 o 10:42, Hendrik Leppkes pisze: > On Thu, Dec 7, 2017 at 2:02 AM, Mateusz wrote: >> After commit 3701d49 'error_resilience: remove avpriv_atomic usage' >> we have included windows.h in

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-07 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 10:50:37PM +0100, Tomas Härdin wrote: > On Thu, 2017-12-07 at 22:40 +0100, Michael Niedermayer wrote: > > On Thu, Dec 07, 2017 at 04:41:09PM +0100, Tomas Härdin wrote: > > > On 2017-12-05 05:46, Mark Reid wrote: > > > > @@ -1398,16 +1397,26 @@ static void > > > >

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-07 Thread Tomas Härdin
On Thu, 2017-12-07 at 22:40 +0100, Michael Niedermayer wrote: > On Thu, Dec 07, 2017 at 04:41:09PM +0100, Tomas Härdin wrote: > > On 2017-12-05 05:46, Mark Reid wrote: > > > @@ -1398,16 +1397,26 @@ static void > > > mxf_write_package(AVFormatContext *s, MXFPackage *package) > > >

[FFmpeg-devel] [PATCH] vf_zscale: Fix alpha destination graph for floating point pixel formats

2017-12-07 Thread Vittorio Giovara
This was setting the input pixel type instead of the output one, leading to incorrect data being fed to the library. Signed-off-by: Vittorio Giovara --- libavfilter/vf_zscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-07 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 04:41:09PM +0100, Tomas Härdin wrote: > On 2017-12-05 05:46, Mark Reid wrote: > >@@ -1398,16 +1397,26 @@ static void mxf_write_package(AVFormatContext *s, > >MXFPackage *package) > > mxf_write_uuid(pb, SubDescriptor, 0); > > } > >+/* > >+ * for

Re: [FFmpeg-devel] checkasm/vf_hflip : add test for vf_hflip SIMD

2017-12-07 Thread Paul B Mahol
On 12/7/17, Martin Vignali wrote: > Hello, > > Patch in attach add a checkasm test for vf_hflip (byte and short) > > Martin > probably ok ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 2/2] WIP: steps to ditch YUVJ formats

2017-12-07 Thread Paul B Mahol
On 12/7/17, Michael Niedermayer wrote: > On Wed, Dec 06, 2017 at 09:10:22PM +0100, Paul B Mahol wrote: > [...] >> diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c >> index 2fd9c90d84..be6dcb9307 100644 >> --- a/libavfilter/vf_scale.c >> +++

Re: [FFmpeg-devel] [PATCH] lavc/libopenjpeg: support version 2.3.0 and later

2017-12-07 Thread Rodger Combs
Yup, I did. > On Dec 7, 2017, at 08:04, James Almer wrote: > > On 12/7/2017 6:17 AM, Rodger Combs wrote: >> --- >> configure | 2 ++ >> libavcodec/libopenjpegdec.c | 29 +++-- >> libavcodec/libopenjpegenc.c | 29

Re: [FFmpeg-devel] avfilter/x86/vf_threshold : add SSE4 and AVX2 for threshold 16

2017-12-07 Thread Martin Vignali
> > You should also change the cglobal line for x86_32, right below this else > > new patch in attach 0001-avfilter-x86-vf_threshold-add-threshold16-SIMD-SSE4.patch Description: Binary data 0002-checkasm-vf_threshold-add-test-for-threshold16.patch Description: Binary data

Re: [FFmpeg-devel] [PATCH 2/2] WIP: steps to ditch YUVJ formats

2017-12-07 Thread Michael Niedermayer
On Wed, Dec 06, 2017 at 09:10:22PM +0100, Paul B Mahol wrote: [...] > diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c > index 2fd9c90d84..be6dcb9307 100644 > --- a/libavfilter/vf_scale.c > +++ b/libavfilter/vf_scale.c > @@ -578,6 +578,7 @@ static const AVOption scale_options[] = { >

Re: [FFmpeg-devel] avfilter/x86/vf_threshold : add SSE4 and AVX2 for threshold 16

2017-12-07 Thread James Almer
On 12/7/2017 5:10 PM, Martin Vignali wrote: > 2017-12-03 21:28 GMT+01:00 Martin Vignali : > >> >> >> 2017-12-03 21:15 GMT+01:00 James Darnley : >> >>> On 2017-12-03 19:30, Martin Vignali wrote: libavfilter/x86/vf_threshold.asm| 19

[FFmpeg-devel] checkasm/vf_hflip : add test for vf_hflip SIMD

2017-12-07 Thread Martin Vignali
Hello, Patch in attach add a checkasm test for vf_hflip (byte and short) Martin 0001-avfilter-vf_hflip-move-context-func-init-in.patch Description: Binary data 0002-checkasm-vf_hflip-add-test-for-vf_hflip-byte-and-sho.patch Description: Binary data

Re: [FFmpeg-devel] [PATCH 2/2] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 03:37:38AM -0600, Rodger Combs wrote: > --- > libavformat/avformat.h | 1 + > libavformat/internal.h | 5 + > libavformat/options_table.h | 1 + > libavformat/utils.c | 12 > 4 files changed, 19 insertions(+) > > diff --git

Re: [FFmpeg-devel] [PATCH] lavf/mov: atom box parsing return eof cause play fail

2017-12-07 Thread Michael Niedermayer
On Thu, Dec 07, 2017 at 05:47:46PM +0800, tiejun.peng wrote: > fix eof lead to play fail. > > Signed-off-by: tiejun.peng > --- > libavformat/mov.c | 47 --- > 1 file changed, 36 insertions(+), 11 deletions(-) please split the

Re: [FFmpeg-devel] [PATCH] doc/filters: document max luma and chroma matrix size

2017-12-07 Thread Moritz Barsnick
On Wed, Dec 06, 2017 at 17:03:10 -0900, Lou Logan wrote: > doc/filters: document max luma and chroma matrix size You might want to mention that it's for the unsharp filter. > +Note that the sum of @code{lx}+@code{ly} or @code{cx}+@code{cy} must > +not exceed a value equal to or greater than 26.

Re: [FFmpeg-devel] avfilter/x86/vf_threshold : add SSE4 and AVX2 for threshold 16

2017-12-07 Thread Martin Vignali
2017-12-03 21:28 GMT+01:00 Martin Vignali : > > > 2017-12-03 21:15 GMT+01:00 James Darnley : > >> On 2017-12-03 19:30, Martin Vignali wrote: >> > libavfilter/x86/vf_threshold.asm| 19 ++- >> >

Re: [FFmpeg-devel] [PATCH] avfilter/video: pick sar from link

2017-12-07 Thread Paul B Mahol
On 12/7/17, Nicolas George wrote: > Paul B Mahol (2017-12-07): >> Signed-off-by: Paul B Mahol >> --- >> libavfilter/video.c | 9 - >> 1 file changed, 8 insertions(+), 1 deletion(-) > > Please explain (in the commit message) why you think this patch is

[FFmpeg-devel] [PATCH v3 2/2] libavcodec/hevcdec: implement skip_frame

2017-12-07 Thread Stefan _
On 07.12.2017 at 17:41 Michael Niedermayer wrote: > The move and the functional change should be in seperate patches > that keeps changes easy to read and understand > > [...] >From abeb2b106a64d96b216912d4272a734b123b62e2 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 7 Dec

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegvideo_parser: set field_order correctly for progressive mpeg2

2017-12-07 Thread Aman Gupta
On Thu, Dec 7, 2017 at 11:42 AM Michael Niedermayer wrote: > On Wed, Dec 06, 2017 at 02:54:50PM -0800, Aman Gupta wrote: > > From: Aman Gupta > > > > --- > > libavcodec/mpegvideo_parser.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > >

[FFmpeg-devel] [PATCH v3 1/2] libavcodec/hevc_filter: move AVDISCARD_NONREF switch-case into function

2017-12-07 Thread Stefan _
On 07.12.2017 at 17:41 Michael Niedermayer wrote: > The move and the functional change should be in seperate patches > that keeps changes easy to read and understand > > [...] >From b5d6c40c6516b90abeeffb7cf8ecd1ca1c3f7cb2 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Thu, 7 Dec

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegvideo_parser: set field_order correctly for progressive mpeg2

2017-12-07 Thread Michael Niedermayer
On Wed, Dec 06, 2017 at 02:54:50PM -0800, Aman Gupta wrote: > From: Aman Gupta > > --- > libavcodec/mpegvideo_parser.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c > index

Re: [FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-07 Thread Mateusz
W dniu 07.12.2017 o 10:42, Hendrik Leppkes pisze: > On Thu, Dec 7, 2017 at 2:02 AM, Mateusz wrote: >> After commit 3701d49 'error_resilience: remove avpriv_atomic usage' >> we have included windows.h in much more files and we should >> avoid conflicts with

[FFmpeg-devel] [PATCH] avcodec/Makefile: Fix opus parser dependency.

2017-12-07 Thread Jacob Trimble
The opus.c file uses variables that are defined in opustab.c. The opus parser needs to include that file to avoid linker errors when not including the opus encoder/decoder. Signed-off-by: Jacob Trimble --- libavcodec/Makefile | 2 +- 1 file changed, 1 insertion(+), 1

Re: [FFmpeg-devel] [PATCH] avcodec/nvdec: Fix capability check with old drivers.

2017-12-07 Thread Jacob Trimble
On Thu, Nov 30, 2017 at 12:35 PM, Jacob Trimble wrote: > Copied the check from cuviddec.c (*_cuvid decoders) to allow the > capability check to be optional for older drivers. > > Signed-off-by: Jacob Trimble > --- > libavcodec/nvdec.c | 12

Re: [FFmpeg-devel] [PATCH] avfilter/video: pick sar from link

2017-12-07 Thread Nicolas George
Paul B Mahol (2017-12-07): > Signed-off-by: Paul B Mahol > --- > libavfilter/video.c | 9 - > 1 file changed, 8 insertions(+), 1 deletion(-) Please explain (in the commit message) why you think this patch is needed. Regards, -- Nicolas George signature.asc

Re: [FFmpeg-devel] [PATCH v2] libavcodec/hevc_filter: implement skip_frame

2017-12-07 Thread Michael Niedermayer
On Wed, Dec 06, 2017 at 06:52:53PM +, Stefan _ wrote: > On 06.12.2017 at 18:32 Michael Niedermayer wrote: > > This is duplicated, it should be moved into a seperate function > > > > [...] > > > Done. > > hevc_filter.c | 20 +++- > hevcdec.c | 16 +++- >

[FFmpeg-devel] [PATCH] avcodec/amrwbdec: Fix division by 0 in voice_factor()

2017-12-07 Thread Michael Niedermayer
The added value matches "Digital cellular telecommunications system (Phase 2+) (GSM); Universal Mobile Telecommunications System (UMTS); LTE; Extended Adaptive Multi-Rate - Wideband (AMR-WB+) codec; Floating-point ANSI-C code (3GPP TS 26.304 version 14.0.0 Release 14) Extended Adaptive

Re: [FFmpeg-devel] [PATCH v3 2/3] avformat/mxfenc: write reel_name if metadata key is present

2017-12-07 Thread Tomas Härdin
On 2017-12-05 05:46, Mark Reid wrote: --- libavformat/mxf.h| 1 + libavformat/mxfenc.c | 42 +++--- 2 files changed, 36 insertions(+), 7 deletions(-) @@ -1476,6 +1495,15 @@ static int mxf_write_header_metadata_sets(AVFormatContext *s) }

Re: [FFmpeg-devel] [PATCH v3 1/3] avformat/mxfenc: use track count to generate component instance uuid

2017-12-07 Thread Tomas Härdin
On 2017-12-05 05:46, Mark Reid wrote: @@ -1398,16 +1397,26 @@ static void mxf_write_package(AVFormatContext *s, MXFPackage *package) mxf_write_uuid(pb, SubDescriptor, 0); } +/* + * for every 1 track in a package there is 1 sequence and 1 component. + * all 3

Re: [FFmpeg-devel] [PATCH] lavc/libopenjpeg: support version 2.3.0 and later

2017-12-07 Thread James Almer
On 12/7/2017 6:17 AM, Rodger Combs wrote: > --- > configure | 2 ++ > libavcodec/libopenjpegdec.c | 29 +++-- > libavcodec/libopenjpegenc.c | 29 +++-- > 3 files changed, 48 insertions(+), 12 deletions(-) ? Did you send an old

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-07 Thread wm4
On Wed, 6 Dec 2017 17:27:43 +0800 "tiejun.peng" wrote: > fix #6895: https://trac.ffmpeg.org/ticket/6895 > stream:https://trac.ffmpeg.org/attachment/ticket/6895/music_mp3 > > Signed-off-by: tiejun.peng > --- > libavformat/mp3dec.c | 4 >

[FFmpeg-devel] [PATCH 2/2] lavc: add back AD_HOC method for DXVA2/D3D11/VAAPI/VDPAU

2017-12-07 Thread Thomas Guillem
--- libavcodec/hwaccel.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/hwaccel.h b/libavcodec/hwaccel.h index 16ee822920..292a87f6b5 100644 --- a/libavcodec/hwaccel.h +++ b/libavcodec/hwaccel.h @@ -75,15 +75,15 @@ typedef struct AVCodecHWConfigInternal {

[FFmpeg-devel] [PATCH 1/2] lavc: change HW_CONFIG_HWACCEL arguments

2017-12-07 Thread Thomas Guillem
Add a boolean to specify if an API can work with AV_CODEC_HW_CONFIG_METHOD_AD_HOC. --- libavcodec/hwaccel.h | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/libavcodec/hwaccel.h b/libavcodec/hwaccel.h index ae55527c2f..16ee822920 100644 ---

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

2017-12-07 Thread Matteo Naccari
- This patch contains the changes required to interface the Turing codec (http://turingcodec.org/) to ffmpeg --- Changelog | 1 + LICENSE.md | 1 + configure | 6 + libavcodec/Makefile| 1 + libavcodec/allcodecs.c | 1 + libavcodec/libturing.c

Re: [FFmpeg-devel] [PATCH] fix MSVC compilation errors

2017-12-07 Thread Hendrik Leppkes
On Thu, Dec 7, 2017 at 2:02 AM, Mateusz wrote: > After commit 3701d49 'error_resilience: remove avpriv_atomic usage' > we have included windows.h in much more files and we should > avoid conflicts with defines/function declarations. > > We should declare compatible

[FFmpeg-devel] [PATCH] lavf/mov: atom box parsing return eof cause play fail

2017-12-07 Thread tiejun.peng
fix eof lead to play fail. Signed-off-by: tiejun.peng --- libavformat/mov.c | 47 --- 1 file changed, 36 insertions(+), 11 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index c901859..6c3567f 100644 ---

[FFmpeg-devel] [PATCH 1/2] lavf/mpegts: mark packets with TEI flag as corrupted

2017-12-07 Thread Rodger Combs
--- libavformat/mpegts.c | 8 1 file changed, 8 insertions(+) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 53cbcfb543..0a3ad05726 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -2296,6 +2296,14 @@ static int handle_packet(MpegTSContext *ts, const

[FFmpeg-devel] [PATCH 2/2] lavf/utils: add flag to discard timestamps on corrupted frames

2017-12-07 Thread Rodger Combs
--- libavformat/avformat.h | 1 + libavformat/internal.h | 5 + libavformat/options_table.h | 1 + libavformat/utils.c | 12 4 files changed, 19 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 4f2798a871..e2d88280a8 100644

Re: [FFmpeg-devel] [PATCH] lavf/mp3dec: fix mp3 file probe fail

2017-12-07 Thread Tiejun.Peng
Playback of the mp3 file sounds very good with VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80) Tiejun Peng -- Original -- From: "Carl Eugen Hoyos";; Send time: Thursday, Dec 7, 2017 0:00 AM To: "FFmpeg development discussions

[FFmpeg-devel] [PATCH] avfilter/video: pick sar from link

2017-12-07 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavfilter/video.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavfilter/video.c b/libavfilter/video.c index 6f9020b9fe..7a8e587798 100644 --- a/libavfilter/video.c +++ b/libavfilter/video.c @@ -43,6 +43,7 @@

Re: [FFmpeg-devel] [PATCH] configure: Allow users to disable all hwaccel libraries

2017-12-07 Thread Gyan Doshi
On 12/7/2017 12:59 PM, Tobias Rapp wrote: Why not add the HWACCEL_AUTODETECT_LIBRARY_LIST to --disable-hwaccels? That is a better choice but there wasn't a bespoke case for '--disable-hwaccels', so originally ignored that possibility. Added it in attached (new) patch. Either one - this or

[FFmpeg-devel] [PATCH] lavc/libopenjpeg: support version 2.3.0 and later

2017-12-07 Thread Rodger Combs
--- configure | 2 ++ libavcodec/libopenjpegdec.c | 29 +++-- libavcodec/libopenjpegenc.c | 29 +++-- 3 files changed, 48 insertions(+), 12 deletions(-) diff --git a/configure b/configure index ae0eddac6c..27bed3a20d 100755 ---

[FFmpeg-devel] [PATCH] build: fix build with OpenCL

2017-12-07 Thread Rodger Combs
--- fftools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fftools/Makefile b/fftools/Makefile index 094f6d6265..9b211aa4d5 100644 --- a/fftools/Makefile +++ b/fftools/Makefile @@ -21,7 +21,7 @@ OBJS-ffserver += fftools/ffserver_config.o