Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert no-expensive-optimizations

2018-08-24 Thread Shiyou Yin
>> Hi Michael, please help to review the following updates. >> >> >> diff --git a/configure b/configure >> index b9c9d0b..08cf48e 100755 >> --- a/configure >> +++ b/configure >> @@ -4796,15 +4796,24 @@ elif enabled mips; then >> disable mipsfpu >> disable mipsdsp >

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-24 Thread Michael Niedermayer
On Fri, Aug 24, 2018 at 11:44:11AM -0700, John Stebbins wrote: > Fixes ticket #6897 > --- > libavformat/movenc.c | 20 +--- > 1 file changed, 9 insertions(+), 11 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index 8ad7026741..4507666863 100644 > --- a

Re: [FFmpeg-devel] [PATCH] ffmpeg.c: add an option "detail_stats" to allow ffmpeg to output stats for each stream

2018-08-24 Thread Michael Niedermayer
On Thu, Aug 23, 2018 at 12:43:25PM -0700, Wang Cao wrote: > From: Wang Cao > > Add an option "detail_stats" to ffmpeg to output stats for each video/audio > streams and each ouptut file ffmpeg output log in print_report. The format of > stats is unchanged. > > Signed-off-by: Wang Cao > --- >

Re: [FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread Rostislav Pehlivanov
On Fri, 24 Aug 2018 at 21:07, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > configure | 1 + > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/mwsc.c | 182 +

[FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- configure | 1 + libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/mwsc.c | 182 libavformat/riff.c |

Re: [FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread James Almer
On 8/24/2018 4:48 PM, Paul B Mahol wrote: > On 8/24/18, James Almer wrote: >> On 8/24/2018 3:48 PM, Paul B Mahol wrote: >>> Signed-off-by: Paul B Mahol >>> --- >>> libavcodec/Makefile | 1 + >>> libavcodec/allcodecs.c | 1 + >>> libavcodec/avcodec.h| 1 + >>> libavcodec/codec_desc

Re: [FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread Paul B Mahol
On 8/24/18, James Almer wrote: > On 8/24/2018 3:48 PM, Paul B Mahol wrote: >> Signed-off-by: Paul B Mahol >> --- >> libavcodec/Makefile | 1 + >> libavcodec/allcodecs.c | 1 + >> libavcodec/avcodec.h| 1 + >> libavcodec/codec_desc.c | 7 ++ >> libavcodec/mwsc.c | 174 +

Re: [FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread James Almer
On 8/24/2018 3:48 PM, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 ++ > libavcodec/mwsc.c | 174 > li

Re: [FFmpeg-devel] [PATCH] Support 64-bit integers for av_get_frame_filename2()

2018-08-24 Thread James Almer
On 8/24/2018 3:56 PM, Devin Heitmueller wrote: > Create a new av_get_frame_filename3() API which is just like the > previous version but accepts a 64-bit integer for the "number" > argument. This is useful in cases where you want to put the > original PTS into the filename (which can be larger tha

Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert no-expensive-optimizations

2018-08-24 Thread Michael Niedermayer
On Sat, Aug 25, 2018 at 12:19:40AM +0800, Shiyou Yin wrote: > rom: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] > On Behalf Of > >Michael Niedermayer > >Sent: Thursday, August 23, 2018 3:27 AM > >To: FFmpeg development discussions and patches > >Subject: Re: [FFmpeg-dev

[FFmpeg-devel] [PATCH] Support 64-bit integers for av_get_frame_filename2()

2018-08-24 Thread Devin Heitmueller
Create a new av_get_frame_filename3() API which is just like the previous version but accepts a 64-bit integer for the "number" argument. This is useful in cases where you want to put the original PTS into the filename (which can be larger than 32-bits). Tested with: ./ffmpeg -copyts -vsync 0 -i

[FFmpeg-devel] [PATCH] avcodec: add MatchWare Screen Capture Codec

2018-08-24 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- libavcodec/Makefile | 1 + libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 ++ libavcodec/mwsc.c | 174 libavformat/riff.c | 1 + 6 files changed, 185 insert

[FFmpeg-devel] [PATCH] avcodec/utils: document allocation requirement of extradata

2018-08-24 Thread Timo Rothenpieler
--- libavcodec/avcodec.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 31e50d5a94..2c5e78c88d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1616,6 +1616,7 @@ typedef struct AVCodecContext { * The allocated memory shou

[FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-24 Thread John Stebbins
Fixes ticket #6897 --- libavformat/movenc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8ad7026741..4507666863 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1596,23 +1596,21 @@ static

Re: [FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-24 Thread John Stebbins
On 08/24/2018 11:15 AM, John Stebbins wrote: > Fixes ticket #6897 > --- > libavformat/movenc.c | 20 +--- > 1 file changed, 9 insertions(+), 11 deletions(-) > > diff --git a/libavformat/movenc.c b/libavformat/movenc.c > index 8ad7026741..fb001f9195 100644 > --- a/libavformat/movenc

[FFmpeg-devel] [PATCH] lavf/movenc: Fail when codec tag is invalid for format

2018-08-24 Thread John Stebbins
Fixes ticket #6897 --- libavformat/movenc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 8ad7026741..fb001f9195 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1596,23 +1596,21 @@ static

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc: implicitly enable negative CTS offsets for ismv

2018-08-24 Thread Jan Ekström
On Sun, Aug 5, 2018 at 6:31 AM Jan Ekström wrote: > Hi, > > Since this fixes b-frames in ISMV by not adding a double-delay (tfxd > PTS + positive CTS offset), unless someone has any comments I will > push this tonight (JST). > > Best regards, > Jan Pushed as 1931761f18cda3756a27087c366270c38160c7

Re: [FFmpeg-devel] [PATCH] avcodec/utils: document allocation requirement of extradata

2018-08-24 Thread James Almer
On 8/24/2018 2:59 PM, Timo Rothenpieler wrote: > --- > libavcodec/avcodec.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h > index 31e50d5a94..5ec7a2430b 100644 > --- a/libavcodec/avcodec.h > +++ b/libavcodec/avcodec.h > @@ -1616,6 +1616,7 @@

[FFmpeg-devel] [PATCH] avcodec/utils: document allocation requirement of extradata

2018-08-24 Thread Timo Rothenpieler
--- libavcodec/avcodec.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 31e50d5a94..5ec7a2430b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -1616,6 +1616,7 @@ typedef struct AVCodecContext { * The allocated memory shou

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Nicolas George
James Almer (2018-08-24): > Invalid input (say, a packet reporting a frame size of the equivalent of > 1ms) would assert before and after this patch. Do you consider an assert > that triggers on invalid input to be wrong? I thought that was the > entire point of one... Assert failures cause an imm

Re: [FFmpeg-devel] [PATCH] avcodec: add Brooktree ProSumer Video decoder

2018-08-24 Thread Rostislav Pehlivanov
On Wed, 22 Aug 2018 at 17:01, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/Makefile | 1 + > libavcodec/allcodecs.c | 1 + > libavcodec/avcodec.h| 1 + > libavcodec/codec_desc.c | 7 + > libavcodec/prosumer.c | 405 +

Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert no-expensive-optimizations

2018-08-24 Thread Shiyou Yin
rom: ffmpeg-devel-boun...@ffmpeg.org [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of >Michael Niedermayer >Sent: Thursday, August 23, 2018 3:27 AM >To: FFmpeg development discussions and patches >Subject: Re: [FFmpeg-devel] [PATCH 1/9] configure: [loongson] revert >no-expensive-optimization

Re: [FFmpeg-devel] [PATCH 1/2] avcodec/libopusenc: support encoding packets of sizes bigger than 60ms

2018-08-24 Thread James Almer
On 8/23/2018 8:01 PM, Rostislav Pehlivanov wrote: > On Thu, 23 Aug 2018 at 23:18, James Almer wrote: > >> Packets of sizes 80ms, 100ms and 120ms can be encoded since libopus 1.2 >> >> Signed-off-by: James Almer >> --- >> libavcodec/libopusenc.c | 20 +++- >> 1 file changed, 15 i

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread James Almer
On 8/24/2018 12:56 PM, Carl Eugen Hoyos wrote: > 2018-08-24 17:53 GMT+02:00, James Almer : >> On 8/24/2018 12:47 PM, Carl Eugen Hoyos wrote: >>> 2018-08-24 17:41 GMT+02:00, James Almer : On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: > 2018-08-24 17:31 GMT+02:00, James Almer : >> On 8/

Re: [FFmpeg-devel] [PATCH] avformat/flvdec: don't propagate empty extradata

2018-08-24 Thread James Almer
On 8/24/2018 4:27 AM, Paul B Mahol wrote: > On 8/24/18, James Almer wrote: >> Fixes ticket #7379 >> >> Signed-off-by: James Almer >> --- >> libavformat/flvdec.c | 6 ++ >> 1 file changed, 6 insertions(+) >> > > Probably OK. Pushed. thanks. ___ ff

Re: [FFmpeg-devel] [PATCH] lavf/mpegts: improve read error handling

2018-08-24 Thread Rodger Combs
> On Aug 24, 2018, at 03:44, Hendrik Leppkes wrote: > > On Fri, Aug 24, 2018 at 5:01 AM myp...@gmail.com > mailto:myp...@gmail.com>> wrote: >> >> On Fri, Aug 24, 2018 at 5:38 AM Rodger Combs wrote: >>> >>> We previously could fail to check errors entirely, or misin

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Hendrik Leppkes
On Fri, Aug 24, 2018 at 5:53 PM James Almer wrote: > > On 8/24/2018 12:47 PM, Carl Eugen Hoyos wrote: > > 2018-08-24 17:41 GMT+02:00, James Almer : > >> On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: > >>> 2018-08-24 17:31 GMT+02:00, James Almer : > On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrot

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Carl Eugen Hoyos
2018-08-24 17:53 GMT+02:00, James Almer : > On 8/24/2018 12:47 PM, Carl Eugen Hoyos wrote: >> 2018-08-24 17:41 GMT+02:00, James Almer : >>> On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: 2018-08-24 17:31 GMT+02:00, James Almer : > On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: >> 2018-0

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread James Almer
On 8/24/2018 12:47 PM, Carl Eugen Hoyos wrote: > 2018-08-24 17:41 GMT+02:00, James Almer : >> On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: >>> 2018-08-24 17:31 GMT+02:00, James Almer : On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: > 2018-08-24 0:17 GMT+02:00, James Almer : >> Fixes a

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Carl Eugen Hoyos
2018-08-24 17:41 GMT+02:00, James Almer : > On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: >> 2018-08-24 17:31 GMT+02:00, James Almer : >>> On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: 2018-08-24 0:17 GMT+02:00, James Almer : > Fixes assertion failures when trying to mux such streams. >>>

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread James Almer
On 8/24/2018 12:33 PM, Carl Eugen Hoyos wrote: > 2018-08-24 17:31 GMT+02:00, James Almer : >> On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: >>> 2018-08-24 0:17 GMT+02:00, James Almer : Fixes assertion failures when trying to mux such streams. >>> >>> Shouldn't this be 1/2? >>> >>> And does thi

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Carl Eugen Hoyos
2018-08-24 17:31 GMT+02:00, James Almer : > On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: >> 2018-08-24 0:17 GMT+02:00, James Almer : >>> Fixes assertion failures when trying to mux such streams. >> >> Shouldn't this be 1/2? >> >> And does this assert now for libavformat users that use >> new libop

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread James Almer
On 8/24/2018 7:19 AM, Carl Eugen Hoyos wrote: > 2018-08-24 0:17 GMT+02:00, James Almer : >> Fixes assertion failures when trying to mux such streams. > > Shouldn't this be 1/2? > > And does this assert now for libavformat users that use > new libopus (but not libavcodec) or do I misunderstand? T

Re: [FFmpeg-devel] swscale : add bitexact conv for grayf32 and gray16 to f32 conv

2018-08-24 Thread Martin Vignali
Updated patch in attach 001 and 002 : unchanged 003 : update from prev 003 : change in lut generation : move coeff calc outside the loop, and avoid "i - min_loop" calc. 004 : update from prev 004 : change in lut generation : avoid "i - min_loop" calc. Martin 0002-swscale-unscale-add-bitexact-co

Re: [FFmpeg-devel] [PATCH] avfilter/vf_interlace: fix numerical options

2018-08-24 Thread Paul B Mahol
On 8/23/18, Thomas Mundt wrote: > Currently numerical option values are misinterpreted in vf_interlace > filter. > Patch attached. > > Regards, > Thomas > ok ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec: add Brooktree ProSumer Video decoder

2018-08-24 Thread Paul B Mahol
Will apply. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/2] avformat/movenc: support Opus packets with more than 60ms of audio when writing the Sample Group Description Box

2018-08-24 Thread Carl Eugen Hoyos
2018-08-24 0:17 GMT+02:00, James Almer : > Fixes assertion failures when trying to mux such streams. Shouldn't this be 1/2? And does this assert now for libavformat users that use new libopus (but not libavcodec) or do I misunderstand? Carl Eugen ___ f

Re: [FFmpeg-devel] [PATCH] lavf/mpegts: improve read error handling

2018-08-24 Thread Hendrik Leppkes
On Fri, Aug 24, 2018 at 5:01 AM myp...@gmail.com wrote: > > On Fri, Aug 24, 2018 at 5:38 AM Rodger Combs wrote: > > > > We previously could fail to check errors entirely, or misinterpret read > errors > > as normal EOFs. > > --- > > libavformat/mpegts.c | 13 +++-- > > 1 file changed, 11

Re: [FFmpeg-devel] [PATCH] avformat/flvdec: don't propagate empty extradata

2018-08-24 Thread Paul B Mahol
On 8/24/18, James Almer wrote: > Fixes ticket #7379 > > Signed-off-by: James Almer > --- > libavformat/flvdec.c | 6 ++ > 1 file changed, 6 insertions(+) > Probably OK. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailma