[FFmpeg-devel] [PATCH] avformat/movenc: write track data in minf->hdlr for MOV

2018-07-08 Thread Gyan Doshi
From 13c0956d4892fd236e2923e88ef8d4fb0de1e080 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Sun, 8 Jul 2018 12:05:34 +0530 Subject: [PATCH] avformat/movenc: write track data in minf->hdlr for MOV 95 FATE references updated due to changed track handler names Fixes #7104 --- libavformat/movenc.

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudiodecheader.c : prevent reserved id misinterpretation

2018-07-08 Thread Michael Niedermayer
On Sat, Jul 07, 2018 at 10:29:11PM +0200, Karsten Otto wrote: > Check the MPEG version ID for the reserved bit pattern 01, and abort header > parsing in that case. This reduces the chance of misinterpreting arbitrary > data as a valid frame start, and prevents the resulting audio artifacts. > --- >

Re: [FFmpeg-devel] [PATCH v4 2/3] aadec: add chapters and seeking

2018-07-08 Thread Michael Niedermayer
On Sat, Jul 07, 2018 at 07:41:28PM +0200, Karsten Otto wrote: > read_packet reads content in chunks. Thus seek must be clamped to valid > chunk positions in the file, which in turn are relative to chapter start > positions. > > So in read_header, scan for chapter headers once by skipping through t

Re: [FFmpeg-devel] [PATCH v4 1/3] aadec: improve eof detection

2018-07-08 Thread Michael Niedermayer
On Sat, Jul 07, 2018 at 07:41:27PM +0200, Karsten Otto wrote: > Remember the end position of audio content in the file and check it during > read_packet. There always seems to be other data beyond it, which could be > misinterpreted as more audio. Also add some extra avio_read error checks, > to ba

Re: [FFmpeg-devel] [PATCH v4 2/3] aadec: add chapters and seeking

2018-07-08 Thread Karsten Otto
> Am 08.07.2018 um 11:12 schrieb Michael Niedermayer : > > Signierter PGP-Teil > On Sat, Jul 07, 2018 at 07:41:28PM +0200, Karsten Otto wrote: >> read_packet reads content in chunks. Thus seek must be clamped to valid >> chunk positions in the file, which in turn are relative to chapter start >>

[FFmpeg-devel] [PATCH v5 2/3] aadec: add chapters and seeking

2018-07-08 Thread Karsten Otto
read_packet reads content in chunks. Thus seek must be clamped to valid chunk positions in the file, which in turn are relative to chapter start positions. So in read_header, scan for chapter headers once by skipping through the content. Set stream time_base based on bitrate in bytes/s, for easy t

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudiodecheader.c : prevent reserved id misinterpretation

2018-07-08 Thread Karsten Otto
> Am 08.07.2018 um 10:58 schrieb Michael Niedermayer : > > Signierter PGP-Teil > On Sat, Jul 07, 2018 at 10:29:11PM +0200, Karsten Otto wrote: >> Check the MPEG version ID for the reserved bit pattern 01, and abort header >> parsing in that case. This reduces the chance of misinterpreting arbitra

[FFmpeg-devel] [PATCH] libavcodec/mpegaudiodecheader.h : detect reserved mpeg id

2018-07-08 Thread Karsten Otto
Check the MPEG version ID for the reserved bit pattern 01, and abort the header check in that case. This reduces the chance of misinterpreting arbitrary data as a valid header, and prevents resulting audio artifacts. --- libavcodec/mpegaudiodecheader.h | 3 +++ 1 file changed, 3 insertions(+) dif

[FFmpeg-devel] [PATCH] avutil/pixelutils: correct the function name in comments

2018-07-08 Thread Jun Zhao
Signed-off-by: Jun Zhao --- libavutil/x86/pixelutils.asm | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavutil/x86/pixelutils.asm b/libavutil/x86/pixelutils.asm index 7af3007..171a3d1 100644 --- a/libavutil/x86/pixelutils.asm +++ b/libavutil/x86/pixelutils.asm @@ -

Re: [FFmpeg-devel] [PATCH] fate: allow temp files for passed test to be kept

2018-07-08 Thread Gyan Doshi
Ping. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [GSoC] FFserver: Add HLS and DASH

2018-07-08 Thread Michael Niedermayer
On Thu, Jun 28, 2018 at 02:51:00AM +0200, Stephan Holljes wrote: > This patchset took embarrassingly long to produce. I first took a few wrong > turns, but I think I'm now at a point where I reached the limits of the > public server API in libavformat. The main problem is that I cannot set > option

Re: [FFmpeg-devel] [PATCH] lavfi/minterpolate: fix blending calc issue.

2018-07-08 Thread myp...@gmail.com
On Fri, Jul 6, 2018 at 3:21 PM Steven Liu wrote: > > myp...@gmail.com 于2018年7月4日周三 下午3:05写道: > > > > On Wed, Jun 27, 2018 at 5:52 PM Jun Zhao wrote: > > > > > > the right blending calc is: > > > (alpha * Frame_2 + (MAX - alpha) * Frame_1 + 512) >> 10 > > > > > > Signed-off-by: Jun Zhao > > > --

Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_ps: use skip_bits instead of get_bits when skip bits.

2018-07-08 Thread myp...@gmail.com
On Sat, Jul 7, 2018 at 6:32 PM Carl Eugen Hoyos wrote: > > 2018-07-07 7:48 GMT+02:00, Jun Zhao : > > use skip_bits when want to skip some bits. > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/hevc_ps.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/libavcod

Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_ps: use skip_bits instead of get_bits when skip bits.

2018-07-08 Thread James Almer
On 7/8/2018 9:16 PM, myp...@gmail.com wrote: > On Sat, Jul 7, 2018 at 6:32 PM Carl Eugen Hoyos wrote: >> >> 2018-07-07 7:48 GMT+02:00, Jun Zhao : >>> use skip_bits when want to skip some bits. >>> >>> Signed-off-by: Jun Zhao >>> --- >>> libavcodec/hevc_ps.c | 2 +- >>> 1 file changed, 1 insertio

Re: [FFmpeg-devel] [PATCH] libavcodec/mpegaudiodecheader.h : detect reserved mpeg id

2018-07-08 Thread Michael Niedermayer
On Sun, Jul 08, 2018 at 12:26:10PM +0200, Karsten Otto wrote: > Check the MPEG version ID for the reserved bit pattern 01, and abort the > header check in that case. This reduces the chance of misinterpreting > arbitrary data as a valid header, and prevents resulting audio artifacts. > --- > libav

Re: [FFmpeg-devel] [PATCH v5 2/3] aadec: add chapters and seeking

2018-07-08 Thread Michael Niedermayer
On Sun, Jul 08, 2018 at 11:46:26AM +0200, Karsten Otto wrote: > read_packet reads content in chunks. Thus seek must be clamped to valid > chunk positions in the file, which in turn are relative to chapter start > positions. > > So in read_header, scan for chapter headers once by skipping through t

Re: [FFmpeg-devel] [PATCH 2/2] lavc/hevc_ps: use skip_bits instead of get_bits when skip bits.

2018-07-08 Thread myp...@gmail.com
On Mon, Jul 9, 2018 at 8:41 AM James Almer wrote: > > On 7/8/2018 9:16 PM, myp...@gmail.com wrote: > > On Sat, Jul 7, 2018 at 6:32 PM Carl Eugen Hoyos wrote: > >> > >> 2018-07-07 7:48 GMT+02:00, Jun Zhao : > >>> use skip_bits when want to skip some bits. > >>> > >>> Signed-off-by: Jun Zhao > >>>

[FFmpeg-devel] [PATCH] lavfi: add vflip_opencl, hflip_opencl

2018-07-08 Thread Danil Iashchenko
lavfi: add vflip_opencl, hflip_opencl. Behaves like existing vflip, hflip filters. --- configure | 2 + libavfilter/Makefile | 4 + libavfilter/allfilters.c | 2 + libavfilter/opencl/vflip.cl | 60 ++ libavfilter/opencl_source.h | 1 + libavfi

[FFmpeg-devel] How to wire asm to the makefile

2018-07-08 Thread Book Moons
Hello, I have a Power optimized function in asm for an upcoming patch. Having some trouble figuring out how to wire it up to the makefiles / build system. Are there any docs on how to do that? The only other example of Power asm seems to be libavcodec/ppc/fft_altivec.S. That's simply appended

Re: [FFmpeg-devel] [PATCH] fate: allow temp files for passed test to be kept

2018-07-08 Thread Gyan Doshi
On 08-07-2018 11:27 PM, Gyan Doshi wrote: Ping. Will push tonight if no objections. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] How to wire asm to the makefile

2018-07-08 Thread Book Moons
(Those *_altivec files in libswscale are C code with intrinsics) ‐‐‐ Original Message ‐‐‐ On July 9, 2018 12:29 AM, Book Moons wrote: > Hello, > > I have a Power optimized function in asm for an upcoming patch. Having some > trouble figuring out how to wire it up to the makefiles / bu