[FFmpeg-devel] [PATCH 2/2] libvpxenc, cosmetics: rename common fns vp8 -> vpx

2016-07-20 Thread James Zern
+ the context struct Signed-off-by: James Zern --- libavcodec/libvpxenc.c | 60 +- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index c5b1b86..f3cff81 100644 ---

[FFmpeg-devel] [PATCH 1/2] libvpxdec, cosmetics: rename common fns vp8 -> vpx

2016-07-20 Thread James Zern
+ the context struct Signed-off-by: James Zern --- libavcodec/libvpxdec.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index f7acc39..5204c99 100644 ---

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread XinZheng Zhang
On Thu, Jul 21, 2016 at 5:03 AM, Moritz Barsnick wrote: > On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: > >> Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before >> video or audio stream was created >

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-21 10:35 GMT+08:00 XinZheng Zhang : > I apologize about my English and let me re-arrange my words. > The current realization would result in the loss of all key frame > indices from all the current video frames, > which would lead to the failure of seeking in FLVs.

[FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Xinzheng Zhang
--- libavformat/flvdec.c | 51 --- 1 file changed, 44 insertions(+), 7 deletions(-) diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 2bf1e05..b4fb4e2 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -30,6 +30,7 @@

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread XinZheng Zhang
I apologize about my English and let me re-arrange my words. The current realization would result in the loss of all key frame indices from all the current video frames, which would lead to the failure of seeking in FLVs. My current patch will cache all key frame indices without creating any video

Re: [FFmpeg-devel] [PATCH] avcodec/alsdec: implement floating point decoding

2016-07-20 Thread Umair Khan
On Tue, Jul 19, 2016 at 11:17 PM, Umair Khan wrote: > > Updated patch. > > On Tue, Jul 19, 2016 at 8:19 PM, Thilo Borgmann > wrote: > > Am 19.07.16 um 15:42 schrieb Umair Khan: > >> On Tue, Jul 19, 2016 at 5:20 PM, Thilo Borgmann

Re: [FFmpeg-devel] [PATCH 2/2] docs/demuxers: add libopenmpt section

2016-07-20 Thread Josh de Kock
On Tue, Jul 19, 2016, at 04:39 PM, Josh de Kock wrote: > [...] Set applied -- Josh ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 3/3] libavformat/libopenmpt: Add "date" to metadata.

2016-07-20 Thread Josh de Kock
The rest of the set was applied, thanks. -- Josh ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 4/4] avformat: add an Ogg Video muxer

2016-07-20 Thread James Almer
On 7/12/2016 11:24 PM, Michael Niedermayer wrote: > On Wed, Jul 06, 2016 at 08:25:27PM -0300, James Almer wrote: >> RFC 5334 recommendens this extension to go alongside the video/ogg >> mimetype for video files, with or without audio and subtitles [1]. >> >> [1]

Re: [FFmpeg-devel] [PATCH 3/3] avformat/oggenc: add vp8 muxing support

2016-07-20 Thread James Almer
On 7/12/2016 6:36 PM, James Almer wrote: > Addresses ticket #5687 > > Signed-off-by: James Almer > --- > AVFMT_TS_NONSTRICT is added to flags because invisible vp8 frames don't > increase the pts > > libavformat/oggenc.c| 94 >

[FFmpeg-devel] [PATCH] tests/fate/dnxhd: add dnxhr prefix tests

2016-07-20 Thread Mark Reid
The data offset value in the prefix increases as the heights increases. This test adds a tests for some common dnxhr heights. can somebody add the following test footage to fate/dnxhd? https://dl.dropboxusercontent.com/u/170952/fate/dnxhd/prefix-256x1536.dnxhr

[FFmpeg-devel] [PATCH 1/1] libavformat/rawenc: add dnxhr raw format extension

2016-07-20 Thread Mark Reid
--- libavformat/rawenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c index 4b8b41c..c4d7a90 100644 --- a/libavformat/rawenc.c +++ b/libavformat/rawenc.c @@ -128,7 +128,7 @@ AVOutputFormat ff_dirac_muxer = { AVOutputFormat

Re: [FFmpeg-devel] [PATCH 1/2] avformat/mux: Fix some codecpar non uses

2016-07-20 Thread Michael Niedermayer
On Sun, Jul 17, 2016 at 04:10:38AM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mux.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerprint:

Re: [FFmpeg-devel] [PATCH] avfilter: Add max stats to PSNR log

2016-07-20 Thread Michael Niedermayer
On Tue, Jul 19, 2016 at 10:49:20AM -0700, Lucas Cooper wrote: > This allows retroactive aggregation of the PSNR statistics (e.g. > calculating average PSNR for entire video or a segment of the video). To do this accurate it would be better to list the actual integer differences instead of float

[FFmpeg-devel] [PATCH] avfilter/vf_psnr: Fix rounding error in average_max

2016-07-20 Thread Michael Niedermayer
The intermediate was rounded to an integer Signed-off-by: Michael Niedermayer --- libavfilter/vf_psnr.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavfilter/vf_psnr.c b/libavfilter/vf_psnr.c index f3dff62..54d4ff0 100644 ---

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-21 7:29 GMT+08:00 Steven Liu : > > > 2016-07-21 5:03 GMT+08:00 Moritz Barsnick : > >> On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: >> >> > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes >> before video or audio

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-21 5:03 GMT+08:00 Moritz Barsnick : > On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: > > > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before > video or audio stream was created >^^^ flv > >

Re: [FFmpeg-devel] [PATCH] Avoid sending packets to network when multicast ttl is 0 in udp

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 05:38:10PM +0430, Omid Ghaffarinia wrote: > Thanks for testing in mingw > New patch attached, which should work now. still fails, even on ubuntu: libavformat/udp.c: In function ‘udp_set_multicast_ttl’: libavformat/udp.c:367:13: warning: passing argument 1 of ‘udp_set_url’

Re: [FFmpeg-devel] Fix for aviobuf.c::fill_buffer

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 03:59:39PM +, code bythepound wrote: > My app seems to hit the av_assert0(len >= s->orig_buffer_size) (line 535 in > my sources) in aviobuf.c::fill_buffer. FWIW I have registered a custom > AVIOContext that will consistently not fill the entire buffer when the read >

Re: [FFmpeg-devel] [PATCH] avutil: simplify LOCAL_ALIGNED macros

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 11:25:15AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > I went overzealous with cosmetics and added a space before a bracket, > obviously screwing up the macro in the process. > > configure| 10 -- >

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

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 06:11:56PM +, Petru Rares Sincraian wrote: > > Hi there, > > Here is another test, in this case for earwax filter. > > > Regards, > Petru Rares. > fate/filter-audio.mak |5 + > ref/fate/filter-earwax | 25 + > 2 files changed, 30

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Moritz Barsnick
On Thu, Jul 21, 2016 at 00:06:44 +0800, zhangxinzheng wrote: > Subject: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before > video or audio stream was created ^^^ flv > There has an error when seeking in a flv file, which key frames was >

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

2016-07-20 Thread Petru Rares Sincraian
Hi there, Here is another test, in this case for earwax filter. Regards, Petru Rares.From c5bf7787be1ff7b9be2be31341a9bd9d0dd4ceaa Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Wed, 20 Jul 2016 18:41:58 +0200 Subject: [PATCH] fate: add test for earwax

Re: [FFmpeg-devel] [PATCH] avformat/matroskaenc: Write duration early during mkv_write_header

2016-07-20 Thread Soft Works
>> I apologize - I'm new to this project and have to get familiar with the >> coding styles.. > >Before writing your first line of code, read other ffmpeg code as well >as the developer guidelines. Those things mentioned in this thread are >all noted here:

Re: [FFmpeg-devel] [PATCH] x86/diracdsp: make ff_put_signed_rect_clamped_10_sse4 work on x86_32

2016-07-20 Thread James Almer
On 7/20/2016 1:28 PM, Rostislav Pehlivanov wrote: > Very nice, thanks. > Push whenever you have the time Pushed. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

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

2016-07-20 Thread Petru Rares Sincraian
Hi there, Here is a test for dcshift filter :) Thanks, Petru Rares.From f64daccf65b56e6eff22989f42c70c771b2a3801 Mon Sep 17 00:00:00 2001 From: Petru Rares Sincraian Date: Wed, 20 Jul 2016 18:32:04 +0200 Subject: [PATCH] fate: add test for dcshift filter ---

Re: [FFmpeg-devel] [PATCH] x86/diracdsp: make ff_put_signed_rect_clamped_10_sse4 work on x86_32

2016-07-20 Thread Rostislav Pehlivanov
On 20 July 2016 at 02:40, James Almer wrote: > Signed-off-by: James Almer > --- > libavcodec/x86/diracdsp.asm| 37 - > libavcodec/x86/diracdsp_init.c | 4 > 2 files changed, 20 insertions(+), 21 deletions(-) >

[FFmpeg-devel] [PATCH] aviobuf: cap len to orig_buffer_size

2016-07-20 Thread Josh de Kock
Note: I don't know much about the issue itself, just converting the suggested changes into patch form --- libavformat/aviobuf.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index 31e7202..b0a6208 100644 ---

[FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread zhangxinzheng
From: Xinzheng Zhang There has an error when seeking in a flv file, which key frames was sorted before video frame. This ensures that all the key frames was cached, and add to corresponding stream when it was created. --- libavformat/flvdec.c | 52

[FFmpeg-devel] Fix for aviobuf.c::fill_buffer

2016-07-20 Thread code bythepound
My app seems to hit the av_assert0(len >= s->orig_buffer_size) (line 535 in my sources) in aviobuf.c::fill_buffer. FWIW I have registered a custom AVIOContext that will consistently not fill the entire buffer when the read callback is called. The outcome is that 'len' in fill_buffer is

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
XinZheng Zhang 于2016年7月20日 周三下午11:05写道: > What are you meaning for the original mail? > > On Wed, Jul 20, 2016 at 10:24 PM, Steven Liu > wrote: > > > > > > 2016-07-20 21:46 GMT+08:00 XinZheng Zhang : > >> > >> There has an

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread Steven Liu
2016-07-20 21:46 GMT+08:00 XinZheng Zhang : > There has an error when seeking in a flv file, which key frames was > sorted before video frame. > This ensures that all the key frames was cached, and add to > corresponding stream when it was created. > > On Wed, Jul 20, 2016

[FFmpeg-devel] [PATCH] avutil: simplify LOCAL_ALIGNED macros

2016-07-20 Thread James Almer
Signed-off-by: James Almer --- I went overzealous with cosmetics and added a space before a bracket, obviously screwing up the macro in the process. configure| 10 -- libavutil/internal.h | 22 ++ 2 files changed, 10 insertions(+), 22

Re: [FFmpeg-devel] [PATCH] avformat/fivdec: cached keyframes before video or audio stream was created

2016-07-20 Thread XinZheng Zhang
There has an error when seeking in a flv file, which key frames was sorted before video frame. This ensures that all the key frames was cached, and add to corresponding stream when it was created. On Wed, Jul 20, 2016 at 9:30 PM, zhangxinzheng wrote: > From: Xinzheng Zhang

Re: [FFmpeg-devel] [PATCH] Avoid sending packets to network when multicast ttl is 0 in udp

2016-07-20 Thread Omid Ghaffarinia
Thanks for testing in mingw New patch attached, which should work now. On Wed, Jul 20, 2016 at 1:25 PM, Michael Niedermayer wrote: > On Wed, Jul 13, 2016 at 03:09:28PM +0430, Omid Ghaffarinia wrote: >> I attached the patch. >> >> The actual bug is, when creating a local

[FFmpeg-devel] [PATCH 1/2 v4] libopenmpt: add subsong support

2016-07-20 Thread Josh de Kock
--- libavformat/libopenmpt.c | 30 +++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/libavformat/libopenmpt.c b/libavformat/libopenmpt.c index 58a02be..ac67d28 100644 --- a/libavformat/libopenmpt.c +++ b/libavformat/libopenmpt.c @@ -36,15 +36,19 @@

Re: [FFmpeg-devel] [PATCH 2/4] libavcodec/dnxhd: add dnxhr profiles

2016-07-20 Thread Michael Niedermayer
On Sat, Jul 16, 2016 at 07:37:37PM -0700, Mark Reid wrote: > --- > libavcodec/avcodec.h| 7 +++ > libavcodec/codec_desc.c | 1 + > libavcodec/dnxhddec.c | 21 + > libavcodec/dnxhdenc.c | 2 ++ > libavcodec/profiles.c | 10 ++ > libavcodec/profiles.h

Re: [FFmpeg-devel] [PATCH] opt: delete duplicate "hwaccel_output_format" option

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 20, 2016 at 10:53:29AM +0800, Jun Zhao wrote: > ffmpeg_opt.c |3 --- > 1 file changed, 3 deletions(-) > 179bc295a55cb77f9ecfdc3a5636f53c52338e6e > 0001-ffmpeg_opt-Delete-duplicate-hwaccel_output_format-op.patch > From d712488fd73bebaa8c8f38ee29b70aa34c1df7fa Mon Sep 17 00:00:00

Re: [FFmpeg-devel] [PATCH] avutil: simplify LOCAL_ALIGNED macros

2016-07-20 Thread Michael Niedermayer
On Tue, Jul 19, 2016 at 10:48:16PM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > configure| 10 -- > libavutil/internal.h | 22 ++ > 2 files changed, 10 insertions(+), 22 deletions(-) fails to build here CC

Re: [FFmpeg-devel] [PATCH] Avoid sending packets to network when multicast ttl is 0 in udp

2016-07-20 Thread Michael Niedermayer
On Wed, Jul 13, 2016 at 03:09:28PM +0430, Omid Ghaffarinia wrote: > I attached the patch. > > The actual bug is, when creating a local multicast stream (i.e. giving > "rtp://224.1.1.1:1?ttl=0" to avio_open), then you can see the > packets on the network and not just on local machine (despite

Re: [FFmpeg-devel] [PATCH 2/3 v3] libopenmpt: add subsong support

2016-07-20 Thread Jörn Heusipp
On 07/19/2016 11:33 PM, Josh de Kock wrote: --- libavformat/libopenmpt.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) +{ "subsong", "set subsong",OFFSET(subsong), AV_OPT_TYPE_INT,{ .i64 = -2 }, -2, INT_MAX, A | D,