Re: [FFmpeg-devel] [PATCH]libavformat/http: fix http error eof

2017-05-23 Thread raymond zheng
You can close http link on your http server, and check ffurl_read result. Besides, this problem was caused by commit: 2a05c8f813de6f2278827734bf8102291e7484aa 2017-05-23 13:37 GMT+08:00 Steven Liu : > 2017-05-23 10:47 GMT+08:00 raymond zheng

Re: [FFmpeg-devel] [PATCH]libavformat/http: fix http error eof

2017-05-23 Thread Steven Liu
2017-05-23 14:01 GMT+08:00 raymond zheng : > You can close http link on your http server, and check ffurl_read result. > > Besides, this problem was caused by commit: > 2a05c8f813de6f2278827734bf8102291e7484aa > ping Ronald S. Bultje > > 2017-05-23 13:37 GMT+08:00

Re: [FFmpeg-devel] question on mosiac video issues -shortest

2017-05-23 Thread Kieran Kunhya
On Tue, 23 May 2017 at 10:26 Moritz Barsnick wrote: > On Sun, May 21, 2017 at 23:36:07 +, Kyle Douglas wrote: > > When using the param -shortest appears to have no impact on my ffmpeg > > command using multiple inputs as source. One is a looping slate video > that > > stops

Re: [FFmpeg-devel] [PATCH 2/2] lavc/ffjni: add missing '\n'

2017-05-23 Thread Matthieu Bouron
On Mon, May 22, 2017 at 06:20:07PM +0200, Matthieu Bouron wrote: > On Sun, May 21, 2017 at 06:56:42PM +0200, Matthieu Bouron wrote: > > On Sun, May 21, 2017 at 06:36:10PM +0200, Carl Eugen Hoyos wrote: > > > 2017-05-21 18:17 GMT+02:00 Matthieu Bouron : > > > > > > > -

[FFmpeg-devel] [PATCH] lavf: consider codec timebase for framerate detection

2017-05-23 Thread wm4
Fixes detection of some TV sample as 24.5 FPS. With the patch applied, it's detected as 25 FPS. --- libavformat/utils.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index fbd8b58ac2..778a82aeee 100644 ---

Re: [FFmpeg-devel] [PATCH] lavf: consider codec timebase for framerate detection

2017-05-23 Thread wm4
On Tue, 23 May 2017 13:36:51 +0200 wm4 wrote: > Fixes detection of some TV sample as 24.5 FPS. With the patch applied, > it's detected as 25 FPS. > --- > libavformat/utils.c | 22 ++ > 1 file changed, 22 insertions(+) > > diff --git

Re: [FFmpeg-devel] [PATCH 1/3] lavc/mediacodec_wrapper: fix local reference leaks

2017-05-23 Thread Matthieu Bouron
On Sun, May 21, 2017 at 06:15:29PM +0200, Matthieu Bouron wrote: > --- > libavcodec/mediacodec_wrapper.c | 37 ++--- > 1 file changed, 26 insertions(+), 11 deletions(-) > > diff --git a/libavcodec/mediacodec_wrapper.c b/libavcodec/mediacodec_wrapper.c > index

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Moritz Barsnick
On Tue, May 23, 2017 at 12:28:48 +0200, Stefano Sabatini wrote: > -if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO) { > +if (s->codec_id != AV_CODEC_ID_MPEG2VIDEO && > +s->strict_std_compliance >= FF_COMPLIANCE_NORMAL) { > av_log(avctx, AV_LOG_ERROR, > -

[FFmpeg-devel] [PATCH] udp: ignore UDP packets without payload

2017-05-23 Thread Daniel Kucera
Time to time some devices send UDP packets without payload. ffmpeg previously exited on receiving such packet, this patch fixes this behaviour. Signed-off-by: Daniel Kucera --- libavformat/udp.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH 1/2] fate: add aac-al_sbr_ps_06_ur test

2017-05-23 Thread James Almer
Signed-off-by: James Almer --- Samples in ftp://mpaudconf:adif2...@ftp.iis.fhg.de/mpeg4audio-conformance/compressedMp4/al_sbr_ps_04_new.mp4 http://0x0.st/ESa.s16 (should be renamed to al_sbr_ps_04_ur.s16) The raw pcm reference was created with our decoder running the test with

[FFmpeg-devel] [PATCH 2/2] x86/aacps: add ff_ps_stereo_interpolate_ipdopd_sse3()

2017-05-23 Thread James Almer
About 2x faster than the c version. Signed-off-by: James Almer --- libavcodec/x86/aacpsdsp.asm| 51 ++ libavcodec/x86/aacpsdsp_init.c | 4 2 files changed, 55 insertions(+) diff --git a/libavcodec/x86/aacpsdsp.asm

[FFmpeg-devel] [PATCH] avcodec/sbrdsp_template: Fix: runtime error: signed integer overflow: 849815297 + 1315389781 cannot be represented in type 'int'

2017-05-23 Thread Michael Niedermayer
Fixes: 1770/clusterfuzz-testcase-minimized-5285511235108864 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/sbrdsp_template.c | 9 +++-- 1 file changed, 7

[FFmpeg-devel] [PATCH] avutil/pixfmt: remove superfluous define

2017-05-23 Thread James Almer
It's an AVColorSpace value since 82ad9cbd32c873bced9adf4a2bb67dcda7294c61. Signed-off-by: James Almer --- libavutil/pixfmt.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 3c915c6421..6b7eea8c4e 100644 ---

Re: [FFmpeg-devel] [PATCH] examples/encode_video: slightly improve error reporting

2017-05-23 Thread Michael Niedermayer
On Tue, May 23, 2017 at 12:28:41PM +0200, Stefano Sabatini wrote: > --- > doc/examples/encode_video.c | 7 --- > 1 file changed, 4 insertions(+), 3 deletions(-) LGTM thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government

Re: [FFmpeg-devel] [PATCH] examples/encode_video: add log

2017-05-23 Thread Michael Niedermayer
On Tue, May 23, 2017 at 12:28:33PM +0200, Stefano Sabatini wrote: > This helps to visualize how the send/receive API works. > --- > doc/examples/encode_video.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) LGTM thx [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH 1/2] fate: add aac-al_sbr_ps_06_ur test

2017-05-23 Thread Michael Niedermayer
On Tue, May 23, 2017 at 04:01:17PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > Samples in > ftp://mpaudconf:adif2...@ftp.iis.fhg.de/mpeg4audio-conformance/compressedMp4/al_sbr_ps_04_new.mp4 > http://0x0.st/ESa.s16 (should be renamed to al_sbr_ps_04_ur.s16)

[FFmpeg-devel] H.264 "shallow" recoding

2017-05-23 Thread Vladislav Gelfer
Hi All. I'm working on a (sort of a) VOIP application for mobile with video support. Most of modern smartphones are equipped with hardware H.264 encoder/decoder. However most of those support only a limited number of encoding profiles. In particular I'm interested in SVC, which is not supported

[FFmpeg-devel] [PATCH 1/2] avcodec/wavpack: Fix: runtime error: signed integer overflow: 3 * -2147483648 cannot be represented in type 'int'

2017-05-23 Thread Michael Niedermayer
Fixes: 1776/clusterfuzz-testcase-minimized-6191258231898112 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/wavpack.c | 4 ++-- 1 file changed, 2 insertions(+), 2

[FFmpeg-devel] [PATCH 2/2] avcodec/wavpack: Fix runtime error: left shift of negative value -14778

2017-05-23 Thread Michael Niedermayer
Fixes: 1778/clusterfuzz-testcase-minimized-5128953268273152 Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer --- libavcodec/wavpack.c | 4 ++-- 1 file changed, 2 insertions(+), 2

Re: [FFmpeg-devel] [PATCH/WIP] avcodec/x86: move simple_idct to external assembly

2017-05-23 Thread James Darnley
On 2017-05-18 19:13, Ronald S. Bultje wrote: > - do you think a checkasm test makes sense? That would also make > performance measuring easier. The (I)DCT code seems to have its own test program in the fate-idct8x8 test. That is built from libavcodec/tests/dct.c. It even includes its own

Re: [FFmpeg-devel] question on mosiac video issues -shortest

2017-05-23 Thread Kyle Douglas
I resolved my issue by setting input stream framrates today. Just didn't get time to update this thread if others have an issue give that a try as it was a easy fix to deploy on each input. On Tue, May 23, 2017 at 07:13 Kieran Kunhya wrote: > On Tue, 23 May 2017 at 10:26 Moritz

Re: [FFmpeg-devel] [PATCH 1/6] avformat/movenc: always check for new extradata on a packet

2017-05-23 Thread James Almer
On 5/18/2017 8:15 PM, James Almer wrote: > On 4/13/2017 4:54 PM, James Almer wrote: >> Don't just look at zero sized packets, and also check for AAC extradata >> updates, in preparation for the following patches. >> >> Signed-off-by: James Almer >> --- >> libavformat/movenc.c

Re: [FFmpeg-devel] [PATCH 1/4] avformat/movenc: add support for writing Mastering Display Metadata Box

2017-05-23 Thread James Almer
On 5/17/2017 9:49 PM, James Almer wrote: > As defined in "VP Codec ISO Media File Format Binding v1.0" > https://github.com/webmproject/vp9-dash/blob/master/VPCodecISOMediaFileFormatBinding.md > > Signed-off-by: James Almer > --- > libavformat/movenc.c | 37

Re: [FFmpeg-devel] [PATCH]libavformat/http: fix http error eof

2017-05-23 Thread raymond zheng
ping Ronald S. Bultje 2017-05-23 15:02 GMT+08:00 Steven Liu : > 2017-05-23 14:01 GMT+08:00 raymond zheng : > > > You can close http link on your http server, and check ffurl_read > result. > > > > Besides, this problem was caused by commit: >

[FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Stefano Sabatini
Forcing low_delay can be useful, even if not officially supported. --- libavcodec/mpegvideo_enc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c index db241c8..1123788 100644 --- a/libavcodec/mpegvideo_enc.c +++

Re: [FFmpeg-devel] [PATCH] lavc/mpegvideo_enc: allow to force low_delay by increasing strict_std_compliance

2017-05-23 Thread Steven Liu
2017-05-23 18:28 GMT+08:00 Stefano Sabatini : > Forcing low_delay can be useful, even if not officially supported. > --- > libavcodec/mpegvideo_enc.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/mpegvideo_enc.c

[FFmpeg-devel] [PATCH] examples/encode_video: add log

2017-05-23 Thread Stefano Sabatini
This helps to visualize how the send/receive API works. --- doc/examples/encode_video.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c index d2075c1..107bea2 100644 --- a/doc/examples/encode_video.c +++

[FFmpeg-devel] [PATCH] examples/encode_video: slightly improve error reporting

2017-05-23 Thread Stefano Sabatini
--- doc/examples/encode_video.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/examples/encode_video.c b/doc/examples/encode_video.c index 107bea2..8cd1321 100644 --- a/doc/examples/encode_video.c +++ b/doc/examples/encode_video.c @@ -89,7 +89,7 @@ int main(int

Re: [FFmpeg-devel] question on mosiac video issues -shortest

2017-05-23 Thread Moritz Barsnick
On Sun, May 21, 2017 at 23:36:07 +, Kyle Douglas wrote: > When using the param -shortest appears to have no impact on my ffmpeg > command using multiple inputs as source. One is a looping slate video that > stops and it seems to stop all other inputs when making a mp4 archive. Any >