Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Lauri Kasanen
On Fri, 10 May 2019 10:08:57 -0700 Philip Langdale wrote: > On 2019-05-10 08:12, Lauri Kasanen wrote: > > On Fri, 10 May 2019 08:07:45 -0700 > > Philip Langdale wrote: > > > >> On Fri, 10 May 2019 09:35:40 +0300 > >> Lauri Kasanen wrote: > >> > >> > > >> > I'm having trouble making out what for

Re: [FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Shivam Goyal
On 11-05-2019 03:21, Reimar Döffinger wrote: > On 10.05.2019, at 15:10, Shivam Goyal wrote: > >> -> Making two avio contexts and one calling the other ( I am not sure if >> i implemented it in the right way, but still i reached low level ). > > Can't you at least figure out the header size, dec

Re: [FFmpeg-devel] [PATCH v2 2/2] fftools/ffmpeg: Add stream metadata from first frame's metadata

2019-05-10 Thread Jun Li
On Thu, May 9, 2019 at 1:52 AM Nicolas George wrote: > Jun Li (12019-05-06): > > I agree with it that the patch can't solve the case that "not all frames > > have the same orientation". > > The only way I can think of (correct me if I am wrong) is a filter that > > dynamic do tranformation per fr

[FFmpeg-devel] [PATCH v2] Add multiple padding method in dnn native

2019-05-10 Thread Xuewei Meng
--- libavfilter/dnn_backend_native.c | 52 libavfilter/dnn_backend_native.h | 3 ++ 2 files changed, 43 insertions(+), 12 deletions(-) diff --git a/libavfilter/dnn_backend_native.c b/libavfilter/dnn_backend_native.c index 06fbdf368b..171a756385 100644 --- a/libav

Re: [FFmpeg-devel] [PATCH 3/6] lavc/bink: Remove the dead code block

2019-05-10 Thread Peter Ross
On Sat, May 11, 2019 at 12:05:51AM +0800, Jun Zhao wrote: > From: Jun Zhao > > Remove the dead code block > > Signed-off-by: Jun Zhao > --- > libavcodec/bink.c |2 -- > 1 files changed, 0 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/bink.c b/libavcodec/bink.c > index 6673afa.

Re: [FFmpeg-devel] [PATCH v1] lavf/mov: Fix timestamp rescale on sidx atom

2019-05-10 Thread Jun Li
On Thu, May 9, 2019 at 2:08 AM Jun Li wrote: > Fix #5090 > Fix the timestamp rescale issue, from sidx timebase to > stream's timebase. > --- > libavformat/mov.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/mov.c b/libavformat/mov.c > index 78f692872b..d058

Re: [FFmpeg-devel] [PATCH 2/6] lavc/avpacket: check NULL before using the pointer

2019-05-10 Thread Michael Niedermayer
On Fri, May 10, 2019 at 10:00:54PM +0200, Carl Eugen Hoyos wrote: > Am Fr., 10. Mai 2019 um 18:13 Uhr schrieb Jun Zhao : > > > > From: Jun Zhao > > > > Need to check NULL before using the pointer > > > > Signed-off-by: Jun Zhao > > --- > > libavcodec/avpacket.c |3 ++- > > 1 files changed, 2

Re: [FFmpeg-devel] [PATCH v4] lavf/h264: add support for h264 video from Arecont camera, fixes ticket #5154

2019-05-10 Thread Reimar Döffinger
On Thu, May 09, 2019 at 11:45:59PM +0530, Shivam Goyal wrote: > @@ -117,4 +120,128 @@ static int h264_probe(const AVProbeData *p) > return 0; > } > > +static const uint8_t arecont_sign[] = {0x2D, 0x2D, 0x66, 0x62, 0x64, 0x72, > 0x0D, 0x0A}; I admit I was more thinking of either static const

Re: [FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Reimar Döffinger
On 10.05.2019, at 15:10, Shivam Goyal wrote: > > -> Making two avio contexts and one calling the other ( I am not sure if > i implemented it in the right way, but still i reached low level ). Can't you at least figure out the header size, decrypt the header and pass that to the normal header

Re: [FFmpeg-devel] [PATCH 2/6] lavc/avpacket: check NULL before using the pointer

2019-05-10 Thread Carl Eugen Hoyos
Am Fr., 10. Mai 2019 um 18:13 Uhr schrieb Jun Zhao : > > From: Jun Zhao > > Need to check NULL before using the pointer > > Signed-off-by: Jun Zhao > --- > libavcodec/avpacket.c |3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/libavcodec/avpacket.c b/libavcodec/avp

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-10 Thread Carl Eugen Hoyos
Am Fr., 10. Mai 2019 um 19:54 Uhr schrieb Lynne : > > May 10, 2019, 4:14 PM by d...@lynne.ee: > > > Patch updated again. > > Made some more cleanups to the transforms, the tables and the main context. > > API changed again, now the init function populates the function pointer for > > transform. >

Re: [FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-10 Thread Daniel Kučera
> Can you also add a keypress event to make it switchable during play? > > Thanks, > Gyan I haven't found a function which would allow to modify window flags after creation: https://wiki.libsdl.org/SDL_GetWindowFlags -- S pozdravom / Best regards Daniel Kucera.

Re: [FFmpeg-devel] [PATCH 4/6] lavc/libvpxenc: remove redundant condition check

2019-05-10 Thread Vignesh Venkatasubramanian
From: Jun Zhao Date: Fri, May 10, 2019 at 9:06 AM To: Cc: Jun Zhao > From: Jun Zhao > > Redundant condition: '!A || B' is equivalent to '!A || (A && B)' but > more clearly. > > Signed-off-by: Jun Zhao > --- > libavcodec/libvpxenc.c |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-)

Re: [FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-10 Thread Gyan
On 10-05-2019 03:42 PM, Daniel Kucera wrote: From: Daniel Kucera Signed-off-by: Daniel Kucera --- doc/ffplay.texi | 2 ++ fftools/ffplay.c | 4 2 files changed, 6 insertions(+) diff --git a/doc/ffplay.texi b/doc/ffplay.texi index c305465078..a37c02dc0d 100644 --- a/doc/ffplay.texi

Re: [FFmpeg-devel] [SOLVED] movie Filter reload Option

2019-05-10 Thread TalkVideo
I am marking this as [SOLVED] as I found a command line combination that does what I need. I think it is proper enough. I am testing it as follows, and will respond with results. Using 3 separate console windows: 1) A script like this is running: while :; do date +%s > live.txt; cp 1px-Alpha.png

Re: [FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-10 Thread Lynne
May 10, 2019, 4:14 PM by d...@lynne.ee: > Patch updated again. > Made some more cleanups to the transforms, the tables and the main context. > API changed again, now the init function populates the function pointer for > transform. > I decided that having a separate function would encourage bad u

Re: [FFmpeg-devel] Possible memory leaks in dshow capture

2019-05-10 Thread Roger Pack
Thanks for cleaning that up! On Thu, Jan 3, 2019 at 9:32 AM James Almer wrote: > > On 1/3/2019 1:12 PM, Oliver Collyer wrote: > > Version created using git format-patch. > > Applied, thanks. > ___ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org >

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Philip Langdale
On 2019-05-10 08:12, Lauri Kasanen wrote: On Fri, 10 May 2019 08:07:45 -0700 Philip Langdale wrote: On Fri, 10 May 2019 09:35:40 +0300 Lauri Kasanen wrote: > > I'm having trouble making out what formats exactly isSemiPlanarYUV() > matches. Are you sure it's an equivalent check? > Well, the

[FFmpeg-devel] [PATCH 2/6] lavc/avpacket: check NULL before using the pointer

2019-05-10 Thread Jun Zhao
From: Jun Zhao Need to check NULL before using the pointer Signed-off-by: Jun Zhao --- libavcodec/avpacket.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libavcodec/avpacket.c b/libavcodec/avpacket.c index 8f0603d..2b20067 100644 --- a/libavcodec/avpacket.c +++ b/

[FFmpeg-devel] [PATCH 3/6] lavc/bink: Remove the dead code block

2019-05-10 Thread Jun Zhao
From: Jun Zhao Remove the dead code block Signed-off-by: Jun Zhao --- libavcodec/bink.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/libavcodec/bink.c b/libavcodec/bink.c index 6673afa..d0f1b39 100644 --- a/libavcodec/bink.c +++ b/libavcodec/bink.c @@ -1046,8 +1046

[FFmpeg-devel] [PATCH 6/6] lavc/pngenc: check malloc fail before using the pointer

2019-05-10 Thread Jun Zhao
From: Jun Zhao Need to check malloc fail before using the pointer Signed-off-by: Jun Zhao --- libavcodec/pngenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c index 69b4495..d4d8dc8 100644 --- a/libavcodec/pngenc.c +++ b/li

[FFmpeg-devel] [PATCH 5/6] lavc/mlpenc: remove the redundant condition check

2019-05-10 Thread Jun Zhao
From: Jun Zhao remove the redundant condition check for 'frame' Signed-off-by: Jun Zhao --- libavcodec/mlpenc.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/libavcodec/mlpenc.c b/libavcodec/mlpenc.c index 7536d3b..deb1716 100644 --- a/libavcodec/mlpenc.c +++ b/

[FFmpeg-devel] [PATCH 1/6] lavc/aacenc_ltp: remove unnecessary condition check.

2019-05-10 Thread Jun Zhao
From: Jun Zhao Condition 'sum==2' is always true, so remove the check logic to make the code clean. Signed-off-by: Jun Zhao --- libavcodec/aacenc_ltp.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/aacenc_ltp.c b/libavcodec/aacenc_ltp.c index 674a2a0..f77

[FFmpeg-devel] [PATCH 4/6] lavc/libvpxenc: remove redundant condition check

2019-05-10 Thread Jun Zhao
From: Jun Zhao Redundant condition: '!A || B' is equivalent to '!A || (A && B)' but more clearly. Signed-off-by: Jun Zhao --- libavcodec/libvpxenc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index c823b8a..feb52ea

Re: [FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-05-10 Thread Baptiste Coudurier
> On Apr 10, 2019, at 3:16 PM, James Almer wrote: > > On 4/10/2019 6:23 PM, Baptiste Coudurier wrote: >> --- >> libavformat/Makefile | 2 +- >> libavformat/avc.c| 173 +++ >> libavformat/avc.h| 15 +++ >> libavformat/hevc.c | 36 +--- >> libavformat/m

[FFmpeg-devel] [PATCH] avformat/mxfenc: support XAVC long gop

2019-05-10 Thread Baptiste Coudurier
--- libavformat/Makefile | 2 +- libavformat/avc.c| 188 ++ libavformat/avc.h| 15 +++ libavformat/hevc.c | 36 +--- libavformat/mxf.h| 1 + libavformat/mxfenc.c | 213 ++- 6 files changed, 374 inse

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Philip Langdale
On Fri, 10 May 2019 09:35:40 +0300 Lauri Kasanen wrote: > > I'm having trouble making out what formats exactly isSemiPlanarYUV() > matches. Are you sure it's an equivalent check? > Well, the check's been in there for quite a while; that's not new. (isPlanarYUV(pix_fmt) && desc->comp[1].plane

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Lauri Kasanen
On Fri, 10 May 2019 08:07:45 -0700 Philip Langdale wrote: > On Fri, 10 May 2019 09:35:40 +0300 > Lauri Kasanen wrote: > > > > > I'm having trouble making out what formats exactly isSemiPlanarYUV() > > matches. Are you sure it's an equivalent check? > > > > Well, the check's been in there for qui

[FFmpeg-devel] [PATCH v2] libavutil: add an FFT & MDCT implementation

2019-05-10 Thread Lynne
Patch updated again. Made some more cleanups to the transforms, the tables and the main context. API changed again, now the init function populates the function pointer for transform. I decided that having a separate function would encourage bad usage (e.g. calling the function every time before

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Philip Langdale
On Fri, 10 May 2019 11:03:46 +0200 Carl Eugen Hoyos wrote: > Am Fr., 10. Mai 2019 um 07:59 Uhr schrieb Philip Langdale > : > > > > I don't think this is terribly useful, as the only thing out there > > that can even handle NV24 content is VDPAU and the only time you > > have to deal with it is wh

[FFmpeg-devel] [PATCH] avfilter/drawtext: make command processing error-resilient

2019-05-10 Thread Gyan
At present, if the command args passed to drawtext contain any invalid values, ffmpeg may crash or, at best, stop drawing any text. Attached patch gets the filter to continue with existing parameters, if not all of the changes can be parsed or applied. This allows users in live processing to cor

Re: [FFmpeg-devel] [PATCH] libavformat: forced PCR pid in mpegts muxer

2019-05-10 Thread Andreas Håkon
Ping. Waiting to review. A.H. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH v9] lavf/flv: Add XV (Xunlei Video) Support. fixes ticket #3720

2019-05-10 Thread Shivam Goyal
The patch is for ticket #3720. XV Xunlei video support. XV video is a flv video. The flv data starts from 0x20th byte and the next 0x400 bytes are rotated, to find the value by which the next 0x400 bytes are rotated. I subtracted the 0x20th byte from 0x46 ( 'F' ) ( As every flv video sta

[FFmpeg-devel] [PATCH] ffplay: added option always on top for video window

2019-05-10 Thread Daniel Kucera
From: Daniel Kucera Signed-off-by: Daniel Kucera --- doc/ffplay.texi | 2 ++ fftools/ffplay.c | 4 2 files changed, 6 insertions(+) diff --git a/doc/ffplay.texi b/doc/ffplay.texi index c305465078..a37c02dc0d 100644 --- a/doc/ffplay.texi +++ b/doc/ffplay.texi @@ -66,6 +66,8 @@ Set custom

Re: [FFmpeg-devel] [PATCH] swscale: Add support for NV24 and NV42

2019-05-10 Thread Carl Eugen Hoyos
Am Fr., 10. Mai 2019 um 07:59 Uhr schrieb Philip Langdale : > > I don't think this is terribly useful, as the only thing out there that > can even handle NV24 content is VDPAU and the only time you have to > deal with it is when doing VDPAU OpenGL interop where swscale is > irrelevant. In the other

Re: [FFmpeg-devel] [PATCH] avfilter/vf_unsharp: enable slice threading

2019-05-10 Thread Carl Eugen Hoyos
Am Fr., 10. Mai 2019 um 08:50 Uhr schrieb Song, Ruiling : > > > -Original Message- > > From: Song, Ruiling > > Sent: Thursday, May 9, 2019 3:43 PM > > To: ffmpeg-devel@ffmpeg.org > > Cc: Song, Ruiling > > Subject: [PATCH] avfilter/vf_unsharp: enable slice threading > > > > Signed-off-by: R