[FFmpeg-devel] [PATCH] avutil/qsv: move ff_qsv_error function from libavcodec into libavutil, because it's going to be shared between libavcodec (existing QSV encoders & decoders), libavfilter (upcomi

2016-05-24 Thread nablet developer
Signed-off-by: nablet developer --- libavcodec/qsv.c | 35 +--- libavcodec/qsv_internal.h | 5 libavcodec/qsvdec.c | 1 + libavcodec/qsvenc.c | 1 + libavutil/Makefile| 1 + libavutil/qsv_internal.c | 58 ++

Re: [FFmpeg-devel] [PATCH] Respect payload offset in av_grow_packet

2016-05-24 Thread Andriy Lysnevych
This one removed: >> -if (!pkt->size) >> -return av_new_packet(pkt, grow_by); pkt->size can be 0 but reference-counted buf allocated. av_new_packet leads to memory leak in this case. (FIXME?) >> -if ((unsigned)grow_by > >> -INT_MAX - (pkt->size + AV_INPUT_BUFFER_PADDING_S

Re: [FFmpeg-devel] [PATCH] Respect payload offset in av_grow_packet

2016-05-24 Thread Michael Niedermayer
On Tue, May 24, 2016 at 12:32:19PM +0300, Andriy Lysnevych wrote: > This one removed: > > >> -if (!pkt->size) > >> -return av_new_packet(pkt, grow_by); > > pkt->size can be 0 but reference-counted buf allocated. av_new_packet > leads to memory leak in this case. (FIXME?) > > >> -

Re: [FFmpeg-devel] [PATCH] avutil/qsv: move ff_qsv_error function from libavcodec into libavutil, because it's going to be shared between libavcodec (existing QSV encoders & decoders), libavfilter (up

2016-05-24 Thread Mark Thompson
On 13/04/16 09:18, nablet developer wrote: > Signed-off-by: nablet developer > --- > libavcodec/qsv.c | 35 +--- > libavcodec/qsv_internal.h | 5 > libavcodec/qsvdec.c | 1 + > libavcodec/qsvenc.c | 1 + > libavutil/Makefile| 1 + > li

Re: [FFmpeg-devel] [PATCH] avutil/qsv: move ff_qsv_error function from libavcodec into libavutil, because it's going to be shared between libavcodec (existing QSV encoders & decoders), libavfilter (up

2016-05-24 Thread nablet developer
> On 24 May 2016, at 17:01, Mark Thompson wrote: > > On 13/04/16 09:18, nablet developer wrote: >> Signed-off-by: nablet developer >> --- >> libavcodec/qsv.c | 35 +--- >> libavcodec/qsv_internal.h | 5 >> libavcodec/qsvdec.c | 1 + >> libavcodec/qsven

Re: [FFmpeg-devel] [PATCH] avutil/qsv: move ff_qsv_error function from libavcodec into libavutil, because it's going to be shared between libavcodec (existing QSV encoders & decoders), libavfilter (up

2016-05-24 Thread Mark Thompson
On 24/05/16 12:49, nablet developer wrote: > >> On 24 May 2016, at 17:01, Mark Thompson wrote: >> >> On 13/04/16 09:18, nablet developer wrote: >>> Signed-off-by: nablet developer >>> --- >>> libavcodec/qsv.c | 35 +--- >>> libavcodec/qsv_internal.h | 5 >>>

Re: [FFmpeg-devel] [PATCH] lavf: add textdata virtual demuxer and demuxer

2016-05-24 Thread Stefano Sabatini
On date Monday 2016-05-23 15:31:33 +0200, Moritz Barsnick encoded: > On Thu, May 19, 2016 at 19:29:40 +0200, Stefano Sabatini wrote: > > > > +ffmpeg -i INPUT -codec copy -map 0 -an -vn data.fftd > > BTW, is this possibly the first and only muxer which can actually remux > timed_id3? I have been tr

Re: [FFmpeg-devel] [PATCH] fix few compiler warnings

2016-05-24 Thread Michael Niedermayer
On Mon, May 23, 2016 at 03:06:35PM +0200, Hendrik Leppkes wrote: > On Mon, May 23, 2016 at 1:59 PM, Michael Niedermayer > wrote: > > On Mon, May 23, 2016 at 07:24:23AM -0400, Ronald S. Bultje wrote: > >> Hi, > >> > >> On Sun, May 22, 2016 at 11:39 PM, Michael Niedermayer < > >> mich...@niedermayer

Re: [FFmpeg-devel] [PATCH] lavf/mpegtsenc: move putstr8 definition up

2016-05-24 Thread Stefano Sabatini
On date Saturday 2016-05-21 22:14:22 +0200, Benoit Fouet encoded: > Hi, > > Le 19/05/2016 18:45, Stefano Sabatini a écrit : > >This allows to use the function in a future commit. > >--- > > libavformat/mpegtsenc.c | 34 +- > > 1 file changed, 17 insertions(+), 17 d

[FFmpeg-devel] trac antispam meassures

2016-05-24 Thread Michael Niedermayer
Hi all There where a few spams getting throgh in ffmpegs trac in the last 2 days. It was suggested in #ffmpeg-devel to add some custom anti spam meassures and ask for the project name during register. trac doesnt support doing that in the current release There are also hundreads of bots trying to

Re: [FFmpeg-devel] [PATCH] fix few compiler warnings

2016-05-24 Thread Michael Niedermayer
On Sun, May 22, 2016 at 01:51:05AM +, Davinder Singh wrote: > On Sun, May 22, 2016 at 2:09 AM Michael Niedermayer > wrote: > > > On Sat, May 21, 2016 at 02:21:17PM +, Davinder Singh wrote: > > > hi, > > > > > > this patch fixes following compiler warnings: > > > > > > libavcodec/cfhd.c:34

Re: [FFmpeg-devel] [PATCH 07/11] avcodec/mips: loongson optimize h264qpel with mmi v2

2016-05-24 Thread Michael Niedermayer
On Tue, May 17, 2016 at 03:08:13PM +0800, 周晓勇 wrote: > avcodec/mips/h264qpel_mmi: Version 2 of the optimizations for loongson mmi > > 1. no longer use the register names directly and optimized code format > 2. to be compatible with O32, specify type of address variable with > mips_reg

Re: [FFmpeg-devel] trac antispam meassures

2016-05-24 Thread Lou Logan
On Tue, May 24, 2016, at 10:13 AM, Michael Niedermayer wrote: > > So ive added a very basic pre registration page that asks 2 trivial > questions. This should help reduce the load on trac itself regarding the unending stream of bots attempting to register. This will make training the bayes easier

Re: [FFmpeg-devel] [PATCH] lavf: add textdata virtual demuxer and demuxer

2016-05-24 Thread Moritz Barsnick
On Tue, May 24, 2016 at 19:50:26 +0200, Stefano Sabatini wrote: > What warnings? > > > [fftextdata @ 0xaf687a0] Using AVStream.codec to pass codec parameters to > > muxers is deprecated, use AVStream.codecpar instead. Yes, that one. > This one is currently shown in every conversion. Ah, I miss

Re: [FFmpeg-devel] [PATCH] avformat: Add Pro-MPEG CoP #3-R2 FEC protocol

2016-05-24 Thread Michael Niedermayer
On Wed, May 18, 2016 at 02:46:33PM +0200, Vlad Tarca wrote: > Fixed a type issue in xor added after the last modification and cleaned up > unnecessary NULL checks for av_dict_free [...] > +static int prompeg_init(URLContext *h, const uint8_t *buf, int size) { > +PrompegContext *s = h->priv_da

Re: [FFmpeg-devel] [PATCH] fix few compiler warnings

2016-05-24 Thread Ronald S. Bultje
Hi, On Tue, May 24, 2016 at 2:00 PM, Michael Niedermayer wrote: > On Mon, May 23, 2016 at 03:06:35PM +0200, Hendrik Leppkes wrote: > > On Mon, May 23, 2016 at 1:59 PM, Michael Niedermayer > > wrote: > > > On Mon, May 23, 2016 at 07:24:23AM -0400, Ronald S. Bultje wrote: > > >> Hi, > > >> > > >>

[FFmpeg-devel] [PATCH 0/2] Pass Xing gapless metadata to users during mp3 parsing

2016-05-24 Thread Jon Toohill
These patches expose the encoder delay/padding parsed from an mp3's Xing header to users of lavc/lavf, and show gapless info in the stream summary string. Jon Toohill (2): lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters lavc: show gapless info in stream summary libavcodec/avcod

[FFmpeg-devel] [PATCH 1/2] lavf/mp3dec: pass Xing gapless metadata to AVCodecParameters

2016-05-24 Thread Jon Toohill
From: Jon Toohill --- libavformat/mp3dec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c index 3725d67..192f5ef 100644 --- a/libavformat/mp3dec.c +++ b/libavformat/mp3dec.c @@ -234,6 +234,8 @@ static void mp3_parse_info_tag(AVFormatContext *s,

[FFmpeg-devel] [PATCH 2/2] lavc: show gapless info in stream summary

2016-05-24 Thread Jon Toohill
From: Jon Toohill Also adds trailing_padding to AVCodecContext to match AVCodecParameters so that it doesn't get lost when mapping between them. --- libavcodec/avcodec.h | 11 +++ libavcodec/utils.c | 38 ++ 2 files changed, 33 insertions(+), 16 dele

Re: [FFmpeg-devel] [PATCH] avformat/udp: Add a delay between packets for streaming to clients with short buffer

2016-05-24 Thread Michael Niedermayer
On Tue, Mar 08, 2016 at 11:27:45PM +0300, Pavel Nikiforov wrote: > Nicolas George george at nsup.org wrote: > > >> libavformat/udp.c | 133 > >> -- > >> 1 file changed, 129 insertions(+), 4 deletions(-) > > >Missing documentation update. > fix

Re: [FFmpeg-devel] [PATCH] avformat: Add Pro-MPEG CoP #3-R2 FEC protocol

2016-05-24 Thread Michael Niedermayer
On Wed, May 18, 2016 at 04:18:11PM +0200, Vlad Tarca wrote: > > > > Have you tested this on actual receivers? > > Are you aware this won't work effectively because of the bursty nature of > > FFmpeg? > > > > Kieran > > > > Hello, > > I tested the FFmpeg version on a software receiver, not a hardw

Re: [FFmpeg-devel] trac antispam meassures

2016-05-24 Thread Michael Niedermayer
On Tue, May 24, 2016 at 11:36:53AM -0800, Lou Logan wrote: > On Tue, May 24, 2016, at 10:13 AM, Michael Niedermayer wrote: > > > > So ive added a very basic pre registration page that asks 2 trivial > > questions. > > This should help reduce the load on trac itself regarding the unending > stream

Re: [FFmpeg-devel] [PATCH 0/2] Pass Xing gapless metadata to users during mp3 parsing

2016-05-24 Thread Jon Toohill
Forgot to fix the author line in those patches, it should read "Jon Toohill " instead. I can fix it when sending updated patches if there are revisions to make, otherwise can you change it before merging (or should I send updated patches)? Jon Toohill | Google Play Music | jtooh...@google.com |

Re: [FFmpeg-devel] [PATCH 2/2] lavc: show gapless info in stream summary

2016-05-24 Thread Michael Niedermayer
On Tue, May 24, 2016 at 03:52:49PM -0700, Jon Toohill wrote: > From: Jon Toohill > > Also adds trailing_padding to AVCodecContext to match > AVCodecParameters so that it doesn't get lost when mapping > between them. > --- > libavcodec/avcodec.h | 11 +++ > libavcodec/utils.c | 38 +

[FFmpeg-devel] [PATCH 2/2] lavfi/vf_overlay: support NV12

2016-05-24 Thread Rodger Combs
--- libavfilter/vf_overlay.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 71f4db7..e01b924 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -125,6 +125,7 @@ typedef struct Overl

Re: [FFmpeg-devel] [PATCH 07/11] avcodec/mips: loongson optimize h264qpel with mmi v2

2016-05-24 Thread 周晓勇
these functions couldn't pass fate-h264 test neither O32 nor N64 ABI but the earlier optimization (version 1) has too much bug in O32 ABI i will fix the bugs in function put_h264_qpel16_hv_lowpass_mmi and avg_h264_qpel16_hv_lowpass_mmi in the future have you installed the lastest fedora21 for loo

[FFmpeg-devel] [PATCH 1/2] lavfi/vf_overlay: change variable name to avoid shadowing

2016-05-24 Thread Rodger Combs
--- libavfilter/vf_overlay.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/libavfilter/vf_overlay.c b/libavfilter/vf_overlay.c index 37f19ea..71f4db7 100644 --- a/libavfilter/vf_overlay.c +++ b/libavfilter/vf_overlay.c @@ -401,7 +401,7 @@ st