[FFmpeg-devel] [PATCH 1/2] mem: Order function prototypes semantically

2016-07-31 Thread Timothy Gu
--- libavutil/mem.h | 198 1 file changed, 99 insertions(+), 99 deletions(-) diff --git a/libavutil/mem.h b/libavutil/mem.h index 2f53b47..145ac91 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -83,6 +83,16 @@ void *av_malloc(size_t

[FFmpeg-devel] [PATCH 2/2] mem: Extend and edit Doxygen

2016-07-31 Thread Timothy Gu
--- libavutil/mem.h | 539 ++-- 1 file changed, 406 insertions(+), 133 deletions(-) diff --git a/libavutil/mem.h b/libavutil/mem.h index 145ac91..675b11c 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -20,7 +20,8 @@ /** * @file - * m

[FFmpeg-devel] [PATCH] x86/ttadsp: add ff_ttafilter_process_enc_{ssse3, sse4}

2016-07-31 Thread James Almer
Signed-off-by: James Almer --- libavcodec/Makefile | 2 +- libavcodec/ttadsp.c | 41 - libavcodec/ttadsp.h | 3 +++ libavcodec/ttaenc.c | 38 ++ libavcodec/x86/Makefile | 2 ++

[FFmpeg-devel] [PATCH 2/2] avformat/teeproto: Support parsing protocol options

2016-07-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/Makefile |2 +- libavformat/teeproto.c | 19 ++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/libavformat/Makefile b/libavformat/Makefile index 783b96a..ac0c2ca 100644 --- a/libavformat/Makefile +++ b/li

[FFmpeg-devel] [PATCH 1/2] avformat/tee: Factor parse_slave_options() out

2016-07-31 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/Makefile |2 +- libavformat/tee.c| 44 ++ libavformat/tee_common.c | 68 ++ libavformat/tee_common.h | 31 + 4 files changed, 102 in

[FFmpeg-devel] next Outreachy & GSoC ideas braindump [RFC]

2016-07-31 Thread Michael Niedermayer
Hi all you have a great idea for a Outreachy task or a GSoC task ? Or something you always wanted to do but never had the time and it would fit in the time for GSoC/Outreachy ? Or some feature you always wanted which would fit as a task? Also keep in mind Outreachy is more flexible and not limited

Re: [FFmpeg-devel] Outreachy 2016 december

2016-07-31 Thread Mayank Agarwal
Hi, I want to contribute to Outreachy this time.It can be in any form be it admin,testing,development,etc I can easily devote 2,3 hrs per day for this task.It can be more also depending on some task Regards Mayank On Thu, Jul 7, 2016 at 2:55 AM, Michael Niedermayer wrote: > Hi all > > The next

[FFmpeg-devel] Change bitrate on-the-fly

2016-07-31 Thread Llorx
Hi, About 1 or 2 years ago I had written an addition for ffmpeg to change the video bitrate while ffmpeg is running. The way I've done it is by listening to a UDP socket for an int32, and each time a 4 byte packet enters, changes the bitrate, taking effect instantly. Works like a charm, and the UD

Re: [FFmpeg-devel] [PATCH] libavformat/matroskadec: Add test for seeking with codec delay.

2016-07-31 Thread Chris Cunningham
Thanks Michael. Do you mean to also apply the patch to add the test? Maybe you're waiting for further review. On Thu, Jul 28, 2016 at 9:48 AM, Michael Niedermayer wrote: > On Wed, Jul 27, 2016 at 06:35:50PM -0700, Chris Cunningham wrote: > > The file to upload to fate-suite can be found here: >

Re: [FFmpeg-devel] [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing]

2016-07-31 Thread Mark Thompson
On 31/07/16 18:09, Jens Ziller wrote: > Am Sonntag, den 31.07.2016, 16:33 +0100 schrieb Mark Thompson: >> Try the test stream h264/reinit-large_420_8-to-small_420_8.h264 in >> FATE? > I don't test it. I tested with MPEG2 and H264 DVB-S streams. Where can > I find this test stream?

Re: [FFmpeg-devel] [PATCH] avformat: add a TTA Muxer

2016-07-31 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXIV, James Almer a écrit : > AVIOContext is public API. I can't change the update_checksum function > pointer and checksum field to use for example uint32_t just like that. > If anything not until the next major bump, for ABI reasons. I had not realized it was used

Re: [FFmpeg-devel] [PATCH] avformat: add a TTA Muxer

2016-07-31 Thread James Almer
On 7/31/2016 1:36 PM, Nicolas George wrote: > Le quartidi 14 thermidor, an CCXXIV, James Almer a écrit : >> Signed-off-by: James Almer >> --- >> Changelog | 1 + >> doc/general.texi| 2 +- >> libavformat/Makefile| 1 + >> libavformat/allformats.c|

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: return AVERROR(EIO) rather than AVERROR_EOF on parse error

2016-07-31 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXIV, Sophia Wang a écrit : > Since matroska->done is only set to 1 in matroska_resync(), the choice > of error is made by checking the return value of matroska_resync() > rather than checking matroska->done directly on the next > while-iteration. This is not what yo

[FFmpeg-devel] [PATCH] avformat/matroskadec: return AVERROR(EIO) rather than AVERROR_EOF on parse error

2016-07-31 Thread Sophia Wang
Since matroska->done is only set to 1 in matroska_resync(), the choice of error is made by checking the return value of matroska_resync() rather than checking matroska->done directly on the next while-iteration. Signed-off-by: Sophia Wang --- libavformat/matroskadec.c | 8 1 file change

Re: [FFmpeg-devel] [PATCH] dynarray: Change AV_ to FF_ for AV_DYNARRAY_ADD

2016-07-31 Thread Timothy Gu
On Fri, Jul 29, 2016 at 10:18 PM Timothy Gu wrote: > The header is not installed and the macro isn't used outside libavutil, > so it is obviously privat to libavutil. Make the name reflect that. > --- > libavutil/dynarray.h | 2 +- > libavutil/mem.c | 6 +++--- > 2 files changed, 4 insertio

Re: [FFmpeg-devel] [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing]

2016-07-31 Thread Jens Ziller
Am Sonntag, den 31.07.2016, 16:33 +0100 schrieb Mark Thompson: > On 31/07/16 15:51, Jens Ziller wrote: > > > > Am Samstag, den 30.07.2016, 17:30 +0100 schrieb Mark Thompson: > > > > > > Does this also do the right thing if the decoder is reconfigured > > > with > > > frames outstanding?  To me (w

Re: [FFmpeg-devel] [PATCH] mem: Make function attribute usage consistent

2016-07-31 Thread Timothy Gu
On Sun, Jul 31, 2016 at 4:56 AM Michael Niedermayer wrote: > On Sat, Jul 30, 2016 at 07:13:06PM -0700, Timothy Gu wrote: > > --- > > libavutil/mem.h | 47 +-- > > 1 file changed, 37 insertions(+), 10 deletions(-) > > causes > make fate-lossless-shorten

Re: [FFmpeg-devel] [PATCH] avformat: add a TTA Muxer

2016-07-31 Thread Nicolas George
Le quartidi 14 thermidor, an CCXXIV, James Almer a écrit : > Signed-off-by: James Almer > --- > Changelog | 1 + > doc/general.texi| 2 +- > libavformat/Makefile| 1 + > libavformat/allformats.c| 2 +- > libavformat/avio_internal.h | 2 + > lib

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: fix Voids with size < 10

2016-07-31 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 10:31:29AM -0700, Michael Bradshaw wrote: > Hi, > > Attached patch fixes the MKV muxer when trying to write Void elements that > have a size < 10. The current code subtracts 1 from the size, which > accounts for the element ID byte, but it doesn't account for the additional

[FFmpeg-devel] [PATCH] avformat: add a TTA Muxer

2016-07-31 Thread James Almer
Signed-off-by: James Almer --- Changelog | 1 + doc/general.texi| 2 +- libavformat/Makefile| 1 + libavformat/allformats.c| 2 +- libavformat/avio_internal.h | 2 + libavformat/aviobuf.c | 6 ++ libavformat/tta.c | 10 +-- li

[FFmpeg-devel] [PATCH] MAINTAINERS: Add myself for af_hdcd

2016-07-31 Thread Burt P
Signed-off-by: Burt P --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 6d4c9f9..932e6fb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -308,6 +308,7 @@ Filters: af_chorus.c Paul B Mahol af_compand.c

Re: [FFmpeg-devel] [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing]

2016-07-31 Thread Mark Thompson
On 31/07/16 15:51, Jens Ziller wrote: > Am Samstag, den 30.07.2016, 17:30 +0100 schrieb Mark Thompson: >> Does this also do the right thing if the decoder is reconfigured with >> frames outstanding? To me (without really knowing the code) it looks >> like it will overwrite the old format (line 702

Re: [FFmpeg-devel] [PATCH] libavcodec/mmaldec.c: add interlaced_frame and format struct to AVFrame for deinterlacing]

2016-07-31 Thread Jens Ziller
Am Samstag, den 30.07.2016, 17:30 +0100 schrieb Mark Thompson: > On 30/07/16 15:50, Jens Ziller wrote: > > > > Am Samstag, den 16.07.2016, 17:27 +0200 schrieb Jens Ziller: > > > > > > Hello Rodger and wm4, > > > > > > for interlaced frames I need AVFrame->interlaced_frame. For > > > invoke > > >

Re: [FFmpeg-devel] [PATCH 1/2] build: Make API documentation depend on config.mak

2016-07-31 Thread Michael Niedermayer
On Fri, Jul 29, 2016 at 10:30:37PM -0700, Timothy Gu wrote: > The Doxygen command is generated from the list of installed headers, > which may change per configuration (e.g. `--enable-gpl` results in > libpostproc to be built and installed). > --- > doc/Makefile | 2 +- > 1 file changed, 1 inserti

Re: [FFmpeg-devel] [PATCH 2/7] af_hdcd: give cdt expired counter a value for never set

2016-07-31 Thread Michael Niedermayer
On Fri, Jul 29, 2016 at 12:36:17PM -0500, Burt P wrote: > The counter is now -1 if the code detect timer was never set, > and 0 if it was set but never expired. > > Signed-off-by: Burt P > --- > libavfilter/af_hdcd.c | 17 ++--- > 1 file changed, 14 insertions(+), 3 deletions(-) app

Re: [FFmpeg-devel] [PATCH 1/7] af_hdcd: fix a minor annoyance

2016-07-31 Thread Michael Niedermayer
On Fri, Jul 29, 2016 at 12:36:16PM -0500, Burt P wrote: > Signed-off-by: Burt P > --- > libavfilter/af_hdcd.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Rewriting code that is poo

Re: [FFmpeg-devel] [PATCH 0/1] af_hdcd: Process stereo channels together, fix #5727

2016-07-31 Thread Michael Niedermayer
On Thu, Jul 28, 2016 at 12:18:01AM -0500, Burt P. wrote: > > My suggestion is that you send your public key to > > Michael and commit yourself including adding yourself > > as maintainer of hdcd. > > I don't know enough about what that would mean. I'm also not > an expert user of git. you can be

Re: [FFmpeg-devel] [PATCH] mem: Make function attribute usage consistent

2016-07-31 Thread Michael Niedermayer
On Sat, Jul 30, 2016 at 07:13:06PM -0700, Timothy Gu wrote: > --- > libavutil/mem.h | 47 +-- > 1 file changed, 37 insertions(+), 10 deletions(-) causes make fate-lossless-shorten to Abort --- ./tests/ref/fate/lossless-shorten 2016-07-28 11:52:04.7622

[FFmpeg-devel] patchwork

2016-07-31 Thread Michael Niedermayer
Hi all raz has setup https://patchwork.ffmpeg.org feel free to register and use as you like if you dont like it you can ignore it, which is the beauty of patchwork, noone needs to use it. I think though this has the potential to help us and me to keep track of patches a bit better than with a MUA

[FFmpeg-devel] one issue for reading incoming rtmp stream

2016-07-31 Thread qw
Hi, I'm using avformat_open_input() and avformat_find_stream_info() open incoming rtmp stream, where there are two substream, i.e. audio and video streams. ffmpeg's native rtmp plugin is expected to detect both audio and video streams. Sometimes ffmpeg's native rtmp plugin can detect only audio