Re: [FFmpeg-devel] [PATCH 4/6] qsvenc: Allow creation of the internal session from a device context

2017-01-17 Thread wm4
On Tue, 17 Jan 2017 22:31:10 + Mark Thompson wrote: > --- > libavcodec/qsvenc.c | 15 +++ > libavcodec/qsvenc.h | 2 ++ > 2 files changed, 17 insertions(+) > > diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c > index ac443c1..7a46979 100644 > --- a/libavcodec/qsvenc.c > +

Re: [FFmpeg-devel] [PATCH 3/6] qsvdec: Allow creation of the internal session from a device context

2017-01-17 Thread wm4
On Tue, 17 Jan 2017 22:30:44 + Mark Thompson wrote: > --- > libavcodec/qsvdec.c | 25 +++-- > libavcodec/qsvdec.h | 2 ++ > 2 files changed, 25 insertions(+), 2 deletions(-) > > diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c > index 258042d..5a42fd7 100644 > ---

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Tobias Rapp
On 17.01.2017 20:43, Paul B Mahol wrote: Signed-off-by: Dave Rice Signed-off-by: Paul B Mahol --- doc/filters.texi| 70 libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_readeia608.c | 268

Re: [FFmpeg-devel] mov: support for multiple edits and cenc decryption

2017-01-17 Thread Sasi Inguva
Can you add a fate test ? Rest looks fine to me. From 268c50f156f53c09692b3413c2ed1eb9bd29f163 Mon Sep 17 00:00:00 2001 > From: erankor > Date: Thu, 12 Jan 2017 19:01:13 +0200 > Subject: [PATCH] mov: fix decryption with edit list > Retain the ranges of frame indexes when applying edit list in > m

[FFmpeg-devel] [PATCH] libavcodec/nvenc.c Reduce initialization time for gpu id > 0

2017-01-17 Thread Ganapathy Raman Kasi
Hi, The attached patch reduces initialization time when using a gpu device > 0 in a multi-gpu setup. It removes the initialization of cuda context and nvenc session for gpus which are not requested by the user, thereby increasing startup performance. This is my first time sending a patch to ff

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Kieran Kunhya
On Tue, 17 Jan 2017, 22:31 Paul B Mahol, wrote: > On 1/17/17, Kieran Kunhya wrote: > > On Tue, 17 Jan 2017 at 19:44 Paul B Mahol wrote: > > > >> Signed-off-by: Dave Rice > >> Signed-off-by: Paul B Mahol > >> > > > > Is this better than libzvbi? > > The only code that does similar thing is con

Re: [FFmpeg-devel] [PATCH 14/17 v2] vp8: Add hwaccel hooks

2017-01-17 Thread Mark Thompson
On 09/01/17 00:11, Mark Thompson wrote: > Also adds some extra fields to the main context structure that may > be needed by a hwaccel decoder. > > (cherry picked from commit 4e528206bc4d968706401206cf54471739250ec7) > --- > On 08/01/17 23:37, Michael Niedermayer wrote: >> On Mon, Jan 09, 2017 at 1

[FFmpeg-devel] [PATCH 1/6] lavc: Add device context field to AVCodecContext

2017-01-17 Thread Mark Thompson
For use by codec implementations which require a device to operation but will allocate frames internally. --- The following patches make use of it for qsv. Is this definition appropriate to solve the issues with cuvid device setup as well? doc/APIchanges | 3 +++ libavcodec/avcodec.h |

[FFmpeg-devel] [PATCH 6/6] ffmpeg: Pass the global device context to encoder and decoder instances

2017-01-17 Thread Mark Thompson
--- ffmpeg.c | 12 1 file changed, 12 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 6d1e358..781c0a4 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2748,6 +2748,12 @@ static int init_input_stream(int ist_index, char *error, int error_len) * audio, and video decoders such

[FFmpeg-devel] [PATCH 5/6] ffmpeg: Always make the qsv device if the option is set

2017-01-17 Thread Mark Thompson
Previously it was only created if the decode hwaccel was requested; this makes it unconditionally so we can use it without the hwaccel. --- ffmpeg.h | 4 +--- ffmpeg_opt.c | 13 - ffmpeg_qsv.c | 14 ++ 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/ff

[FFmpeg-devel] [PATCH 4/6] qsvenc: Allow creation of the internal session from a device context

2017-01-17 Thread Mark Thompson
--- libavcodec/qsvenc.c | 15 +++ libavcodec/qsvenc.h | 2 ++ 2 files changed, 17 insertions(+) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index ac443c1..7a46979 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -672,6 +672,19 @@ static int qsvenc_init_session

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Paul B Mahol
On 1/17/17, Kieran Kunhya wrote: > On Tue, 17 Jan 2017 at 19:44 Paul B Mahol wrote: > >> Signed-off-by: Dave Rice >> Signed-off-by: Paul B Mahol >> > > Is this better than libzvbi? The only code that does similar thing is contrib/ntsc-cc.c So its not part of library anyway. __

[FFmpeg-devel] [PATCH 3/6] qsvdec: Allow creation of the internal session from a device context

2017-01-17 Thread Mark Thompson
--- libavcodec/qsvdec.c | 25 +++-- libavcodec/qsvdec.h | 2 ++ 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index 258042d..5a42fd7 100644 --- a/libavcodec/qsvdec.c +++ b/libavcodec/qsvdec.c @@ -42,7 +42,7 @@ #inclu

[FFmpeg-devel] [PATCH 2/6] qsv: Add ability to create a session from a device context

2017-01-17 Thread Mark Thompson
--- libavcodec/qsv.c | 121 +++--- libavcodec/qsv_internal.h | 3 ++ 2 files changed, 73 insertions(+), 51 deletions(-) diff --git a/libavcodec/qsv.c b/libavcodec/qsv.c index aac6ce6..5e6f462 100644 --- a/libavcodec/qsv.c +++ b/libavcodec/qsv.c @

[FFmpeg-devel] [PATCH v2] avfilter:vf_drawtext: add new line space size set parameter

2017-01-17 Thread Steven Liu
add line_spacing parameter to set the space between two lines Based on an idea by: Leandro Santiago Reviewed-by: Michael Niedermayer Signed-off-by: Steven Liu --- doc/filters.texi | 4 libavfilter/vf_drawtext.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Paul B Mahol
On 1/17/17, Kieran Kunhya wrote: > On Tue, 17 Jan 2017 at 19:44 Paul B Mahol wrote: > >> Signed-off-by: Dave Rice >> Signed-off-by: Paul B Mahol >> > > Is this better than libzvbi? How I can test libzvbi? ___ ffmpeg-devel mailing list ffmpeg-devel@ff

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Moritz Barsnick
On Tue, Jan 17, 2017 at 20:43:38 +0100, Paul B Mahol wrote: > +.description = NULL_IF_CONFIG_SMALL("Read EIA-608 Closed Caption codes > from input video and write it to frame metadata."),

Re: [FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Kieran Kunhya
On Tue, 17 Jan 2017 at 19:44 Paul B Mahol wrote: > Signed-off-by: Dave Rice > Signed-off-by: Paul B Mahol > Is this better than libzvbi? Kieran ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] avfilter: add EIA-608 line extractor

2017-01-17 Thread Paul B Mahol
Signed-off-by: Dave Rice Signed-off-by: Paul B Mahol --- doc/filters.texi| 70 libavfilter/Makefile| 1 + libavfilter/allfilters.c| 1 + libavfilter/vf_readeia608.c | 268 4 files changed, 340 insertions(+) c

Re: [FFmpeg-devel] [PATCH] lavc/h264dec: remove flush goto in decode callback

2017-01-17 Thread Michael Niedermayer
On Tue, Jan 17, 2017 at 10:50:31AM +0100, Clément Bœsch wrote: > From: Clément Bœsch > > --- > libavcodec/h264dec.c | 70 > +++- > 1 file changed, 37 insertions(+), 33 deletions(-) LGTM, thx [...] -- Michael GnuPG fingerprint: 9FF2128B147E

Re: [FFmpeg-devel] [PATCH] libavformat/mpegtsenc: support hevc with missing in stream headers like h.264

2017-01-17 Thread Michael Niedermayer
On Sun, Jan 15, 2017 at 10:24:24PM +0100, Michael Niedermayer wrote: > Signed-off-by: Michael Niedermayer > --- > libavformat/mpegtsenc.c | 30 ++ > 1 file changed, 30 insertions(+) applied [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B

Re: [FFmpeg-devel] [PATCH] avfilter:vf_drawtext: add new line space size set parameter

2017-01-17 Thread Michael Niedermayer
On Tue, Jan 17, 2017 at 07:36:03PM +0800, Steven Liu wrote: > add line_spacing parameter to set the space between two lines > > Based on an idea by: Leandro Santiago > > Signed-off-by: Steven Liu > --- > doc/filters.texi | 4 > libavfilter/vf_drawtext.c | 4 +++- > 2 files change

Re: [FFmpeg-devel] [PATCH] Fix huge reported DTS on Ogg Theora files with bogus granulepos

2017-01-17 Thread Brion Vibber
On Sun, Jan 15, 2017 at 5:35 PM, Michael Niedermayer wrote: > > --- a/libavformat/oggparsetheora.c > > +++ b/libavformat/oggparsetheora.c > > @@ -153,6 +153,10 @@ static uint64_t theora_gptopts(AVFormatContext > *ctx, int idx, uint64_t gp, > > if (!thp) > > return AV_NOPTS_VALUE; >

Re: [FFmpeg-devel] [PATCH 1/3] avformat/avienc: write chained master index only if std_compliance is normal or below

2017-01-17 Thread Michael Niedermayer
On Tue, Jan 17, 2017 at 02:44:28PM +0100, Tobias Rapp wrote: > On 13.01.2017 17:42, Michael Niedermayer wrote: > >On Tue, Jan 10, 2017 at 09:26:53AM +0100, Tobias Rapp wrote: > >>On 10.01.2017 00:19, Michael Niedermayer wrote: > >>> [...] > >>>isnt it better to warn the user and inform him at the e

Re: [FFmpeg-devel] [PATCH] Don't disable SSA Optimizer on MSVC v19.00.24218+.

2017-01-17 Thread Michael Niedermayer
On Thu, Jan 12, 2017 at 01:02:23AM +0100, Kacper Michajłow wrote: > --- > configure | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) applied thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In a rich man's house there is no place to spit but hi

Re: [FFmpeg-devel] [PATCH 1/3] avformat/avienc: write chained master index only if std_compliance is normal or below

2017-01-17 Thread Tobias Rapp
On 13.01.2017 17:42, Michael Niedermayer wrote: On Tue, Jan 10, 2017 at 09:26:53AM +0100, Tobias Rapp wrote: On 10.01.2017 00:19, Michael Niedermayer wrote: [...] isnt it better to warn the user and inform him at the end what size of reserved space would have been needed? not saying iam again

[FFmpeg-devel] [PATCH 2/4] avformat/avienc: write chained master index only if std_compliance is normal or below

2017-01-17 Thread Tobias Rapp
OpenDML specification v1.02 states that entries of a master index chunk shall point to standard or field index chunks. Changed incorrect duration of last master index entry to -1 in case it points to another master index. Propagate error when index write fails. Signed-off-by: Tobias Rapp --- l

[FFmpeg-devel] [PATCH v2 0/4] avformat/avienc: update write of master index

2017-01-17 Thread Tobias Rapp
Added suggested output stream duration hinting. Uses output stream duration and bitrate as a hint for better filesize guessing. If stream bitrate is unknown a worst-case value is assumed. Sidenote: Noticed during tests that most loss-less encoders don't set bitrate and thus the options_table.h def

[FFmpeg-devel] [PATCH 3/4] avformat/avienc: add reserve_index_space option

2017-01-17 Thread Tobias Rapp
Allows the user to reserve space for the ODML master index. A sufficient sized master index in the AVI header avoids storing follow-up master indexes within the 'movi' data later. If the option is omitted or zero the index size is estimated from output duration and bitrate. A worst-case bitrate fo

[FFmpeg-devel] [PATCH 4/4] doc/muxers: add AVI muxer documentation

2017-01-17 Thread Tobias Rapp
Signed-off-by: Tobias Rapp --- doc/muxers.texi | 33 + 1 file changed, 33 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index 26a8f2d..4372078 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -57,6 +57,39 @@ fragmentation or muxer overhead depe

[FFmpeg-devel] [PATCH 1/4] ffmpeg: pass output stream duration as a hint to the muxer

2017-01-17 Thread Tobias Rapp
Signed-off-by: Tobias Rapp --- ffmpeg.c | 9 + libavformat/avformat.h | 3 +++ 2 files changed, 12 insertions(+) diff --git a/ffmpeg.c b/ffmpeg.c index 6d1e358..977708c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -2908,6 +2908,10 @@ static int init_output_stream_streamcopy(Outp

[FFmpeg-devel] [PATCH] avfilter:vf_drawtext: add new line space size set parameter

2017-01-17 Thread Steven Liu
add line_spacing parameter to set the space between two lines Based on an idea by: Leandro Santiago Signed-off-by: Steven Liu --- doc/filters.texi | 4 libavfilter/vf_drawtext.c | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/filters.texi b/doc/filters

[FFmpeg-devel] [PATCH] lavc/h264dec: remove flush goto in decode callback

2017-01-17 Thread Clément Bœsch
From: Clément Bœsch --- libavcodec/h264dec.c | 70 +++- 1 file changed, 37 insertions(+), 33 deletions(-) diff --git a/libavcodec/h264dec.c b/libavcodec/h264dec.c index 0cb0352485..0232bbaa23 100644 --- a/libavcodec/h264dec.c +++ b/libavcodec/h264

[FFmpeg-devel] Grabbing from H264 Webcam - Timestamps are unset

2017-01-17 Thread Manuel Tonella
tfhd_offset+frag_keyframe+default_base_moof -f MP4 -y test.mp4 ffmpeg started on 2017-01-17 at 09:33:58 Report written to "ffmpeg-20170117-093358.log" Command line: ffmpeg -report -probesize 32 -rtbufsize 1k -pix_fmt yuv420p -r 10 -s 1280x720 -framerate 10 -vcodec h264 -f v4l