[FFmpeg-devel] [PATCH] mov.c: read fragment start dts from fragmented mp4

2014-10-10 Thread Mika Raento
If present, an MFRA box and its TFRAs are read for fragment start times. Without this change, timestamps for discontinuous fragmented mp4 are wrong, and cause audio/video desync and are not usable for generating HLS. --- libavformat/isom.h | 15 ++ libavformat/mov.c | 146 ++

Re: [FFmpeg-devel] [PATCH] mov.c: read fragment start dts from fragmented mp4

2014-10-10 Thread Mika Raento
On 10 October 2014 23:08, Mika Raento wrote: > Firstly, thank you for the detailed explanation. > > Secondly, how should we proceed? > > I am not confident I'm able to implement that correctly, especially > with no test coverage. > > My current implementation improves discontinuous fragmented mp4s

[FFmpeg-devel] [PATCH] avutil/lzo: fix resource leak

2014-10-10 Thread Ruoyu
Signed-off-by: Ruoyu --- libavutil/lzo.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/lzo.c b/libavutil/lzo.c index 7b027ee..bca10ec 100644 --- a/libavutil/lzo.c +++ b/libavutil/lzo.c @@ -254,6 +254,7 @@ STOP_TIMER("lzod") av_log(NULL, AV_LOG_ERROR, "decompression incorr

Re: [FFmpeg-devel] [PATCH] swscale: support internal scaler cascades

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 11:30:43PM +0200, Clément Bœsch wrote: > On Wed, Oct 08, 2014 at 02:11:06AM +0200, Michael Niedermayer wrote: > > Fixes Ticket3170 > > > > Signed-off-by: Michael Niedermayer > > --- > > libswscale/swscale.c | 13 ++ > > libswscale/swscale_internal.h |

Re: [FFmpeg-devel] [PATCH] avfilter: add w/h parameters in timeline

2014-10-10 Thread Clément Bœsch
On Mon, Oct 06, 2014 at 05:02:30PM +0200, Stefano Sabatini wrote: > On date Monday 2014-10-06 13:11:03 +0200, Clément Bœsch encoded: > > Fixes Ticket #4008. > > --- > > libavfilter/avfilter.c | 21 +++-- > > 1 file changed, 19 insertions(+), 2 deletions(-) > > Missing docs updates

Re: [FFmpeg-devel] [PATCH] swscale: support internal scaler cascades

2014-10-10 Thread Clément Bœsch
On Wed, Oct 08, 2014 at 02:11:06AM +0200, Michael Niedermayer wrote: > Fixes Ticket3170 > > Signed-off-by: Michael Niedermayer > --- > libswscale/swscale.c | 13 ++ > libswscale/swscale_internal.h |6 + > libswscale/utils.c| 54 >

Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: add -seek_error option

2014-10-10 Thread Simon Thelen
On 10/10/14 at 00:45, Michael Niedermayer wrote: > On Thu, Oct 09, 2014 at 11:22:07PM +0200, Simon Thelen wrote: > > On 09/10/14 at 23:05, Michael Niedermayer wrote: > > > On Wed, Oct 08, 2014 at 07:13:33PM +0200, Simon Thelen wrote: > > > > Enabling -seek_error causes ffmpeg to quit when it notice

Re: [FFmpeg-devel] [PATCH] mov.c: read fragment start dts from fragmented mp4

2014-10-10 Thread Mika Raento
Firstly, thank you for the detailed explanation. Secondly, how should we proceed? I am not confident I'm able to implement that correctly, especially with no test coverage. My current implementation improves discontinuous fragmented mp4s significantly (from unusable to close-to-perfect) while sl

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add support for syncframes concatenation for E-AC-3.

2014-10-10 Thread Benoit Fouet
Hi, On 10 October 2014 19:57:18 CEST, Michael Niedermayer wrote: >On Thu, Oct 09, 2014 at 10:02:14AM +0200, Benoit Fouet wrote: >> E-AC-3 samples should contain 6 audio blocks, so concatenate >syncframes >> in order to achieve this. >> --- >> libavformat/movenc.c | 41 +++

Re: [FFmpeg-devel] [PATCH] utvideoenc: properly set slice height/last line

2014-10-10 Thread Michael Niedermayer
On Thu, Oct 09, 2014 at 11:36:26PM +0200, Christophe Gisquet wrote: > Fixes ticket #3949. > > -- > Christophe > utvideoenc.c | 17 + > 1 file changed, 9 insertions(+), 8 deletions(-) > 3ade6490403764b5213aea3cc4140ca4fe3e70b8 > 0001-utvideoenc-properly-set-slice-height-last-

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add support for syncframes concatenation for E-AC-3.

2014-10-10 Thread Michael Niedermayer
On Thu, Oct 09, 2014 at 10:02:14AM +0200, Benoit Fouet wrote: > E-AC-3 samples should contain 6 audio blocks, so concatenate syncframes > in order to achieve this. > --- > libavformat/movenc.c | 41 +++-- > 1 file changed, 35 insertions(+), 6 deletions(-) this

Re: [FFmpeg-devel] [PATCH] mov.c: read fragment start dts from fragmented mp4

2014-10-10 Thread Yusuke Nakamura
2014-10-10 13:38 GMT+09:00 Mika Raento : > On 9 October 2014 23:37, Yusuke Nakamura > wrote: > > 2014-10-10 4:49 GMT+09:00 Michael Niedermayer : > > > >> On Thu, Oct 09, 2014 at 09:44:43PM +0200, Michael Niedermayer wrote: > >> > On Thu, Oct 09, 2014 at 06:57:59PM +0300, Mika Raento wrote: > >> >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 01:10:58PM +0200, Benoit Fouet wrote: > Hi, > > - Mail original - > > On Fri, Oct 10, 2014 at 10:28:51AM +0200, Benoit Fouet wrote: > > > Hi, > > > > > [...] > > > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > > > index bfee866..f592c9c 100644 > >

Re: [FFmpeg-devel] [PATCH] float_dsp-test: allow forcing cpuflags

2014-10-10 Thread James Almer
On 10/10/14 8:29 AM, Michael Niedermayer wrote: > On Fri, Oct 10, 2014 at 02:23:06AM -0300, James Almer wrote: >> Signed-off-by: James Almer >> --- >> libavutil/float_dsp.c| 35 ++- >> tests/fate/libavutil.mak | 2 +- >> 2 files changed, 31 insertions(+), 6 de

Re: [FFmpeg-devel] [PATCH 02/14] libavcodec: Implementation of AAC_fixed_decoder (LC-module) [2/5]

2014-10-10 Thread Nedeljko Babic
>On Thu, Oct 09, 2014 at 12:02:26PM +, Nedeljko Babic wrote: >> > >> >softfloat uses "if (a.mant + 0x4000 < 0)" to normalize >> >0x4000U + 0x4000U is < 0 for int32 and thus not part of the >> >range though -1 would be, is that a problem ? >> >we could use a.mant + 0x4000 <= 0 in

Re: [FFmpeg-devel] Questions for development team

2014-10-10 Thread Ronald S. Bultje
Hi, On Oct 10, 2014 7:44 AM, "Themba Sono Jr" wrote: > My name is Themba and I'm a student at James Madison University. I am doing > a case study on the ffmpeg software from a security standpoint, and had > some questions for the internal development team. I have been searching > your website and

Re: [FFmpeg-devel] [RFC] Direct Stream Transfer (DST) decoder

2014-10-10 Thread Alexander Strasser
On 2014-10-10 10:33 +0200, wm4 wrote: > On Fri, 10 Oct 2014 09:57:20 +0200 > Alexander Strasser wrote: > > > On 2014-10-09 08:13 +0200, Reimar Döffinger wrote: > > > On 7 October 2014 08:41:09 CEST, Peter Ross wrote: > > [...] > > > >> > +if ((ret = init_get_bits8(&gb, avpkt->data, avpkt->si

Re: [FFmpeg-devel] [RFC][PATCH] web: News about FFmpeg in Debian

2014-10-10 Thread Gerion Entrup
Am Freitag 10 Oktober 2014, 12:57:21 schrieb Alexander Strasser: > On 2014-10-07 08:13 -0700, Timothy Gu wrote: > > On Oct 6, 2014 3:23 PM, "Alexander Strasser" wrote: > [...] > > > > I have locally changed all other things requested by Timothy > > > > > > and Carl Eugen. I do not think the Li

Re: [FFmpeg-devel] patch 4/4: libavcodec/ppc/hpeldsp_altivec.c: fixff_put_pixels16_altivec() for POWER LE

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 05:09:05PM +0800, rongyan wrote: > Hi, > I present 4 patches to fix bugs for POWER8 little endian. > I will send 4 patches in 4 different email. This is the fourth. > The fate test result after merge these 4 patches can be found on > http://fate.ffmpeg.org/ by search "ibmcrl

Re: [FFmpeg-devel] [PATCH] vp9:enable multi-thread decoding when refreshctx is equal to 0

2014-10-10 Thread Reynaldo H. Verdejo Pinochet
On 10/09/2014 11:16 PM, Di Wu wrote: [..] Thank you for your suggestion. I make the change in the else if branch and do some improvement follow Reynaldo's suggestions, and create a new patch. Because braces are used in if() branch, I also use braces in else if() branch. If this doesn't meent th

Re: [FFmpeg-devel] patch 3/4: libavcodec/ppc/me_cmp.c: fixesad16_altivec(), sad16_altivec(), sad16_xy2_altivec(), sad16_x2_altivec(), sad16_y2_altivec(), sad8_altivec() for POWER LE

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 05:08:01PM +0800, rongyan wrote: > Hi, > I present 4 patches to fix bugs for POWER8 little endian. > I will send 4 patches in 4 different email. This is the third. > The fate test result after merge these 4 patches can be found on > http://fate.ffmpeg.org/ by search "ibmcrl"

Re: [FFmpeg-devel] patch 2/4: libavcodec/ppc/mpegvideoencdsp.c: fixpix_normal_altivec() and pix_sum_altivec() for POWER LE

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 05:05:52PM +0800, rongyan wrote: > Hi, > I present 4 patches to fix bugs for POWER8 little endian. > I will send 4 patches in 4 different email. This is the second. > The fate test result after merge these 4 patches can be found on > http://fate.ffmpeg.org/ by search "ibmcrl

Re: [FFmpeg-devel] patch 1/4: libavcodec/ppc/pixblockdsp.c: fixget_pixels_altivec() and diff_pixels_altivec() for POWER LE

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 05:04:37PM +0800, rongyan wrote: > Hi, > I present 4 patches to fix bugs for POWER8 little endian. > I will send 4 patches in 4 different email. This is the first. > The fate test result after merge these 4 patches can be found on > http://fate.ffmpeg.org/ by search "ibmcrl"

[FFmpeg-devel] Fwd: Help : Stream video using FFMPEG from client side

2014-10-10 Thread venky v
I have setup a ffmpeg and I'm streaming a file from localhost to rtmp server. What i need is to stream a file from the client PC. i.e., I am hosting ffmpeg on the server and i need my web application to streams the file from the client PC to the rtmp server. Is it possible? I don't want to upload

[FFmpeg-devel] Questions for development team

2014-10-10 Thread Themba Sono Jr
Hi all, My name is Themba and I'm a student at James Madison University. I am doing a case study on the ffmpeg software from a security standpoint, and had some questions for the internal development team. I have been searching your website and other net sources like wikipedia, etc., but can't fin

Re: [FFmpeg-devel] [PATCH] float_dsp-test: allow forcing cpuflags

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 02:23:06AM -0300, James Almer wrote: > Signed-off-by: James Almer > --- > libavutil/float_dsp.c| 35 ++- > tests/fate/libavutil.mak | 2 +- > 2 files changed, 31 insertions(+), 6 deletions(-) LGTM thanks [...] -- Michael GnuPG f

Re: [FFmpeg-devel] [PATCH] vp9:enable multi-thread decoding when refreshctx is equal to 0

2014-10-10 Thread Ronald S. Bultje
Hi, On Thu, Oct 9, 2014 at 10:16 PM, Di Wu wrote: > Hi, > > On 10/9/2014 08:46 AM, Ronald wrote: > > > I think functionally this looks OK, thanks for finding it. Please do > follow > > Reynaldo's suggestions on style/cosmetics. I'd go as far as to change the > > second if into an else if, s

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Benoit Fouet
Hi, - Mail original - > On Fri, Oct 10, 2014 at 10:28:51AM +0200, Benoit Fouet wrote: > > Hi, > > [...] > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > > index bfee866..f592c9c 100644 > > --- a/libavformat/movenc.c > > +++ b/libavformat/movenc.c > > @@ -31,6 +31,7 @@ > >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Benoit Fouet
Hi, - Mail original - > On Fri, Oct 10, 2014 at 10:02:09AM +0200, Benoit Fouet wrote: > > Hi, > > > > - Mail original - > > > On Tue, Oct 07, 2014 at 03:02:38PM +0200, Benoit Fouet wrote: > > > > Support only one independent substream right now, and only > > > > syncframes > > > >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 10:02:09AM +0200, Benoit Fouet wrote: > Hi, > > - Mail original - > > On Tue, Oct 07, 2014 at 03:02:38PM +0200, Benoit Fouet wrote: > > > Support only one independent substream right now, and only > > > syncframes > > > containing 6 blocks. > > > > > > Fixes part o

Re: [FFmpeg-devel] [RFC][PATCH] web: News about FFmpeg in Debian

2014-10-10 Thread Alexander Strasser
On 2014-10-07 08:13 -0700, Timothy Gu wrote: > On Oct 6, 2014 3:23 PM, "Alexander Strasser" wrote: [...] > > I have locally changed all other things requested by Timothy > > and Carl Eugen. I do not think the Libav deprecation message > > should be part of this news article. Probably putting it

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Michael Niedermayer
On Fri, Oct 10, 2014 at 10:28:51AM +0200, Benoit Fouet wrote: > Hi, > > - Mail original - > > Hi, > > > > - Mail original - > > > On Tue, Oct 07, 2014 at 03:02:38PM +0200, Benoit Fouet wrote: > > > > Support only one independent substream right now, and only > > > > syncframes > >

[FFmpeg-devel] [PATCH] Add channel label and bitmap values to metadata

2014-10-10 Thread Billy Shambrook
--- libavformat/mov_chan.c | 76 +- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c index 3b91ed7..aa369f2 100644 --- a/libavformat/mov_chan.c +++ b/libavformat/mov_chan.c @@ -133,6 +133,6

[FFmpeg-devel] patch 4/4: libavcodec/ppc/hpeldsp_altivec.c: fixff_put_pixels16_altivec() for POWER LE

2014-10-10 Thread rongyan
Hi, I present 4 patches to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the fourth. The fate test result after merge these 4 patches can be found on http://fate.ffmpeg.org/ by search "ibmcrl", also attached here to facilitate the review: ?6?9 ?6?7 ?6?7The p

[FFmpeg-devel] patch 3/4: libavcodec/ppc/me_cmp.c: fixesad16_altivec(), sad16_altivec(), sad16_xy2_altivec(), sad16_x2_altivec(), sad16_y2_altivec(), sad8_altivec() for POWER LE

2014-10-10 Thread rongyan
Hi, I present 4 patches to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the third. The fate test result after merge these 4 patches can be found on http://fate.ffmpeg.org/ by search "ibmcrl", also attached here to facilitate the review: ?6?9 ?6?7 ?6?7The

[FFmpeg-devel] patch 2/4: libavcodec/ppc/mpegvideoencdsp.c: fixpix_normal_altivec() and pix_sum_altivec() for POWER LE

2014-10-10 Thread rongyan
Hi, I present 4 patches to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the second. The fate test result after merge these 4 patches can be found on http://fate.ffmpeg.org/ by search "ibmcrl", also attached here to facilitate the review: ?6?9 ?6?7The pass

[FFmpeg-devel] patch 1/4: libavcodec/ppc/pixblockdsp.c: fixget_pixels_altivec() and diff_pixels_altivec() for POWER LE

2014-10-10 Thread rongyan
Hi, I present 4 patches to fix bugs for POWER8 little endian. I will send 4 patches in 4 different email. This is the first. The fate test result after merge these 4 patches can be found on http://fate.ffmpeg.org/ by search "ibmcrl", also attached here to facilitate the review: ?6?7The passed test

Re: [FFmpeg-devel] [RFC] Direct Stream Transfer (DST) decoder

2014-10-10 Thread wm4
On Fri, 10 Oct 2014 09:57:20 +0200 Alexander Strasser wrote: > On 2014-10-09 08:13 +0200, Reimar Döffinger wrote: > > On 7 October 2014 08:41:09 CEST, Peter Ross wrote: > [...] > > >> > +if ((ret = init_get_bits8(&gb, avpkt->data, avpkt->size)) < 0) > > >> > +if ((ret = read_map(&gb, &fs

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Benoit Fouet
Hi, - Mail original - > Hi, > > - Mail original - > > On Tue, Oct 07, 2014 at 03:02:38PM +0200, Benoit Fouet wrote: > > > Support only one independent substream right now, and only > > > syncframes > > > containing 6 blocks. > > > > > > Fixes part of ticket #3074 > > > --- > > >

Re: [FFmpeg-devel] [PATCH] avformat/movenc: add EAC3 muxing support.

2014-10-10 Thread Benoit Fouet
Hi, - Mail original - > On Tue, Oct 07, 2014 at 03:02:38PM +0200, Benoit Fouet wrote: > > Support only one independent substream right now, and only > > syncframes > > containing 6 blocks. > > > > Fixes part of ticket #3074 > > --- > > > > Right now, this produces the same output as the

Re: [FFmpeg-devel] [RFC] Direct Stream Transfer (DST) decoder

2014-10-10 Thread Alexander Strasser
On 2014-10-09 08:13 +0200, Reimar Döffinger wrote: > On 7 October 2014 08:41:09 CEST, Peter Ross wrote: [...] > >> > +if ((ret = init_get_bits8(&gb, avpkt->data, avpkt->size)) < 0) > >> > +if ((ret = read_map(&gb, &fsets, map_ch_to_felem, > >avctx->channels)) < 0) > >> > +if ((ret

[FFmpeg-devel] [PATCH] mov.c: read fragment start dts from fragmented mp4

2014-10-10 Thread Mika Raento
If present, an MFRA box and its TFRAs are read for fragment start times. Without this change, timestamps for discontinuous fragmented mp4 are wrong, and cause audio/video desync and are not usable for generating HLS. --- libavformat/isom.h | 15 ++ libavformat/mov.c | 140 ++