[FFmpeg-devel] [PATCH]Add disposition default when creating ffprobe-test.nut

2015-04-08 Thread Carl Eugen Hoyos
Hi! Attached patch changes ffprobe-test.nut and the ffprobe test output. It will allow to fix ticket #4455 easily by removing the avdevice dependency from the call to ffmpeg. I don't know how to add the avdevice dependency to tests/Makefile. Please comment, Carl Eugen diff --git

[FFmpeg-devel] HQX codec path: faster decode with multi threaded decoding of slices; fixed clipping bug

2015-04-08 Thread Ferdinand Oeinck
hqx.1.patch Description: Binary data hqx.2.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc-fmtctx is allocated by avformat_open_input. I added a call to avformat_alloc_context() before ff_copy_whitelists and the libquvi demuxer works. However, I

Re: [FFmpeg-devel] [PATCH] [BACKPORT] tests: Fix test name for pixfmts tests

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 05:33:59AM +, Timothy Gu wrote: Hi, Please if possible backport the following commit to all release branches currently being tested: locally done thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Avoid a single point of

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 10:55:45 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc-fmtctx is allocated by avformat_open_input. I added a

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 11:02:47AM +0200, wm4 wrote: On Wed, 8 Apr 2015 10:55:45 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: On Wed, 8 Apr 2015 17:22:58 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: On Wed, 8 Apr 2015 15:37:03 +0200 Gilles Chanteperdrix

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 18:07, Michael Niedermayer michae...@gmx.at wrote: On Wed, Apr 08, 2015 at 06:02:16PM +0200, wm4 wrote: On Wed, 8 Apr 2015 17:52:18 +0200 Michael Niedermayer michae...@gmx.at wrote: On Wed, Apr 08, 2015 at 05:40:17PM +0200, Gilles Chanteperdrix wrote: On Wed, Apr

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 17:22:58 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: On Wed, 8 Apr 2015 15:37:03 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200,

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 17:40:17 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 05:29:13PM +0200, wm4 wrote: On Wed, 8 Apr 2015 17:22:58 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 04:13:58PM +0200,

[FFmpeg-devel] [PATCH] chorus filter

2015-04-08 Thread Paul B Mahol
Signed-off-by: Paul B Mahol one...@gmail.com --- doc/filters.texi | 54 +++ libavfilter/Makefile | 1 + libavfilter/af_chorus.c | 379 +++ libavfilter/allfilters.c | 1 + 4 files changed, 435 insertions(+) create mode 100644

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc-fmtctx

Re: [FFmpeg-devel] [PATCH] chorus filter

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 01:06:19PM +, Paul B Mahol wrote: Signed-off-by: Paul B Mahol one...@gmail.com --- doc/filters.texi | 54 +++ libavfilter/Makefile | 1 + libavfilter/af_chorus.c | 379 +++ libavfilter/allfilters.c

Re: [FFmpeg-devel] HQX codec path: faster decode with multi threaded decoding of slices; fixed clipping bug

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 09:26:05AM +0200, Ferdinand Oeinck wrote: [...] -put_blocks(pic, 0, x, y, flag, ctx-block[0], ctx-block[2], hqx_quant_luma); -put_blocks(pic, 0, x + 8, y, flag, ctx-block[1], ctx-block[3], hqx_quant_luma); -put_blocks(pic, 2, x 1, y, flag,

Re: [FFmpeg-devel] Areas needing work

2015-04-08 Thread Michael Niedermayer
On Tue, Apr 07, 2015 at 09:08:10PM +0530, Mayank Agarwal wrote: Hi I am interested in contributing to any of the projects.Please enroll me and tell me the procedure how can i contribute to ffmpeg You can work on anything you like to work on, anything thats fun to you. Add support for a not

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: Hi, I just triend libquvi, and get a segmentation fault in the libquvi_read_header function, because ff_copy_whitelists is called before qc-fmtctx is allocated by avformat_open_input. I added a call to

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Lukasz Marek
On 8 April 2015 at 15:37, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote: Hi, I just triend libquvi, and get a segmentation fault in

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: On 8 April 2015 at 15:37, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote:

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 04:01:38PM +0200, Gilles Chanteperdrix wrote: On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: On 8 April 2015 at 15:37, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 04:13:58PM +0200, wm4 wrote: On Wed, 8 Apr 2015 15:37:03 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote:

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 16:18:29 +0200 Michael Niedermayer michae...@gmx.at wrote: On Wed, Apr 08, 2015 at 03:37:03PM +0200, Gilles Chanteperdrix wrote: On Wed, Apr 08, 2015 at 02:40:52PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 10:55:45AM +0200, Gilles Chanteperdrix wrote:

[FFmpeg-devel] [RFC][PATCH] avformat/flvdec: avoid reseting eof_reached to 0 silently

2015-04-08 Thread Zhang Rui
avio_feof() and avio_seek() could reset eof_reached to 0, after some silent IO error in avio_r*(). And the reconnection caused by seek makes demuxer to continue read at wrong position. --- libavformat/flvdec.c | 66 1 file changed, 41

Re: [FFmpeg-devel] Segmentation fault in libquvi.c

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 04:26:20PM +0200, Michael Niedermayer wrote: On Wed, Apr 08, 2015 at 04:01:38PM +0200, Gilles Chanteperdrix wrote: On Wed, Apr 08, 2015 at 03:51:36PM +0200, Lukasz Marek wrote: On 8 April 2015 at 15:37, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote:

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Nicolas George
Le nonidi 19 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : Signed-off-by: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/youtubedl.c | 221 +++ 3

Re: [FFmpeg-devel] [PATCH] microdvd: do not export framerate hint as subtitle packet

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 07:55:04PM +0200, wm4 wrote: MicroDVD has a hack for specifying the video framerate the subtitle was authored against. The demuxer reads this hint correctly, but didn't skip it correctly. This was not noticed, because the exported packet has its duration set to 0,

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-08 Thread Rodger Combs
On Apr 4, 2015, at 05:31, Rodger Combs rodger.co...@gmail.com wrote: --- libavformat/assenc.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/libavformat/assenc.c b/libavformat/assenc.c index 3fb9384..5222616 100644 ---

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 02:08:21PM -0400, compn wrote: On Wed, 8 Apr 2015 19:51:12 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 07:44:13PM +0200, wm4 wrote: On Wed, 8 Apr 2015 19:39:00 +0200 Gilles Chanteperdrix

Re: [FFmpeg-devel] [PATCH 1/3] avformat/libquvi: fix error handling

2015-04-08 Thread Michael Niedermayer
On Wed, Apr 08, 2015 at 09:22:06PM +0200, Nicolas George wrote: Le nonidi 19 germinal, an CCXXIII, Michael Niedermayer a écrit : + av_log(s, AV_LOG_ERROR, %s\n, quvi_strerror(q, rc)); is quvi_strerror() thread safe ? Looking at the code, it is thread-safe as long as the q argument is not

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Derek Buitenhuis
On 4/8/2015 6:16 PM, Gilles Chanteperdrix wrote: Signed-off-by: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/youtubedl.c | 221 +++ 3 files changed,

Re: [FFmpeg-devel] [FFmpeg-cvslog] avutil/x86/Makefile: Make building and linking of emms.c conditional

2015-04-08 Thread James Almer
On 08/04/15 4:29 PM, Ronald S. Bultje wrote: Yeah I didn't test it. Anyway, the goal is indeed to remove 200 bytes. I don't care about the 200 bytes. I care that a vp9-decoder-only build has about 100 source files, most of which are obviously not needed. I care about the sum of the parts, not

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread wm4
On Wed, 08 Apr 2015 20:52:12 +0100 Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 4/8/2015 6:16 PM, Gilles Chanteperdrix wrote: Signed-off-by: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 +

Re: [FFmpeg-devel] [PATCH] vda: Cast to not discard constant qualifier and silence compiler warning

2015-04-08 Thread Michael Niedermayer
On Thu, Apr 09, 2015 at 03:40:31AM +0530, Himangi Saraogi wrote: --- ffmpeg_vda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I have often repented speaking, but never of holding my

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Lukasz Marek
W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org And forgot to add my apologies for these bad patches and the noise that followed. No need for that. Your demuxer seems to use public API only so you can try to move this implementation to your project and

[FFmpeg-devel] Does the H.263 in FFmpeg support two pass encoding

2015-04-08 Thread Ramprasad N
Hi, The second pass shows error (IO error: Error number 0 occurred) but the file gets generated and looks fine, but I don't know whether it actually used the 1st pass. C:\Users\ramprasadffmpeg.exe -i foreman_qcif.y4m -b:v 128k -pass 1 -vcodec h263 -f 3gp -y NUL ffmpeg version N-69422-gf5722ba

[FFmpeg-devel] [PATCH] ffmdec: Check return value of ffm_append_recommended_configuration

2015-04-08 Thread Himangi Saraogi
--- libavformat/ffmdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/ffmdec.c b/libavformat/ffmdec.c index 33bbde0..7c0f451 100644 --- a/libavformat/ffmdec.c +++ b/libavformat/ffmdec.c @@ -438,7 +438,8 @@ static int ffm2_read_header(AVFormatContext *s)

[FFmpeg-devel] [PATCH] vda: Cast to not discard constant qualifier and silence compiler warning

2015-04-08 Thread Himangi Saraogi
--- ffmpeg_vda.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ffmpeg_vda.c b/ffmpeg_vda.c index b9f0975..d15648d 100644 --- a/ffmpeg_vda.c +++ b/ffmpeg_vda.c @@ -73,7 +73,7 @@ static int vda_retrieve_data(AVCodecContext *s, AVFrame *frame) }

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 04:31:34PM -0400, compn wrote: On Wed, 8 Apr 2015 22:26:23 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: ready to forget all about these patches. thanks for the patches, even if some people do not like them. please dont be discouraged by

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 09:59:17PM +0200, Nicolas George wrote: Le nonidi 19 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : As I explained, I did it this way for portability. system is ANSI not POSIX, redirections work with windows shell too, and av_tempfile is implemented by ffmpeg,

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread wm4
On Wed, 8 Apr 2015 22:16:22 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On Wed, Apr 08, 2015 at 09:59:17PM +0200, Nicolas George wrote: Le nonidi 19 germinal, an CCXXIII, Gilles Chanteperdrix a écrit : As I explained, I did it this way for portability. system is ANSI

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 10:37:13PM +0200, Gilles Chanteperdrix wrote: On Wed, Apr 08, 2015 at 04:31:34PM -0400, compn wrote: On Wed, 8 Apr 2015 22:26:23 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: ready to forget all about these patches. thanks for the

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 08:52:12PM +0100, Derek Buitenhuis wrote: On 4/8/2015 6:16 PM, Gilles Chanteperdrix wrote: Signed-off-by: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org --- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/youtubedl.c | 221

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread Gilles Chanteperdrix
On Wed, Apr 08, 2015 at 10:08:25PM +0200, wm4 wrote: On Wed, 08 Apr 2015 20:52:12 +0100 Derek Buitenhuis derek.buitenh...@gmail.com wrote: On 4/8/2015 6:16 PM, Gilles Chanteperdrix wrote: Signed-off-by: Gilles Chanteperdrix gilles.chanteperd...@xenomai.org --- libavformat/Makefile

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-08 Thread compn
On Wed, 8 Apr 2015 22:26:23 +0200 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: ready to forget all about these patches. thanks for the patches, even if some people do not like them. please dont be discouraged by strongly worded mails. its a long term bikeshed that you have