[FFmpeg-devel] [PATCH] lavf/avio: clarify the buffer parameter of avio_alloc_context

2014-11-25 Thread Yu Xiaolei
--- libavformat/avio.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/avio.h b/libavformat/avio.h index 86f754e..b9b4017 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -186,6 +186,9 @@ int avio_check(const char *url, int flags); * * @param buffer Memory block

Re: [FFmpeg-devel] pipeline multithreading

2014-11-25 Thread Daniel Oberhoff
Von meinem iPhone gesendet > Am 24.11.2014 um 17:16 schrieb Reimar Döffinger : > >> On Mon, Nov 24, 2014 at 12:35:58PM +0100, Daniel Oberhoff wrote: >> inout -> filter1 -> filter2 -> output >> >> some threads processing frame n in the output (i.e. encoding), other threads >> procesing frame n

[FFmpeg-devel] Fwd: pipeline multithreading

2014-11-25 Thread Daniel Oberhoff
Von meinem iPhone gesendet Anfang der weitergeleiteten E‑Mail: > Von: Daniel Oberhoff > Datum: 25. November 2014 09:59:39 MEZ > An: Timothy Gu > Betreff: Re: [FFmpeg-devel] pipeline multithreading > > > Von meinem iPhone gesendet > >> Am 24.11.2014 um 16:54 schrieb Timothy Gu : >> >> On M

[FFmpeg-devel] Fwd: pipeline multithreading

2014-11-25 Thread Daniel Oberhoff
Von meinem iPhone gesendet Anfang der weitergeleiteten E‑Mail: > Von: Daniel Oberhoff > Datum: 25. November 2014 09:58:03 MEZ > An: Reimar Döffinger > Betreff: Re: [FFmpeg-devel] pipeline multithreading > > > > Von meinem iPhone gesendet > >>> Am 24.11.2014 um 17:16 schrieb Reimar Döffing

[FFmpeg-devel] [PATCH] doc: add entry for APNG demuxer where needed.

2014-11-25 Thread Benoit Fouet
--- This commit can be split if needed... --- Changelog | 1 + MAINTAINERS | 1 + doc/demuxers.texi | 20 3 files changed, 22 insertions(+) diff --git a/Changelog b/Changelog index 486c127..7172d0c 100644 --- a/Changelog +++ b/Changelog @@ -16,6 +16,7 @@ versi

[FFmpeg-devel] [PATCH] avcodec/samidec: fix misposition of subtitles caused by rounding

2014-11-25 Thread Jeong-Hoon Seo
SAMI and ASS have different precision of duration in FFMPEG (SAMI: millisecond, ASS: centisecond) Sometimes, start-time of current subtitle is overrun with end-time of previous one by rounding process This led to misposition of subtitles - input SAMI start end ! - co

Re: [FFmpeg-devel] [PATCH] avformat/apngdec: transmit all the chunks between consecutive fcTL ones.

2014-11-25 Thread Benoit Fouet
Hi, - Mail original - > On 24/11/14 12:12 PM, Benoit Fouet wrote: > > In order to support multiple IDAT of fdAT chunks following an fcTL > > one, > > transmit all the chunks between two fcTL ones (or between fcTL and > > IEND > > one). > > Using one of the samples from > https://people.mo

[FFmpeg-devel] [PATCH 1/2] avformat/apngdec: account for blend and dispose operations.

2014-11-25 Thread Benoit Fouet
When the dimensions are the entire frame ones, and the dispose operation is to reset to background, or the new frame overwrites the new one, then consider the frame as a key one. --- libavformat/apng.h| 41 + libavformat/apngdec.c | 6 +- 2 files ch

[FFmpeg-devel] [PATCH 2/2] avformat/apngdec: validate frame dimensions.

2014-11-25 Thread Benoit Fouet
--- libavformat/apngdec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c index dac71f1..e9c87a1 100644 --- a/libavformat/apngdec.c +++ b/libavformat/apngdec.c @@ -295,7 +295,9 @@ static int decode_fctl_chunk(AVFormatContext *s,

[FFmpeg-devel] [PATCH]Rename sync() in liabvformat

2014-11-25 Thread Carl Eugen Hoyos
Hi! Compilation for Android fails on fate because sync() in unistd.h interferes with sync() in lxfdec.c Please comment, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] pipeline multithreading

2014-11-25 Thread Reimar Döffinger
On 25.11.2014, at 10:01, Daniel Oberhoff wrote: >> Am 24.11.2014 um 17:16 schrieb Reimar Döffinger : >> >>> On Mon, Nov 24, 2014 at 12:35:58PM +0100, Daniel Oberhoff wrote: >>> inout -> filter1 -> filter2 -> output >>> >>> some threads processing frame n in the output (i.e. encoding), other >>>

Re: [FFmpeg-devel] [PATCH]Rename sync() in liabvformat

2014-11-25 Thread Timothy Gu
On Tuesday, November 25, 2014, Carl Eugen Hoyos wrote: > Hi! > > Compilation for Android fails on fate because sync() in unistd.h interferes > with sync() in lxfdec.c > > Please comment, Carl Eugen > No patch was attached. Timothy ___ ffmpeg-devel mai

[FFmpeg-devel] Bored yet? Exciting start up looking for a Software Engineer with ffmpeg in Atlanta, GA

2014-11-25 Thread Chris Coffee
Getting board? My client here in Atlanta, Ga is looking for a very strong programmer with deep technical experience and a deep web video understanding - ingesting video from the web, modifying the video, using plugins, extensions, and ffmpeg. Their technology stack is varied as they use Ruby

[FFmpeg-devel] [DISCUSSION] Atrac3+ stream inside PSMF

2014-11-25 Thread Max Pole
>From b3013e56b0251d7e1a04191dfaa60ded3431bb23 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Mon, 24 Nov 2014 01:20:21 +0100 Subject: [PATCH 2/2] mpeg: add experimental support for PSMF audio. --- libavformat/mpeg.c | 61 ++ 1 file cha

[FFmpeg-devel] [PATCH]Rename sync() in libvaformat

2014-11-25 Thread Carl Eugen Hoyos
Hi! Compilation for Android fails on fate because sync() in unistd.h interferes with sync() in lxfdec.c Please comment, Carl Eugen diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c index 11d6da5..fb37da7 100644 --- a/libavformat/lxfdec.c +++ b/libavformat/lxfdec.c @@ -83,7 +83,7 @@ static

Re: [FFmpeg-devel] [PATCH]Rename sync() in liabvformat

2014-11-25 Thread Carl Eugen Hoyos
Timothy Gu gmail.com> writes: > No patch was attached. Thank you, Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [DISCUSSION] Atrac3+ stream inside PSMF

2014-11-25 Thread Carl Eugen Hoyos
Max Pole gmx.de> writes: > Attachment (0002-mpeg-add-experimental-support-for-PSMF-audio.patch) Thank you, I was always hoping for this patch! Please mention ticket #3233 in the (final) commit message. Carl Eugen ___ ffmpeg-devel mailing list ffmpeg

Re: [FFmpeg-devel] [PATCH]Rename sync() in libvaformat

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 04:26:12PM +0100, Carl Eugen Hoyos wrote: > Hi! > > Compilation for Android fails on fate because sync() in unistd.h interferes > with sync() in lxfdec.c > > Please comment, Carl Eugen > lxfdec.c |4 ++-- > rmdec.c |6 +++--- > 2 files changed, 5 insertions(+),

[FFmpeg-devel] [DISCUSSION] Atrac3+ streams inside PSMF

2014-11-25 Thread Maxim Polijakowski
It looks like my previous email has been scrubbed. Therefore, I resubmit it in another thread. Sorry for that! -- Hello crews, I would like to have a support for decoding/demuxing Atrac3+ streams from PSMF (Playstation movie format). Although decodin

Re: [FFmpeg-devel] [DISCUSSION] Atrac3+ streams inside PSMF

2014-11-25 Thread Carl Eugen Hoyos
Maxim Polijakowski gmx.de> writes: > In the current FFMpeg, PSMF will be > (mis)-identified as MPEG-TS stream. I thought it is correctly identified as mpeg-ps. > Atrac Audio is carried out in PRIVATE_STREAM_1 > packets. Their format is proprietary but rather > simple to understand. > Atrac3

Re: [FFmpeg-devel] [PATCH] lavf/avio: clarify the buffer parameter of avio_alloc_context

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 04:35:29PM +0800, Yu Xiaolei wrote: > > --- > libavformat/avio.h | 3 +++ > 1 file changed, 3 insertions(+) applied thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Democracy is the form of government in which you can choose your

Re: [FFmpeg-devel] [PATCH] doc: add entry for APNG demuxer where needed.

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 10:03:12AM +0100, Benoit Fouet wrote: > --- > This commit can be split if needed... > --- > Changelog | 1 + > MAINTAINERS | 1 + > doc/demuxers.texi | 20 > 3 files changed, 22 insertions(+) applied [...] > +This demuxer is used to d

[FFmpeg-devel] [PATCH] lavf/apngdec: use AVStream.time_base instead of r_frame_rate

2014-11-25 Thread James Almer
Should fix framedrops on some apng files Signed-off-by: James Almer --- This is still not optimal because the value of time_base will be updated on every frame, and in some cases delay_num and delay_den varies between frames. Better fix welcome. libavformat/apngdec.c | 4 ++-- 1 file changed

[FFmpeg-devel] Errors We are facing

2014-11-25 Thread Arpan Nag
Hello, During the conversion process we are seeing this error in an output log file --- which has not been implemented. [aac @ 0x41c1820] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-

Re: [FFmpeg-devel] Errors We are facing

2014-11-25 Thread Marcus Johnson
The SSR (Scalable Sample Rate) feature is not implemented, either add a patch to add that feature, or decode it with something else. On Tue, Nov 25, 2014 at 6:58 AM, Arpan Nag wrote: > Hello, > > During the conversion process we are seeing this error in an output log > file > > -

[FFmpeg-devel] lavu/opt: add escaping to av_opt_serialize

2014-11-25 Thread Lukasz Marek
Patch attached. From 2a9de161df4e1d0083264dde94ec5b8af59cec35 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Tue, 25 Nov 2014 20:25:10 +0100 Subject: [PATCH] lavu/opt: add escaping to av_opt_serialize Signed-off-by: Lukasz Marek --- libavutil/opt.c| 12 +++- libavutil/opt.h|

Re: [FFmpeg-devel] [PATCH] lavf/apngdec: use AVStream.time_base instead of r_frame_rate

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 02:56:07PM -0300, James Almer wrote: > Should fix framedrops on some apng files > > Signed-off-by: James Almer > --- > This is still not optimal because the value of time_base will be updated on > every frame, > and in some cases delay_num and delay_den varies between fr

Re: [FFmpeg-devel] [PATCH 2/3] lavc/libxvid: return meaningful error codes

2014-11-25 Thread Lukasz Marek
On 24.11.2014 05:00, Michael Niedermayer wrote: On Mon, Nov 24, 2014 at 04:14:06AM +0100, Lukasz Marek wrote: On 24.11.2014 03:07, Michael Niedermayer wrote: On Mon, Nov 24, 2014 at 01:17:29AM +0100, Lukasz Marek wrote: strictly, this should be errno when write returns -1, also av_log() might c

Re: [FFmpeg-devel] [PATCH] lavc/avuienc: fix mem leak in case of init failure

2014-11-25 Thread Lukasz Marek
On 24.11.2014 20:51, Michael Niedermayer wrote: On Mon, Nov 24, 2014 at 04:52:01AM +0100, Lukasz Marek wrote: Signed-off-by: Lukasz Marek --- libavcodec/avuienc.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) LGTM pushed __

Re: [FFmpeg-devel] [PATCH] lavf/apngdec: use AVStream.time_base instead of r_frame_rate

2014-11-25 Thread Benoit Fouet
Hi, On November 25, 2014 10:15:31 PM GMT+01:00, Michael Niedermayer wrote: >On Tue, Nov 25, 2014 at 02:56:07PM -0300, James Almer wrote: >> Should fix framedrops on some apng files >> >> Signed-off-by: James Almer >> --- >> This is still not optimal because the value of time_base will be >upda

Re: [FFmpeg-devel] [PATCH 11/11] ffmpeg_opt: make use of recommended encoder configuration

2014-11-25 Thread Lukasz Marek
On 17.11.2014 15:15, Michael Niedermayer wrote: On Mon, Nov 17, 2014 at 03:04:31AM +0100, Lukasz Marek wrote: On 17.11.2014 02:46, Lukasz Marek wrote: So far ffmpeg used recommended configuration only for codec priv options. ffmpeg will use now codec defaults and then apply recommended configur

Re: [FFmpeg-devel] [PATCH 2/2] lavc/utils: free private options on avcodec_open2 fail

2014-11-25 Thread Lukasz Marek
On 24.11.2014 21:46, Michael Niedermayer wrote: On Sun, Nov 23, 2014 at 12:58:07AM +0100, Lukasz Marek wrote: It protects leaking string/binary/dict options from priv context. Signed-off-by: Lukasz Marek --- libavcodec/utils.c | 2 ++ 1 file changed, 2 insertions(+) LGTM pushed both __

Re: [FFmpeg-devel] [PATCH] lavf/apngdec: use AVStream.time_base instead of r_frame_rate

2014-11-25 Thread James Almer
On 25/11/14 6:53 PM, Benoit Fouet wrote: >> i suggest to use set_pts_info to set a reasonable precisse >> timebase something like one millionth or billionth or similar in >> base 2. and then set pts based on these delays and the previous >> timestamp > > James, do you want to have a look at this a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/apngdec: validate frame dimensions.

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 10:52:22AM +0100, Benoit Fouet wrote: > --- > libavformat/apngdec.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/libavformat/apngdec.c b/libavformat/apngdec.c > index dac71f1..e9c87a1 100644 > --- a/libavformat/apngdec.c > +++ b/libavformat/a

[FFmpeg-devel] [PATCH] libavformat/mxfdec.c: initial support for EssenceGroups

2014-11-25 Thread Mark Reid
Hi, This patch adds support for demuxing mxf files with Essence Groups. An essence group according to the AAF Spec "contains multiple representations of the same media." Its like a sequence only each component is a different choice of quality levels. basically instead of Track |-Sequence |--So

[FFmpeg-devel] [PATCH] libavformat/mxfdec.c: initial support for EssenceGroups

2014-11-25 Thread Mark Reid
--- libavformat/mxf.c | 1 + libavformat/mxf.h | 1 + libavformat/mxfdec.c | 148 - tests/ref/lavf/mxf | 6 +- tests/ref/lavf/mxf_d10 | 2 +- 5 files changed, 127 insertions(+), 31 deletions(-) diff --git a/libavformat/mxf.c

[FFmpeg-devel] Fwd: pipeline multithreading

2014-11-25 Thread Daniel Oberhoff
Von meinem iPhone gesendet Anfang der weitergeleiteten E‑Mail: > Von: Daniel Oberhoff > Datum: 26. November 2014 00:19:30 MEZ > An: Reimar Döffinger > Kopie: "Daniel Oberhoff (Privat)" > Betreff: Re: [FFmpeg-devel] pipeline multithreading > > > > Von meinem iPhone gesendet > >> Am 25.11.

Re: [FFmpeg-devel] [PATCH 3/3] lavc/libxvid: workaround for bug in libxvidcore

2014-11-25 Thread Lukasz Marek
On 24.11.2014 01:17, Lukasz Marek wrote: libxvidcore calculate number of threads basing on video height. If height is small enough it allocates 0 bytes long memory and writes to it. Setting thread_count to 0 uses 1 thread and skips bugged code. Signed-off-by: Lukasz Marek --- libavcodec/libxv

Re: [FFmpeg-devel] [PATCH 1/2] avformat/apngdec: account for blend and dispose operations.

2014-11-25 Thread Michael Niedermayer
On Tue, Nov 25, 2014 at 10:52:21AM +0100, Benoit Fouet wrote: > When the dimensions are the entire frame ones, and the dispose operation > is to reset to background, or the new frame overwrites the new one, then > consider the frame as a key one. > --- > libavformat/apng.h| 41

[FFmpeg-devel] [Sample] Field dominance 0 support is not implemented

2014-11-25 Thread Eugene Pankov
Hello FFMPEG devs and first of all, thank you for your hard work! I've stumbled across this type of MXFs coming from Avid Media Composer, and ffprobe gives following output: https://gist.github.com/Eugeny/2f962ed55d3efbbf004d I've uploaded a sample (1.mxf) at ftp://upload.ffmpeg.org/incoming/ Rega

[FFmpeg-devel] [PATCH] vf_interlace: get rid of useless loads

2014-11-25 Thread Kieran Kunhya
--- libavfilter/x86/vf_interlace.asm |2 -- 1 file changed, 2 deletions(-) diff --git a/libavfilter/x86/vf_interlace.asm b/libavfilter/x86/vf_interlace.asm index b8d8616..85811da 100644 --- a/libavfilter/x86/vf_interlace.asm +++ b/libavfilter/x86/vf_interlace.asm @@ -42,8 +42,6 @@ cglobal low

Re: [FFmpeg-devel] [PATCH]Rename sync() in libvaformat

2014-11-25 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > > lxfdec.c |4 ++-- > > rmdec.c |6 +++--- > > 2 files changed, 5 insertions(+), 5 deletions(-) > > 19b026d6587af8b330d3b3037ec5b31b2ef26bb1 patchsync.diff > > diff --git a/libavformat/lxfdec.c b/libavformat/lxfdec.c > > index 11d6da5..fb37da7 1006

Re: [FFmpeg-devel] FFmpeg 2.5 release

2014-11-25 Thread Carl Eugen Hoyos
Michael Niedermayer gmx.at> writes: > Its over 2 month since FFmpeg 2.4, so the next > release is not far away ... We should really stop asking for mxf samples with field dominance 0, I believe we must have a dozen now. Carl Eugen ___ ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] vf_interlace: get rid of useless loads

2014-11-25 Thread Carl Eugen Hoyos
Kieran Kunhya kunhya.com> writes: [...] See: http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=ca59b5b6 Carl Eugen ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] FFmpeg 2.5 release

2014-11-25 Thread Michael Niedermayer
On Wed, Nov 26, 2014 at 12:32:25AM +, Carl Eugen Hoyos wrote: > Michael Niedermayer gmx.at> writes: > > > Its over 2 month since FFmpeg 2.4, so the next > > release is not far away ... > > We should really stop asking for mxf samples > with field dominance 0, I believe we must > have a do

[FFmpeg-devel] [PATCHv2] v210enc: Directly encode YUV422P to v210. About 6 times faster than existing (broken) swscale based path

2014-11-25 Thread Kieran Kunhya
--- libavcodec/v210enc.c | 151 +++--- libavcodec/v210enc.h | 4 +- libavcodec/x86/v210enc.asm| 102 +++- libavcodec/x86/v210enc_init.c | 13 +++- libavutil/x86/x86util.asm | 5 ++ 5 files changed, 217 inser