Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 9:49 AM, Michael Niedermayer wrote: > On Tue, Jun 07, 2016 at 08:07:45AM +0700, Muhammad Faiz wrote: >> On Sat, Jun 4, 2016 at 2:36 PM, Muhammad Faiz wrote: >> > benchmark on x86_64 >> > cqt_time: >> > plain = 3.292 s >> > SSE = 1.640 s >> > SSE3 = 1.631 s >> > AVX = 1

Re: [FFmpeg-devel] [PATCH] lavc/mediacodec: improve error messages

2016-06-07 Thread Matthieu Bouron
On Mon, Jun 06, 2016 at 10:08:10PM +0200, Michael Niedermayer wrote: > On Mon, Jun 06, 2016 at 10:05:38AM +0200, Matthieu Bouron wrote: > > From: Matthieu Bouron > > > > --- > > libavcodec/mediacodecdec.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > LGTM > > thx Pushed. T

Re: [FFmpeg-devel] [PATCH 2/2] lavc/mediacodec: bypass width/height restrictions when looking for a decoder

2016-06-07 Thread Matthieu Bouron
On Mon, Jun 06, 2016 at 11:41:41AM +0200, Matthieu Bouron wrote: > On Mon, Jun 06, 2016 at 11:29:03AM +0200, Hendrik Leppkes wrote: > > On Mon, Jun 6, 2016 at 9:54 AM, Matthieu Bouron > > wrote: > > > On Tue, May 31, 2016 at 05:41:16PM +0200, Matthieu Bouron wrote: > > >> On Tue, May 31, 2016 at 0

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 10:36 AM, James Almer wrote: > On 6/4/2016 4:36 AM, Muhammad Faiz wrote: >> benchmark on x86_64 >> cqt_time: >> plain = 3.292 s >> SSE = 1.640 s >> SSE3 = 1.631 s >> AVX = 1.395 s >> FMA3 = 1.271 s >> FMA4 = not available > > Try using the START_TIMER and STOP_TIMER m

[FFmpeg-devel] [PATCH] avcodec: add BitJazz SheerVideo decoder

2016-06-07 Thread Paul B Mahol
Hi, patch attached. Only progressive videos supported for now. 0001-avcodec-add-BitJazz-SheerVideo-decoder.patch.bz2 Description: BZip2 compressed data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-dev

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Nicolas George
Le decadi 20 prairial, an CCXXIV, Muhammad Faiz a écrit : > mkfifo in0.y4m > mkfifo in1.y4m > $build_path/ffmpeg $3 -i "$1" -filter_complex "showcqt, format=$2, > format=yuv444p|yuv422p|yuv420p" -f yuv4mpegpipe -y in0.y4m > 2>&1 ffmpeg $3 -i "$1" -filter_complex "showcqt, format=$2, > format=yuv4

Re: [FFmpeg-devel] [PATCH] avcodec: add BitJazz SheerVideo decoder

2016-06-07 Thread Michael Niedermayer
On Tue, Jun 07, 2016 at 11:45:35AM +0200, Paul B Mahol wrote: > Hi, > > patch attached. LGTM, but please dont bzip patches, it makes applying and commenting harder [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is dangerous to be right in matters on which t

[FFmpeg-devel] [PATCH] libavformat/mpegtsenc: improved cbr mode pcr accuracy

2016-06-07 Thread alex3d
From: Alex Shumsky --- libavformat/mpegtsenc.c | 64 - 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 93cbac1..b1ff82f 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/m

[FFmpeg-devel] (no subject)

2016-06-07 Thread alex3d
This patch improves CBR mode PCR accuracy by sending PCR packets in non-PCR PES packets. For problem description see "mpegtsenc cbr mode pcr accuracy" at Sat Nov 28 08:03:20 CET 2015 (https://ffmpeg.org/pipermail/ffmpeg-devel/2015-November/184079.html) __

Re: [FFmpeg-devel] [PATCH 2/2] avformat/rawdec: Fix avg_framerate for h264

2016-06-07 Thread Michael Niedermayer
On Sat, Jun 04, 2016 at 02:36:53AM +0200, Michael Niedermayer wrote: > On Fri, Jun 03, 2016 at 07:39:08PM -0400, Ronald S. Bultje wrote: > > Hi, > > > > On Fri, Jun 3, 2016 at 6:12 PM, Michael Niedermayer > > wrote: > > > > > The framerate is 25 which is a fixed default and is wrong undo the 1 l

[FFmpeg-devel] [PATCH] Revert "avfilter/trim: add compatibility layer to not break ABI used by ffmpeg"

2016-06-07 Thread Michael Niedermayer
This reverts commit 9219ec93b145725ac74fbfbde7f67ac5135b85cf. Fixes Ticket 5411 --- libavfilter/trim.c | 26 +- 1 file changed, 5 insertions(+), 21 deletions(-) diff --git a/libavfilter/trim.c b/libavfilter/trim.c index 9141ac5..9daaeaf 100644 --- a/libavfilter/trim.c +

[FFmpeg-devel] [PATCH v3 1/3] avcodec/cuvid: add cuvid decoder

2016-06-07 Thread Timo Rothenpieler
--- Changelog | 2 + MAINTAINERS| 1 + configure | 35 +++ libavcodec/Makefile| 2 + libavcodec/allcodecs.c | 10 + libavcodec/cuvid.c | 699 + libavcodec/version.h | 4 +- 7 files changed, 75

[FFmpeg-devel] [PATCH v3 3/3] ffmpeg: unref hw_frames_ctx on cleanup

2016-06-07 Thread Timo Rothenpieler
--- ffmpeg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ffmpeg.c b/ffmpeg.c index 652774f..45c19fc 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -550,6 +550,7 @@ static void ffmpeg_cleanup(int ret) av_frame_free(&ist->sub2video.frame); av_freep(&ist->filters); av_free

[FFmpeg-devel] [PATCH v3 2/3] ffmpeg: Add cuvid hwaccel support

2016-06-07 Thread Timo Rothenpieler
--- Makefile | 1 + ffmpeg.c | 5 ++ ffmpeg.h | 3 + ffmpeg_cuvid.c | 229 + ffmpeg_opt.c | 3 + 5 files changed, 241 insertions(+) create mode 100644 ffmpeg_cuvid.c diff --git a/Makefile b/Makefile index 0ff4a87

[FFmpeg-devel] [PATCH] avfilter/af_loudnorm: add dual_mono option

2016-06-07 Thread Kyle Swanson
Signed-off-by: Kyle Swanson --- doc/filters.texi | 7 +++ libavfilter/af_loudnorm.c | 7 +++ 2 files changed, 14 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index d9330e3..439baf9 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -2765,6 +2765,13 @@ meas

Re: [FFmpeg-devel] [PATCH] ass_split: fix handling of streams with no [Events] or Format: line

2016-06-07 Thread James Almer
On 12/4/2015 9:43 AM, Rodger Combs wrote: > --- > libavcodec/ass_split.c | 66 > -- > 1 file changed, 42 insertions(+), 24 deletions(-) What's the status of this patch? It's supposedly confirmed to fix https://trac.ffmpeg.org/ticket/5056 __

[FFmpeg-devel] ffmpeg_vdpau: Re-add ability to ignore level check

2016-06-07 Thread Mark Thompson
Fixes ticket 5286. Uses the global -hwaccel_lax_profile_check option (may be misnamed for this purpose, but it has the right spirit). --- Only compile tested (no hardware). Maybe -hwaccel_lax_profile_check should be renamed to something a bit more general - it was named for the specific VAAPI ca

Re: [FFmpeg-devel] [PATCH] FFPlay on a HLS stream skips audio from time to time.

2016-06-07 Thread Marton Balint
On Wed, 1 Jun 2016, Adrian Cruceru wrote: Hi, Patch is attached, Quick notes: - Playing HLS streams - FFPlay stalls a bit before each segment download - Stalls accumulate and FFPlay falls behind - We get log warning and segment skip. Fix: - Just make sure HLS is marked as a real time stream.

Re: [FFmpeg-devel] MetaData in Sun AU format

2016-06-07 Thread miniupnp
>> On 6/1/16, miniupnp wrote: >>> Hello, >>> >>> I'm using the .AU audio file format and noticed that FFmpeg always put 8 >>> zero's in the annotation field. >>> SOX does use the annotation field to put metadata >>> (Title/Author/Album/Genre/Track) >>> >>> I don't think there is any precise speci

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: force 48kHz sample rate when rescaling Opus inital padding

2016-06-07 Thread James Almer
On 6/6/2016 5:24 PM, Michael Niedermayer wrote: > should be ok > maybe wait a day or so, so others can comment too Pushed then, thanks. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] ffprobe.xsd: add missing timecode attribute to frameSideDataType

2016-06-07 Thread Dave Rice
A timecode attribute was added to the ffprobe output of side_data. This patch updates the XSD to include the attribute as well. Dave Rice 0001-ffprobe.xsd-add-missing-timecode-attribute-to-frameS.patch Description: Binary data ___ ffmpeg-devel mailing

Re: [FFmpeg-devel] [PATCH] ffprobe: Support adding av_log output to frames

2016-06-07 Thread Dave Rice
> On May 31, 2016, at 3:23 PM, Michael Niedermayer > wrote: > > adding demuxer and other logs should be easy > This forces single threaded decoding for simplicity > It also requires pthreads, this could be avoided either with > some lockless tricks or simply by assuming av_log would never be ca

Re: [FFmpeg-devel] [PATCH] avfilter/avf_showcqt: cqt_calc optimization on x86

2016-06-07 Thread Muhammad Faiz
On Tue, Jun 7, 2016 at 4:18 PM, Muhammad Faiz wrote: > On Tue, Jun 7, 2016 at 10:36 AM, James Almer wrote: >> On 6/4/2016 4:36 AM, Muhammad Faiz wrote: >>> benchmark on x86_64 >>> cqt_time: >>> plain = 3.292 s >>> SSE = 1.640 s >>> SSE3 = 1.631 s >>> AVX = 1.395 s >>> FMA3 = 1.271 s >>> FMA

[FFmpeg-devel] [PATCH] avfilter/avf_showcqt: set range on fps/rate/r option

2016-06-07 Thread Muhammad Faiz
see Ticket #5618 Signed-off-by: Muhammad Faiz --- libavfilter/avf_showcqt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavfilter/avf_showcqt.c b/libavfilter/avf_showcqt.c index 62d5b09..8863ea1 100644 --- a/libavfilter/avf_showcqt.c +++ b/libavfilter/avf_showcqt.

Re: [FFmpeg-devel] [PATCH 2/2] lavc/videotoolboxenc: set extradata when opening codec

2016-06-07 Thread Richard Kern
Apple confirmed there’s no way to get the parameter sets earlier through VideoToolbox. If no one reviews, I’ll push in about 24 h. > On Jun 2, 2016, at 2:43 AM, Rick Kern wrote: > > VideoToolbox doesn't supply parameter sets until the first frame is done > encoding. This spins up a temporary en

Re: [FFmpeg-devel] [PATCH] lavc/audiotoolboxenc: fix dropped frames on iOS

2016-06-07 Thread Richard Kern
Ping. > On Jun 2, 2016, at 2:32 AM, Rick Kern wrote: > > AudioConverterFillComplexBuffer() doesn't always call its callback. A frame > queue is used to prevent skipped audio samples. > > Signed-off-by: Rick Kern > --- > libavcodec/audiotoolboxenc.c | 78 +---

Re: [FFmpeg-devel] [PATCH] lavc/videotoolbox: fix H.264 hwaccel init issue

2016-06-07 Thread Richard Kern
> On Jun 6, 2016, at 9:00 AM, Richard Kern wrote: > > Ping. This fixes #5595. > >> On Jun 1, 2016, at 10:06 PM, Rick Kern wrote: >> >> Fixes VTDecompressionSessionCreate() error. >> >> Signed-off-by: Rick Kern >> --- >> libavcodec/videotoolbox.c | 59 >> +++

Re: [FFmpeg-devel] [PATCH] ffprobe: Support adding av_log output to frames

2016-06-07 Thread James Almer
On 5/31/2016 4:23 PM, Michael Niedermayer wrote: > adding demuxer and other logs should be easy > This forces single threaded decoding for simplicity > It also requires pthreads, this could be avoided either with > some lockless tricks or simply by assuming av_log would never be called from > anoth