Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: allow hdlr name field to be empty

2018-06-20 Thread Gyan Doshi
On 20-06-2018 09:54 PM, Gyan Doshi wrote: Will push tomorrow. Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-06-20 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Mark Thompson > Sent: Thursday, June 21, 2018 8:33 AM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter. > > On 19/06/18 02:57, Ruil

Re: [FFmpeg-devel] ffmpeg patch for nonmonolithic increase dts error in subtitle

2018-06-20 Thread Markus Kohm
Am Mittwoch, 20. Juni 2018, 22:54:34 CEST schrieb Michael Niedermayer: > Please post a git compatible patch see attachtmentdiff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 6dfab64bc7..8d311a9ac8 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -772,7 +772,7 @@ static void write_packet

[FFmpeg-devel] [PATCH] rpza: fix the bounds check

2018-06-20 Thread Xiao Yang
Fixes invalid writes when there are more blocks in a run than total remaining blocks (see CVE-2014-8548) --- libavcodec/rpza.c |5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/rpza.c b/libavcodec/rpza.c index b71ebd1..7cb6b89 100644 --- a/libavcodec/rpza.c +++ b/libavcodec/

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-06-20 Thread myp...@gmail.com
On Thu, Jun 21, 2018 at 8:33 AM Mark Thompson wrote: > > On 19/06/18 02:57, Ruiling Song wrote: > > This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. > > > > An example command to use this filter with vaapi codecs: > > FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-06-20 Thread Song, Ruiling
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of > Moritz Barsnick > Sent: Wednesday, June 20, 2018 7:32 PM > To: FFmpeg development discussions and patches > Subject: Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter. > >

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-06-20 Thread Mark Thompson
On 19/06/18 02:57, Ruiling Song wrote: > This filter does HDR(HDR10/HLG) to SDR conversion with tone-mapping. > > An example command to use this filter with vaapi codecs: > FFMPEG -init_hw_device vaapi=va:/dev/dri/renderD128 -init_hw_device \ > opencl=ocl@va -hwaccel vaapi -hwaccel_device va -hwac

Re: [FFmpeg-devel] [PATCH] libavfilter/boxblur_opencl filter.

2018-06-20 Thread Mark Thompson
On 20/06/18 02:33, Danil Iashchenko wrote: > lavfi: Add boxblur_opencl filter. Behaves like existing boxblur filter. > --- > > Thanks, fixed. > > configure | 1 + > libavfilter/Makefile| 6 +- > libavfilter/allfilters.c| 1 + > libavfilter/boxblur.

Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate control configuration

2018-06-20 Thread Mark Thompson
On 20/06/18 10:44, Li, Zhong wrote: >> -Original Message- >> From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf >> Of Mark Thompson >> Sent: Sunday, June 17, 2018 9:51 PM >> To: ffmpeg-devel@ffmpeg.org >> Subject: Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up

Re: [FFmpeg-devel] ffmpeg patch for nonmonolithic increase dts error in subtitle

2018-06-20 Thread Michael Niedermayer
On Wed, Jun 20, 2018 at 09:09:11AM +0200, Markus Kohm wrote: > Recoding videos with subtitles, I often have problems with subtitle streams, > because the dts starts again with 0 after some time (I think, it is at > jumping > from DVD layer 1 to 2, but I'm not sure). > > There is code in ffmpeg.

Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-20 Thread Carl Eugen Hoyos
2018-06-20 22:43 GMT+02:00, Marton Balint : > > > On Mon, 11 Jun 2018, Marton Balint wrote: > >> >> >> On Mon, 11 Jun 2018, Carl Eugen Hoyos wrote: >> >>> Hi! >>> >>> Attached patch fixes a crash if SDL sends a keydown event before >>> stream and window initialization is finished, ticket #7252. >>

Re: [FFmpeg-devel] [PATCH]ffplay: Don't crash if stream_cycle_channel() is called before initialization

2018-06-20 Thread Marton Balint
On Mon, 11 Jun 2018, Marton Balint wrote: On Mon, 11 Jun 2018, Carl Eugen Hoyos wrote: Hi! Attached patch fixes a crash if SDL sends a keydown event before stream and window initialization is finished, ticket #7252. Wow, current ffplay code assumes that no keypress or mouse events will

Re: [FFmpeg-devel] [PATCH] avcodec/libzvbi-teletextdec: propagate ERASE_PAGE flag for repeated subtitle page headers

2018-06-20 Thread Marton Balint
On Mon, 11 Jun 2018, Marton Balint wrote: This works around a libzvbi bug (a corner case in the teletext spec): https://sourceforge.net/p/zapping/bugs/203/ https://sourceforge.net/p/zapping/patches/20/ Fixes samples/ffmpeg-bugs/trac/ticket2086/RBT_20100801_1835.ts. Signed-off-by: Marton Bali

Re: [FFmpeg-devel] libavutil/encryption_info: Allow multiple init info.

2018-06-20 Thread Jacob Trimble
On Thu, Jun 14, 2018 at 9:44 AM Jacob Trimble wrote: > > On Thu, Jun 7, 2018 at 11:51 AM Jacob Trimble wrote: > > > > On Thu, May 31, 2018 at 5:50 PM Jacob Trimble wrote: > > > > > > On Thu, May 31, 2018 at 9:40 AM Jacob Trimble wrote: > > > > > > > > On Fri, May 25, 2018 at 6:13 PM Michael Nie

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: allow hdlr name field to be empty

2018-06-20 Thread Gyan Doshi
On 20-06-2018 10:08 AM, Gyan Doshi wrote: On 20-06-2018 03:02 AM, Carl Eugen Hoyos wrote: if (mov->empty_hdlr_name) descr= ""; Changed locally. Will push tomorrow. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/ma

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Devin Heitmueller
Hello Ibrahim, > I do have another issue with Audio sync when segmenting live content coming > from satellite but without encoding (stream copying only). And since you > cannot use aresample when copying I am unsure how you would go about to > solve that issue. I can make a few general suggestion

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vc1: fix condition guarding overlap filter on I picture

2018-06-20 Thread Jerome Borsboom
> SA10178.vc1: 18 frames ok, last 7 frames are different this one decodes correctly when you force bitexact decoding: ffmpeg -bitexact -i SA10178.vc1 SA10178_s.yuv This is caused by the issue that my rejected patch 'avcodec/x86/hpeldsp: fix half pel interpolation' tried to resolve. The proposed

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Ibrahim Tachijian
I will give this a try to see if it will solve my issues when transcoding live content. I do have another issue with Audio sync when segmenting live content coming from satellite but without encoding (stream copying only). And since you cannot use aresample when copying I am unsure how you would g

[FFmpeg-devel] [PATCH] avcodec/vc1: fix check for missing CBPTAB

2018-06-20 Thread Jerome Borsboom
CBPTAB must be present in (non skipped) P and B pictures. Signed-off-by: Jerome Borsboom --- This patch set should fix decoding of the SA10135.vc1 test file to make it bit-equal to the reference decoder. libavcodec/vc1dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: allow ffmpeg to output stats for each video stream - Make ffmpeg to output stats for each video/audio streams and each ouptut file ffmpeg output log in print_repor

2018-06-20 Thread Wang Cao
Thanks for letting me know about this. I actually submitted another patch without long commit message. I will clean up according to your feedback after getting feedbacks from other people. On Sat, Jun 16, 2018 at 2:52 AM Michael Niedermayer wrote: > On Thu, Jun 14, 2018 at 08:35:48PM +0800, Wang

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/vc1: fix condition guarding overlap filter on I picture

2018-06-20 Thread Carl Eugen Hoyos
2018-06-20 13:10 GMT+02:00, Jerome Borsboom : > The overlap filter needs to run when PQUANT is 9 or higher, irrespective > of CONDOVER. > > Signed-off-by: Jerome Borsboom > --- > This patch set should fix decoding of the SA10125.vc1 test file to make it > bit-equal to the reference decoder. I can

Re: [FFmpeg-devel] [PATCH v4 1/2] lavfi: add opencl tonemap filter.

2018-06-20 Thread Moritz Barsnick
On Tue, Jun 19, 2018 at 09:57:31 +0800, Ruiling Song wrote: > As I didn't receive any other comment on v3, this version only fix the > comment from Michael. > And also include some little change to leverage CL_SET_KERNEL_ARG() macro. Could you kindly add some documentation to doc/filters.texi, at

[FFmpeg-devel] [PATCH 1/3] avcodec/vc1: fix condition guarding overlap filter on I picture

2018-06-20 Thread Jerome Borsboom
The overlap filter needs to run when PQUANT is 9 or higher, irrespective of CONDOVER. Signed-off-by: Jerome Borsboom --- This patch set should fix decoding of the SA10125.vc1 test file to make it bit-equal to the reference decoder. libavcodec/vc1_block.c | 2 +- 1 file changed, 1 insertion(+),

[FFmpeg-devel] [PATCH 2/3] avcodec/vc1: change the internal ordering of blocks within a macroblock

2018-06-20 Thread Jerome Borsboom
The overlap filter needs to cover a full macroblock vertical edge when the FIELDTX value for two neighbouring macroblocks is not equal. By changing the internal ordering of the blocks from row major to column major, we do not need to reinterlace a FIELDTX coded macroblock before running the overlap

[FFmpeg-devel] [PATCH 3/3] avcodec/vc1: fix overlap filter for frame interlaced pictures

2018-06-20 Thread Jerome Borsboom
The overlap filter is not correct for vertical edges in frame interlaced I and P pictures. When filtering macroblocks with different FIELDTX values, we have to match the lines at both sides of the vertical border. In addition, we have to use the correct rounding values, depending on the line we are

Re: [FFmpeg-devel] [PATCH] libavformat/yuv4mpeg: Add color range support for Y4M Add color_range support in Y4M. Also set pixel format and color_range for YUVJ pixel formats.

2018-06-20 Thread Wang Cao
It's in the yuv4mpegenc.c. I added a support for color range by specifying metadata in the Y4M header. On Thu, Jun 14, 2018 at 12:19 AM Carl Eugen Hoyos wrote: > 2018-06-13 18:03 GMT+02:00, Wang Cao : > > > @@ -220,6 +221,12 @@ static int yuv4_read_header(AVFormatContext *s) > >

Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate control configuration

2018-06-20 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Sunday, June 17, 2018 9:51 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH v2 16/36] vaapi_encode: Clean up rate > control configuration > > On 14/0

[FFmpeg-devel] [PATCH] ffmpeg.c: allow ffmpeg to output stats for each video stream

2018-06-20 Thread Wang Cao
Make ffmpeg to output stats for each video/audio streams and each ouptut file ffmpeg output log in print_report. The report of video/audio sizes is clear now as previously all output video/audio sizes were combined to report and it is unclear such stats is for one output files or aggregates for

[FFmpeg-devel] (no subject)

2018-06-20 Thread Wang Cao
For example: with (-psnr) frame= 450 fps=315 q=0.0 LPSNR=Y:44.15 U:43.21 V:42.36 *:43.64 size= 385kB time=00:00:15.01 bitrate= 210.0kbits/s speed=10.5x (video stats) size= 107kB time=00:00:15.13 bitrate= 58.0kbits/s speed=10.6x (audio stats) frame= 450 fps=112 q=0.0 LPSNR=Y:44.15 U:43.

[FFmpeg-devel] (no subject)

2018-06-20 Thread Wang Cao
For example: with (-psnr) frame= 450 fps=315 q=0.0 LPSNR=Y:44.15 U:43.21 V:42.36 *:43.64 size= 385kB time=00:00:15.01 bitrate= 210.0kbits/s speed=10.5x (video stats) size= 107kB time=00:00:15.13 bitrate= 58.0kbits/s speed=10.6x (audio stats) If there are multiple files, stats of the sec

Re: [FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Gyan Doshi
On 20-06-2018 01:25 PM, Ibrahim Tachijian wrote: If the diff is > 1 then I am considering the audio to be out of sync and restart the process. Is this correct ? Is it not? Why? Of course the best way is to implement something directly into ffmpeg. Have you tried inserting the aresample f

[FFmpeg-devel] Ffmpeg, UDP input source from satellite audio sync issues

2018-06-20 Thread Ibrahim Tachijian
Hey, So this is a problem that has been bugging me for years. 1. The source is udp and the actual source is satellite. 2. Knowing its satellite we also know the stream won't be 100% perfect, there will be losses. 3. Tranacoding with h264 and fdk-aac and outputting to hls. The problem is that aft

Re: [FFmpeg-devel] [PATCH] avcodec/qsvenc: fix version detection on cygwin

2018-06-20 Thread Li, Zhong
> -Original Message- > From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf > Of Mark Thompson > Sent: Sunday, June 17, 2018 11:48 PM > To: ffmpeg-devel@ffmpeg.org > Subject: Re: [FFmpeg-devel] [PATCH] avcodec/qsvenc: fix version detection > on cygwin > > On 15/06/18 15:52

[FFmpeg-devel] ffmpeg patch for nonmonolithic increase dts error in subtitle

2018-06-20 Thread Markus Kohm
Recoding videos with subtitles, I often have problems with subtitle streams, because the dts starts again with 0 after some time (I think, it is at jumping from DVD layer 1 to 2, but I'm not sure). There is code in ffmpeg.c to handle such nonmonolithic dts errors in video and audio streams, but