[FFmpeg-devel] add new decoder or format

2016-06-05 Thread Dan Shamir
hi, i am looking into how to add a custome format or decoder to ffmpeg can someone point me to relevent docs or example so i can get started? thank you very much -- Dan shamir Director of Graphic Technology *d...@idomoo.com * [image: idomoo_logo_moving people NEW email signature]

[FFmpeg-devel] [PATCH] lavf/utils: fix timestamp trace log in estimate_timings() function

2016-06-05 Thread Stefano Sabatini
Use the correct timebase, also replace "stream" with "format" in the context of the format. --- libavformat/utils.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 468ba1a..c7074e9 100644 --- a/libavformat/utils.c +++ b/li

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

2016-06-05 Thread Stefano Sabatini
On date Tuesday 2016-05-31 21:23:27 +0200, Michael Niedermayer encoded: > 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

Re: [FFmpeg-devel] [PATCH] lavf: add textdata virtual demuxer and demuxer

2016-06-05 Thread Stefano Sabatini
On date Thursday 2016-05-19 18:50:17 +0200, Stefano Sabatini encoded: > On date Thursday 2016-05-19 18:45:22 +0200, Stefano Sabatini encoded: > > This format is useful to inject custom user data into streams. > > --- > > doc/demuxers.texi | 40 + > > doc/muxers.texi

Re: [FFmpeg-devel] add new decoder or format

2016-06-05 Thread Ronald S. Bultje
Hi Dan, On Sun, Jun 5, 2016 at 4:31 AM, Dan Shamir wrote: > hi, > i am looking into how to add a custome format or decoder to ffmpeg > can someone point me to relevent docs or example so i can get started? > thank you very much The checklist should be pretty self-explanatory: https://ffmpeg.or

[FFmpeg-devel] [PATCH] swscale/swscale-test: Code to test scaler with slices

2016-06-05 Thread Michael Niedermayer
This currently does fail due to bugs in swscale (already reported to author of commit causing them) Signed-off-by: Michael Niedermayer --- libswscale/swscale-test.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/libswscale/swscale-test.c b/libswscale/swsc

Re: [FFmpeg-devel] Fate server problem?

2016-06-05 Thread Michael Niedermayer
On Sun, Jun 05, 2016 at 06:38:59AM +, Timothy Gu wrote: > Hi, > > On Sat, Jun 4, 2016 at 10:41 PM Dave Yeo wrote: > > > I'm getting this echoing in my console at the end of a fate session > > > > /home/fate/mongo-experiments/process/node_modules/mongodb/lib/server.js:236 > > process

Re: [FFmpeg-devel] [PATCH] Check av_dup_packet() return code

2016-06-05 Thread Michael Niedermayer
On Thu, Mar 03, 2016 at 05:15:07PM +0100, Michael Niedermayer wrote: > On Wed, Feb 03, 2016 at 11:27:00PM +0100, Andreas Cadhalpun wrote: > > On 03.02.2016 19:05, Michael Niedermayer wrote: > > > Fixes: CID1338320 > > > > > > Signed-off-by: Michael Niedermayer > > > --- > > > libavcodec/frame_th

Re: [FFmpeg-devel] add new decoder or format

2016-06-05 Thread Dan Shamir
Thanks. Any pointers on a format implementation for best guide or starting point? On Jun 5, 2016 2:42 PM, "Ronald S. Bultje" wrote: > Hi Dan, > > On Sun, Jun 5, 2016 at 4:31 AM, Dan Shamir wrote: > > > hi, > > i am looking into how to add a custome format or decoder to ffmpeg > > can someone poi

Re: [FFmpeg-devel] [PATCH] lavf/utils: fix timestamp trace log in estimate_timings() function

2016-06-05 Thread Michael Niedermayer
On Sun, Jun 05, 2016 at 12:36:30PM +0200, Stefano Sabatini wrote: > Use the correct timebase, also replace "stream" with "format" in the > context of the format. > --- > libavformat/utils.c | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) ok [...] -- Michael GnuPG fingerprint

Re: [FFmpeg-devel] [PATCH] avcodec/cfhd: clear idwt_buf on allocation

2016-06-05 Thread Michael Niedermayer
On Sun, Feb 14, 2016 at 08:31:54PM +0100, Michael Niedermayer wrote: > This avoids use of uninitialized variables and might make bugs in general > easier to reproduce > > Signed-off-by: Michael Niedermayer > --- applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC7870

[FFmpeg-devel] warnings: Truncating likely oversized PPS

2016-06-05 Thread Robert Krüger
Hi, I'm observing tons of these messages in my logs for mxf files from a number of professional cameras. Would it help to submit a sample, so someone could check if the warning makes sense? I'm close to hacking the code locally to suppress this warning because it seems it is logged once per frame

Re: [FFmpeg-devel] [PATCH] avformat/format: Print debug info when probe score is increased due to mime type

2016-06-05 Thread Michael Niedermayer
On Thu, Feb 25, 2016 at 08:14:57PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/format.c |8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Yo

Re: [FFmpeg-devel] [PATCH] Seperate x264rgb encoder and only enable when its actually supported

2016-06-05 Thread Michael Niedermayer
On Sat, Feb 27, 2016 at 11:46:14PM +0100, Michael Niedermayer wrote: > This avoids enabling and building the x264rgb encoder when its actually not > supported and > thus would not work > > Signed-off-by: Michael Niedermayer > --- > configure|3 ++- > libavcodec/libx264.c | 22

Re: [FFmpeg-devel] [PATCH 1/2] doc/examples/transcoding: Use the decoders pixel format if the encoder does not list which are supported

2016-06-05 Thread Michael Niedermayer
On Sun, Feb 28, 2016 at 12:17:35AM +0100, Michael Niedermayer wrote: > This affects rawvideo and wraped_avframe, no others are affected atm > > Signed-off-by: Michael Niedermayer > --- > doc/examples/transcoding.c |5 - > 1 file changed, 4 insertions(+), 1 deletion(-) applied patch 1, 2

Re: [FFmpeg-devel] [PATCH] avutil/frame: Assert that width/height/channels is 0 for the destination of av_frame*_ref()

2016-06-05 Thread Michael Niedermayer
On Wed, Mar 09, 2016 at 01:00:13PM +0100, Nicolas George wrote: > Le decadi 20 ventôse, an CCXXIV, Michael Niedermayer a écrit : > > wm4 posted a patch to document the undefied-ness of this > > 0301 19:21 wm4 (2.4K) ├─>[FFmpeg-devel] [PATCH 1/6] lavu: > > improve documentation of some

Re: [FFmpeg-devel] [PATCH] avfilter/graphparser: remove '\n' from parse_filter

2016-06-05 Thread Muhammad Faiz
On Sun, Jun 5, 2016 at 12:33 AM, Michael Niedermayer wrote: > On Thu, Jun 02, 2016 at 03:32:49PM +0700, Muhammad Faiz wrote: >> On Thu, May 5, 2016 at 2:21 PM, Muhammad Faiz wrote: >> > this allow a filter to be written like this: >> > aformat = >> > sample_fmts = fltp|flt: >> > sample_r

Re: [FFmpeg-devel] [PATCH 1/4] avfilter/vf_colormatrix: increase precision

2016-06-05 Thread Michael Niedermayer
On Sat, Mar 26, 2016 at 10:57:49AM +, Thomas Mundt wrote: > >>>Michael Niedermayer schrieb am Sa, 26.3.2016: > > > > this causes some compiler warnings > > > > libavfilter/vf_colormatrix.c: In function ‘calc_coefficients’: > > libavfilter/vf_colormatrix.c:163:9: warning: passing argument 2 of

Re: [FFmpeg-devel] [PATCH 2/4] avfilter/vf_colormatrix: add bt.2020 colorspace

2016-06-05 Thread Michael Niedermayer
On Fri, Mar 25, 2016 at 11:31:36PM +0100, Thomas Mundt wrote: > Signed-off-by: Thomas Mundt > --- > doc/filters.texi | 3 +++ > libavfilter/vf_colormatrix.c | 38 ++ > 2 files changed, 25 insertions(+), 16 deletions(-) applied thx [...] -- Mich

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/mpeg4videodec: Print low_delay value with -debug 1 in decode_vol_header()

2016-06-05 Thread Michael Niedermayer
On Mon, Mar 28, 2016 at 08:55:15PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/mpeg4videodec.c |3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Di

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

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

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

2016-06-05 Thread Timo Rothenpieler
--- Changelog | 2 + MAINTAINERS| 1 + configure | 20 ++ libavcodec/Makefile| 2 + libavcodec/allcodecs.c | 4 + libavcodec/cuvid.c | 550 + libavcodec/version.h | 4 +- 7 files changed, 581

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/mpeg4videodec: Fix default low_delay flag value if not coded

2016-06-05 Thread Michael Niedermayer
On Mon, Mar 28, 2016 at 08:55:14PM +0200, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavcodec/mpeg4videodec.c | 12 ++- > tests/ref/fate/iv8-demux | 48 ++-- > tests/ref/fate/nc-demux| 182 > ++-- > 3 files

Re: [FFmpeg-devel] [PATCH] avformat/format: Fix registering a format more than once and related races

2016-06-05 Thread Michael Niedermayer
On Thu, Apr 07, 2016 at 08:08:41PM +0200, wm4 wrote: > On Thu, 7 Apr 2016 17:51:26 +0200 > Michael Niedermayer wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > libavformat/format.c | 16 ++-- > > 1 file changed, 10 insertions(+), 6 deletions(-) > > > > diff --git a/li

Re: [FFmpeg-devel] [PATCH] avfilter/af_amix: dont fail if there are no samples in output_frame()

2016-06-05 Thread Michael Niedermayer
On Thu, Apr 28, 2016 at 09:24:24PM +0200, Michael Niedermayer wrote: > Fixes Ticket5326 > > Signed-off-by: Michael Niedermayer > --- > libavfilter/af_amix.c |3 +++ > 1 file changed, 3 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH][WIP][RFC] BitJazz SheerVideo decoder

2016-06-05 Thread Paul B Mahol
On 6/4/16, Paul B Mahol wrote: > Hi, > > patch attached. > > This is initial version as only 8bit RGB(A) is supported. > > Can those tables be converted to something better? > Updated patch, with more formats supported and big tables, on: https://github.com/richardpl/FFmpeg/tree/sheer __

[FFmpeg-devel] [PATCH] avfilter/af_firequalizer: add zero_phase option

2016-06-05 Thread Muhammad Faiz
simply by substracting pts to compensate delay also handle AV_NOPTS_VALUE Signed-off-by: Muhammad Faiz --- doc/filters.texi | 8 ++-- libavfilter/af_firequalizer.c | 9 - libavfilter/version.h | 2 +- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] avformat/movenc: Skip unsupported video tracks in timecode generation

2016-06-05 Thread Michael Niedermayer
On Fri, Apr 29, 2016 at 04:53:45AM +0200, Michael Niedermayer wrote: > Fixes Ticket5414 > > Signed-off-by: Michael Niedermayer > --- > libavformat/movenc.c | 32 ++-- > 1 file changed, 22 insertions(+), 10 deletions(-) applied [...] -- Michael GnuPG fingerpri

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/wmalosslessdec: Use unsigned operations for overflowing cases

2016-06-05 Thread Michael Niedermayer
On Mon, May 16, 2016 at 03:18:00PM +0200, Michael Niedermayer wrote: > On Mon, May 16, 2016 at 02:31:20PM +0200, Paul B Mahol wrote: > > On 5/16/16, Michael Niedermayer wrote: > > > Fixes undefined behavior in fate-lossless-wma24-2 > > > > > > Signed-off-by: Michael Niedermayer > > > --- > > > l

[FFmpeg-devel] FFmpeg 3.1

2016-06-05 Thread Michael Niedermayer
Hi all its time for making the next major release If you want something in dont forget to push it to git master If theres some bug you care about or belive is important, please help fix them: regression bugs (all, not just since 3.0) https://trac.ffmpeg.org/query?status=new&status=open&status=re

[FFmpeg-devel] [PATCH] avformat/utils: Use delay if initial_padding is unavailable

2016-06-05 Thread Michael Niedermayer
It was used before codecpar Signed-off-by: Michael Niedermayer --- libavformat/utils.c |4 1 file changed, 4 insertions(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index ac056c4..97bfe87 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -3775,6 +3775,10 @@ FF_

Re: [FFmpeg-devel] FFmpeg 3.1

2016-06-05 Thread James Almer
On 6/5/2016 10:28 PM, Michael Niedermayer wrote: > Hi all > > its time for making the next major release > If you want something in dont forget to push it to git master > > If theres some bug you care about or belive is important, please > help fix them: > > regression bugs (all, not just since