Re: [FFmpeg-devel] [PATCH] avformat/dashdec: add subtitle stream support

2018-11-30 Thread Liu Steven
> 在 2018年11月15日,下午8:18,Steven Liu 写道: > > Signed-off-by: Steven Liu > --- > libavformat/dashdec.c | 97 +++ > 1 file changed, 90 insertions(+), 7 deletions(-) > > diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c > index 497e7e469c..0929

[FFmpeg-devel] [PATCH v2] lavf/dashenc: Use avpriv_io_delete to delete files.

2018-11-30 Thread Andrey Semashev
This fixes incorrect handling of file pseudo-URIs (i.e. when the filename starts with "file:"). --- libavformat/dashenc.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 6ce70e0076..412d7c8a21 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH 2/2] avformat/mpegenc: extend muxing PCM-DVD to other depths

2018-11-30 Thread Paul B Mahol
On 11/29/18, Paul B Mahol wrote: > On 11/29/18, Gyan Doshi wrote: >> On 29-11-2018 05:09 PM, Paul B Mahol wrote: >>> Fixes #6783. >>> >>> Signed-off-by: Paul B Mahol >>> --- >>> libavformat/mpegenc.c | 27 +-- >>> 1 file changed, 21 insertions(+), 6 deletions(-) >>> >>

Re: [FFmpeg-devel] [PATCH] swscale/ppc: Move VSX-using code to its own file

2018-11-30 Thread Lauri Kasanen
On Fri, 30 Nov 2018 12:30:58 +0300 Michael Kostylev wrote: > > >> Passes fate on LE (with "lavc/jrevdct: Avoid an aliasing violation" > >> applied). Can anyone test BE? > > > > Ping. > > FATE becomes green as much as possible, I haven't performed any benchmarking > though. Thanks for testing

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: assert uninitialized pict_type

2018-11-30 Thread Carl Eugen Hoyos
2018-11-30 10:54 GMT+01:00, Linjie Fu : > ffmpeg | branch: master | Linjie Fu | Wed Nov 28 > 10:41:55 2018 +0800| [67cdfcf694f840d215be940f82545c45c9be193a] | committer: > Zhong Li > > lavc/qsvenc: assert uninitialized pict_type > > Assert in function ff_qsv_encode to avoid using uninitialized val

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: assert uninitialized pict_type

2018-11-30 Thread James Almer
On 11/30/2018 12:42 PM, Carl Eugen Hoyos wrote: > 2018-11-30 10:54 GMT+01:00, Linjie Fu : >> ffmpeg | branch: master | Linjie Fu | Wed Nov 28 >> 10:41:55 2018 +0800| [67cdfcf694f840d215be940f82545c45c9be193a] | committer: >> Zhong Li >> >> lavc/qsvenc: assert uninitialized pict_type >> >> Assert i

Re: [FFmpeg-devel] [PATCH]lavc/mpeg12dec: Read Closed Captions from second field

2018-11-30 Thread Carl Eugen Hoyos
2018-11-29 18:59 GMT+01:00, Devin Heitmueller : > On Thu, Nov 29, 2018 at 12:55 PM Michael Niedermayer > wrote: > >> > +if (s1->a53_caption) { >> > +AVFrameSideData *sd; >> > +av_frame_remove_side_data(s->current_picture_ptr->f, >> > AV_FRAME_DATA_A53_CC); >> > +

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: assert uninitialized pict_type

2018-11-30 Thread Nicolas George
James Almer (2018-11-30): > And using string literals in an assert may generate warnings. [citation needed] Anyway, these warnings would be broken, the code is valid. Regards, -- Nicolas George signature.asc Description: Digital signature ___ ffm

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: assert uninitialized pict_type

2018-11-30 Thread James Almer
On 11/30/2018 12:54 PM, Nicolas George wrote: > James Almer (2018-11-30): >> And using string literals in an assert may generate warnings. > > [citation needed] > > Anyway, these warnings would be broken, the code is valid. https://code.videolan.org/videolan/dav1d/issues/196 -Wstring-conversion

Re: [FFmpeg-devel] [FFmpeg-cvslog] lavc/qsvenc: assert uninitialized pict_type

2018-11-30 Thread Nicolas George
James Almer (2018-11-30): > probably Clang. I could have guessed. Clang: "bogus warnings, gotta catch them all". The solution is not to make the code less convenient but to fix the compiler. Or ignore it. Regards, -- Nicolas George signature.asc Description: Digital signature

Re: [FFmpeg-devel] [PATCH v2] avformat/movenc : Don't write sidx for empty urls

2018-11-30 Thread Michael Niedermayer
On Fri, Nov 30, 2018 at 05:52:35AM +, Jeyapal, Karthick wrote: > > On 11/29/18 11:08 PM, Michael Niedermayer wrote: > > On Wed, Nov 28, 2018 at 09:45:24PM +0530, Karthick J wrote: > >> When movenc is used by other segmenting muxers such as dashenc, url field > >> is always empty. > >> In such

[FFmpeg-devel] MPEG DASH Profiles

2018-11-30 Thread Ronak
Hey all, Is there a reason why ffmpeg only uses the MPEG DASH LIVE profile? Even if I want to do VOD, it reports that profile in the manifest files. I'm thinking of adding support to provide the 4 profiles that MPEG DASH supports, and use the same optimization we used to improve the fMP4 genera

Re: [FFmpeg-devel] [PATCH] configure: enable mipsfpu for loongson platform.

2018-11-30 Thread Michael Niedermayer
On Thu, Nov 29, 2018 at 05:39:41PM +0800, Shiyou Yin wrote: > mipsfpu supported by loongson 3a2000,3a3000,3a4000,2k1000, Fate tests passed. > --- > configure | 1 - > 1 file changed, 1 deletion(-) will apply thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Re: [FFmpeg-devel] [PATCH] avcodec/truemotion2rt: Fix rounding in input size check

2018-11-30 Thread Michael Niedermayer
On Sat, Nov 17, 2018 at 07:23:12PM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 11332/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_TRUEMOTION2RT_fuzzer-5678456612847616 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg

Re: [FFmpeg-devel] [PATCH] avcodec/mips: [loongson] refine optimization in h264_chroma.

2018-11-30 Thread Michael Niedermayer
On Tue, Nov 06, 2018 at 08:59:13AM +0800, Shiyou Yin wrote: > Remove invalid operation in the case x and y all equal 0, > this refine made about 2% speedup for H264 decode on loongson platform. > --- > libavcodec/mips/h264chroma_mmi.c | 970 > +-- > 1 file chan

Re: [FFmpeg-devel] [PATCH] avcodec/hevcdec: Check for overlapping slices

2018-11-30 Thread Michael Niedermayer
On Sat, Nov 24, 2018 at 02:51:34AM +0100, Michael Niedermayer wrote: > Fixes: Timeout > Fixes: > 10108/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_HEVC_fuzzer-6222384351674368 > > Found-by: continuous fuzzing process > https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg > Signed

[FFmpeg-devel] [PATCH] lavc/samidec: don't error on empty packets

2018-11-30 Thread Rodger Combs
No change to output; just prevents error spam --- libavcodec/samidec.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/libavcodec/samidec.c b/libavcodec/samidec.c index e32f238c62..7ea67b5597 100644 --- a/libavcodec/samidec.c +++ b/libavcodec/samidec.c @@ -38,6

[FFmpeg-devel] [PATCH 1/2] cbs_h265: Fix Time Code SEI syntax

2018-11-30 Thread Andreas Rheinhardt
Signed-off-by: Andreas Rheinhardt --- https://trac.ffmpeg.org/ticket/4141#comment:9 contains a sample containing Time Code SEI messages. Parsing it currently fails because counting_type is detected as out of range. Of course, it is not. libavcodec/cbs_h265_syntax_template.c | 56 ++--

[FFmpeg-devel] [PATCH 2/2] trace_headers: Update documentation

2018-11-30 Thread Andreas Rheinhardt
It also supports AV1 and (M)JPEG. Signed-off-by: Andreas Rheinhardt --- doc/bitstream_filters.texi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 15c578aa8a..b779265f58 100644 --- a/doc/bitstream_filters.texi ++