Re: [FFmpeg-devel] implement process_command for vf_scale and vf_crop

2015-07-05 Thread Bernd Blessmann
Am 25.06.2015 um 16:20 schrieb Bernd Blessmann: Hi all, I want to implement process_command for vf_scale.c and vf_crop.c in order to use zmq to change scaling and cropping dynamically. I have implemented it using av_opt_set() and calling config_props() for scale and config_input() and config_

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 09:11:44PM +0200, Andreas Cadhalpun wrote: > On 03.07.2015 01:04, Michael Niedermayer wrote: > > On Fri, Jul 03, 2015 at 12:31:31AM +0200, Andreas Cadhalpun wrote: > >> It asserts that the frame linesize is larger than 37, but it can be > >> smaller and decoding such frames

[FFmpeg-devel] [PATCH 3/4] concatdec: add support for specifying outpoint of files

2015-07-05 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 13 + libavformat/concatdec.c | 22 -- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4bad1c8..4ba797e 100644 --- a/doc/demuxers.texi +++ b/doc/d

[FFmpeg-devel] [PATCH 4/4] concatdec: add support for injecting packet metadata

2015-07-05 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 4 libavformat/concatdec.c | 30 ++ 2 files changed, 34 insertions(+) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 4ba797e..28244f3 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -

[FFmpeg-devel] [PATCH 2/4] concatdec: store eof condition in context

2015-07-05 Thread Marton Balint
This is needed later for outpoint support which may leave the last file in a not-eof state. Signed-off-by: Marton Balint --- libavformat/concatdec.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c index c61a1a3..11e675

[FFmpeg-devel] [PATCH 1/4] concatdec: add support for specifying inpoint of files

2015-07-05 Thread Marton Balint
Signed-off-by: Marton Balint --- doc/demuxers.texi | 17 + libavformat/concatdec.c | 48 +++- 2 files changed, 52 insertions(+), 13 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 35a1561..4bad1c8 100644 ---

Re: [FFmpeg-devel] [PATCH] libavcodec/qsvenc.c: More correct selection of alignment of a frame height depending whether an encoded sequence progressive or not.

2015-07-05 Thread Michael Niedermayer
On Sat, Jul 04, 2015 at 05:00:39PM +0300, Ivan Uskov wrote: > Hello Hendrik, > > The harm of hard-coded alignment 32 that typical 1280x720 progressive > video should be encoded as 1280x736. I.e. absolutely superfluous > stripe of macroblocks should be encoded. > I can see that CODEC_FLAG_INTERLACE

[FFmpeg-devel] [PATCHv4] avcodec: Add support for Closed Caption export in h264

2015-07-05 Thread Kieran Kunhya
--- libavcodec/h264.c | 9 + libavcodec/h264.h | 2 ++ libavcodec/h264_sei.c | 39 +-- 3 files changed, 48 insertions(+), 2 deletions(-) diff --git a/libavcodec/h264.c b/libavcodec/h264.c index baedcf4..f62ad6a 100644 --- a/libavcodec/h264.c +

Re: [FFmpeg-devel] [PATCH 4/4] lavc/utils: get rid of add_metadata_from_side_data forward declaration

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 07:02:04PM +0200, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavcodec/utils.c | 24 +++- > 1 file changed, 11 insertions(+), 13 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC78704

Re: [FFmpeg-devel] [PATCH 3/4] lavc/utils: call add_metadata_from_side_data in ff_init_buffer_info

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 07:02:03PM +0200, Marton Balint wrote: > This should ensure that each frame get its metadata from its proper packet > regardless of frame delays caused by reordering or threading. > > Signed-off-by: Marton Balint > --- > libavcodec/utils.c | 5 +++-- > 1 file changed, 3 i

Re: [FFmpeg-devel] [PATCH 2/4] lavc/utils: change add_metadata_from_side_data to accept avpacket

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 07:02:02PM +0200, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavcodec/utils.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No snowflak

Re: [FFmpeg-devel] [PATCH 1/4] lavc/utils: remove redundant call to ff_init_buffer_info

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 07:02:01PM +0200, Marton Balint wrote: > It does the same as calling ff_decode_frame_props. > > Signed-off-by: Marton Balint applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom;

Re: [FFmpeg-devel] [PATCH] texi2pod: fix an unescaped left brace

2015-07-05 Thread James Almer
On 05/07/15 12:19 PM, Michael Niedermayer wrote: > On Fri, Jul 03, 2015 at 10:05:51PM -0300, James Almer wrote: >> On 01/07/15 6:32 PM, James Almer wrote: >>> This silences some deprecation warnings >>> >>> Signed-off-by: James Almer >>> --- >>> doc/texi2pod.pl | 2 +- >>> 1 file changed, 1 inser

Re: [FFmpeg-devel] [PATCH 4/4] avcodec: loongson optimized h264pred with mmi

2015-07-05 Thread Michael Niedermayer
On Sat, Jul 04, 2015 at 12:14:51PM +0800, 周晓勇 wrote: > i will offer a download source of Fedora21 OS next Monday. > i will run yum-builddep ffmpeg-xxx.src.rpm for preparing devel environment. > what else do you need to install, because it maybe slow for downloading > other packages abroad. > the

[FFmpeg-devel] [PATCH] avcodec/v410enc: Use ff_alloc_packet() instead of ff_alloc_packet2()

2015-07-05 Thread Michael Niedermayer
the later is not optimal when the buffer size is well known at allocation time This avoids a memcpy() about 1% faster Signed-off-by: Michael Niedermayer --- libavcodec/v410enc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/v410enc.c b/libavcodec/v410enc.c i

Re: [FFmpeg-devel] [PATCH] snow: remove strange av_assert2

2015-07-05 Thread Andreas Cadhalpun
On 03.07.2015 01:04, Michael Niedermayer wrote: > On Fri, Jul 03, 2015 at 12:31:31AM +0200, Andreas Cadhalpun wrote: >> It asserts that the frame linesize is larger than 37, but it can be >> smaller and decoding such frames works. Thus it is unclear what this >> assert is good for. > > i think it

Re: [FFmpeg-devel] [libav-devel] [PATCH 2/2] wmalosslessdec: reset frame->nb_samples on packet loss

2015-07-05 Thread Andreas Cadhalpun
On 03.07.2015 01:44, Luca Barbato wrote: > On 03/07/15 01:20, Luca Barbato wrote: >> On 03/07/15 00:07, Andreas Cadhalpun wrote: >>> Otherwise a frame with non-zero nb_samples but without any data can be >>> returned. >>> >>> Signed-off-by: Andreas Cadhalpun >>> --- >>> libavcodec/wmalosslessdec.

Re: [FFmpeg-devel] [libav-devel] [PATCH 1/2] wmalosslessdec: avoid reading 0 bits with get_bits

2015-07-05 Thread Andreas Cadhalpun
On 03.07.2015 01:19, Luca Barbato wrote: > On 03/07/15 00:07, Andreas Cadhalpun wrote: >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/wmalosslessdec.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c >>

Re: [FFmpeg-devel] [PATCH] library.mak: add rpath to shared libraries

2015-07-05 Thread Ganesh Ajjanagadde
On Sun, Jul 5, 2015 at 1:01 PM, Michael Niedermayer wrote: > On Sat, Jul 04, 2015 at 10:21:47AM -0400, Ganesh Ajjanagadde wrote: >> On Sat, Jun 27, 2015 at 7:18 PM, Ganesh Ajjanagadde wrote: >> > On Sat, Jun 27, 2015 at 9:49 AM, Ganesh Ajjanagadde >> > wrote: >> >> On Sat, Jun 27, 2015 at 2:22

[FFmpeg-devel] [PATCH] avfilter: add removegrain

2015-07-05 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- doc/filters.texi | 104 +++ libavfilter/Makefile | 1 + libavfilter/allfilters.c | 1 + libavfilter/vf_removegrain.c | 660 +++ 4 files changed, 766 insertions(+) create mode 100644 libavfilte

[FFmpeg-devel] [PATCH 3/4] lavc/utils: call add_metadata_from_side_data in ff_init_buffer_info

2015-07-05 Thread Marton Balint
This should ensure that each frame get its metadata from its proper packet regardless of frame delays caused by reordering or threading. Signed-off-by: Marton Balint --- libavcodec/utils.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/ut

[FFmpeg-devel] [PATCH 4/4] lavc/utils: get rid of add_metadata_from_side_data forward declaration

2015-07-05 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/utils.c | 24 +++- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e1870f5..b80b4e7 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -739,7 +739,17 @@ FF_ENABLE

[FFmpeg-devel] [PATCH 2/4] lavc/utils: change add_metadata_from_side_data to accept avpacket

2015-07-05 Thread Marton Balint
Signed-off-by: Marton Balint --- libavcodec/utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index f20cafc..08fad3e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2296,14 +2296,14 @@ fail: return AVERROR

Re: [FFmpeg-devel] [PATCH] library.mak: add rpath to shared libraries

2015-07-05 Thread Michael Niedermayer
On Sat, Jul 04, 2015 at 10:21:47AM -0400, Ganesh Ajjanagadde wrote: > On Sat, Jun 27, 2015 at 7:18 PM, Ganesh Ajjanagadde wrote: > > On Sat, Jun 27, 2015 at 9:49 AM, Ganesh Ajjanagadde > > wrote: > >> On Sat, Jun 27, 2015 at 2:22 AM, Hendrik Leppkes > >> wrote: > >>> On Sat, Jun 27, 2015 at 3:

[FFmpeg-devel] [PATCH 1/4] lavc/utils: remove redundant call to ff_init_buffer_info

2015-07-05 Thread Marton Balint
It does the same as calling ff_decode_frame_props. Signed-off-by: Marton Balint --- libavcodec/utils.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index e6d5227..f20cafc 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -892,8 +892,6 @@

Re: [FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-05 Thread Philip Langdale
On Sun, 5 Jul 2015 15:53:32 +0530 Niklesh Lalwani wrote: > From: Niklesh > > This patch adds support for decoding of Highlight and hilightcolor > box as defined by 3GPP standards. The code is also reorganised to > make it easier to maintain and read. Separate functions are defined > that proce

[FFmpeg-devel] [PATCH] aacenc: fix option descriptions

2015-07-05 Thread Rostislav Pehlivanov
Since the new PNS implementation has been merged and is no longer considered proof of concept (as it's much more complex and better than the previous), change the comments to reflect that. We need people testing it (since all AAC profiles require it to be on by default) and having it tagged as p

Re: [FFmpeg-devel] [PATCH] texi2pod: fix an unescaped left brace

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 10:05:51PM -0300, James Almer wrote: > On 01/07/15 6:32 PM, James Almer wrote: > > This silences some deprecation warnings > > > > Signed-off-by: James Almer > > --- > > doc/texi2pod.pl | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/doc/te

Re: [FFmpeg-devel] [PATCH v2 8/8] aacenc: implement Intensity Stereo encoding support

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 12:11:18AM -0300, Claudio Freire wrote: > On Thu, Jul 2, 2015 at 3:13 PM, Rostislav Pehlivanov > wrote: > > This commit implements intensity stereo coding support to the native aac > > encoder. This is a way to increase the efficiency of the encoder by zeroing > > the rig

Re: [FFmpeg-devel] [PATCH v2 7/8] aacenc: add support for coding of IS spectral coefficients

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 12:09:34AM -0300, Claudio Freire wrote: > On Thu, Jul 2, 2015 at 3:13 PM, Rostislav Pehlivanov > wrote: > > This commit adds support for the coding of intensity stereo spectral > > coefficients. It also fixes the Mid/Side coding of band_types higher than > > RESERVED_BT (

Re: [FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-05 Thread Hendrik Leppkes
On Sun, Jul 5, 2015 at 5:00 PM, Sebastien Zwickert wrote: > >> On 05 Jul 2015, at 16:41, Sebastien Zwickert wrote: >> >> As VDA is a wrapper of VideoToolbox framework, the changes base vda >> implementation >> upon the videotoolbox implementation to factorize common part of code. > > This new pa

Re: [FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-05 Thread Sebastien Zwickert
> On 05 Jul 2015, at 16:41, Sebastien Zwickert wrote: > > delete mode 100644 ffmpeg_vda.c > create mode 100644 ffmpeg_videotoolbox.c -M as arguments to the format-patch CLI does not detect these as rename... > rename libavcodec/{vda_internal.h => vda_vt_internal.h} (50%) while these changes a

Re: [FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-05 Thread Sebastien Zwickert
> On 05 Jul 2015, at 16:41, Sebastien Zwickert wrote: > > As VDA is a wrapper of VideoToolbox framework, the changes base vda > implementation > upon the videotoolbox implementation to factorize common part of code. This new patch does not break previous VDA implementation when VideoToolbox is

Re: [FFmpeg-devel] [PATCH v2 5/8] aacenc: use the new function for setting special band scalefactor indices

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 08:53:32AM -0300, Claudio Freire wrote: > On Thu, Jul 2, 2015 at 3:13 PM, Rostislav Pehlivanov > wrote: > > This commit enables the function added with commit 7c10b87 and uses that > > new function for setting any special scalefactor indices. This commit does > > not chan

Re: [FFmpeg-devel] [PATCH v2 2/8] aaccoder: remove previous PNS implementation from twoloop

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 08:52:48AM -0300, Claudio Freire wrote: > On Thu, Jul 2, 2015 at 3:13 PM, Rostislav Pehlivanov > wrote: > > This commit undoes commit c5d4f87e8427c0952278ec247fa8ab1e6e52 and > > removes PNS band marking from the twoloop coder, which has been > > reimplemented in a be

Re: [FFmpeg-devel] [PATCH v2 6/8] aaccoder: add a new perceptual noise substitution implementation

2015-07-05 Thread Michael Niedermayer
On Fri, Jul 03, 2015 at 12:07:42AM -0300, Claudio Freire wrote: > On Thu, Jul 2, 2015 at 3:13 PM, Rostislav Pehlivanov > wrote: > > This commit finalizes the PNS implementation previously added to the > > encoder by moving it to a seperate function search_for_pns() and thus > > making it coder-g

[FFmpeg-devel] [PATCH-v2] avcodec: add new Videotoolbox hwaccel.

2015-07-05 Thread Sebastien Zwickert
As VDA is a wrapper of VideoToolbox framework, the changes base vda implementation upon the videotoolbox implementation to factorize common part of code. The changes allow the user to request a custom pixel format to the decoder via a CLI option called videotoolbox_pixfmt. --- Changelog

Re: [FFmpeg-devel] [PATCH] avcodec: add new Videotoolbox hwaccel.

2015-07-05 Thread Sebastien Zwickert
> On 01 Jul 2015, at 05:57, Zhang Rui wrote: > >> +static void videotoolbox_default_free(AVCodecContext *avctx) >> +{ >> +AVVideotoolboxContext *videotoolbox = avctx->hwaccel_context; >> + >> +if (videotoolbox) { >> +if (videotoolbox->cm_fmt_desc) >> +CFRelease(videot

Re: [FFmpeg-devel] FFmpeg/MPlayer/rtmpdump possibly searching for a new server and hosting

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 02:36:15PM +0200, Michael Niedermayer wrote: > On Sun, Jul 05, 2015 at 03:51:07AM +0200, Michael Niedermayer wrote: > > On Sat, Jul 04, 2015 at 01:15:51PM +0200, Michael Niedermayer wrote: > > > On Sat, Jul 04, 2015 at 12:45:18PM +0200, Michael Niedermayer wrote: > > > > On

Re: [FFmpeg-devel] FFmpeg/MPlayer/rtmpdump possibly searching for a new server and hosting

2015-07-05 Thread Michael Niedermayer
On Sun, Jul 05, 2015 at 03:51:07AM +0200, Michael Niedermayer wrote: > On Sat, Jul 04, 2015 at 01:15:51PM +0200, Michael Niedermayer wrote: > > On Sat, Jul 04, 2015 at 12:45:18PM +0200, Michael Niedermayer wrote: > > > On Fri, Jul 03, 2015 at 07:53:43PM +0200, Michael Niedermayer wrote: > > > > Hi

Re: [FFmpeg-devel] [PATCH] avcodec/nvenc: Add support for H.264 High 444 Predictive encoding

2015-07-05 Thread Timo Rothenpieler
> Newer versions of the nvenc hardware support The High 444 Predictive profile > of H.264, and can also do lossless encoding under this profile if desired. > > This change introduces support for the profile, and exposes the appropriate > presets for requesting lossless encoding. > > I tested loss

[FFmpeg-devel] [PATCH] movtextdec.c: Add support for highlight and hilightcolor box

2015-07-05 Thread Niklesh Lalwani
From: Niklesh This patch adds support for decoding of Highlight and hilightcolor box as defined by 3GPP standards. The code is also reorganised to make it easier to maintain and read. Separate functions are defined that process each type of box. Signed-off-by: Niklesh --- libavcodec/movtextd

Re: [FFmpeg-devel] [PATCH 7/9] lavf/http: increase range for listen, handle connection closing accordingly, add http_handshake and move handshake logic there

2015-07-05 Thread Stephan Holljes
On Sat, Jul 4, 2015 at 7:47 AM, Stephan Holljes wrote: > Signed-off-by: Stephan Holljes > --- > libavformat/http.c | 44 +++- > 1 file changed, 31 insertions(+), 13 deletions(-) > > diff --git a/libavformat/http.c b/libavformat/http.c > index 3c1ec35..6338