[FFmpeg-devel] [PATCH v3 5/5] lavf/internal.h: Add declaration for ff_get_raw_palette()

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From a8a3cef658f4d9c3e4f9a5f9839cfc8761379d83 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Tue, 1 Mar 2016 08:08:19 +0100 Subject: [PATCH v3 5/5] lavf/internal.h: Add declaration for ff_get_raw_palette() --- libavformat/internal.h | 12

[FFmpeg-devel] [PATCH v3 4/5] lavf/rawutils: New function ff_get_raw_palette()

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 9a816b6d3d592684e08eac3120aaf94146b179ce Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Tue, 1 Mar 2016 08:07:56 +0100 Subject: [PATCH v3 4/5] lavf/rawutils: New function ff_get_raw_palette() --- libavformat/rawutils.c | 16

[FFmpeg-devel] [PATCH v3 3/5] lavf/riffenc: Handle non-raw codecs with a palette

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 701ba074d4d5c0d0fe0b1b814db41df940a2c7d7 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Tue, 1 Mar 2016 08:07:29 +0100 Subject: [PATCH v3 3/5] lavf/riffenc: Handle non-raw codecs with a palette --- libavformat/riffenc.c | 20 +++

[FFmpeg-devel] [PATCH v3 2/5] lavf/movenc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 74f44252ec10720b6d7813f7fe0bc166c871ecbd Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Tue, 1 Mar 2016 08:06:38 +0100 Subject: [PATCH v3 2/5] lavf/movenc: Add support for palette side data packets --- libavformat/movenc.c | 45

[FFmpeg-devel] [PATCH v3 1/5] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
This patch set adds support for non-raw codecs that use a palette. Try to do stream copy to and from avi with the files below: QuickTime Animation (RLE): https://drive.google.com/open?id=0B3_pEBoLs0faREo1SlRydmV1LU0 QuickTime Graphics (SMC): https://drive.google.com/open?id=0B3_pEBoLs0faODd5RVB

Re: [FFmpeg-devel] [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
On 02/29/2016 02:27 PM, Mats Peterson wrote: New patch set. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel Sorry, Michael, but this won't be the last version. There are other codecs than raw

[FFmpeg-devel] [PATCH v9] VideoToolbox H.264 Encoder

2016-02-29 Thread Rick Kern
Autodetected by default. Encode using -codec:v vtenc. Signed-off-by: Rick Kern --- MAINTAINERS|1 + configure | 19 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vtenc.c | 1339 5

[FFmpeg-devel] [PATCH v9] VideoToolbox H.264 Encoder

2016-02-29 Thread Rick Kern
Replaced color_range with av_frame_get_color_range(). Rick Kern (1): VideoToolbox H.264 Encoder MAINTAINERS|1 + configure | 19 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vtenc.c | 1339

[FFmpeg-devel] [PATCH] sdp: fix opus sprop-stereo fmtp syntax

2016-02-29 Thread Mark Harris
--- libavformat/sdp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/sdp.c b/libavformat/sdp.c index 2ab37a8..368402b 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -706,7 +706,7 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecCo

[FFmpeg-devel] Fw: [Outreachy Announce] Outreachy: help spread the word and Twitter chats

2016-02-29 Thread Michael Niedermayer
Hi mentors Forwarding as it says "please forward this e-mail to any mentors from your org new to Outreachy this round and encourage them to participate." - Forwarded message from Marina Zhurakhinskaya - Date: Mon, 29 Feb 2016 22:47:14 -0500 (EST) From: Marina Zhurakhinskaya To: outre

Re: [FFmpeg-devel] [PATCH] fate: add filter-hls

2016-02-29 Thread Michael Niedermayer
On Tue, Mar 01, 2016 at 12:32:27AM -0300, James Almer wrote: > On 3/1/2016 12:24 AM, Michael Niedermayer wrote: > > On Tue, Mar 01, 2016 at 12:17:33AM -0300, James Almer wrote: > >> On 2/29/2016 11:47 PM, Michael Niedermayer wrote: > >>> +fate-filter-hls2: tests/data/hls-list.m3u8 > >> > >> Why not

Re: [FFmpeg-devel] [PATCH] fate: add filter-hls

2016-02-29 Thread James Almer
On 3/1/2016 12:24 AM, Michael Niedermayer wrote: > On Tue, Mar 01, 2016 at 12:17:33AM -0300, James Almer wrote: >> On 2/29/2016 11:47 PM, Michael Niedermayer wrote: >>> +fate-filter-hls2: tests/data/hls-list.m3u8 >> >> Why not just add fate-filter-hls1 as dep here, and get rid of the m3u8 >> targe

Re: [FFmpeg-devel] AAC encoder 3x performance drop in 3.0 since Oct 2014

2016-02-29 Thread Ganesh Ajjanagadde
On Mon, Feb 29, 2016 at 10:07 PM, Michael Niedermayer wrote: > On Mon, Feb 29, 2016 at 10:02:46PM -0500, Ronald S. Bultje wrote: >> Hi, >> >> On Mon, Feb 29, 2016 at 9:30 PM, Ganesh Ajjanagadde >> wrote: >> >> > Ideally, FATE should have some basic plotting/performance >> > infrastructure, e.g a

Re: [FFmpeg-devel] [PATCH] fate: add filter-hls

2016-02-29 Thread Michael Niedermayer
On Tue, Mar 01, 2016 at 12:17:33AM -0300, James Almer wrote: > On 2/29/2016 11:47 PM, Michael Niedermayer wrote: > > --- > > tests/fate/filter-audio.mak |7 + > > tests/ref/fate/filter-hls2 | 768 > > +++ > > 2 files changed, 775 insertions(+) > > cr

[FFmpeg-devel] [PATCH] lavc/aacenc_utils: replace sqrtf(Q*sqrtf(Q)) by precomputed value

2016-02-29 Thread Ganesh Ajjanagadde
It makes no sense whatsoever to do this at each function call; we already have a table for this. Yields a 2x improvement in find_min_book (x86-64, Haswell+GCC): ffmpeg -i sin.flac -acodec aac -y sin.aac find_min_book old 605 decicycles in find_min_book, 8388453 runs,155 skips.9x 606 de

Re: [FFmpeg-devel] [PATCH] fate: add filter-hls

2016-02-29 Thread James Almer
On 2/29/2016 11:47 PM, Michael Niedermayer wrote: > --- > tests/fate/filter-audio.mak |7 + > tests/ref/fate/filter-hls2 | 768 > +++ > 2 files changed, 775 insertions(+) > create mode 100644 tests/ref/fate/filter-hls1 > create mode 100644 tests/ref

Re: [FFmpeg-devel] AAC encoder 3x performance drop in 3.0 since Oct 2014

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 10:02:46PM -0500, Ronald S. Bultje wrote: > Hi, > > On Mon, Feb 29, 2016 at 9:30 PM, Ganesh Ajjanagadde > wrote: > > > Ideally, FATE should have some basic plotting/performance > > infrastructure, e.g a client can submit perf figures so that evolution > > over time can be

Re: [FFmpeg-devel] [PATCH] Add the relaxed and acquire/releae flavors of avpriv_atomic_int_get and avpriv_atomic_int_set.

2016-02-29 Thread Ronald S. Bultje
Hi, On Mon, Feb 29, 2016 at 9:35 PM, Wan-Teh Chang wrote: > Correct the order of the load/store operation and the memory barrier in > avpriv_atomic_int_get and avpriv_atomic_int_set. > This sounds useful. Is there some documentation on which one should be used under what conditions? I.e. when d

Re: [FFmpeg-devel] AAC encoder 3x performance drop in 3.0 since Oct 2014

2016-02-29 Thread Ronald S. Bultje
Hi, On Mon, Feb 29, 2016 at 9:30 PM, Ganesh Ajjanagadde wrote: > Ideally, FATE should have some basic plotting/performance > infrastructure, e.g a client can submit perf figures so that evolution > over time can be viewed. No idea why this can't be done. It can - it just hasn't been done yet :

Re: [FFmpeg-devel] [PATCH] Fix a bug in ff_thread_report_progress in updating progress[field].

2016-02-29 Thread Ronald S. Bultje
Hi, On Mon, Feb 29, 2016 at 5:41 PM, Wan-Teh Chang wrote: > This bug was found by Dmitry Vyukov. If two threads may call > ff_thread_report_progress at the same time, progress[field] may > decrease. For example, suppose progress[field] is 10 and two threads > call ff_thread_report_progress to up

[FFmpeg-devel] [PATCH] fate: add filter-hls

2016-02-29 Thread Michael Niedermayer
--- tests/fate/filter-audio.mak |7 + tests/ref/fate/filter-hls2 | 768 +++ 2 files changed, 775 insertions(+) create mode 100644 tests/ref/fate/filter-hls1 create mode 100644 tests/ref/fate/filter-hls2 diff --git a/tests/fate/filter-audio.mak b/tes

[FFmpeg-devel] [PATCH] Add the relaxed and acquire/releae flavors of avpriv_atomic_int_get and avpriv_atomic_int_set.

2016-02-29 Thread Wan-Teh Chang
Correct the order of the load/store operation and the memory barrier in avpriv_atomic_int_get and avpriv_atomic_int_set. Use the atomic get and set functions in ff_thread_report_progress and ff_thread_await_progress. --- libavcodec/pthread_frame.c | 11 +++ libavutil/atomic.c | 48

Re: [FFmpeg-devel] AAC encoder 3x performance drop in 3.0 since Oct 2014

2016-02-29 Thread Ganesh Ajjanagadde
On Mon, Feb 22, 2016 at 11:34 PM, Andrey Utkin wrote: > Hi! > I am aware of news that AAC encoder got stable status recently. > > But you could find this interesting. We've got an ffmpeg build from > October 2014, and it performs three times faster on AAC encoding than > recent 3.0 release. There

[FFmpeg-devel] [PATCH] lavf/dump.c: Print mastering display metadata

2016-02-29 Thread Neil Birkbeck
Signed-off-by: Neil Birkbeck --- libavformat/dump.c | 21 + 1 file changed, 21 insertions(+) diff --git a/libavformat/dump.c b/libavformat/dump.c index 56c285d..9e7c12b 100644 --- a/libavformat/dump.c +++ b/libavformat/dump.c @@ -26,6 +26,7 @@ #include "libavutil/display.h"

[FFmpeg-devel] [PATCH] lavf/matroskadec: Add early support for colour elements

2016-02-29 Thread Neil Birkbeck
Adding early support for a subset of the proposed colour elements according to the latest version of spec: https://mailarchive.ietf.org/arch/search/?email_list=cellar&gbt=1&index=hIKLhMdgTMTEwUTeA4ct38h0tmE I've left out elements for pix_fmt related things as there still seems to be some discussio

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Thanks :) On Tue, Mar 1, 2016 at 2:43 AM, Michael Niedermayer wrote: > On Tue, Mar 01, 2016 at 02:11:28AM +0200, Andrew Shulgin wrote: > > Yep, you're right. > > ok, applied > > thanks > > > > > > On Tue, Mar 1, 2016 at 2:09 AM, Michael Niedermayer > > > wrote: > > > > > On Mon, Feb 29, 2016 at

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Michael Niedermayer
On Tue, Mar 01, 2016 at 02:11:28AM +0200, Andrew Shulgin wrote: > Yep, you're right. ok, applied thanks > > On Tue, Mar 1, 2016 at 2:09 AM, Michael Niedermayer > wrote: > > > On Mon, Feb 29, 2016 at 03:10:41PM +0200, Andrew Shulgin wrote: > > > Extracting SPS without the missig PPS results i

Re: [FFmpeg-devel] [PATCH] avcodec: Remove libvo-aacenc support.

2016-02-29 Thread Roger Pack
On 1/25/16, Hendrik Leppkes wrote: > On Mon, Jan 25, 2016 at 1:13 PM, Michael Niedermayer > wrote: >> On Mon, Jan 25, 2016 at 10:24:36AM +, Carl Eugen Hoyos wrote: >>> Kieran Kunhya kunhya.com> writes: >>> >>> > The internal encoder is superior to libvo-aacenc. >>> >>> I thought this was the

Re: [FFmpeg-devel] [PATCH 3/3] lavu/rational: add more info regarding floor(x+0.5) usage

2016-02-29 Thread Ganesh Ajjanagadde
On Thu, Feb 25, 2016 at 1:11 PM, Michael Niedermayer wrote: > On Wed, Feb 24, 2016 at 09:20:11PM -0500, Ganesh Ajjanagadde wrote: >> Add some more verbose info regarding why the imprecise and slow floor(x+0.5) >> hack >> is used; helpful for future maintenance. >> >> Signed-off-by: Ganesh Ajjanag

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Yep, you're right. On Tue, Mar 1, 2016 at 2:09 AM, Michael Niedermayer wrote: > On Mon, Feb 29, 2016 at 03:10:41PM +0200, Andrew Shulgin wrote: > > Extracting SPS without the missig PPS results in unplayable FLV. > > > > ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp:// > > admin:1234

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 03:10:41PM +0200, Andrew Shulgin wrote: > Extracting SPS without the missig PPS results in unplayable FLV. > > ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp:// > admin:12345@192.88.99.1/h264/ch1/main/av_stream -ar 44100 -ac 2 -acodec > pcm_s16le -f s16le -ac 2 -

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

2016-02-29 Thread Pavel Nikiforov
Hello ! This patch enables background sending of UDP packets with specified delay. When sending packets without a delay some devices with small RX buffer ( MAG200 STB, for example) will drop tail packets in burst causing decoding errors. It needs to specify "fifo_size" with "packet_gap" . The ou

[FFmpeg-devel] [PATCH] Fix a bug in ff_thread_report_progress in updating progress[field].

2016-02-29 Thread Wan-Teh Chang
This bug was found by Dmitry Vyukov. If two threads may call ff_thread_report_progress at the same time, progress[field] may decrease. For example, suppose progress[field] is 10 and two threads call ff_thread_report_progress to update progress[field] to 11 and 12, respectively. If the second thread

Re: [FFmpeg-devel] [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
On 02/29/2016 09:42 PM, Michael Niedermayer wrote: On Mon, Feb 29, 2016 at 04:12:56PM +0100, Mats Peterson wrote: Mats Peterson skrev: (29 februari 2016 14:27:13 CET) New patch set. It seems that you, Michael, don't care much about adding support for palette side data packets, while Reimar

Re: [FFmpeg-devel] [PATCH 2/2] fate: add libavcodec utils test

2016-02-29 Thread Michael Niedermayer
On Sun, Feb 28, 2016 at 12:50:24PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > tests/fate/libavcodec.mak |5 + > 1 file changed, 5 insertions(+) patchset applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB it is n

[FFmpeg-devel] reordered_opaque

2016-02-29 Thread Ratin
Is it possible for AVCodecContext 's reordered_opaque to be exactly the same for 3 or 4 consecutive frames when packet's pts is fed in it ? Is it because of B frames? I am seeing this, in this case how does one re-orders the pics to render? Ratin ___ f

Re: [FFmpeg-devel] [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 04:12:56PM +0100, Mats Peterson wrote: > Mats Peterson skrev: (29 februari 2016 > 14:27:13 CET) > >New patch set. > > It seems that you, Michael, don't care much about adding support for palette > side data packets, while Reimar advocates for it. Is the situation correct

[FFmpeg-devel] [PATCH] avformat/seek-test: Support passing options to demuxers and protocols

2016-02-29 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- libavformat/seek-test.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/seek-test.c b/libavformat/seek-test.c index bfd06db..904b435 100644 --- a/libavformat/seek-test.c +++ b/libavformat/seek-test.c @@ -80,6 +80,8 @@ int main(int argc,

[FFmpeg-devel] [PATCH] fate: add pipe and cache test

2016-02-29 Thread Michael Niedermayer
Signed-off-by: Michael Niedermayer --- tests/fate/seek.mak |2 ++ tests/ref/seek/cache-pipe | 49 + 2 files changed, 51 insertions(+) create mode 100644 tests/ref/seek/cache-pipe diff --git a/tests/fate/seek.mak b/tests/fate/seek.mak index

Re: [FFmpeg-devel] [PATCH] submit_thread should also lock the mutex that guards the source avctx (prev_thread->avctx) when calling update_context_from_thread.

2016-02-29 Thread Ronald S. Bultje
Hi, On Mon, Feb 29, 2016 at 2:47 PM, Wan-Teh Chang wrote: > On Fri, Feb 26, 2016 at 5:04 PM, Ronald S. Bultje > wrote: > > > > To be a little bit more explicit, it should be relatively easy to > > accomplish this by changing the position of qscale in the relevant > struct, > > and only copy tha

Re: [FFmpeg-devel] [PATCH] submit_thread should also lock the mutex that guards the source avctx (prev_thread->avctx) when calling update_context_from_thread.

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 11:47:14AM -0800, Wan-Teh Chang wrote: > On Fri, Feb 26, 2016 at 5:04 PM, Ronald S. Bultje wrote: > > > > To be a little bit more explicit, it should be relatively easy to > > accomplish this by changing the position of qscale in the relevant struct, > > and only copy that

Re: [FFmpeg-devel] [PATCH] submit_thread should also lock the mutex that guards the source avctx (prev_thread->avctx) when calling update_context_from_thread.

2016-02-29 Thread Wan-Teh Chang
On Fri, Feb 26, 2016 at 5:04 PM, Ronald S. Bultje wrote: > > To be a little bit more explicit, it should be relatively easy to > accomplish this by changing the position of qscale in the relevant struct, > and only copy that half of the struct (where entries are obviously grouped) > where we actua

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread wm4
On Mon, 29 Feb 2016 20:07:15 +0100 Clément Bœsch wrote: > On Mon, Feb 29, 2016 at 06:57:15PM +0100, wm4 wrote: > [...] > > > +static bool get_vt_profile_level(AVCodecContext *avctx, > > > + CFStringRef*profile_level_val) > > > +{ > > > +VTEncContext *vtctx

Re: [FFmpeg-devel] [PATCH] submit_thread should also lock the mutex that guards the source avctx (prev_thread->avctx) when calling update_context_from_thread.

2016-02-29 Thread Wan-Teh Chang
Hi James, On Thu, Feb 25, 2016 at 6:50 PM, James Almer wrote: > > Did you try running the FATE suite using threadsanitizer, or just decoded > random > videos? I remember like half the tests were failing because of data races and > most of them pointed to code changed by your patches. It would be

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 08:14:10PM +0100, Nicolas George wrote: > Le primidi 11 ventôse, an CCXXIV, Clement Boesch a écrit : > > > > +case H264_PROF_BASELINE: > > > > +switch (vtctx->level) { > > > > +case 0: *profile_level_val = > > > > kVTProfileLevel_H264_Ba

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Nicolas George
Le primidi 11 ventôse, an CCXXIV, Clement Boesch a écrit : > > > +case H264_PROF_BASELINE: > > > +switch (vtctx->level) { > > > +case 0: *profile_level_val = > > > kVTProfileLevel_H264_Baseline_AutoLevel; break;

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 06:57:15PM +0100, wm4 wrote: [...] > > +static bool get_vt_profile_level(AVCodecContext *avctx, > > + CFStringRef*profile_level_val) > > +{ > > +VTEncContext *vtctx = avctx->priv_data; > > +int64_t profile = vtctx->profile; > > + >

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Michael Niedermayer
On Tue, Mar 01, 2016 at 01:30:58AM +0800, Rick Kern wrote: > Autodetected by default. Encode using -codec:v vtenc. > > Signed-off-by: Rick Kern [...] > +/* > + * contiguous_buf_size is 0 if not contiguous, and the size of the buffer > + * containing all planes if so. > + */ > +static int get_cv_

Re: [FFmpeg-devel] [PATCH] lavfi: add bench and abench filters

2016-02-29 Thread Paul B Mahol
On 2/29/16, Clement Boesch wrote: > From: Clement Boesch > > --- > TODO: doc, bump, Changelog > > example: -vf bench=start,gradfun,format=rgba,hqx,bench=stop Nice, LGTM with documentation changes. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org h

Re: [FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread wm4
On Tue, 1 Mar 2016 01:30:58 +0800 Rick Kern wrote: > Autodetected by default. Encode using -codec:v vtenc. > > Signed-off-by: Rick Kern > --- > MAINTAINERS|1 + > configure | 19 + > libavcodec/Makefile|1 + > libavcodec/allcodecs.c |1 + > libavcode

[FFmpeg-devel] [PATCH v8] VideoToolbox H.264 Encoder

2016-02-29 Thread Rick Kern
Autodetected by default. Encode using -codec:v vtenc. Signed-off-by: Rick Kern --- MAINTAINERS|1 + configure | 19 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vtenc.c | 1339 5

Re: [FFmpeg-devel] [PATCH] x86/vc1dsp: Split the file into MC and loopfilter

2016-02-29 Thread Timothy Gu
On Mon, Feb 29, 2016 at 4:57 AM Ronald S. Bultje wrote: > This is kind of hard to review, but I'm going to assume that there's no > actual code changes, in which case this LGTM. > No there isn't. Applied, thanks. Timothy > ___ ffmpeg-devel mailing li

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mov: merge mov_read_custom functions

2016-02-29 Thread Michael Niedermayer
On Sun, Feb 28, 2016 at 11:08:59PM +0100, Marton Balint wrote: > > On Sun, 28 Feb 2016, Michael Niedermayer wrote: > > >On Sat, Feb 20, 2016 at 02:11:49AM +0100, Marton Balint wrote: > >>This also fixes reading gapless metadata when the entries do not start with > >>the > >>mean atom. Such sampl

Re: [FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread Nicolas George
Le primidi 11 ventôse, an CCXXIV, Richard Kern a écrit : > No, doesn’t look like it. The VideoToolbox constants aren’t 1-to-1 with the > command line options. They do not need to be, you can use intermediate integer constants just as well as you currently use string constants, with the extra bene

Re: [FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread Richard Kern
Please ignore this patch - the options code need to be updated. > On Feb 29, 2016, at 11:58 PM, wm4 wrote: > > On Mon, 29 Feb 2016 23:14:17 +0800 > Rick Kern wrote: > >> Autodetected by default. Encode using -codec:v vtenc. >> >> Signed-off-by: Rick Kern >> --- > > OK, autodetection seems t

Re: [FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread Richard Kern
> On Feb 29, 2016, at 11:19 PM, Clément Bœsch wrote: > > On Mon, Feb 29, 2016 at 11:14:17PM +0800, Rick Kern wrote: > [...] >> +if (!profile) { >> +//VideoToolbox auto-selects profile and level. >> +return true; >> +} else if (!av_strcasecmp("baseline", profile)) { >> +

Re: [FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread wm4
On Mon, 29 Feb 2016 23:14:17 +0800 Rick Kern wrote: > Autodetected by default. Encode using -codec:v vtenc. > > Signed-off-by: Rick Kern > --- OK, autodetection seems to work properly on non-OSX too. I'll apply in 18 hours or so. ___ ffmpeg-devel mai

[FFmpeg-devel] [PATCH 2/2] vp9: add superframe merging bitstream filter.

2016-02-29 Thread Ronald S. Bultje
Fixes ticket 4313. --- ffmpeg.c| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vp9_superframe_bsf.c | 189 libavformat/ivfenc.c| 13 +++ libavformat/matroskaenc.c

[FFmpeg-devel] [PATCH 1/2] lavf: allow BSFs to drop packets.

2016-02-29 Thread Ronald S. Bultje
If pkt->size == 0 && pkt->side_data_elems == 0 after bsf->filter() returns, the packet is considered dropped. --- ffmpeg.c | 2 ++ libavcodec/avcodec.h | 3 ++- libavformat/avformat.h | 4 +++- libavformat/mux.c | 24 +--- libavformat/utils.c| 5 +++

Re: [FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread Clément Bœsch
On Mon, Feb 29, 2016 at 11:14:17PM +0800, Rick Kern wrote: [...] > +if (!profile) { > +//VideoToolbox auto-selects profile and level. > +return true; > +} else if (!av_strcasecmp("baseline", profile)) { > +if (!strcmp("auto", level)) *profile_level_val = > kVTP

Re: [FFmpeg-devel] [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
Mats Peterson skrev: (29 februari 2016 14:27:13 CET) >New patch set. It seems that you, Michael, don't care much about adding support for palette side data packets, while Reimar advocates for it. Is the situation correctly understood? -- Mats Peterson http://matsp888.no-ip.org/~mats/

[FFmpeg-devel] [PATCH v7] VideoToolbox H.264 Encoder

2016-02-29 Thread Rick Kern
Autodetected by default. Encode using -codec:v vtenc. Signed-off-by: Rick Kern --- MAINTAINERS|1 + configure | 19 + libavcodec/Makefile|1 + libavcodec/allcodecs.c |1 + libavcodec/vtenc.c | 1320 5

Re: [FFmpeg-devel] [PATCH 1/2] lavf: allow BSFs to drop packets.

2016-02-29 Thread Nicolas George
Le primidi 11 ventôse, an CCXXIV, Ronald S. Bultje a écrit : > If pkt->size == 0 && pkt->side_data_elems == 0 after bsf->filter() > returns, the packet is considered dropped. I think the doxy for av_apply_bitstream_filters() needs to be updated accordingly. Regards, -- Nicolas George signat

Re: [FFmpeg-devel] [PATCH]lavf: Add pcx auto-detection

2016-02-29 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > On Mon, Feb 29, 2016 at 12:01:35PM +, Carl Eugen Hoyos wrote: > > Carl Eugen Hoyos ag.or.at> writes: > > > > > +|| b[1] > 6 > > > > Locally fixed to "> 5" > > patch probably ok Pushed. Thank you, Carl Eugen _

[FFmpeg-devel] [PATCH 2/2] vp9: add superframe merging bitstream filter.

2016-02-29 Thread Ronald S. Bultje
Fixes ticket 4313. --- ffmpeg.c| 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/vp9_superframe_bsf.c | 189 libavformat/ivfenc.c| 13 +++ libavformat/matroskaenc.c

[FFmpeg-devel] [PATCH 1/2] lavf: allow BSFs to drop packets.

2016-02-29 Thread Ronald S. Bultje
If pkt->size == 0 && pkt->side_data_elems == 0 after bsf->filter() returns, the packet is considered dropped. --- ffmpeg.c| 2 ++ libavformat/mux.c | 24 +--- libavformat/utils.c | 5 + 3 files changed, 20 insertions(+), 11 deletions(-) diff --git a/ffmpeg.

Re: [FFmpeg-devel] [PATCH] lavf/md5enc: New streammd5 muxer

2016-02-29 Thread Hendrik Leppkes
On Mon, Feb 29, 2016 at 2:41 PM, Nicolas George wrote: > >> I don't quite understand: Is there something that needs to be fixed in >> the existing md5enc code? > > Apparently not, which means I am misremembering something. > You just can't reuse the classes for mutliple components, options are fi

Re: [FFmpeg-devel] [PATCH] lavf/md5enc: New streammd5 muxer

2016-02-29 Thread Nicolas George
Le primidi 11 ventôse, an CCXXIV, Moritz Barsnick a écrit : > I would like to propose a (quite trivial) patch renaming first the > sources, then the muxers, and of course aliasing the existing muxer > names. No objection from me. If you manage to make it so that the default is MD5 when the name is

[FFmpeg-devel] [PATCH v2 4/4] lavf/internal.h: Add declaration for ff_get_raw_palette()

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 56ed6a5c0ac819e0cbb941034868490271f61801 Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Mon, 29 Feb 2016 14:24:53 +0100 Subject: [PATCH v2 4/4] lavf/internal.h: Add declaration for ff_get_raw_palette() --- libavformat/internal.h |

[FFmpeg-devel] [PATCH v2 3/4] lavf/rawutils: New function ff_get_raw_palette()

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 750d1d19dbb234c5d2d07dd8235afa48d3f1ba1f Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Mon, 29 Feb 2016 14:24:31 +0100 Subject: [PATCH v2 3/4] lavf/rawutils: New function ff_get_raw_palette() --- libavformat/rawutils.c | 16 +++

[FFmpeg-devel] [PATCH v2 2/4] lavf/movenc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
-- Mats Peterson http://matsp888.no-ip.org/~mats/ >From f659982a4799aa3bdde3b3498fd04ba236174b7d Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Mon, 29 Feb 2016 14:24:03 +0100 Subject: [PATCH v2 2/4] lavf/movenc: Add support for palette side data packets --- libavformat/movenc.c | 22 +++

[FFmpeg-devel] [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
New patch set. -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From 46b854f4b872d67b3aed118c929250f983dbab7b Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Mon, 29 Feb 2016 14:23:50 +0100 Subject: [PATCH v2 1/4] lavf/avienc: Add support for palette side data packets --- libavformat/avie

[FFmpeg-devel] [PATCH 2/4 v2] lavf/movenc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
Small fix. -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From ca4010bd52169e4a10513981fc876334eb2b4e5e Mon Sep 17 00:00:00 2001 From: Mats Peterson Date: Mon, 29 Feb 2016 14:10:54 +0100 Subject: [PATCH 2/4 v2] lavf/movenc: Add support for palette side data packets --- libavformat/movenc.c

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Also i can send you an email with public RTSP URL privately if you ask. On Mon, Feb 29, 2016 at 3:10 PM, Andrew Shulgin wrote: > Extracting SPS without the missig PPS results in unplayable FLV. > > ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp:// > admin:12345@192.88.99.1/h264/ch1/ma

Re: [FFmpeg-devel] [PATCH] lavf/md5enc: New streammd5 muxer

2016-02-29 Thread Moritz Barsnick
On Fri, Feb 19, 2016 at 17:51:00 +0100, Nicolas George wrote: > Changing the name of existing muxers is annoying, but for new features I > would like much better if we did not wave around the name of a hash function > that has known vulnerabilities since 20 years: "streamhash" would be an > obvious

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Extracting SPS without the missig PPS results in unplayable FLV. ffmpeg -thread_queue_size 512 -rtsp_transport tcp -i rtsp:// admin:12345@192.88.99.1/h264/ch1/main/av_stream -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -c:v copy -acodec aac -strict experimental -ab 128k -f flv wro

Re: [FFmpeg-devel] [PATCH] x86/vc1dsp: Split the file into MC and loopfilter

2016-02-29 Thread Ronald S. Bultje
Hi, On Sun, Feb 28, 2016 at 8:26 PM, Timothy Gu wrote: > --- > libavcodec/x86/Makefile | 3 +- > libavcodec/x86/vc1dsp.asm| 585 > --- > libavcodec/x86/vc1dsp_loopfilter.asm | 317 +++ > libavcodec/x86/vc1dsp_mc.asm

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 01:59:22PM +0200, Andrew Shulgin wrote: > Corrected the patch a bit, now setting extradata_size to 0 > > On Mon, Feb 29, 2016 at 1:13 PM, Andrew Shulgin > wrote: > > > Correct SPS and PPS are in the stream. > > Maybe it's reasonale to use existing SPS. But i'm not sure ho

Re: [FFmpeg-devel] [PATCH]lavf/mov: Set display aspect ratio for avid dv

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 11:52:24AM +0100, Carl Eugen Hoyos wrote: > Hi! > > Attached patch fixes ticket #5271 for me. > > Please comment, Carl Eugen > mov.c |5 + > 1 file changed, 5 insertions(+) > ef08b944e3cb77bd7311187ecbfbdae719147d92 patchaviddv.diff > diff --git a/libavformat/mo

Re: [FFmpeg-devel] [PATCH]lavf: Add pcx auto-detection

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 12:01:35PM +, Carl Eugen Hoyos wrote: > Carl Eugen Hoyos ag.or.at> writes: > > > +|| b[1] > 6 > > Locally fixed to "> 5" patch probably ok thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. H

Re: [FFmpeg-devel] [PATCH]lavf: Add pcx auto-detection

2016-02-29 Thread Carl Eugen Hoyos
Carl Eugen Hoyos ag.or.at> writes: > +|| b[1] > 6 Locally fixed to "> 5" Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Corrected the patch a bit, now setting extradata_size to 0 On Mon, Feb 29, 2016 at 1:13 PM, Andrew Shulgin wrote: > Correct SPS and PPS are in the stream. > Maybe it's reasonale to use existing SPS. But i'm not sure how to > implement that. > Yeah really, setting extradata_size to 0 should not b

[FFmpeg-devel] [PATCH]lavf: Add pcx auto-detection

2016-02-29 Thread Carl Eugen Hoyos
Hi! Attached patch adds auto-detection for pcx images. Please comment, Carl Eugen diff --git a/libavformat/Makefile b/libavformat/Makefile index 782908e..edfa695 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -218,6 +218,7 @@ OBJS-$(CONFIG_IMAGE_EXR_PIPE_DEMUXER) += img2dec.o

[FFmpeg-devel] [PATCH] lavfi: add bench and abench filters

2016-02-29 Thread Clément Bœsch
From: Clément Bœsch --- TODO: doc, bump, Changelog example: -vf bench=start,gradfun,format=rgba,hqx,bench=stop --- libavfilter/Makefile | 2 + libavfilter/allfilters.c | 2 + libavfilter/f_bench.c| 132 +++ 3 files changed, 136 insertions(

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Andrew Shulgin
Correct SPS and PPS are in the stream. Maybe it's reasonale to use existing SPS. But i'm not sure how to implement that. Yeah really, setting extradata_size to 0 should not be skipped. On Mon, Feb 29, 2016 at 1:01 PM, Michael Niedermayer wrote: > On Sat, Feb 27, 2016 at 09:56:01PM +0200, Andrew

Re: [FFmpeg-devel] [PATCH 2/2] img2dec: Add mime_type to image formats

2016-02-29 Thread Carl Eugen Hoyos
Derek Buitenhuis gmail.com> writes: > On 2/26/2016 3:05 PM, Carl Eugen Hoyos wrote: > > Or in other words: Except for jpeg, there is no > > probe function that returns 0 although the decoder > > can decode the image. > > I'll take your word for it on this part. Please don't: Instead double-ch

Re: [FFmpeg-devel] [PATCH] Ignore invalid sprop-parameter-sets missing PPS

2016-02-29 Thread Michael Niedermayer
On Sat, Feb 27, 2016 at 09:56:01PM +0200, Andrew Shulgin wrote: > Some Hikvison RTSP cameras send wrong sprop-parameter-sets in SDP - it's > missing PPS. > > Example of correct sprop-parameter-sets: > sprop-parameter-sets=Z0IAH5W4PASaEAAAcIAAFfkAQA==,aM48gA== > Example of wrong sprop-parameter-set

Re: [FFmpeg-devel] [PATCH]lavf/img2dec: Skip SOS when auto-detecting jpeg

2016-02-29 Thread Carl Eugen Hoyos
Michael Niedermayer niedermayer.cc> writes: > > img2dec.c |1 + > > 1 file changed, 1 insertion(+) > > db2e658f6b6761e038746e51569a9faf5516e0ff patchsoslength.diff > > diff --git a/libavformat/img2dec.c b/libavformat/img2dec.c > > LGTM Patch applied. Thank you, Carl Eugen __

[FFmpeg-devel] [PATCH]lavf/mov: Set display aspect ratio for avid dv

2016-02-29 Thread Carl Eugen Hoyos
Hi! Attached patch fixes ticket #5271 for me. Please comment, Carl Eugen diff --git a/libavformat/mov.c b/libavformat/mov.c index 043f4a9..888b2ad 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1461,6 +1461,11 @@ static int mov_read_ares(MOVContext *c, AVIOContext *pb, MOVAtom atom)

Re: [FFmpeg-devel] [PATCH]lavf/img2dec: Skip SOS when auto-detecting jpeg

2016-02-29 Thread Michael Niedermayer
On Mon, Feb 29, 2016 at 01:45:28AM +0100, Carl Eugen Hoyos wrote: > Hi! > > I believe attached patch fixes a possible issue when auto-detecting jpeg. > > Please review, Carl Eugen > img2dec.c |1 + > 1 file changed, 1 insertion(+) > db2e658f6b6761e038746e51569a9faf5516e0ff patchsoslength.d

Re: [FFmpeg-devel] [PATCH] build: add install_name_dir option

2016-02-29 Thread Clément Bœsch
On Thu, Feb 25, 2016 at 02:56:52PM +0100, Clément Bœsch wrote: > On Thu, Feb 25, 2016 at 02:47:45PM +0100, Hendrik Leppkes wrote: > > On Thu, Feb 25, 2016 at 2:35 PM, Clément Bœsch wrote: > > > From: Clément Bœsch > > > > > > This option is typically useful when cross-compiling dynamic libraries

[FFmpeg-devel] [PATCH v2] sws/aarch64: add {nv12, nv21, yuv420p, yuv422p}_to_{argb, rgba, abgr, rgba}_neon

2016-02-29 Thread Clément Bœsch
From: Clément Bœsch --- Changes since latest version: - remove unused 32-bit path - make 16-bit path more accurate by mirroring the MMX code (still not bitexact) - the code as originally trying to process 2 lines at a time to save chroma pre mult computations and avoid re-reading the whole line

Re: [FFmpeg-devel] [PATCH 1/4] lavf/avienc: Add support for palette side data packets

2016-02-29 Thread Mats Peterson
On 02/29/2016 07:39 AM, Mats Peterson wrote: ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel Once again, this patch set is needed for stream copy of raw palettized data, since the packets will

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: optimize draw routines

2016-02-29 Thread Muhammad Faiz
On Sun, Feb 28, 2016 at 4:52 PM, Muhammad Faiz wrote: > optimize draw_bar_yuv (slightly faster) > optimize draw_axis (about 2x faster) > > Signed-off-by: Muhammad Faiz > --- > libavfilter/avf_showcqt.c | 212 > +- > 1 file changed, 115 insertions(+),