Re: [FFmpeg-devel] [PATCH]Print the actual bit depth for audio if it is different from the sample_fmt bit depth

2014-09-03 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos at ag.or.at writes: +if (enc-bits_per_raw_sample != av_get_bytes_per_sample(enc-sample_fmt) * 8) Locally changed to bits_per_raw_sample 0 ... Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 1/4] libavutil/error: fix build with musl toolchain

2014-09-03 Thread Jörg Krause
On 09/02/2014 06:03 PM, wm4 wrote: On Tue, 2 Sep 2014 12:33:26 +0200 Jörg Krause jkra...@posteo.de wrote: Add the feature test macro which is required for building with the musl toolchain. The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant version of strerror_r().

[FFmpeg-devel] [PATCH v2 1/4] libavutil/error: fix build with musl toolchain

2014-09-03 Thread Jörg Krause
Add the feature test macro which is required for building with the musl toolchain. The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant version of strerror_r(). Signed-off-by: Jörg Krause jkra...@posteo.de --- Changes v1 - v2: - fixed wrong macro name - add a comment ---

Re: [FFmpeg-devel] [PATCH] SSE2 version of vf_idet'sfilter_line()

2014-09-03 Thread Carl Eugen Hoyos
Michael Niedermayer michaelni at gmx.at writes: silly question: how do you compile for x86-32? I tried './configure --arch=x86_32' but it didn't trigger this compile error... iam using: --arch=x86_32 --target-os=linux --extra-cflags=-m32 --extra-ldflags=-m32 --enable-cross-compile

Re: [FFmpeg-devel] [PATCH v5] Add SUP/PGS subtitle demuxer

2014-09-03 Thread Petri Hintukainen
On ma, 2014-09-01 at 16:45 +0200, wm4 wrote: On Mon, 1 Sep 2014 08:34:52 + (UTC) Carl Eugen Hoyos ceho...@ag.or.at wrote: wm4 nfxjfg at googlemail.com writes: +full_packet_size = AV_RB16(buf + 10 + 1) + 10 + 3; +if (buf_size full_packet_size) +break;

Re: [FFmpeg-devel] [PATCH 3/4] libswresample: Avoid needlessly large on-stack array.

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 07:36:32AM +0200, Reimar Döffinger wrote: On 03.09.2014, at 06:28, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 12:01:54AM +0200, Reimar Döffinger wrote: We only actually use a tiny part of it. Signed-off-by: Reimar Döffinger

[FFmpeg-devel] [PATCH 1/1] libavdevice/v4l2: fix descriptors leak on error paths

2014-09-03 Thread xe-lion
From: Dmitry Volyntsev xeioexcept...@gmail.com Signed-off-by: Dmitry Volytnsev xeioexcept...@gmail.com --- libavdevice/v4l2.c | 37 - 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/libavdevice/v4l2.c b/libavdevice/v4l2.c index

[FFmpeg-devel] Intrinsics (and NEON in particular)

2014-09-03 Thread Pascal Massimino
Reimar, On Wed, Sep 3, 2014 at 9:16 AM, Reimar Döffinger reimar.doeffin...@gmx.de wrote: On 03.09.2014, at 08:38, Pascal Massimino pascal.massim...@gmail.com wrote: On Tue, Sep 2, 2014 at 10:26 PM, Reimar Döffinger reimar.doeffin...@gmx.de wrote: On 03.09.2014, at 00:49, Pascal

[FFmpeg-devel] [PATCH] Make av_gettime use the monotonic clock when available

2014-09-03 Thread Michael Niedermayer
This also remove all use of av_gettime_relative() and reduces the difference to ebef9f5a56d7df91e010a177a80cfc8dbe394305 Signed-off-by: Michael Niedermayer michae...@gmx.at --- cmdutils_opencl.c |4 ++-- configure |4 +++- ffmpeg.c | 10

[FFmpeg-devel] ffmpeg-developer request for consulting

2014-09-03 Thread Shmulik Yoffe
Hello All My name is Shmulik Yoffe, CTO at WSC Sports Technologies, a startup company specialized in new-media application for sport broadcasters. We are looking for a consultant for a small specific problem we are facing. In our solution, we require to be able to split hls streams

Re: [FFmpeg-devel] [PATCH 2/4] avformat/srtdec: UTF-16 support

2014-09-03 Thread wm4
On Tue, 2 Sep 2014 23:54:51 +0200 Clément Bœsch u...@pkh.me wrote: On Tue, Sep 02, 2014 at 08:56:10PM +0200, wm4 wrote: --- libavformat/srtdec.c| 22 +++-- libavformat/subtitles.c | 51 +++-- libavformat/subtitles.h | 33

Re: [FFmpeg-devel] patch for x32 for libpostproc

2014-09-03 Thread Michael Niedermayer
On Tue, Sep 02, 2014 at 10:06:10PM +, Thorsten Glaser wrote: Hi, as discussed in IRC, I was trying to minimal-invasively port libpostproc (the Debian source package) to x32¹. I could not test it (for lack of a stand-alone test program) yet, but at least I got it to build. you could try

Re: [FFmpeg-devel] [PATCH]Print the actual bit depth for audio if it is different from the sample_fmt bit depth

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 07:19:57AM +, Carl Eugen Hoyos wrote: Carl Eugen Hoyos cehoyos at ag.or.at writes: +if (enc-bits_per_raw_sample != av_get_bytes_per_sample(enc-sample_fmt) * 8) Locally changed to bits_per_raw_sample 0 ... LGTM [...] -- Michael GnuPG

Re: [FFmpeg-devel] [PATCH] tests: Download lena.pnm if its missing from the source tree

2014-09-03 Thread Clément Bœsch
On Wed, Sep 03, 2014 at 04:38:15PM +0200, Clément Bœsch wrote: On Sun, Aug 31, 2014 at 02:35:40PM +0200, Andreas Cadhalpun wrote: On 28.08.2014 20:06, Nicolas George wrote: Le primidi 11 fructidor, an CCXXII, Andreas Cadhalpun a écrit : I like this colour of the shed. ;) * move lena.pnm

Re: [FFmpeg-devel] [PATCH 4/4] svq1enc: remove pointless array element.

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 12:01:55AM +0200, Reimar Döffinger wrote: Not sure it was meant to be used for something at some point though. Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libavcodec/svq1enc.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) LGTM [...]

Re: [FFmpeg-devel] [PATCH] SSE2 version of vf_idet's filter_line()

2014-09-03 Thread Pascal Massimino
Michael, On Wed, Sep 3, 2014 at 4:29 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 11:42:10AM +0200, Pascal Massimino wrote: On Wed, Sep 3, 2014 at 11:32 AM, Benoit Fouet benoit.fo...@free.fr wrote: Hi, - Mail original - Hi,

Re: [FFmpeg-devel] [PATCH] tests: Download lena.pnm if its missing from the source tree

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 04:38:15PM +0200, Clément Bœsch wrote: On Sun, Aug 31, 2014 at 02:35:40PM +0200, Andreas Cadhalpun wrote: On 28.08.2014 20:06, Nicolas George wrote: Le primidi 11 fructidor, an CCXXII, Andreas Cadhalpun a écrit : I like this colour of the shed. ;) * move lena.pnm

[FFmpeg-devel] [PATCH] confgure: create quick access fate samples link

2014-09-03 Thread Michael Niedermayer
This allows using fs/random_fate_sample from the directory where ffmpeg was build for example in bug reports. Alternatively this could be created from the Makefile This of course works only on OS and file-systems which support links Signed-off-by: Michael Niedermayer michae...@gmx.at ---

Re: [FFmpeg-devel] [PATCH] SSE2 version of vf_idet's filter_line()

2014-09-03 Thread Pascal Massimino
Clément, On Wed, Sep 3, 2014 at 6:19 PM, Clément Bœsch u...@pkh.me wrote: On Wed, Sep 03, 2014 at 05:50:32PM +0200, Pascal Massimino wrote: [...] removed this step in both mmx and sse2 version. - new patch attached. /skal From d2249b05b4a881ec3c9de8fc105b2a40c680a0ea Mon Sep 17

Re: [FFmpeg-devel] patch for x32 for libpostproc

2014-09-03 Thread Reimar Döffinger
On Tue, Sep 02, 2014 at 10:06:10PM +, Thorsten Glaser wrote: Hi, as discussed in IRC, I was trying to minimal-invasively port libpostproc (the Debian source package) to x32¹. I could not test it (for lack of a stand-alone test program) yet, but at least I got it to build. As

Re: [FFmpeg-devel] [PATCH v2 1/4] libavutil/error: fix build with musl toolchain

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 11:53:39AM +0200, Jörg Krause wrote: Add the feature test macro which is required for building with the musl toolchain. The feature test macro _XOPEN_SOURCE = 600 provides the XSI-compliant version of strerror_r(). Signed-off-by: Jörg Krause jkra...@posteo.de ---

Re: [FFmpeg-devel] Intrinsics (and NEON in particular)

2014-09-03 Thread Reimar Döffinger
On Wed, Sep 03, 2014 at 02:06:39PM +0200, Pascal Massimino wrote: On Wed, Sep 3, 2014 at 9:16 AM, Reimar Döffinger reimar.doeffin...@gmx.de wrote: strange. I exclusively used intrinsics for libwebp (x86, but also neon/aarch64) and was pretty pleased with the result (say 2% perf loss,

Re: [FFmpeg-devel] [PATCH] SSE2 version of vf_idet's filter_line()

2014-09-03 Thread Pascal Massimino
James, On Wed, Sep 3, 2014 at 10:14 AM, James Almer jamr...@gmail.com wrote: diff --git a/libavfilter/x86/vf_idet_init.c b/libavfilter/x86/vf_idet_init.c new file mode 100644 index 000..402d504 --- /dev/null +++ b/libavfilter/x86/vf_idet_init.c @@ -0,0 +1,70 @@ +/* + * This

Re: [FFmpeg-devel] [PATCH] SSE2 version of vf_idet's filter_line()

2014-09-03 Thread Clément Bœsch
On Wed, Sep 03, 2014 at 07:05:48PM +0200, Pascal Massimino wrote: [...] +punpcklbw m3, m_zero +punpckhbw m4, m_zero + +paddswm0, m3 +paddswm1, m4 + +movq m3, [bq+indexq*1] +movq m4, m3 +punpcklbw m3, m_zero +punpckhbw

[FFmpeg-devel] [PATCH 2/2] huffyuvdec: avoid large stack use.

2014-09-03 Thread Reimar Döffinger
Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libavcodec/huffyuvdec.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/libavcodec/huffyuvdec.c b/libavcodec/huffyuvdec.c index 1df77e0..3b2b0f7 100644 --- a/libavcodec/huffyuvdec.c +++

[FFmpeg-devel] [PATCH 1/2] libswresample: Avoid needlessly large on-stack array.

2014-09-03 Thread Reimar Döffinger
We only actually need to use a tiny part of it. Unfortunately we seem to have no real test coverage on the code, so this is a bit risky. Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libswresample/rematrix.c | 23 +-- 1 file changed, 17 insertions(+), 6

Re: [FFmpeg-devel] [PATCH 3/4] libswresample: Avoid needlessly large on-stack array.

2014-09-03 Thread Reimar Döffinger
On Wed, Sep 03, 2014 at 07:36:32AM +0200, Reimar Döffinger wrote: On 03.09.2014, at 06:28, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 12:01:54AM +0200, Reimar Döffinger wrote: We only actually use a tiny part of it. Signed-off-by: Reimar Döffinger

Re: [FFmpeg-devel] [PATCH] confgure: create quick access fate samples link

2014-09-03 Thread Reimar Döffinger
On 03.09.2014, at 22:09, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 08:46:04PM +0200, Reimar Döffinger wrote: On 03.09.2014, at 18:49, Michael Niedermayer michae...@gmx.at wrote: This allows using fs/random_fate_sample from the directory where ffmpeg was build for

Re: [FFmpeg-devel] [PATCH] confgure: create quick access fate samples link

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 10:29:32PM +0200, Reimar Döffinger wrote: On 03.09.2014, at 22:09, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 08:46:04PM +0200, Reimar Döffinger wrote: On 03.09.2014, at 18:49, Michael Niedermayer michae...@gmx.at wrote: This allows using

Re: [FFmpeg-devel] [PATCH 1/2] libswresample: Avoid needlessly large on-stack array.

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 09:40:55PM +0200, Reimar Döffinger wrote: We only actually need to use a tiny part of it. Unfortunately we seem to have no real test coverage on the code, so this is a bit risky. Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libswresample/rematrix.c

Re: [FFmpeg-devel] [PATCH 2/2] huffyuvdec: avoid large stack use.

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 09:40:56PM +0200, Reimar Döffinger wrote: Signed-off-by: Reimar Döffinger reimar.doeffin...@gmx.de --- libavcodec/huffyuvdec.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) LGTM [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH]Print bits_per_raw_sample for ffprobe -show_streams

2014-09-03 Thread Michael Niedermayer
On Tue, Sep 02, 2014 at 11:52:55PM +0200, Carl Eugen Hoyos wrote: Hi! Attached patch fixes ticket #3919 for me. Please comment, Carl Eugen ffprobe.c |1 + 1 file changed, 1 insertion(+) 2eeea98c89ba61a3ea2a456617535fd8fc172485 patchbitsperrawsample.diff should be ok but maybe

Re: [FFmpeg-devel] Patch: 42507534977e2108e397a381357ee2db209475f6

2014-09-03 Thread Kieran Kunhya
My question is not really about testcases etc but more why you decided to not include the other descriptor types. I guess I can send a patch to fix that. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH] Use makeinfo to generate html doc for the new website

2014-09-03 Thread Timothy Gu
On Wed, Sep 3, 2014 at 3:41 PM, Timothy Gu timothyg...@gmail.com wrote: Will send new patch soon. New patch attached. Timothy patch.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] patch for x32 for libpostproc

2014-09-03 Thread Reinhard Tartler
On Wed, Sep 3, 2014 at 9:39 AM, Michael Niedermayer michae...@gmx.at wrote: On Tue, Sep 02, 2014 at 10:06:10PM +, Thorsten Glaser wrote: Hi, as discussed in IRC, I was trying to minimal-invasively port libpostproc (the Debian source package) to x32¹. I could not test it (for lack of a

Re: [FFmpeg-devel] [PATCH] Use makeinfo to generate html doc for the new website

2014-09-03 Thread Michael Niedermayer
On Wed, Sep 03, 2014 at 05:13:02PM -0700, Timothy Gu wrote: On Wed, Sep 3, 2014 at 3:41 PM, Timothy Gu timothyg...@gmail.com wrote: Will send new patch soon. New patch attached. Timothy Changelog |1 RELEASE_NOTES |2 configure | 10 +- doc/Makefile

[FFmpeg-devel] [PATCH] avdevice/x11grab: fix error handling in pixel formats

2014-09-03 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavdevice/x11grab.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavdevice/x11grab.c b/libavdevice/x11grab.c index 120f754..e0d1dfa 100644 --- a/libavdevice/x11grab.c +++ b/libavdevice/x11grab.c @@ -181,6

Re: [FFmpeg-devel] patch for x32 for libpostproc

2014-09-03 Thread Reinhard Tartler
On Wed, Sep 3, 2014 at 9:34 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 08:22:43PM -0400, Reinhard Tartler wrote: On Wed, Sep 3, 2014 at 9:39 AM, Michael Niedermayer michae...@gmx.at wrote: On Tue, Sep 02, 2014 at 10:06:10PM +, Thorsten Glaser wrote: Hi,

Re: [FFmpeg-devel] patch for x32 for libpostproc

2014-09-03 Thread Reimar Döffinger
On 04.09.2014, at 05:33, Reinhard Tartler siret...@gmail.com wrote: On Wed, Sep 3, 2014 at 9:34 PM, Michael Niedermayer michae...@gmx.at wrote: On Wed, Sep 03, 2014 at 08:22:43PM -0400, Reinhard Tartler wrote: On Wed, Sep 3, 2014 at 9:39 AM, Michael Niedermayer michae...@gmx.at wrote: On