Re: [FFmpeg-devel] [PATCH 2/2] ffmpeg: copy trailing_padding when using -acodec copy

2016-09-13 Thread James Almer
On 8/15/2016 5:13 PM, Jon Toohill wrote: > --- > ffmpeg.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/ffmpeg.c b/ffmpeg.c > index bae515d..49a1b03 100644 > --- a/ffmpeg.c > +++ b/ffmpeg.c > @@ -3001,6 +3001,7 @@ static int transcode_init(void) > enc_ctx->audio_servic

[FFmpeg-devel] [PATCH] doc/muxers: add flv muxer document into doc/muxers

2016-09-13 Thread Steven Liu
0001-doc-muxers-add-flv-muxer-document-into-doc-muxers.patch Description: Binary data ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 2/2] avformat/flvenc: add no_sequence_end flags for flvflags

2016-09-13 Thread Steven Liu
2016-09-14 10:00 GMT+08:00 Michael Niedermayer : > On Wed, Sep 14, 2016 at 09:42:48AM +0800, Steven Liu wrote: > > 2016-09-14 8:31 GMT+08:00 Michael Niedermayer : > > > > > On Tue, Sep 13, 2016 at 10:10:40PM +0800, Steven Liu wrote: > > > [...] > > > > flvenc.c | 18 +++--- > > > >

Re: [FFmpeg-devel] [PATCH 2/2] avformat/flvenc: add no_sequence_end flags for flvflags

2016-09-13 Thread Michael Niedermayer
On Wed, Sep 14, 2016 at 09:42:48AM +0800, Steven Liu wrote: > 2016-09-14 8:31 GMT+08:00 Michael Niedermayer : > > > On Tue, Sep 13, 2016 at 10:10:40PM +0800, Steven Liu wrote: > > [...] > > > flvenc.c | 18 +++--- > > > 1 file changed, 11 insertions(+), 7 deletions(-) > > > 42fedcf3

Re: [FFmpeg-devel] [PATCH] lavfi: VAAPI video processing filter

2016-09-13 Thread Jun Zhao
On 2016/9/14 6:06, Mark Thompson wrote: > WIP. > --- > On 05/09/16 02:52, Jun Zhao wrote: >> On 2016/8/31 6:48, Mark Thompson wrote: >>> On 30/08/16 09:00, Jun Zhao wrote: v3 : fix sharpless mapping issue v2 : fix filter support flag check logic issue >>> >>> Hi, >>> >>> A general remar

Re: [FFmpeg-devel] [PATCH 2/2] avformat/flvenc: add no_sequence_end flags for flvflags

2016-09-13 Thread Steven Liu
2016-09-14 8:31 GMT+08:00 Michael Niedermayer : > On Tue, Sep 13, 2016 at 10:10:40PM +0800, Steven Liu wrote: > [...] > > flvenc.c | 18 +++--- > > 1 file changed, 11 insertions(+), 7 deletions(-) > > 42fedcf3213941fce3f2c0a6ea879002e178fa75 0002-avformat-flvenc-add-no_ > sequence_

Re: [FFmpeg-devel] mpeg12dec fix up DVD caption handling

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 10:08:06AM -0700, Jonathan Campbell wrote: > > > On 09/12/2016 07:58 PM, Michael Niedermayer wrote: > > On Mon, Sep 12, 2016 at 06:19:43PM -0700, Jonathan Campbell wrote: > >> > >> > >> On 09/12/2016 04:56 PM, Michael Niedermayer wrote: > >>> On Mon, Sep 12, 2016 at 03:28:

Re: [FFmpeg-devel] [PATCH] avfilter/drawutils: allow drawing opaque text on transparent background

2016-09-13 Thread Michael Niedermayer
On Wed, Sep 14, 2016 at 01:38:20AM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Fixes #3302. > --- > libavfilter/drawutils.c | 7 --- > libavfilter/drawutils.h | 1 + > libavfilter/vf_drawtext.c | 2 +- > 3 files changed, 6 insertions(+), 4 deletions(-) > > diff --git

Re: [FFmpeg-devel] [PATCH 2/2] avformat/flvenc: add no_sequence_end flags for flvflags

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 10:10:40PM +0800, Steven Liu wrote: [...] > flvenc.c | 18 +++--- > 1 file changed, 11 insertions(+), 7 deletions(-) > 42fedcf3213941fce3f2c0a6ea879002e178fa75 > 0002-avformat-flvenc-add-no_sequence_end-flags-for-flvfla.patch > From c0297aa790e72b14bd01fcb58

Re: [FFmpeg-devel] [PATCH 1/2] avformat/flvenc: add FLVFlags for flvflags options

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 10:09:48PM +0800, Steven Liu wrote: > add FLVFlags type, be used to add new FLVFlags options > > Signed-off-by: Steven Liu > --- > libavformat/flvenc.c | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) applied thanks [...] -- Michael GnuPG fingerpri

Re: [FFmpeg-devel] [PATCH] avfilter/drawutils: allow drawing opaque text on transparent background

2016-09-13 Thread Paul B Mahol
On 9/14/16, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > Fixes #3302. > --- > libavfilter/drawutils.c | 7 --- > libavfilter/drawutils.h | 1 + > libavfilter/vf_drawtext.c | 2 +- > 3 files changed, 6 insertions(+), 4 deletions(-) > Also fixes #3571. ___

Re: [FFmpeg-devel] [PATCH] doc/muxers: add hls_segment_size option document

2016-09-13 Thread Steven Liu
2016-09-14 7:34 GMT+08:00 Lou Logan : > On Wed, 14 Sep 2016 07:16:32 +0800, Steven Liu wrote: > > > and make an sample introduce how to use hls_segment_size. > > > > Signed-off-by: LiuQi > > --- > > doc/muxers.texi | 11 +++ > > 1 file changed, 11 insertions(+) > > > > diff --git a/doc/m

[FFmpeg-devel] [PATCH] avfilter/drawutils: allow drawing opaque text on transparent background

2016-09-13 Thread Paul B Mahol
Signed-off-by: Paul B Mahol --- Fixes #3302. --- libavfilter/drawutils.c | 7 --- libavfilter/drawutils.h | 1 + libavfilter/vf_drawtext.c | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavfilter/drawutils.c b/libavfilter/drawutils.c index f6760be..905eaa3 100644

Re: [FFmpeg-devel] [PATCH] doc/muxers: add hls_segment_size option document

2016-09-13 Thread Lou Logan
On Wed, 14 Sep 2016 07:16:32 +0800, Steven Liu wrote: > and make an sample introduce how to use hls_segment_size. > > Signed-off-by: LiuQi > --- > doc/muxers.texi | 11 +++ > 1 file changed, 11 insertions(+) > > diff --git a/doc/muxers.texi b/doc/muxers.texi > index ccf8ea1..9b1f717 10

[FFmpeg-devel] [PATCH] doc/muxers: add hls_segment_size option document

2016-09-13 Thread Steven Liu
and make an sample introduce how to use hls_segment_size. Signed-off-by: LiuQi --- doc/muxers.texi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index ccf8ea1..9b1f717 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -410,6 +410,17 @@ ffm

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: refine EXT-X-BYTERANGE support for segments

2016-09-13 Thread Steven Liu
2016-09-14 2:53 GMT+08:00 Moritz Barsnick : > On Tue, Sep 13, 2016 at 11:25:39 +0800, Steven Liu wrote: > > +int byterange_mode = hls->flags & (HLS_SINGLE_FILE) || > hls->max_seg_size > 0; > ^ ^ > Why the bracket? > > > +av

[FFmpeg-devel] [PATCH] lavfi: VAAPI video processing filter

2016-09-13 Thread Mark Thompson
WIP. --- On 05/09/16 02:52, Jun Zhao wrote: > On 2016/8/31 6:48, Mark Thompson wrote: >> On 30/08/16 09:00, Jun Zhao wrote: >>> v3 : fix sharpless mapping issue >>> v2 : fix filter support flag check logic issue >> >> Hi, >> >> A general remark to start: vf_scale_vaapi is named to be a scaling filt

Re: [FFmpeg-devel] mpeg12dec fix up DVD caption handling

2016-09-13 Thread Jonathan Campbell
On 09/13/2016 12:42 PM, Moritz Barsnick wrote: > On Mon, Sep 12, 2016 at 18:19:43 -0700, Jonathan Campbell wrote: >> Subject: [PATCH 2/7] read caption words field-wise, count properly and limit >> to cc_count. transfer each CC word taking into consideration immediate CC >> field bit or for DVDs

Re: [FFmpeg-devel] lavd API discussion

2016-09-13 Thread Paul B Mahol
On 9/13/16, Josh de Kock wrote: > Hi all, > > So I know that not as many people use lavd, but I just wanted to ask a > couple questions about the lavd/lavf APIs (but mostly about lavd), maybe > fuel some thought about potentially developing/evolving the lavd API > further. > > 1. What is the real

[FFmpeg-devel] lavd API discussion

2016-09-13 Thread Josh de Kock
Hi all, So I know that not as many people use lavd, but I just wanted to ask a couple questions about the lavd/lavf APIs (but mostly about lavd), maybe fuel some thought about potentially developing/evolving the lavd API further. 1. What is the real difference between lavf and lavd? Both la

Re: [FFmpeg-devel] [PATCH] avfilter/af_amerge: allow merging 1 input only

2016-09-13 Thread Marton Balint
On Sat, 10 Sep 2016, Nicolas George wrote: Le decadi 20 fructidor, an CCXXIV, Marton Balint a écrit : Useful when the amerge filter parameters are generated from a script based on the number of input streams, by allowing 1 input it does not have to be handled specially. The split filter also

[FFmpeg-devel] [PATCH] libavformat/webm_chunk: Option to specify HTTP header

2016-09-13 Thread Vignesh Venkatasubramanian
Add an option to specify HTTP header in the WebM Chunk Muxer (this works the same way as the 'method' parameter in the HLS muxer). Signed-off-by: Vignesh Venkatasubramanian --- libavformat/webm_chunk.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/libavforma

Re: [FFmpeg-devel] mpeg12dec fix up DVD caption handling

2016-09-13 Thread Moritz Barsnick
On Mon, Sep 12, 2016 at 18:19:43 -0700, Jonathan Campbell wrote: > Subject: [PATCH 2/7] read caption words field-wise, count properly and limit > to cc_count. transfer each CC word taking into consideration immediate CC > field bit or for DVDs that don't use it, keep track according to first fiel

Re: [FFmpeg-devel] calculation of probe score

2016-09-13 Thread Dave Rice
Hi Carl, > On Sep 13, 2016, at 2:57 PM, Carl Eugen Hoyos wrote: > > 2016-09-12 19:47 GMT+02:00 Monique Lassere : >> Trying to dig as deeply as possible into ffprobe's probe score >> and how it is calculated. > > Is there a use case that could be interesting to us? I think the use case if for w

Re: [FFmpeg-devel] calculation of probe score

2016-09-13 Thread Carl Eugen Hoyos
2016-09-12 19:47 GMT+02:00 Monique Lassere : > Trying to dig as deeply as possible into ffprobe's probe score > and how it is calculated. Is there a use case that could be interesting to us? Or a bug you want to tell us about? [...] > 2. Secondly, does the probe score relate to the container fo

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: refine EXT-X-BYTERANGE support for segments

2016-09-13 Thread Moritz Barsnick
On Tue, Sep 13, 2016 at 11:25:39 +0800, Steven Liu wrote: > +int byterange_mode = hls->flags & (HLS_SINGLE_FILE) || hls->max_seg_size > > 0; ^ ^ Why the bracket? > +av_log(oc, AV_LOG_ERROR, "Invalid segment filename templa

Re: [FFmpeg-devel] [VDD2016] Technical Discussion Results

2016-09-13 Thread Ronald S. Bultje
Hi, On Mon, Sep 12, 2016 at 6:01 AM, Paul B Mahol wrote: > On 9/12/16, Thilo Borgmann wrote: > > Hi, > > > > these are the resulting notes we've taken during the FFmpeg technical > > discussion > > during VDD 2016. We've ended up with two slides on the board and compn > took > > pictures of the

Re: [FFmpeg-devel] [PATCH] lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg

2016-09-13 Thread James Almer
On 9/13/2016 2:42 PM, Clément Bœsch wrote: > On Tue, Sep 13, 2016 at 02:36:46PM -0300, James Almer wrote: > [...] >>> diff --git a/libavformat/avformat.h b/libavformat/avformat.h >>> index 74915a1..389d985 100644 >>> --- a/libavformat/avformat.h >>> +++ b/libavformat/avformat.h >>> @@ -2894,6 +2894

Re: [FFmpeg-devel] [VDD2016] Technical Discussion Results

2016-09-13 Thread Mayank Agarwal
Hi, I am interested to join any of the tasks. Regards Mayank On Mon, Sep 12, 2016 at 3:28 PM, Thilo Borgmann wrote: > Hi, > > these are the resulting notes we've taken during the FFmpeg technical > discussion > during VDD 2016. We've ended up with two slides on the board and compn took > pictu

Re: [FFmpeg-devel] [PATCH] lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg

2016-09-13 Thread Clément Bœsch
On Tue, Sep 13, 2016 at 02:36:46PM -0300, James Almer wrote: [...] > > diff --git a/libavformat/avformat.h b/libavformat/avformat.h > > index 74915a1..389d985 100644 > > --- a/libavformat/avformat.h > > +++ b/libavformat/avformat.h > > @@ -2894,6 +2894,27 @@ int av_apply_bitstream_filters(AVCodecCo

Re: [FFmpeg-devel] [PATCH] lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg

2016-09-13 Thread James Almer
On 9/13/2016 5:44 AM, Clément Bœsch wrote: > From: Clément Bœsch > > In lavf we have access to st->internal->avctx so it's a better place > than in ffmpeg*.c and will allow moving to codecpar. > --- > doc/APIchanges | 4 > ffmpeg.c | 52 ---

Re: [FFmpeg-devel] mpeg12dec fix up DVD caption handling

2016-09-13 Thread Jonathan Campbell
On 09/12/2016 07:58 PM, Michael Niedermayer wrote: > On Mon, Sep 12, 2016 at 06:19:43PM -0700, Jonathan Campbell wrote: >> >> >> On 09/12/2016 04:56 PM, Michael Niedermayer wrote: >>> On Mon, Sep 12, 2016 at 03:28:24PM -0700, Jonathan Campbell wrote: These patches fix up the DVD caption hand

Re: [FFmpeg-devel] [PATCH] ffplay: convert ffplay to use SDL2

2016-09-13 Thread James Almer
On 9/12/2016 3:58 PM, Josh de Kock wrote: > From: Marton Balint > > Depends on the other SDL patches. > > Signed-off-by: Josh de Kock > --- > configure | 6 +- > ffplay.c | 594 > ++ > 2 files changed, 249 insertions(+), 351 delet

Re: [FFmpeg-devel] [PATCH 2/2] lavf/utils: sync MOV-like formats with the muxers found in lavf/movenc

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 10:51:26AM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > libavformat/utils.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index acb781e..35f13c1 100644 > --- a/libavformat/utils.c > +++

Re: [FFmpeg-devel] [PATCH] vf_colorspace: Add BT-names for gamma22/28 transfer option

2016-09-13 Thread Ronald S. Bultje
Hi, On Mon, Sep 12, 2016 at 1:46 PM, Ronald S. Bultje wrote: > Hi, > > On Mon, Sep 12, 2016 at 1:44 PM, Vittorio Giovara < > vittorio.giov...@gmail.com> wrote: > >> Allows to use values returned from API and from ffprobe directly. >> >> Signed-off-by: Vittorio Giovara >> --- >> libavfilter/vf_

[FFmpeg-devel] [PATCH 2/2] avformat/flvenc: add no_sequence_end flags for flvflags

2016-09-13 Thread Steven Liu
when split flv file by flv format at first, and cat flvs file into one flv file, the flv sequence end is be used, then the whole flv have many flv sequence end TAG. this flags can give user an option to ignore write sequence end TAG Signed-off-by: Steven Liu --- libavformat/flvenc.c | 18 +++

[FFmpeg-devel] [PATCH 1/2] avformat/flvenc: add FLVFlags for flvflags options

2016-09-13 Thread Steven Liu
add FLVFlags type, be used to add new FLVFlags options Signed-off-by: Steven Liu --- libavformat/flvenc.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c index ccbcf64..a3623f8 100644 --- a/libavformat/flvenc.c +++ b/libavfo

Re: [FFmpeg-devel] [PATCH 1/2] lavf/mov: fix parsing QuickTime meta after the first track

2016-09-13 Thread Michael Niedermayer
On Mon, Sep 12, 2016 at 09:02:25PM -0500, Rodger Combs wrote: > > > On Sep 10, 2016, at 05:10, Michael Niedermayer > > wrote: > > > > On Fri, Sep 09, 2016 at 08:06:39PM -0500, Rodger Combs wrote: > >> I'm not entirely sure why found_hdlr_mdta existed to begin with, so cc-ing > >> Tinglin Liu (w

Re: [FFmpeg-devel] [PATCH 1/2] lavf/utils: simplify matching MOV-like formats

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 11:00:27AM +0200, Clément Bœsch wrote: > On Tue, Sep 13, 2016 at 10:51:25AM +0200, Clément Bœsch wrote: > > From: Clément Bœsch > > > > --- > > libavformat/utils.c | 4 +--- > > 1 file changed, 1 insertion(+), 3 deletions(-) > > > > diff --git a/libavformat/utils.c b/lib

Re: [FFmpeg-devel] [PATCH] lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg

2016-09-13 Thread Michael Niedermayer
On Tue, Sep 13, 2016 at 10:44:02AM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > In lavf we have access to st->internal->avctx so it's a better place > than in ffmpeg*.c and will allow moving to codecpar. > --- > doc/APIchanges | 4 > ffmpeg.c | 52 ---

Re: [FFmpeg-devel] calculation of probe score

2016-09-13 Thread Michael Niedermayer
On Mon, Sep 12, 2016 at 12:47:40PM -0500, Monique Lassere wrote: > Hi, all, > > Trying to dig as deeply as possible into ffprobe's probe score and how it > is calculated. AVProbeData > contains a lot This is the doxy for 2.2 not the lat

Re: [FFmpeg-devel] [PATCH 1/2] lavf/utils: simplify matching MOV-like formats

2016-09-13 Thread Clément Bœsch
On Tue, Sep 13, 2016 at 10:51:25AM +0200, Clément Bœsch wrote: > From: Clément Bœsch > > --- > libavformat/utils.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index 92a29ae..acb781e 100644 > --- a/libavformat/utils.c >

[FFmpeg-devel] [PATCH 2/2] lavf/utils: sync MOV-like formats with the muxers found in lavf/movenc

2016-09-13 Thread Clément Bœsch
From: Clément Bœsch --- libavformat/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index acb781e..35f13c1 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -5315,7 +5315,7 @@ int avformat_transfer_internal_stream_

[FFmpeg-devel] [PATCH 1/2] lavf/utils: simplify matching MOV-like formats

2016-09-13 Thread Clément Bœsch
From: Clément Bœsch --- libavformat/utils.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index 92a29ae..acb781e 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -5315,9 +5315,7 @@ int avformat_transfer_internal_stre

[FFmpeg-devel] 2 small patches on top of the avformat_transfer_internal_stream_timing_info() patch

2016-09-13 Thread Clément Bœsch
$subj ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] lavf: add avformat_transfer_internal_stream_timing_info() and use it in ffmpeg

2016-09-13 Thread Clément Bœsch
From: Clément Bœsch In lavf we have access to st->internal->avctx so it's a better place than in ffmpeg*.c and will allow moving to codecpar. --- doc/APIchanges | 4 ffmpeg.c | 52 -- libavformat/avformat.h | 21

Re: [FFmpeg-devel] [PATCH] lavf/matroska: expose stream encoding as global side-data

2016-09-13 Thread Michael Niedermayer
Hi On Mon, Sep 12, 2016 at 09:45:14PM -0500, Rodger Combs wrote: > Some demuxers can't handle Matroska compression, so this lets API users > check if a file uses it and determine whether those players will fail. I think this should be usig AV_OPT_FLAG_READONLY instead of side data [...] -- Mich

Re: [FFmpeg-devel] Strategy to optimally playback audio & video

2016-09-13 Thread Matthieu Beghin
Ok. Thanks for your replies. Keeping the audio in separate files is an idea, but I’d like to be able to work directly with a movie, without recompression. I found a solution to my problem: when the audio thread needs data, I read all packets but I only decompress audio packets, video packets are

Re: [FFmpeg-devel] [PATCH] lavf/matroska: expose stream encoding as global side-data

2016-09-13 Thread Hendrik Leppkes
On Tue, Sep 13, 2016 at 4:45 AM, Rodger Combs wrote: > Some demuxers can't handle Matroska compression, so this lets API users > check if a file uses it and determine whether those players will fail. > > Currently only exports the first encoding; the format technically supports > multiple, but I c