[FFmpeg-devel] fate: add DNxHR 12-bit example.

2016-08-02 Thread Steven Robertson
Test file available at http://tinyurl.com/fate-dnxhd-12bit . ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] fate: add DNxHR 12-bit example.

2016-08-02 Thread Steven Robertson
Test file available at http://tinyurl.com/fate-dnxhd-12bit . Signed-off-by: Steven Robertson --- tests/fate/dnxhd.mak | 2 ++ tests/ref/fate/dnxhr-12bit | 6 ++ 2 files changed, 8 insertions(+) create mode 100644 tests/ref/fate/dnxhr-12bit diff --git a/tests/fate/dnxhd.mak b/tests/fa

Re: [FFmpeg-devel] [PATCH] - libavdevices/decklink_*.cpp: formatting change to remove uneeded spaces in initializers

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 10:17 PM Felt, Patrick wrote: > --- > libavdevice/decklink_common.cpp | 10 +- > libavdevice/decklink_dec.cpp| 18 +- > libavdevice/decklink_enc.cpp| 26 +- > 3 files changed, 27 insertions(+), 27 deletions(-) > Pushed.

Re: [FFmpeg-devel] [PATCH] af_hdcd: add flags to AVOption defs

2016-08-02 Thread Timothy Gu
On Mon, Aug 1, 2016 at 8:56 AM Burt P wrote: > Signed-off-by: Burt P > --- > libavfilter/af_hdcd.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > Applied. You might also want to look into using AV_OPT_TYPE_BOOL for these two options. Timothy ___

Re: [FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 8:42 PM Timothy Gu wrote: > On Tue, Aug 2, 2016 at 6:30 PM James Almer wrote: > >> On 8/2/2016 7:28 PM, Timothy Gu wrote: >> > --- >> > libavcodec/jni.c| 9 - >> > libavcodec/mediacodec.c | 6 -- >> > 2 files changed, 8 insertions(+), 7 deletions(-) >>

[FFmpeg-devel] [PATCH] - libavdevices/decklink_*.cpp: formatting change to remove uneeded spaces in initializers

2016-08-02 Thread Felt, Patrick
--- libavdevice/decklink_common.cpp | 10 +- libavdevice/decklink_dec.cpp| 18 +- libavdevice/decklink_enc.cpp| 26 +- 3 files changed, 27 insertions(+), 27 deletions(-) cosmetic2.diff Description: cosmetic2.diff ___

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Jan Ehrhardt
Nicolas George in gmane.comp.video.ffmpeg.devel (Wed, 3 Aug 2016 01:22:18 +0200): >Actually, I was talking about snapshots generated by gitweb. I realize now >that the snapshot we are talking are generated differently, and they contain >a full pack of the .git directory. That makes them roughly equ

[FFmpeg-devel] [PATCH] avcodec/vdpau: clean up vdpau_internal.h

2016-08-02 Thread James Almer
Also don't include it on files that don't need it. This reduces differences with libav Signed-off-by: James Almer --- Untested with VDPAU enabled. libavcodec/mpeg12.c | 1 - libavcodec/svq3.c | 1 - libavcodec/vdpau_internal.h | 10 +- 3 files changed, 1 insertion(+

Re: [FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 6:30 PM James Almer wrote: > On 8/2/2016 7:28 PM, Timothy Gu wrote: > > --- > > libavcodec/jni.c| 9 - > > libavcodec/mediacodec.c | 6 -- > > 2 files changed, 8 insertions(+), 7 deletions(-) > > > > I'd say split this in two patches, so you can easily

Re: [FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread James Almer
On 8/2/2016 7:28 PM, Timothy Gu wrote: > --- > libavcodec/jni.c| 9 - > libavcodec/mediacodec.c | 6 -- > 2 files changed, 8 insertions(+), 7 deletions(-) > I'd say split this in two patches, so you can easily cherry-pick the jni part for release branches 3.0 and 3.1. ___

Re: [FFmpeg-devel] [PATCH] libavcodec/dnxhd: Enable 12-bit DNxHR support.

2016-08-02 Thread Michael Niedermayer
On Mon, Aug 01, 2016 at 11:26:12PM -0700, Steven Robertson wrote: > 10- and 12-bit DNxHR use the same DC coefficient decoding process and > VLC table, just with a different shift value. From SMPTE 2019-1:2016, > 8.2.4 DC Coefficient Decoding: > > "For 8-bit video sampling, the maximum value of η=1

Re: [FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 03:28:10PM -0700, Timothy Gu wrote: > --- > libavcodec/jni.c| 9 - > libavcodec/mediacodec.c | 6 -- > 2 files changed, 8 insertions(+), 7 deletions(-) builds on all systems that are easy testable here [...] -- Michael GnuPG fingerprint: 9FF2128B1

Re: [FFmpeg-devel] How to force key frame for h264_qsv encoder?

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 03:46:15PM -0700, Chao Liu wrote: > Need to add some code like following here > > if (frame->pict_type == AV_PICTURE_TYPE_I) { > enc_ctrl->FrameType = MFX_FRAMETYPE_I | MFX_FRAMETYPE_IDR | >

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 10:41:09PM +, Timothy Gu wrote: > On Tue, Aug 2, 2016 at 3:10 PM Nicolas George wrote: > > > Le sextidi 16 thermidor, an CCXXIV, Jan Ehrhardt a écrit : > > > Because it is faster to download a snapshot and extract it than > > > doing a git clone > > > > I suggest you c

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Nicolas George
Le septidi 17 thermidor, an CCXXIV, Carl Eugen Hoyos a écrit : > This would be a bug. No, that would be an inherent limitation of the snapshots: they do not contain anything that can give an accurate version. Actually, I was talking about snapshots generated by gitweb. I realize now that the snap

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Carl Eugen Hoyos
Hi! 2016-08-03 0:09 GMT+02:00 Nicolas George : > IIRC, one of the minor perks of doing that is that the version > script will give a more useful version tag. This would be a bug. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://f

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Nicolas George
Le sextidi 16 thermidor, an CCXXIV, Timothy Gu a écrit : > In addition, https://git.ffmpeg.org doesn't seem to support --depth. git://source.ffmpeg.org/ffmpeg (i.e. the videolan server) does. It would probably be better if our server did too, but I do not know how. > $ time git clone --depth=1 ht

Re: [FFmpeg-devel] How to force key frame for h264_qsv encoder?

2016-08-02 Thread Chao Liu
Need to add some code like following here if (frame->pict_type == AV_PICTURE_TYPE_I) { enc_ctrl->FrameType = MFX_FRAMETYPE_I | MFX_FRAMETYPE_IDR | MFX_FRAMETYPE_REF; } On Mon, Aug 1, 2016 at 1:20 PM, Chao Liu wr

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 3:10 PM Nicolas George wrote: > Le sextidi 16 thermidor, an CCXXIV, Jan Ehrhardt a écrit : > > Because it is faster to download a snapshot and extract it than > > doing a git clone > > I suggest you consider doing a shallow clone (--depth 1). It should take > roughly the sa

[FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Timothy Gu
--- libavcodec/jni.c| 9 - libavcodec/mediacodec.c | 6 -- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/libavcodec/jni.c b/libavcodec/jni.c index 32456f5..85dcf2a 100644 --- a/libavcodec/jni.c +++ b/libavcodec/jni.c @@ -20,19 +20,18 @@ * Foundation, Inc., 51

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

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 3:13 PM Michael Niedermayer wrote: > On Sun, Jul 31, 2016 at 09:07:03PM -0700, Timothy Gu wrote: > > --- > > libavutil/mem.h | 198 > > > 1 file changed, 99 insertions(+), 99 deletions(-) > > LGTM if that order is pr

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

2016-08-02 Thread Michael Niedermayer
On Sun, Jul 31, 2016 at 09:07:03PM -0700, Timothy Gu wrote: > --- > libavutil/mem.h | 198 > > 1 file changed, 99 insertions(+), 99 deletions(-) LGTM if that order is preferred thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF67

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Nicolas George
Le sextidi 16 thermidor, an CCXXIV, Jan Ehrhardt a écrit : > Because it is faster to download a snapshot and extract it than > doing a git clone I suggest you consider doing a shallow clone (--depth 1). It should take roughly the same time as getting and unpacking a snapshot. IIRC, one of the mino

Re: [FFmpeg-devel] [Libav-user] [PATCH]Fix a crash in vaapi_encode if "." is not the decimal separator

2016-08-02 Thread Nicolas George
Le sextidi 16 thermidor, an CCXXIV, Mark Thompson a écrit : > However, I'm not sure about the backward compatibility - with the current > behaviour users can have scripts containing "1,2" in any numeric argument > to ffmpeg (meaning 6/5 as here) and have it parsed correctly because of > their local

Re: [FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 01:38:40PM -0700, Timothy Gu wrote: > --- > libavcodec/jni.c| 2 +- > libavcodec/mediacodec.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavcodec/jni.c b/libavcodec/jni.c > index 32456f5..e08a185 100644 > --- a/libavcodec/jni.c

Re: [FFmpeg-devel] [PATCH 10/11] avformat/fifo: Add AVFMT_FLAG_NONBLOCK support

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 03:24:21PM +0200, sebechlebsky...@gmail.com wrote: > From: Jan Sebechlebsky > > Add support for nonblocking calls. > > Signed-off-by: Jan Sebechlebsky > --- > libavformat/fifo.c | 70 > +- > 1 file changed, 59 inserti

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 10:54:15PM +0200, Jan Ehrhardt wrote: > I have a script that cross-compiles ffmpeg on Ubuntu for Windows. > Because it is faster to download a snapshot and extract it than > doing a git clone the script uses > http://ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2 > > Recen

Re: [FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 1:54 PM Jan Ehrhardt wrote: > I have a script that cross-compiles ffmpeg on Ubuntu for Windows. > Because it is faster to download a snapshot and extract it than > doing a git clone the script uses > http://ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2 This sounds like

Re: [FFmpeg-devel] [PATCH] [RFC] libavfilter HRTF/room acoustics filter [1/2]

2016-08-02 Thread Yue Shi Lai
On 08/02/2016 08:40 AM, Paul B Mahol wrote: > On 8/2/16, Yue Shi Lai wrote: >> - integrated matrix decoder (probably better suited as a separate filter) > > This one does what? This is an implementation of the steering or active matrix surround decoder (e.g. Quadraphonic or Dolby Surround). Impl

[FFmpeg-devel] snapshots differ from git clone

2016-08-02 Thread Jan Ehrhardt
I have a script that cross-compiles ffmpeg on Ubuntu for Windows. Because it is faster to download a snapshot and extract it than doing a git clone the script uses http://ffmpeg.org/releases/ffmpeg-snapshot-git.tar.bz2 Recently I ran into unresolved externals in x86/dirac_dwt_init.c/o. Details bel

[FFmpeg-devel] [PATCH] jni, mediacodec: Return ENOSYS on unsupported platforms

2016-08-02 Thread Timothy Gu
--- libavcodec/jni.c| 2 +- libavcodec/mediacodec.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/jni.c b/libavcodec/jni.c index 32456f5..e08a185 100644 --- a/libavcodec/jni.c +++ b/libavcodec/jni.c @@ -69,7 +69,7 @@ void *av_jni_get_java_vm(void *log_

[FFmpeg-devel] [PATCH] avformat/matroskadec: retain error codes in matroska_resync() and matroska_read_packet()

2016-08-02 Thread Sophia Wang
Signed-off-by: Sophia Wang --- libavformat/matroskadec.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c index d07a092..f9693ca 100644 --- a/libavformat/matroskadec.c +++ b/libavformat/matroskadec.c @@ -7

Re: [FFmpeg-devel] [Libav-user] [PATCH]Fix a crash in vaapi_encode if "." is not the decimal separator

2016-08-02 Thread Mark Thompson
On 02/08/16 18:39, Nicolas George wrote: > Le sextidi 16 thermidor, an CCXXIV, Carl Eugen Hoyos a écrit : >> -{ "i_qfactor", "1.0" }, >> -{ "i_qoffset", "0.0" }, >> -{ "b_qfactor", "1.2" }, >> -{ "b_qoffset", "0.0" }, >> +{ "i_qfactor", "1" }, >> +

Re: [FFmpeg-devel] [PATCH 03/11] avformat/fifo: Add fate test

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 03:24:14PM +0200, sebechlebsky...@gmail.com wrote: > From: Jan Sebechlebsky > > Signed-off-by: Jan Sebechlebsky > --- > This adds two tests checking that the output of muxers is the same > as when fifo is used and stand-alone test program which covers > behaviour in fa

Re: [FFmpeg-devel] [PATCH] - cosmetic: the decklink_dec* files are used for input from the decklink cards. update the header to reflect that

2016-08-02 Thread Timothy Gu
On Tue, Aug 2, 2016 at 12:51 PM Felt, Patrick wrote: > That’s really odd. Has to be something stupid from my MUA. Let me attach > it as a file and it should go. (I wrote this off a brand new fresh clone). > Pushed, thanks. Timothy ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] - cosmetic: the decklink_dec* files are used for input from the decklink cards. update the header to reflect that

2016-08-02 Thread Felt, Patrick
That’s really odd. Has to be something stupid from my MUA. Let me attach it as a file and it should go. (I wrote this off a brand new fresh clone). From: ffmpeg-devel on behalf of Michael Niedermayer Reply-To: FFmpeg development discussions and patches Date: Tuesday, August 2, 2016 at 1:0

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

2016-08-02 Thread James Almer
On 7/31/2016 10:27 PM, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/Makefile | 2 +- > libavcodec/ttadsp.c | 41 - > libavcodec/ttadsp.h | 3 +++ > libavcodec/ttaenc.c | 38 ++--

Re: [FFmpeg-devel] [PATCH] - cosmetic: the decklink_dec* files are used for input from the decklink cards. update the header to reflect that

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 06:44:14PM +, Felt, Patrick wrote: > This is a cosmetic patch only to update the header of decklink files to be > indicative of data flow direction. > > > --- > libavdevice/decklink_dec.cpp | 4 ++-- > libavdevice/decklink_dec.h | 2 +- > libavdevice/decklink_dec_c.c

[FFmpeg-devel] [PATCH] - cosmetic: the decklink_dec* files are used for input from the decklink cards. update the header to reflect that

2016-08-02 Thread Felt, Patrick
This is a cosmetic patch only to update the header of decklink files to be indicative of data flow direction. --- libavdevice/decklink_dec.cpp | 4 ++-- libavdevice/decklink_dec.h | 2 +- libavdevice/decklink_dec_c.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/libavdevi

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

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 04:42:56PM +0200, Nicolas George wrote: > Le quintidi 15 thermidor, an CCXXIV, Michael Niedermayer a écrit : > > Signed-off-by: Michael Niedermayer [...] > > +int ff_tee_parse_slave_options(void *log, char *slave, > > + AVDictionary **options,

Re: [FFmpeg-devel] [Libav-user] [PATCH]Fix a crash in vaapi_encode if "." is not the decimal separator

2016-08-02 Thread Carl Eugen Hoyos
Hi! 2016-08-02 19:39 GMT+02:00 Nicolas George : > Le sextidi 16 thermidor, an CCXXIV, Carl Eugen Hoyos a écrit : >> To: "This list is about using libavcodec, libavformat, libavutil, >> libavdevice and libavfilter." > > Why did you post to this list? I made a mistake, sorry. Carl Eugen _

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/bsf: Add list BSF API

2016-08-02 Thread Timothy Gu
Sorry, I seem to have lost the original mail, and as Gmane is dead I had to review using Nicolas's mail. On Tue, Aug 2, 2016 at 8:14 AM Nicolas George wrote: > Le primidi 11 thermidor, an CCXXIV, sebechlebsky...@gmail.com a écrit : > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > >

Re: [FFmpeg-devel] [Libav-user] [PATCH]Fix a crash in vaapi_encode if "." is not the decimal separator

2016-08-02 Thread Nicolas George
Le sextidi 16 thermidor, an CCXXIV, Carl Eugen Hoyos a écrit : > To: "This list is about using libavcodec, libavformat, libavutil, > libavdevice and libavfilter." Why did you post to this list? > Subject: [PATCH] lavc/vaapi_encode_h26x: Fix a crash if "." is not the > decimal separator. > -

Re: [FFmpeg-devel] patchwork

2016-08-02 Thread Michael Niedermayer
On Sun, Jul 31, 2016 at 01:39:15PM +0200, Michael Niedermayer wrote: > Hi all > > raz has setup > https://patchwork.ffmpeg.org > feel free to register and use as you like ill add every FFmpeg developer i spot amongth the registered users to the maintainers of FFmpeg that way everyone can edit an

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

2016-08-02 Thread Timothy Gu
--- A bit more editing... --- libavutil/mem.h | 588 +++- 1 file changed, 451 insertions(+), 137 deletions(-) diff --git a/libavutil/mem.h b/libavutil/mem.h index 145ac91..4b99342 100644 --- a/libavutil/mem.h +++ b/libavutil/mem.h @@ -20,7 +20

Re: [FFmpeg-devel] [PATCH] doc: add Libav merge document

2016-08-02 Thread Timothy Gu
I've put this document onto the wiki so that it's easier to edit: https://trac.ffmpeg.org/wiki/LibavMerge Timothy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] [RFC] libavfilter HRTF/room acoustics filter [1/2]

2016-08-02 Thread Paul B Mahol
Wow! On 8/2/16, Yue Shi Lai wrote: > Dear all, > > The following proposed filter is a follow up from an inquiry I received > now almost 3 years ago, to relicense MPlayer's HRTF filter > (libaf/af_hrtf) for FFmpeg. In the mean time, I have developed a much > improved version that somehow never got

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/bsf: Add list BSF API

2016-08-02 Thread James Almer
On 8/2/2016 12:14 PM, Nicolas George wrote: >> +AVBSFList *av_bsf_list_alloc(void); > This is personal, but for new APIs, I like "int foo_alloc(Foo **rfoo)" > better than "Foo *foo_alloc(void)": that way, the caller can forward the > error code instead of guessing it is ENOMEM. There is no other e

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

2016-08-02 Thread Jan Sebechlebsky
On 08/02/2016 04:42 PM, Nicolas George wrote: LGTM apart from that, but maybe ask Jan if it will not interfere with his work. It will interfere with patch "avformat/tee: Use BSF list API" I've send to ML, but it's not a problem at all, I'll just regenerate and resend the patch after this is ap

Re: [FFmpeg-devel] [PATCH 3/5] avcodec/bsf: Add list BSF API

2016-08-02 Thread Nicolas George
Le primidi 11 thermidor, an CCXXIV, sebechlebsky...@gmail.com a écrit : > From: Jan Sebechlebsky > > --- > libavcodec/avcodec.h | 74 ++ > libavcodec/bsf.c | 284 > +++ > 2 files changed, 358 insertions(+) Looks rather nice. Comm

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

2016-08-02 Thread Timothy Gu
On Sun, Jul 31, 2016 at 7:06 AM Michael Niedermayer wrote: > 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

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

2016-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXIV, Michael Niedermayer a écrit : > Signed-off-by: Michael Niedermayer > --- > libavformat/Makefile |2 +- > libavformat/tee.c| 44 ++ > libavformat/tee_common.c | 68 > ++

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

2016-08-02 Thread Nicolas George
Le quintidi 15 thermidor, an CCXXIV, Sophia Wang a écrit : > Thanks for the quick response. matroska_resync() is currently written to > only return AVERROR_EOF, so using that error code directly wouldn't be any > more informative. But your suggestion would work if matroska_resync() kept > the error

[FFmpeg-devel] [PATCH 11/11] avformat/fifo: Add test for nonblocking mode

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- libavformat/tests/fifo_muxer.c | 139 + tests/ref/fate/fifo-muxer-tst | 5 ++ 2 files changed, 144 insertions(+) diff --git a/libavformat/tests/fifo_muxer.c b/libavformat/tests/fifo_muxer.c in

[FFmpeg-devel] [GSoC] fifo muxer

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Hello, I am resending fifo muxer related patchset, now also with patches adding support for nonblocking calls (AVFMT_FLAG_NONBLOCK) and fate tests. Regards, Jan Jan Sebechlebsky (11): avformat: Add fifo pseudo-muxer MAINTAINERS: Add myself as maintainer of fifo muxe

[FFmpeg-devel] [PATCH 08/11] avformat/mux: Restore original ts in write_packet on error

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Restore original timestamps in write_packet() if the actual write operation was not successfull. This allows to pass the same packet to nonblocking muxer repeatedly without corrupting the timestamps. Signed-off-by: Jan Sebechlebsky --- libavformat/mux.c | 9 + 1

[FFmpeg-devel] [PATCH 05/11] avformat/mux: Refactor muxer deinit from av_write_trailer

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Move muxer deinitialization and private resources freeing in a separate static function free_muxer(AVFormatContext*). Signed-off-by: Jan Sebechlebsky --- libavformat/mux.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git

[FFmpeg-devel] [PATCH 02/11] MAINTAINERS: Add myself as maintainer of fifo muxer

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 932e6fb..9fab34d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -164,6 +164,7 @@ Codecs: exif.c, exif.hThilo Borgm

[FFmpeg-devel] [PATCH v4 01/11] avformat: Add fifo pseudo-muxer

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- Changes from the last version of patch: - I got rid of write header message, and pulled initial write_header call out of the while loop as Nicolas originaly suggested. Changelog| 1 + configure

[FFmpeg-devel] [PATCH 04/11] avformat/muxers: Add non-blocking mode support for av_write_trailer

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky This makes av_write_trailer not to free the resources if write_trailer call returns AVERROR(EAGAIN) allowing repeated calls of write_trailer of non-blocking muxer. Signed-off-by: Jan Sebechlebsky --- libavformat/avformat.h | 6 +- libavformat/mux.c | 3 +++ 2 fi

[FFmpeg-devel] [PATCH 06/11] avformat: add av_abort_output() function

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- libavformat/avformat.h | 14 ++ libavformat/mux.c | 16 2 files changed, 30 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9191c69..9173908 100644 --- a/libavformat/av

[FFmpeg-devel] [PATCH 07/11] avformat/avformat.h: Add comments regarding AVFMT_FLAG_NONBLOCK.

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Add comments regarding AVFMG_FLAG_NONBLOCK usage with muxers. Signed-off-by: Jan Sebechlebsky --- libavformat/avformat.h | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9173908..6898c8c 100

[FFmpeg-devel] [PATCH 03/11] avformat/fifo: Add fate test

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Signed-off-by: Jan Sebechlebsky --- This adds two tests checking that the output of muxers is the same as when fifo is used and stand-alone test program which covers behaviour in failure scenarios. libavformat/Makefile | 1 + libavformat/tests/fifo_muxer.c

[FFmpeg-devel] [PATCH 10/11] avformat/fifo: Add AVFMT_FLAG_NONBLOCK support

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky Add support for nonblocking calls. Signed-off-by: Jan Sebechlebsky --- libavformat/fifo.c | 70 +- 1 file changed, 59 insertions(+), 11 deletions(-) diff --git a/libavformat/fifo.c b/libavformat/fifo.c index bc8c973..e

[FFmpeg-devel] [PATCH 09/11] avformat/mux: Restore stream ts in av_write_packet on EAGAIN

2016-08-02 Thread sebechlebskyjan
From: Jan Sebechlebsky compute_muxer_pkt_fields() stores the last seen timestamps in stream and produces error if the same timestamp is presented again. This is a problem if muxer works in non-blocking mode and calls av_write_packet repeatedly with the same packet. This patch saves stream fields

Re: [FFmpeg-devel] libavcodec : add psd image file decoder

2016-08-02 Thread Michael Niedermayer
On Tue, Jul 26, 2016 at 03:07:37PM +0200, Martin Vignali wrote: > Sorry, forgot one out of array issue in the previous patch > > Correct patch in attach > > Martin > Makefile |1 + > allformats.c |1 + > img2dec.c| 33 + > 3 files changed, 35 in

Re: [FFmpeg-devel] [PATCH] Add stats_version documentation to PSNR filter

2016-08-02 Thread Michael Niedermayer
On Mon, Aug 01, 2016 at 09:50:59AM -0700, Lucas Cooper wrote: > --- > doc/filters.texi | 20 +++- > 1 file changed, 19 insertions(+), 1 deletion(-) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Dictatorship naturally arises out of

Re: [FFmpeg-devel] [PATCH] fate: add test for tremolo filter

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 07:59:43AM +, Petru Rares Sincraian wrote: > > Hi there, > > Here is a test for tremolo filter. > > > Regards, > Petru Rares :) > fate/filter-audio.mak |5 + > ref/fate/filter-tremolo | 25 + > 2 files changed, 30 insertions(+) >

Re: [FFmpeg-devel] [PATCH] fate: add test for vibrato filter

2016-08-02 Thread Michael Niedermayer
On Tue, Aug 02, 2016 at 08:07:28AM +, Petru Rares Sincraian wrote: > > Hi there, > > Here is a patch for vibrato filter. fails on mingw32 (i686-w64-mingw32-gcc (GCC) 4.6.3) --- tests/ref/fate/filter-vibrato 2016-08-02 11:07:22.211252689 +0200 +++ tests/data/fate/filter-vibrato 20

[FFmpeg-devel] [PATCH] fate: add test for vibrato filter

2016-08-02 Thread Petru Rares Sincraian
Hi there, Here is a patch for vibrato filter. Regards, Petru Rares.From 9969766d490e5106964c9f3e263df2679b0bac56 Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Tue, 2 Aug 2016 10:03:45 +0200 Subject: [PATCH] fate: add test for vibrato filter --- tests/fate/filter-audio.mak | 5

[FFmpeg-devel] [PATCH] fate: add test for tremolo filter

2016-08-02 Thread Petru Rares Sincraian
Hi there, Here is a test for tremolo filter. Regards, Petru Rares :)From c83f7fadf860c9612dfa545703ba596f3c729cbf Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Tue, 2 Aug 2016 09:38:17 +0200 Subject: [PATCH] fate: add test for tremolo filter --- tests/fate/filter-audio.mak |