Re: [FFmpeg-devel] [PATCH] Correct range for framerate in abitscope filter

2017-03-29 Thread Gyan
On Thu, Mar 23, 2017 at 7:17 PM, Gyan wrote: > At present, the max value for the framerate input in the abitscope filter > is 0. This leads to an error when setting any rate: > > "[abitscope @ 04700500] Value 24.00 for parameter 'rate' out > of range [0 - 0]" > >

[FFmpeg-devel] [PATCH] Added HEVC and Opus FourCCs to nut4cc.txt

2017-03-29 Thread Leo Izen
--- docs/nut4cc.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/nut4cc.txt b/docs/nut4cc.txt index c2c067a..d6a5e7d 100644 --- a/docs/nut4cc.txt +++ b/docs/nut4cc.txt @@ -24,6 +24,7 @@ H261ITU H.261 H262ITU H.262 H263ITU H.263 H264ITU H.264 +HEVCITU H.265

[FFmpeg-devel] [PATCH] fate: add owdenoise test

2017-03-29 Thread Thomas Turner
Reference file location: https://www.dropbox.com/s/zeq3wyqbjkvy8ny/filter-owdenoise-sample?dl=0 Signed-off-by: Thomas Turner --- tests/fate/filter-video.mak | 6 ++ 1 file changed, 6 insertions(+) diff --git a/tests/fate/filter-video.mak

Re: [FFmpeg-devel] [PATCH] Added HEVC and Opus support to nut

2017-03-29 Thread Michael Niedermayer
On Tue, Mar 28, 2017 at 05:07:47PM -0400, Leo Izen wrote: > --- > libavformat/nut.c | 2 ++ > 1 file changed, 2 insertions(+) please submit a patch updating docs/nut4cc.txt to nut-devel at mplayerhq.hu first. We should not use codec identifers which are not in the spec, the spec should be

[FFmpeg-devel] [PATCH v11] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Steven Liu
v2 fixed: 1. from autodetect to disabled 2. from camelCase code style to ffmpeg code style 3. from RepType to AVMediaType 4. fix variable typo 5. change time value from uint32_t to uint64_t 6. removed be used once API 7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-03-29 Thread Thomas Mundt
>>Lou Logan schrieb am Do, 30.3.2017: > On Mon, 13 Mar 2017 16:23:46 + (UTC) > Thomas Mundt wrote: > > [...] >> index 09ca4d3..0b5b858 100644 >> --- a/libavfilter/vf_tinterlace.c >> +++ b/libavfilter/vf_tinterlace.c > [...] >> +static void lowpass_line_complex_c(uint8_t

Re: [FFmpeg-devel] [PATCH 2/2] ffprobe: fix printing packet side data information

2017-03-29 Thread James Almer
On 3/25/2017 4:04 PM, James Almer wrote: > Signed-off-by: James Almer > --- > ffprobe.c | 4 ++-- > tests/ref/fate/mov-aac-2048-priming | 2 +- > 2 files changed, 3 insertions(+), 3 deletions(-) > Pushed.

[FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file, added av_frame_make_writable() check)

2017-03-29 Thread Paolo Prete
--- doc/examples/Makefile | 1 + doc/examples/encode_raw_audio_file_to_aac.c | 307 2 files changed, 308 insertions(+) create mode 100644 doc/examples/encode_raw_audio_file_to_aac.c diff --git a/doc/examples/Makefile b/doc/examples/Makefile

Re: [FFmpeg-devel] [PATCH v10] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Steven Liu
2017-03-30 8:12 GMT+08:00 Michael Niedermayer : > On Thu, Mar 30, 2017 at 07:00:39AM +0800, Steven Liu wrote: > > 2017-03-30 5:42 GMT+08:00 Michael Niedermayer : > > > > > On Wed, Mar 29, 2017 at 08:41:38PM +0800, Steven Liu wrote: > > > > v2 fixed:

Re: [FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file)

2017-03-29 Thread Paolo Prete
Il Giovedì 30 Marzo 2017 1:43, Paolo Prete ha scritto: The next patch I'm going to post adds a check with av_frame_make_writable(), as suggested by wm4. However, I see that the same function is used only by muxing.c in the examples folder, and it's not

Re: [FFmpeg-devel] [PATCH v10] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Michael Niedermayer
On Thu, Mar 30, 2017 at 07:00:39AM +0800, Steven Liu wrote: > 2017-03-30 5:42 GMT+08:00 Michael Niedermayer : > > > On Wed, Mar 29, 2017 at 08:41:38PM +0800, Steven Liu wrote: > > > v2 fixed: > > > 1. from autodetect to disabled > > > 2. from camelCase code style to ffmpeg

Re: [FFmpeg-devel] [PATCH 4/6] h264: don't re-assign H264Picture::mbaff between slices.

2017-03-29 Thread Michael Niedermayer
On Wed, Mar 29, 2017 at 10:12:22AM -0400, Ronald S. Bultje wrote: > The value must be identical between slices. (Maybe this needs an error > path to inform caller if this fails?) > --- > libavcodec/h264_direct.c | 6 +- > 1 file changed, 5 insertions(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH]configure: Fix libopus detection

2017-03-29 Thread James Almer
On 3/29/2017 8:41 PM, Lou Logan wrote: > On Thu, 30 Mar 2017 00:47:47 +0200 > Carl Eugen Hoyos wrote: > >> Hi! >> >> Attached patch fixes a compilation error here. > > What is the error? How can I duplicate the error? Install libopus 1.0.2 or older and configure will succeed

Re: [FFmpeg-devel] [PATCH]configure: Fix libopus detection

2017-03-29 Thread James Almer
On 3/29/2017 7:47 PM, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes a compilation error here. > > Please test for success, Carl Eugen > > > 0001-configure-Fix-libopus-detection.patch > > > From 600b568651c60f8de609f211c814b5cd0640e584 Mon Sep 17 00:00:00 2001 > From: Carl Eugen

Re: [FFmpeg-devel] [PATCH] Ignore expired cookies

2017-03-29 Thread Micah Galizia
Hi, I'm going to have to submit a v2 for this patch (hopefully soon) -- this version only accomplishes half the job: not sending expired cookies. The change should also prevent storing them in the first place. Regardless, thanks for your help on this one. On Sat, Mar 25, 2017 at 7:27 PM, Micah

Re: [FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file)

2017-03-29 Thread Paolo Prete
Sorry, the previous patch contains few typo errors. See the next one. Il Giovedì 30 Marzo 2017 1:00, Paolo Prete ha scritto: --- doc/examples/Makefile                      |  1 + doc/examples/encode_raw_audio_file_to_aac.c | 300

Re: [FFmpeg-devel] [PATCH v10] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Steven Liu
2017-03-30 5:42 GMT+08:00 Michael Niedermayer : > On Wed, Mar 29, 2017 at 08:41:38PM +0800, Steven Liu wrote: > > v2 fixed: > > 1. from autodetect to disabled > > 2. from camelCase code style to ffmpeg code style > > 3. from RepType to AVMediaType > > 4. fix variable typo

Re: [FFmpeg-devel] [PATCH v2 2/2] avfilter/interlace: add complex vertical low-pass filter

2017-03-29 Thread Lou Logan
On Mon, 13 Mar 2017 16:23:46 + (UTC) Thomas Mundt wrote: [...] > index 09ca4d3..0b5b858 100644 > --- a/libavfilter/vf_tinterlace.c > +++ b/libavfilter/vf_tinterlace.c [...] > +static void lowpass_line_complex_c(uint8_t *dstp, ptrdiff_t width, const > uint8_t

[FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file)

2017-03-29 Thread Paolo Prete
--- doc/examples/Makefile | 1 + doc/examples/encode_raw_audio_file_to_aac.c | 300 2 files changed, 301 insertions(+) create mode 100644 doc/examples/encode_raw_audio_file_to_aac.c diff --git a/doc/examples/Makefile b/doc/examples/Makefile

Re: [FFmpeg-devel] [PATCH] pthread_frame: minor simplification to error handling

2017-03-29 Thread Alexander Strasser
On 2017-03-30 00:00 +0200, wm4 wrote: > On Wed, 29 Mar 2017 22:25:48 +0200 > Alexander Strasser wrote: > > > On Mon, 27 Mar 2017 14:28:17 +0200 > > > wm4 wrote: > > > > > > > Get rid of the "ret" variable, and always use err. Report the packet as > > >

Re: [FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file)

2017-03-29 Thread Paolo Prete
Il Mercoledì 29 Marzo 2017 11:58, wm4 ha scritto: > There are vague plans of disallowing stack allocation of AVPackets by> > removing sizeof(AVPacket) from the ABI (like AVFrame etc.), so it might> be > better to allocate the packet with the appropriate

[FFmpeg-devel] [PATCH]configure: Fix libopus detection

2017-03-29 Thread Carl Eugen Hoyos
Hi! Attached patch fixes a compilation error here. Please test for success, Carl Eugen From 600b568651c60f8de609f211c814b5cd0640e584 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 30 Mar 2017 00:45:06 +0200 Subject: [PATCH] configure: Fix libopus detection. Avoids

Re: [FFmpeg-devel] [PATCH 1/6] h264: don't write to source picture object in ff_h264_ref_picture().

2017-03-29 Thread Michael Niedermayer
On Wed, Mar 29, 2017 at 10:12:19AM -0400, Ronald S. Bultje wrote: > Doing so is analogous to writing to source data in memcpy(), and causes > (harmless) tsan warnings in fate-h264. > --- > libavcodec/h264_picture.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [FFmpeg-devel] [PATCH]lavf/isom: Remove an incorrect codec point for WMAv2

2017-03-29 Thread Carl Eugen Hoyos
2017-03-29 23:36 GMT+02:00 Paul B Mahol : > On 3/28/17, Carl Eugen Hoyos wrote: >> Hi! >> >> libavformat contains a codec point for WMAv2 for many years, it allows to >> write undecodable files but does not allow to decode existing (flip4mac) >> files. >> I

Re: [FFmpeg-devel] [PATCH] pthread_frame: minor simplification to error handling

2017-03-29 Thread wm4
On Wed, 29 Mar 2017 22:25:48 +0200 Alexander Strasser wrote: > Hi, > > I already saw this on -cvslog ml, so apparently I am too late... > > On 2017-03-29 12:19 +0200, wm4 wrote: > > On Mon, 27 Mar 2017 14:28:17 +0200 > > wm4 wrote: > > > > > Get rid

Re: [FFmpeg-devel] [PATCH 1/2] png: split header state and data state in two separate variables.

2017-03-29 Thread Michael Niedermayer
On Tue, Mar 28, 2017 at 07:37:54PM -0400, Ronald S. Bultje wrote: > Fixes a reported (but false) race condition in tsan for fate-apng. > --- > libavcodec/pngdec.c | 39 +++ > 1 file changed, 19 insertions(+), 20 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH]lavf/isom: Remove an incorrect codec point for WMAv2

2017-03-29 Thread Paul B Mahol
On 3/28/17, Carl Eugen Hoyos wrote: > Hi! > > libavformat contains a codec point for WMAv2 for many years, it allows to > write undecodable files but does not allow to decode existing (flip4mac) > files. > I believe the flip4mac files should be read differently, without using >

Re: [FFmpeg-devel] [PATCH v10] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Michael Niedermayer
On Wed, Mar 29, 2017 at 08:41:38PM +0800, Steven Liu wrote: > v2 fixed: > 1. from autodetect to disabled > 2. from camelCase code style to ffmpeg code style > 3. from RepType to AVMediaType > 4. fix variable typo > 5. change time value from uint32_t to uint64_t > 6. removed be used once API > 7.

Re: [FFmpeg-devel] [PATCH] lagarith: assign correct per-thread value to LagarithContext::avctx.

2017-03-29 Thread Paul B Mahol
On 3/29/17, Ronald S. Bultje wrote: > This fixes race conditions reported by tsan in fate-lagarith. The races > were because each thread's LagarithContext::avctx was set to the first > thread's AVCodecContext. > --- > libavcodec/lagarith.c | 11 +++ > 1 file changed,

Re: [FFmpeg-devel] [PATCH] fic: set pict_type/key_frame after (instead of during) slice decoding.

2017-03-29 Thread Paul B Mahol
On 3/29/17, Ronald S. Bultje wrote: > This fixes a race condition that was already documented in the source > code, and is also reported by tsan in fate-fic-avi. > --- > libavcodec/fic.c | 29 ++--- > 1 file changed, 14 insertions(+), 15 deletions(-) >

Re: [FFmpeg-devel] libavcodec/exr : add support for uint32

2017-03-29 Thread Paul B Mahol
On 3/18/17, Martin Vignali wrote: >> >> Just a nitpick: >> >> > +} else { >> > +//UINT 32 >> >> The comment indicates this should be "else if (pixel_type == UINT)" >> >> Not sure it's necessary to replace else by else if, because OpenExr > "planar"

Re: [FFmpeg-devel] [PATCH 2/2] dnxhd: initialize DNXHDContext::avctx to each thread's respective one.

2017-03-29 Thread Paul B Mahol
On 3/29/17, Ronald S. Bultje wrote: > Otherwise all thread's private contexts have the avctx pointer set to > the AVCodecContext of the first thread, which means all writes to > ctx->avctx->* (in e.g. read_header) are effectively race conditions. > > Fixes fate-dnxhd under

Re: [FFmpeg-devel] [PATCH] codec_desc: mark fraps as an intra-only codec.

2017-03-29 Thread Paul B Mahol
On 3/29/17, Ronald S. Bultje wrote: > Fixes reported race conditions by tsan in fate-avio-direct. > --- > libavcodec/codec_desc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c > index

Re: [FFmpeg-devel] [PATCH] pthread_frame: minor simplification to error handling

2017-03-29 Thread Alexander Strasser
Hi, I already saw this on -cvslog ml, so apparently I am too late... On 2017-03-29 12:19 +0200, wm4 wrote: > On Mon, 27 Mar 2017 14:28:17 +0200 > wm4 wrote: > > > Get rid of the "ret" variable, and always use err. Report the packet as > > consumed if err is unset. This

Re: [FFmpeg-devel] libavcodec/exr : add support for uint32

2017-03-29 Thread Martin Vignali
2017-03-27 10:10 GMT+02:00 Carl Eugen Hoyos : > 2017-03-25 13:09 GMT+01:00 Martin Vignali : > > Ping for apply > > Please send your public key to Michael and ask him to add you > as committer, you have many commits in FFmpeg. > > Hello, I'm not

Re: [FFmpeg-devel] [PATCH] compat/atomics: fix atomic_fetch_xor()

2017-03-29 Thread wm4
On Wed, 29 Mar 2017 15:57:45 -0300 James Almer wrote: > --- > compat/atomics/dummy/stdatomic.h | 2 +- > compat/atomics/gcc/stdatomic.h | 4 ++-- > compat/atomics/pthread/stdatomic.h | 2 +- > compat/atomics/suncc/stdatomic.h | 2 +- > compat/atomics/win32/stdatomic.h

[FFmpeg-devel] [PATCH] compat/atomics: fix atomic_fetch_xor()

2017-03-29 Thread James Almer
--- compat/atomics/dummy/stdatomic.h | 2 +- compat/atomics/gcc/stdatomic.h | 4 ++-- compat/atomics/pthread/stdatomic.h | 2 +- compat/atomics/suncc/stdatomic.h | 2 +- compat/atomics/win32/stdatomic.h | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git

[FFmpeg-devel] [PATCH][RFC] avutil/spherical: add a flag to signal tiled/padded projections

2017-03-29 Thread James Almer
A new field is added to AVSphericalMapping for this purpose, and is used by both Equirectangular and Cubemap projections. This is a replacement for duplicate projection enums like AV_SPHERICAL_EQUIRECTANGULAR_TILE, which are therefore removed. Signed-off-by: James Almer ---

Re: [FFmpeg-devel] [PATCH 3/6] pthread_frame: call update_context_from_user() after acquiring lock.

2017-03-29 Thread wm4
On Wed, 29 Mar 2017 10:12:21 -0400 "Ronald S. Bultje" wrote: > Otherwise the thread may still be in the middle of decoding a previous > frame, which would effectively trigger a race condition on any field > concurrently read and written. > --- > libavcodec/pthread_frame.c |

[FFmpeg-devel] [PATCH] codec_desc: mark flac/wavpack as intraonly codecs.

2017-03-29 Thread Ronald S. Bultje
--- libavcodec/codec_desc.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/codec_desc.c b/libavcodec/codec_desc.c index 9711019..803d802 100644 --- a/libavcodec/codec_desc.c +++ b/libavcodec/codec_desc.c @@ -2313,7 +2313,7 @@ static const AVCodecDescriptor

[FFmpeg-devel] [PATCH 3/6] pthread_frame: call update_context_from_user() after acquiring lock.

2017-03-29 Thread Ronald S. Bultje
Otherwise the thread may still be in the middle of decoding a previous frame, which would effectively trigger a race condition on any field concurrently read and written. --- libavcodec/pthread_frame.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git

[FFmpeg-devel] [PATCH 2/6] pthread_frame: allow per-field ThreadFrame owners.

2017-03-29 Thread Ronald S. Bultje
This tries to handle cases where separate invocations of decode_frame() (each running in separate threads) write to respective fields in the same AVFrame->data[]. Having per-field owners makes interaction between readers (the referencing thread) and writers (the decoding thread) slightly more

[FFmpeg-devel] [PATCH 6/6] frame_thread_encoder: make task indexing deterministic.

2017-03-29 Thread Ronald S. Bultje
Fixes tsan warnings in fate-utvideoenc. --- libavcodec/frame_thread_encoder.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c index 27ae356..8db9290 100644 ---

[FFmpeg-devel] [PATCH 4/6] h264: don't re-assign H264Picture::mbaff between slices.

2017-03-29 Thread Ronald S. Bultje
The value must be identical between slices. (Maybe this needs an error path to inform caller if this fails?) --- libavcodec/h264_direct.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavcodec/h264_direct.c b/libavcodec/h264_direct.c index 4e7202b..20136b0 100644 ---

[FFmpeg-devel] [PATCH 5/6] h264: don't sync pic_id between threads.

2017-03-29 Thread Ronald S. Bultje
This is how the ref list manager links bitstream IDs to H264Picture/Ref objects, and is local to the producer thread. There is no need for the consumer thread to know the bitstream IDs of its references in their respective producer threads. In practice, this fixes the last tsan warnigns when

[FFmpeg-devel] [PATCH 1/6] h264: don't write to source picture object in ff_h264_ref_picture().

2017-03-29 Thread Ronald S. Bultje
Doing so is analogous to writing to source data in memcpy(), and causes (harmless) tsan warnings in fate-h264. --- libavcodec/h264_picture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/h264_picture.c b/libavcodec/h264_picture.c index f634d2a..db96737 100644 ---

Re: [FFmpeg-devel] [PATCH] lavu/mem: clamp alignment to 16 for DJGPP

2017-03-29 Thread Clément Bœsch
On Mon, Mar 27, 2017 at 08:33:21PM +0200, Clément Bœsch wrote: > See also https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80208 > --- > libavutil/mem.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/libavutil/mem.h b/libavutil/mem.h > index 718a143c4c..527cd03191 100644 > ---

Re: [FFmpeg-devel] [PATCH] Fix all -Wformat warnings raised by DJGPP

2017-03-29 Thread Clément Bœsch
On Mon, Mar 27, 2017 at 09:37:32PM +0200, Clément Bœsch wrote: > --- > To be applied on top of the av_4cc2str() patchset. > > This is inspired by the next commit to merge from Libav which was done using > the same method. > --- > ffmpeg.c | 2 +- > ffprobe.c

Re: [FFmpeg-devel] Fix DJGPP compilation

2017-03-29 Thread Clément Bœsch
On Sun, Mar 26, 2017 at 08:53:56PM +0200, Clément Bœsch wrote: > $subj > applied -- Clément B. signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] doc/examples/filtering_video: switch to new decoding API

2017-03-29 Thread wm4
On Wed, 29 Mar 2017 15:03:55 +0200 Matthieu Bouron wrote: > --- > doc/examples/filtering_video.c | 32 ++-- > 1 file changed, 26 insertions(+), 6 deletions(-) > > diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c

[FFmpeg-devel] [PATCH] doc/examples/filtering_audio: switch to new decoding API

2017-03-29 Thread Matthieu Bouron
--- doc/examples/filtering_audio.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index c6a930ba8b..c62a1f6f62 100644 --- a/doc/examples/filtering_audio.c +++

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Clément Bœsch
Patchset pushed with av_fourcc2str() macro name. [...] -- Clément B. signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH v10] avformat/dashdec: add dash demuxer base version

2017-03-29 Thread Steven Liu
v2 fixed: 1. from autodetect to disabled 2. from camelCase code style to ffmpeg code style 3. from RepType to AVMediaType 4. fix variable typo 5. change time value from uint32_t to uint64_t 6. removed be used once API 7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm

Re: [FFmpeg-devel] mpeg TS encoder PCR algo + looping

2017-03-29 Thread ffmpeg
Hi! Thanx for help with git! Reposting the same patch in git format now.From 248d67b353cd76f201b7174a6bdf160e6c6f64b1 Mon Sep 17 00:00:00 2001 From: Vadka aka VVS Date: Wed, 29 Mar 2017 15:09:32 +0300 Subject: [PATCH] ffmpeg.c - bug with streams loop/repeat fixed;

[FFmpeg-devel] [PATCH] doc/examples/filtering_video: switch to new decoding API

2017-03-29 Thread Matthieu Bouron
--- doc/examples/filtering_video.c | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index 15116d3881..b664c69f9d 100644 --- a/doc/examples/filtering_video.c +++

Re: [FFmpeg-devel] [PATCH] pthread_frame: minor simplification to error handling

2017-03-29 Thread wm4
On Mon, 27 Mar 2017 14:28:17 +0200 wm4 wrote: > Get rid of the "ret" variable, and always use err. Report the packet as > consumed if err is unset. This should be equivalent to the old code, > which obviously required err=0 for p->result>=0 (and otherwise, > p->result must

[FFmpeg-devel] [PATCH] lavc/vaapi_encode: fix p_per_i calculate issue.

2017-03-29 Thread Jun Zhao
From 3afe863771fdb1ebf2316d2f6ae5ea2351e7cb4f Mon Sep 17 00:00:00 2001 From: Jun Zhao Date: Wed, 29 Mar 2017 17:18:59 +0800 Subject: [PATCH] lavc/vaapi_encode: fix p_per_i calculate issue. now gop_size <= (max_b_frames + 1) * p_per_i + 1 (IDR frame), so celing p_per_i =

Re: [FFmpeg-devel] [PATCH] new API usage example (adts-aac encoding from raw audio file)

2017-03-29 Thread wm4
On Tue, 28 Mar 2017 22:58:18 +0200 Paolo Prete wrote: > --- > doc/examples/Makefile | 1 + > doc/examples/encode_raw_audio_file_to_aac.c | 275 > > 2 files changed, 276 insertions(+) > create mode 100644

Re: [FFmpeg-devel] [PATCH]lavc/h264_ps: Check chroma_location limits

2017-03-29 Thread wm4
On Wed, 29 Mar 2017 09:54:27 +0200 Carl Eugen Hoyos wrote: > 2017-03-27 13:41 GMT+02:00 wm4 : > > On Mon, 27 Mar 2017 13:29:35 +0200 > > Carl Eugen Hoyos wrote: > > > >> 2017-03-27 11:40 GMT+02:00 wm4 : >

Re: [FFmpeg-devel] [PATCH] avcodec/mjpegdec: Fixes runtime error: signed integer overflow: -24543 * 2031616 cannot be represented in type 'int'

2017-03-29 Thread wm4
On Mon, 27 Mar 2017 00:41:05 +0200 Michael Niedermayer wrote: > On Sun, Mar 26, 2017 at 05:30:05PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Sun, Mar 26, 2017 at 3:31 PM, Michael Niedermayer > > > > wrote: > > > > > On Sun, Mar

Re: [FFmpeg-devel] [PATCH] doc/examples/remuxing: switch to codecpar

2017-03-29 Thread Matthieu Bouron
On Tue, Mar 28, 2017 at 10:06:31PM +0200, Michael Niedermayer wrote: > On Tue, Mar 28, 2017 at 04:54:38PM +0200, Matthieu Bouron wrote: > > On Tue, Mar 28, 2017 at 12:32 PM, Matthieu Bouron > > wrote: > > > > > Also limits remuxing to audio, video and subtitle

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Clément Bœsch
On Wed, Mar 29, 2017 at 09:56:14AM +0200, Clément Bœsch wrote: > On Wed, Mar 29, 2017 at 09:52:51AM +0200, Carl Eugen Hoyos wrote: > > 2017-03-29 9:43 GMT+02:00 Clément Bœsch : > > > On Wed, Mar 29, 2017 at 09:31:57AM +0200, Carl Eugen Hoyos wrote: > > >> 2017-03-28 17:31 GMT+02:00

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Clément Bœsch
On Wed, Mar 29, 2017 at 09:52:51AM +0200, Carl Eugen Hoyos wrote: > 2017-03-29 9:43 GMT+02:00 Clément Bœsch : > > On Wed, Mar 29, 2017 at 09:31:57AM +0200, Carl Eugen Hoyos wrote: > >> 2017-03-28 17:31 GMT+02:00 Clément Bœsch : > >> > On Mon, Mar 27, 2017 at 09:51:54AM

Re: [FFmpeg-devel] [PATCH]lavc/h264_ps: Check chroma_location limits

2017-03-29 Thread Carl Eugen Hoyos
2017-03-27 13:41 GMT+02:00 wm4 : > On Mon, 27 Mar 2017 13:29:35 +0200 > Carl Eugen Hoyos wrote: > >> 2017-03-27 11:40 GMT+02:00 wm4 : >> > On Mon, 27 Mar 2017 09:31:39 +0200 >> > Carl Eugen Hoyos wrote: >> > >>

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Carl Eugen Hoyos
2017-03-29 9:43 GMT+02:00 Clément Bœsch : > On Wed, Mar 29, 2017 at 09:31:57AM +0200, Carl Eugen Hoyos wrote: >> 2017-03-28 17:31 GMT+02:00 Clément Bœsch : >> > On Mon, Mar 27, 2017 at 09:51:54AM +0200, Clément Bœsch wrote: >> >> --- >> >> doc/APIchanges | 4

Re: [FFmpeg-devel] Refund request for travelling costs to Chemnitz

2017-03-29 Thread Carl Eugen Hoyos
2017-03-28 14:08 GMT+02:00 Thomas Volkert : > - 246 € for the hotel room during the weekend We should probably add that this is the price for the hotel for all four of us. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Clément Bœsch
On Wed, Mar 29, 2017 at 09:31:57AM +0200, Carl Eugen Hoyos wrote: > 2017-03-28 17:31 GMT+02:00 Clément Bœsch : > > On Mon, Mar 27, 2017 at 09:51:54AM +0200, Clément Bœsch wrote: > >> --- > >> doc/APIchanges | 4 > >> libavutil/avutil.h | 14 ++ > >>

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Carl Eugen Hoyos
2017-03-28 17:31 GMT+02:00 Clément Bœsch : > On Mon, Mar 27, 2017 at 09:51:54AM +0200, Clément Bœsch wrote: >> --- >> doc/APIchanges | 4 >> libavutil/avutil.h | 14 ++ >> libavutil/utils.c | 21 + >> libavutil/version.h | 2 +- >> 4

Re: [FFmpeg-devel] [PATCH 01/10] lavu: add av_fourcc_make_string() and av_4cc2str()

2017-03-29 Thread Tobias Rapp
On 28.03.2017 10:19, Clément Bœsch wrote: On Tue, Mar 28, 2017 at 12:47:39AM +0200, Alexander Strasser wrote: [...] + +#define av_4cc2str(fourcc) av_fourcc_make_string((char[AV_FOURCC_MAX_STRING_SIZE]){0}, fourcc) Did your write it as 4cc2str to make the name shorter? I guess fourcc2str is