[FFmpeg-devel] Discussion: Feature: Subtitle charenc detection

2014-10-23 Thread Rodger Combs
As mentioned in https://trac.ffmpeg.org/ticket/4054#comment:1 , it'd probably be useful to discuss this concept here. There are a lot of nuances to this, it'll require linking at least one (and possibly 3 or more) new dependencies, and it'll probab

[FFmpeg-devel] [PATCH 1/4] lavf/movenc: fix leak of eac3_priv

2018-03-12 Thread Rodger Combs
This could previously happen in error or early-exit cases. The next commit would make it happen in all cases. --- libavformat/movenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5b1e66c897..353a42ae2c 100644 --- a/libavformat/movenc.c +++

[FFmpeg-devel] [PATCH 3/4] lavf/dashenc: remove unneeded call to dash_free

2018-03-12 Thread Rodger Combs
--- libavformat/dashenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 79d63e52d4..5689aef811 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1030,10 +1030,8 @@ static int dash_write_header(AVFormatCon

[FFmpeg-devel] [PATCH 4/4] lavf/dashenc: don't call flush_init_segment before avformat_write_header

2018-03-12 Thread Rodger Combs
Fixes crash when muxing MKV-in-DASH --- libavformat/dashenc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 5689aef811..63ff827583 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -985,13 +985,6 @

[FFmpeg-devel] [PATCH 2/4] lavf/movenc: keep eac3_priv around; fixes eac3 in DASH

2018-03-12 Thread Rodger Combs
DASH muxing sometimes calls mov_write_eac3_tag multiple times on the same stream. We need to keep this data around so it's available in the second call, else we won't write the data QuickTime needs. --- libavformat/movenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/movenc.c b

[FFmpeg-devel] [PATCH 02/10] lavf/movenc: fix leak of eac3_priv

2018-03-13 Thread Rodger Combs
This could previously happen in error or early-exit cases. The next commit would make it happen in all cases. --- libavformat/movenc.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5b1e66c897..accab417f6 100644 --- a/libavformat/movenc.

[FFmpeg-devel] [PATCH 01/10] FATE: add -nostdin to remaining ffmpeg CLI invocations

2018-03-13 Thread Rodger Combs
This prevents ffmpeg from modifying terminal parameters, which resulted in broken terminals after tests nondeterministically when multiple processes attempted to save and restore the state at the same time. --- tests/fate/avformat.mak | 6 +++--- tests/fate/filter-audio.mak | 4 ++-- tests/fat

[FFmpeg-devel] [PATCH 03/10] lavf/movenc: keep eac3_priv around; fixes eac3 in DASH

2018-03-13 Thread Rodger Combs
DASH muxing sometimes calls mov_write_eac3_tag multiple times on the same stream. We need to keep this data around so it's available in the second call, else we won't write the data QuickTime needs. --- libavformat/movenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/movenc.c b

[FFmpeg-devel] [PATCH 05/10] lavf/dashenc: don't call flush_init_segment before avformat_write_header

2018-03-13 Thread Rodger Combs
Fixes crash when muxing MKV-in-DASH --- libavformat/dashenc.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 5689aef811..63ff827583 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -985,13 +985,6 @

[FFmpeg-devel] [PATCH 04/10] lavf/dashenc: remove unneeded call to dash_free

2018-03-13 Thread Rodger Combs
--- libavformat/dashenc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 79d63e52d4..5689aef811 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1030,10 +1030,8 @@ static int dash_write_header(AVFormatCon

[FFmpeg-devel] [PATCH 07/10] lavf: document that AVStream::codecpar may be modified by lavf after avformat_write_header(). This is assumed not to break API because it's already true (see e.g. matroska

2018-03-13 Thread Rodger Combs
--- libavformat/avformat.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 9e87d6cdac..5f0ebfc114 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -1006,7 +1006,8 @@ typedef struct AVStream { *

[FFmpeg-devel] [PATCH 09/10] lavf/mux: propagate extradata changes before we call write_header to codecpar

2018-03-13 Thread Rodger Combs
This includes extradata generated by an encoder post-init, or extradata generated by automatically-added bsfs. This fixes remuxing ADTS to non-seekable MKV, which had been broken in f63c3516577d605e51cf16358cbdfa0bc97565d8, so the tests modified there are restored. This moves extradata writing in

[FFmpeg-devel] [PATCH 08/10] lavf/matroskaenc: don't rewrite extradata if we already have some

2018-03-13 Thread Rodger Combs
matroska doesn't support mid-stream extradata changes, and rewriting the same extradata already written in write_header would cause errors since we previously didn't write a filler void. --- libavformat/matroskaenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat

[FFmpeg-devel] [PATCH 06/10] Revert "avformat/mux: stop delaying writing the header"

2018-03-13 Thread Rodger Combs
This reverts commit d6d605eb05c3ca32f591016c345eb2ad9e81c554. --- libavformat/avformat.h | 2 +- libavformat/internal.h | 6 + libavformat/mux.c | 52 ++ libavformat/options_table.h| 2 +- libavformat/tests/fifo_muxer.

[FFmpeg-devel] [PATCH 10/10] lavf/movenc: handle AC3 and EAC3 data extraction in check_bitstream

2018-03-13 Thread Rodger Combs
This allows us to write AC3 and EAC3 data to the header even in non-seekable output, like with segment.c (which I add tests for). --- libavformat/movenc.c | 64 +--- tests/fate/avformat.mak | 60 +- tests/

Re: [FFmpeg-devel] [PATCH 08/10] lavf/matroskaenc: don't rewrite extradata if we already have some

2018-03-15 Thread Rodger Combs
> On Mar 15, 2018, at 17:36, James Almer wrote: > > On 3/14/2018 3:24 AM, Rodger Combs wrote: >> matroska doesn't support mid-stream extradata changes > > How so? We update flac extradata as sent by the encoder in the last > packet as side data. Right, but the

Re: [FFmpeg-devel] [PATCH 07/10] lavf: document that AVStream::codecpar may be modified by lavf after avformat_write_header(). This is assumed not to break API because it's already true (see e.g. matr

2018-03-15 Thread Rodger Combs
behavior right now). > On Mar 15, 2018, at 20:04, Hendrik Leppkes wrote: > > On Fri, Mar 16, 2018 at 12:29 AM, Michael Niedermayer > mailto:mich...@niedermayer.cc>> wrote: >> On Wed, Mar 14, 2018 at 01:24:42AM -0500, Rodger Combs wrote: >>> --- >>> libavforma

Re: [FFmpeg-devel] [PATCH 05/10] lavf/dashenc: don't call flush_init_segment before avformat_write_header

2018-03-18 Thread Rodger Combs
> On Mar 18, 2018, at 02:16, Jeyapal, Karthick wrote: > > > > On 3/14/18 11:54 AM, Rodger Combs wrote: >> Fixes crash when muxing MKV-in-DASH >> --- >> libavformat/dashenc.c | 10 +++--- >> 1 file changed, 3 insertions(+), 7 deletions(-) >

[FFmpeg-devel] [PATCH] lavc/videotoolbox: fix failure to decode PAFF

2018-03-28 Thread Rodger Combs
--- libavcodec/videotoolbox.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libavcodec/videotoolbox.c b/libavcodec/videotoolbox.c index f82c31c5df..57b6698e1b 100644 --- a/libavcodec/videotoolbox.c +++ b/libavcodec/videotoolbox.c @@ -326,11 +326,8 @@ static int videoto

Re: [FFmpeg-devel] [PATCH v2 2/2] avformat/utils: refactor upstream_stream_timings

2018-04-20 Thread Rodger Combs
Both patches LGTM. > On Apr 19, 2018, at 18:51, Aman Gupta wrote: > > From: Aman Gupta > > --- > libavformat/utils.c | 21 ++--- > 1 file changed, 10 insertions(+), 11 deletions(-) > > diff --git a/libavformat/utils.c b/libavformat/utils.c > index 705b79031d..c25eab4d49 100644

Re: [FFmpeg-devel] [PATCH] avcodec/videotoolbox: fix kVTCouldNotFindVideoDecoderErr trying to decode HEVC on iOS

2018-04-20 Thread Rodger Combs
If there was a way to indicate this to consumers, or expose an option to turn this off, I'd say it should have that... but there's no good infrastructure to do that in an hwaccel, so whatever. One nit; otherwise LGTM. > On Apr 19, 2018, at 17:34, Aman Gupta wrote: > > From: Aman Gupta > > Ol

[FFmpeg-devel] [PATCH] lavfi/vf_scale_vaapi: set output SAR

2018-01-12 Thread Rodger Combs
--- libavfilter/vf_scale_vaapi.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavfilter/vf_scale_vaapi.c b/libavfilter/vf_scale_vaapi.c index 22e928c..4bead5a 100644 --- a/libavfilter/vf_scale_vaapi.c +++ b/libavfilter/vf_scale_vaapi.c @@ -240,6 +240,11 @@ static int scale_vaapi_conf

[FFmpeg-devel] [PATCH] lavc/aarch64/sbrdsp_neon: fix build on old binutils

2018-01-25 Thread Rodger Combs
--- libavcodec/aarch64/sbrdsp_neon.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aarch64/sbrdsp_neon.S b/libavcodec/aarch64/sbrdsp_neon.S index d1d79b749c..d23717e760 100644 --- a/libavcodec/aarch64/sbrdsp_neon.S +++ b/libavcodec/aarch64/sbrdsp_neon.S @@ -287,7 +

[FFmpeg-devel] [PATCH] lavc/videotoolbox: fix threaded decoding

2018-02-02 Thread Rodger Combs
AVHWAccel.end_frame can run on a worker thread. The assumption of the frame threading code is that the worker thread will change the AVFrame image data, not the AVFrame fields. So the AVFrame fields are not synced back to the main thread. But this breaks videotoolbox due to its special requirements

[FFmpeg-devel] [PATCH] lavfi/vf_transpose: fix regression with semiplanar formats

2018-02-21 Thread Rodger Combs
(e.g. nv12) Regression since 7b19e76aeb0ace57b99aaef156bbfe592e43e65e --- libavfilter/vf_transpose.c | 50 +++-- tests/ref/fate/filter-pixfmts-transpose | 8 +++--- 2 files changed, 33 insertions(+), 25 deletions(-) diff --git a/libavfilter/vf_transpose.

[FFmpeg-devel] [PATCH] lavf/movenc: keep eac3_priv around; fixes eac3 in DASH

2018-03-07 Thread Rodger Combs
--- libavformat/movenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 5b1e66c897..fb8462ed9a 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -554,7 +554,6 @@ static int mov_write_eac3_tag(AVIOContext *pb, MOVTrack *track)

Re: [FFmpeg-devel] [PATCH] lavf/movenc: keep eac3_priv around; fixes eac3 in DASH

2018-03-08 Thread Rodger Combs
re it. > On Mar 8, 2018, at 05:46, Derek Buitenhuis wrote: > > On 3/8/2018 5:10 AM, Rodger Combs wrote: >> --- >> libavformat/movenc.c | 1 - >> 1 file changed, 1 deletion(-) > > Er, how/why? > > No info is p

[FFmpeg-devel] [PATCH] libavformat/assenc: Add ignore_gaps option

2014-10-30 Thread Rodger Combs
This patch lets the user ignore ReadOrder when writing ASS subtitles, which is useful when e.g. streaming output. >From d3d4cb4da2382a1d762fa1e9bfafbaf3d18cf5c5 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Thu, 30 Oct 2014 04:33:17 -0500 Subject: [PATCH] libavformat/assenc: Add ignore_g

Re: [FFmpeg-devel] [PATCH] libavformat/assenc: Add ignore_gaps option

2014-10-30 Thread Rodger Combs
-devel No objections here; new patch: >From 369cf0366a8d03f6a4b2d746ae420e42a18fcb34 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Thu, 30 Oct 2014 04:33:17 -0500 Subject: [PATCH] avformat/assenc: Ass ignore_readorder option --- libavformat/assenc.c | 21 - 1 file cha

[FFmpeg-devel] Discuss: Improved hardware acceleration support

2014-10-30 Thread Rodger Combs
libavcodec currently has support for hardware-accelerated decoding, but no support for encoding, and libavcodec+libavfilter+ffmpeg provide no support for a decode->filter->encode pipeline that doesn't involve copying buffers back and forth from the video card and cutting out a significant amount

[FFmpeg-devel] [PATCH] dashenc: degrade gracefully if a stream's bitrate is unavailable

2014-11-18 Thread Rodger Combs
>From e6793b554bb3979cfb5c1feec2ba73bbf8a31d8a Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Tue, 18 Nov 2014 12:59:59 -0600 Subject: [PATCH] dashenc: degrade gracefully if a stream's bitrate is unavailable If a stream's bitrate is not set, this attempts to use its rc_max_rat

[FFmpeg-devel] [PATCH] dashenc: Add a segment_start_number option

2014-11-19 Thread Rodger Combs
>From b38a1396e2335e2d0ef2619b5a3890f91c31c8a8 Mon Sep 17 00:00:00 2001 From: Rodger Combs Date: Thu, 20 Nov 2014 01:47:05 -0600 Subject: [PATCH] dashenc: Add a segment_start_number option This defaults to 0 instead of 1 for consistency with the segment encoder --- libavformat/dashenc.c

Re: [FFmpeg-devel] [PATCH] dashenc: Add a segment_start_number option

2014-11-20 Thread Rodger Combs
> On Nov 20, 2014, at 02:41, Benoit Fouet wrote: > > Hi, > > - Mail original - >> From b38a1396e2335e2d0ef2619b5a3890f91c31c8a8 Mon Sep 17 00:00:00 >> 2001 >> From: Rodger Combs >> Date: Thu, 20 Nov 2014 01:47:05 -0600 >> Subject: [PATC

Re: [FFmpeg-devel] [PATCH] dashenc: Add a segment_start_number option

2014-11-20 Thread Rodger Combs
> On Nov 20, 2014, at 21:47, Rodger Combs wrote: > > >> On Nov 20, 2014, at 02:41, Benoit Fouet > <mailto:benoit.fo...@free.fr>> wrote: >> >> Hi, >> >> - Mail original - >>> From b38a1396e2335e2d0ef2619b5a3890f9

[FFmpeg-devel] [PATCH] ffmpeg: fix accurate seeking with -copyts

2014-11-23 Thread Rodger Combs
--- ffmpeg.h| 1 + ffmpeg_filter.c | 22 -- 2 files changed, 21 insertions(+), 2 deletions(-) diff --git a/ffmpeg.h b/ffmpeg.h index 1ace8be..8107fe7 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -483,6 +483,7 @@ extern int do_deinterlace; extern int do_hex_dump; extern i

Re: [FFmpeg-devel] [PATCH] ffmpeg: fix accurate seeking with -copyts

2014-11-23 Thread Rodger Combs
Fixed; now passes all FATE tests. Corrected multiple issues with the patch. Behavior between -copyts, -start_at_zero, -ss, and -t/-to might still be unexpected, but shouldn't be any different than what we have now. ___ ffmpeg-devel mailing list ffmpeg-dev

[FFmpeg-devel] [PATCH] ffmpeg: fix accurate seeking with -copyts

2014-11-23 Thread Rodger Combs
--- ffmpeg.h| 1 + ffmpeg_filter.c | 18 -- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ffmpeg.h b/ffmpeg.h index 1ace8be..8107fe7 100644 --- a/ffmpeg.h +++ b/ffmpeg.h @@ -483,6 +483,7 @@ extern int do_deinterlace; extern int do_hex_dump; extern int d

[FFmpeg-devel] [PATCH] avformat: Implement subtitle charenc guessing

2014-12-11 Thread Rodger Combs
This also moves general charenc conversion from avcodec to avformat; the version in avcodec is left, but renamed; I'm not sure if that's the optimal solution. The documentation could probably use some improvements, and a few more options could be added to ENCA. This very simply prefers libguess o

Re: [FFmpeg-devel] [PATCH] avformat: Implement subtitle charenc guessing

2014-12-13 Thread Rodger Combs
> On Dec 13, 2014, at 05:34, Nicolas George wrote: > > So, now that I have a decent connection and time, here are some comments: > > First, your patch seems to happen after the text demuxers have parsed the > text files. Therefore, this can not work for non-ASCII-compatible encodings, > such as

Re: [FFmpeg-devel] [PATCH] avformat: Implement subtitle charenc guessing

2014-12-16 Thread Rodger Combs
> On Dec 14, 2014, at 10:06, Nicolas George wrote: > > Le tridi 23 frimaire, an CCXXIII, Rodger Combs a écrit : >> I couldn't see a sensible way to do this in lavc, since the detector >> libraries generally require more than one packet to work effectively. >> L

[FFmpeg-devel] [PATCH] avformat/dashenc: fix format string generation

2015-01-21 Thread Rodger Combs
--- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index fa497fd..6e5a41b 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -276,7 +276,7 @@ static DASHTmplId dash_read_tmpl_id(const char *iden

[FFmpeg-devel] [PATCH 1/3] lavf/http: support HTTPS when listening

2015-05-02 Thread Rodger Combs
--- libavformat/http.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index acf0318..3a31a86 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -304,12 +304,15 @@ static int http_listen(URLContext *h, const char *uri,

[FFmpeg-devel] [PATCH 2/3] lavf/tls: Support Secure Transport

2015-05-02 Thread Rodger Combs
--- configure | 7 +- libavformat/tls.c | 301 ++ 2 files changed, 307 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 88e0d97..1ef2908 100755 --- a/configure +++ b/configure @@ -274,6 +274,8 @@ External library s

[FFmpeg-devel] [PATCH 3/3] lavf/tls: accept a default CA bundle at configure-time

2015-05-02 Thread Rodger Combs
--- configure | 28 libavformat/tls.c | 2 +- 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 1ef2908..5b68514 100755 --- a/configure +++ b/configure @@ -108,6 +108,7 @@ Configuration options: --disable-all

[FFmpeg-devel] [PATCH] lavf/tls: Support Secure Transport

2015-05-02 Thread Rodger Combs
--- configure | 7 +- libavformat/tls.c | 302 ++ 2 files changed, 308 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 88e0d97..1ef2908 100755 --- a/configure +++ b/configure @@ -274,6 +274,8 @@ External library s

[FFmpeg-devel] [PATCH 1/2] lavf/tls: Support Secure Transport

2015-05-20 Thread Rodger Combs
--- configure | 10 +- libavformat/tls.c | 307 ++ 2 files changed, 316 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a02fe4a..35ed82b 100755 --- a/configure +++ b/configure @@ -274,6 +274,8 @@ External library s

[FFmpeg-devel] [PATCH 2/2] lavf/tls: accept a default CA bundle at configure-time

2015-05-20 Thread Rodger Combs
--- configure | 30 +- libavformat/tls.c | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 35ed82b..651405b 100755 --- a/configure +++ b/configure @@ -108,6 +108,7 @@ Configuration options: --disable-all

[FFmpeg-devel] [PATCH 1/2] lavf/tls: Support Secure Transport

2015-05-20 Thread Rodger Combs
--- configure | 10 +- libavformat/tls.c | 307 ++ 2 files changed, 316 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a02fe4a..d4429f1 100755 --- a/configure +++ b/configure @@ -274,6 +274,8 @@ External library s

[FFmpeg-devel] [PATCH 2/2] lavf/tls: accept a default CA bundle at configure-time

2015-05-20 Thread Rodger Combs
--- configure | 30 +- libavformat/tls.c | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/configure b/configure index d4429f1..f304b6e 100755 --- a/configure +++ b/configure @@ -108,6 +108,7 @@ Configuration options: --disable-all

[FFmpeg-devel] [PATCH 1/2] lavf/tls: Support Secure Transport

2015-05-20 Thread Rodger Combs
--- configure | 10 +- libavformat/tls.c | 307 ++ 2 files changed, 316 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a02fe4a..fed69ec 100755 --- a/configure +++ b/configure @@ -274,6 +274,8 @@ External library s

[FFmpeg-devel] [PATCH 2/2] lavf/tls: accept a default CA bundle at configure-time

2015-05-20 Thread Rodger Combs
--- configure | 30 +- libavformat/tls.c | 2 +- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/configure b/configure index fed69ec..346e135 100755 --- a/configure +++ b/configure @@ -108,6 +108,7 @@ Configuration options: --disable-all

[FFmpeg-devel] [PATCH] ffmpeg: support ignoring unsupported mapped streams

2015-05-20 Thread Rodger Combs
--- ffmpeg_opt.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index a8d433e..e64c829 100644 --- a/ffmpeg_opt.c +++ b/ffmpeg_opt.c @@ -111,6 +111,7 @@ static int do_psnr= 0; static int input_sync; static int override_ffserver

[FFmpeg-devel] [PATCH] lavf/tls: Support Secure Transport

2015-05-28 Thread Rodger Combs
--- configure | 14 +- libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/avio.c| 4 +- libavformat/tls.h | 2 +- libavformat/tls_securetransport.c | 393

[FFmpeg-devel] [PATCH] lavf/tls_securetransport: add missing copyright notice

2015-05-30 Thread Rodger Combs
@@ /* + * Copyright (c) 2015 Rodger Combs + * * This file is part of FFmpeg. * * FFmpeg is free software; you can redistribute it and/or -- 2.4.1 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

[FFmpeg-devel] [PATCH] libavformat/tls_securetransport: silence uninitialized value warning

2015-05-30 Thread Rodger Combs
--- libavformat/tls_securetransport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index 9951b90..c90eab7 100644 --- a/libavformat/tls_securetransport.c +++ b/libavformat/tls_securetransport.c @@ -350

[FFmpeg-devel] [PATCH] configure: Check for SecItemImport for securetransport as well

2015-05-30 Thread Rodger Combs
This fixes the default build on iOS; eventually I should come up with a better solution for that platform. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fb7ec68..fe3d25d 100755 --- a/configure +++ b/configure @@ -5218,7 +5218,7 @@ fi

[FFmpeg-devel] [PATCH] lavf/tls: let the user specify what name to verify against

2015-06-08 Thread Rodger Combs
This can be useful for debugging, or in scenarios where the user doesn't want to use the system's DNS settings for whatever reason. --- libavformat/tls.c | 13 - libavformat/tls.h | 7 +-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/libavformat/tls.c b/libavfor

[FFmpeg-devel] [PATCH] lavf/tls_securetransport: fix SNI support when not verifying

2015-06-08 Thread Rodger Combs
--- libavformat/segment.c | 4 +++- libavformat/tls_securetransport.c | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 953140f..66e28b2 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -113,6

[FFmpeg-devel] [PATCH] lavf/tls_securetransport: fix SNI support when not verifying

2015-06-08 Thread Rodger Combs
--- libavformat/tls_securetransport.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/tls_securetransport.c b/libavformat/tls_securetransport.c index c90eab7..cdc7953 100644 --- a/libavformat/tls_securetransport.c +++ b/libavformat/tls_securetransport.c @@ -2

[FFmpeg-devel] [PATCH] lavf/segment: add an option to allow breaking on non-keyframes

2015-06-09 Thread Rodger Combs
--- libavformat/segment.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 953140f..66e28b2 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -113,6 +113,7 @@ typedef struct SegmentContext { int64_t init

[FFmpeg-devel] [PATCH] doc/muxers: document new break_non_keyframes option

2015-06-09 Thread Rodger Combs
--- doc/muxers.texi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index ddd7c7a..95cdb8f 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -1030,6 +1030,12 @@ segments to write. If this is selected, the output segment name must contain a @code{st

[FFmpeg-devel] [PATCH 1/6] lavf/brstm: add support for BFSTM files

2015-06-16 Thread Rodger Combs
--- libavcodec/utils.c | 4 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/brstm.c | 129 +++ 4 files changed, 115 insertions(+), 20 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index

[FFmpeg-devel] [PATCH 2/6] lavc/adpcm: THP: handle trailing padding

2015-06-16 Thread Rodger Combs
--- libavcodec/adpcm.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 22b5468..07ebce8 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -637,7 +637,7 @@ static int get_nb_samples(AVCodecContext *avctx, GetByteContex

[FFmpeg-devel] [PATCH 3/6] lavf/brstm: add support for seeking

2015-06-16 Thread Rodger Combs
--- libavformat/brstm.c | 17 + 1 file changed, 17 insertions(+) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 1eba943..8adffb8 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -30,6 +30,7 @@ typedef struct BRSTMDemuxContext { uint32_tcurrent_b

[FFmpeg-devel] [PATCH 5/6] ffprobe: display loop points when applicable

2015-06-16 Thread Rodger Combs
--- ffprobe.c | 4 1 file changed, 4 insertions(+) diff --git a/ffprobe.c b/ffprobe.c index 3e5324e..d54eb87 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2436,6 +2436,10 @@ static int show_format(WriterContext *w, AVFormatContext *fmt_ctx) } print_time("start_time", fmt_ctx->st

[FFmpeg-devel] [PATCH 4/6] lavf: add support for loop points

2015-06-16 Thread Rodger Combs
--- libavformat/avformat.h | 12 libavformat/options_table.h | 2 ++ libavformat/utils.c | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 719c23b..8158874 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 6/6] lavf/brstm: expose the loop point when present

2015-06-16 Thread Rodger Combs
--- libavformat/brstm.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 8adffb8..53d8da9 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -72,6 +72,7 @@ static int read_header(AVFormatContext *s) uint3

[FFmpeg-devel] [PATCH] lavf/brstm: add support for BFSTM files

2015-06-17 Thread Rodger Combs
Adds a FATE test with sample file: fate-suite/bfstm/spl-forest-day.bfstm Available at: http://puu.sh/is0XS/ac869386e6.bfstm --- Changelog| 1 + doc/general.texi | 2 + libavcodec/utils.c | 4 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 +

[FFmpeg-devel] [PATCH 01/13] lavc/adpcm: THP: handle packets with sample counts not divisible by 14

2015-06-18 Thread Rodger Combs
--- libavcodec/adpcm.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 22b5468..1b35029 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -642,9 +642,17 @@ static int get_nb_samples(AVCodecContext *avct

[FFmpeg-devel] [PATCH 02/13] lavc: add little-endian ADPCM_THP decoder

2015-06-18 Thread Rodger Combs
--- Changelog | 1 + libavcodec/adpcm.c | 21 - libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/utils.c | 1 + libavcodec/version.h| 2 +- 7 files changed, 28 insertions(+), 6 deleti

[FFmpeg-devel] [PATCH 03/13] lavf/brstm: support little-endian files (BCSTM; 3DS)

2015-06-18 Thread Rodger Combs
--- Changelog | 2 +- libavformat/brstm.c | 100 2 files changed, 63 insertions(+), 39 deletions(-) diff --git a/Changelog b/Changelog index cfe3e93..a5c6b82 100644 --- a/Changelog +++ b/Changelog @@ -3,7 +3,7 @@ releases are sorted

[FFmpeg-devel] [PATCH 06/13] lavc/adpcm: THP: fix indentation

2015-06-18 Thread Rodger Combs
--- libavcodec/adpcm.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 69ece18..94b4de1 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1451,15 +1451,15 @@ static int adpcm_decode_frame(AVCodecContext *

[FFmpeg-devel] [PATCH 04/13] lavf/brstm: allow larger block sizes

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 15e63b8..5dc1e2b 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -223,8 +223,6 @@ static int read_header(AVFormatContext *s) } b->block_size = read

[FFmpeg-devel] [PATCH 05/13] lavc/adpcm: THP: allow channel counts up to 10

2015-06-18 Thread Rodger Combs
--- libavcodec/adpcm.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 0228ce1..69ece18 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -84,7 +84,7 @@ static const int swf_index_tables[4][16] = { /* end of table

[FFmpeg-devel] [PATCH 09/13] lavf/brstm: add support for seeking

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 5743a07..b83d8d0 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -32,6 +32,7 @@ typedef struct BRSTMDemuxContext { uint32_tlas

[FFmpeg-devel] [PATCH 07/13] lavf/brstm: move bfstm var to a local

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 5dc1e2b..84c41a4 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -32,7 +32,6 @@ typedef struct BRSTMDemuxContext {

[FFmpeg-devel] [PATCH 10/13] lavf: add support for loop points

2015-06-18 Thread Rodger Combs
--- Changelog | 1 + libavformat/avformat.h | 12 libavformat/options_table.h | 2 ++ libavformat/utils.c | 2 +- libavformat/version.h | 2 +- 5 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index a5c6b82.

[FFmpeg-devel] [PATCH 11/13] ffprobe: display loop points when applicable

2015-06-18 Thread Rodger Combs
--- ffprobe.c | 4 1 file changed, 4 insertions(+) diff --git a/ffprobe.c b/ffprobe.c index 3e5324e..d54eb87 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2436,6 +2436,10 @@ static int show_format(WriterContext *w, AVFormatContext *fmt_ctx) } print_time("start_time", fmt_ctx->st

[FFmpeg-devel] [PATCH 08/13] lavf/brstm: cleanup; fix short-block demuxing

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 75 - 1 file changed, 39 insertions(+), 36 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 84c41a4..5743a07 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -30,6 +30,8 @@ typedef

[FFmpeg-devel] [PATCH 12/13] lavf/brstm: expose the loop point when present

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index b83d8d0..49f71fc 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -89,10 +89,11 @@ static int read_header(AVFormatContext *s) {

[FFmpeg-devel] [PATCH 13/13] lavf/brstm: add FATE tests for BFSTM and BCSTM files

2015-06-18 Thread Rodger Combs
--- tests/fate/demux.mak | 4 tests/ref/fate/bfstm | 1 + 2 files changed, 5 insertions(+) create mode 100644 tests/ref/fate/bfstm diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index 0eccc9b..05ce4bf 100644 --- a/tests/fate/demux.mak +++ b/tests/fate/demux.mak @@ -13,6 +13,10 @@

[FFmpeg-devel] [PATCH] lavf/brstm: allow larger block sizes

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 15e63b8..564be16 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -223,7 +223,7 @@ static int read_header(AVFormatContext *s) } b->bl

[FFmpeg-devel] [PATCH] lavf/brstm: cleanup; fix short-block demuxing

2015-06-18 Thread Rodger Combs
--- libavformat/brstm.c | 77 ++--- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index e314de7..c42e9a6 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -30,6 +30,8 @@ typedef

[FFmpeg-devel] [PATCH 02/15] lavc: add little-endian ADPCM_THP decoder

2015-06-20 Thread Rodger Combs
--- Changelog | 1 + libavcodec/adpcm.c | 21 - libavcodec/allcodecs.c | 1 + libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 7 +++ libavcodec/utils.c | 1 + libavcodec/version.h| 2 +- 7 files changed, 28 insertions(+), 6 deleti

[FFmpeg-devel] [PATCH 01/15] lavc/adpcm: THP: handle packets with sample counts not divisible by 14

2015-06-20 Thread Rodger Combs
--- libavcodec/adpcm.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 22b5468..1b35029 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -642,9 +642,17 @@ static int get_nb_samples(AVCodecContext *avct

[FFmpeg-devel] [PATCH 05/15] lavc/adpcm: THP: allow channel counts up to 10

2015-06-20 Thread Rodger Combs
--- libavcodec/adpcm.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 0228ce1..69ece18 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -84,7 +84,7 @@ static const int swf_index_tables[4][16] = { /* end of table

[FFmpeg-devel] [PATCH 03/15] lavf/brstm: support little-endian files (BCSTM; 3DS)

2015-06-20 Thread Rodger Combs
--- Changelog | 2 +- libavformat/brstm.c | 100 2 files changed, 63 insertions(+), 39 deletions(-) diff --git a/Changelog b/Changelog index cfe3e93..a5c6b82 100644 --- a/Changelog +++ b/Changelog @@ -3,7 +3,7 @@ releases are sorted

[FFmpeg-devel] [PATCH 08/15] lavf/brstm: cleanup; fix short-block demuxing

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 77 ++--- 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index e314de7..e3c6142 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -30,6 +30,8 @@ typedef

[FFmpeg-devel] [PATCH 07/15] lavf/brstm: move bfstm var to a local

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 564be16..e314de7 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -32,7 +32,6 @@ typedef struct BRSTMDemuxContext {

[FFmpeg-devel] [PATCH 04/15] lavf/brstm: allow larger block sizes

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 15e63b8..564be16 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -223,7 +223,7 @@ static int read_header(AVFormatContext *s) } b->bl

[FFmpeg-devel] [PATCH 06/15] lavc/adpcm: THP: fix indentation

2015-06-20 Thread Rodger Combs
--- libavcodec/adpcm.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 69ece18..94b4de1 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -1451,15 +1451,15 @@ static int adpcm_decode_frame(AVCodecContext *

[FFmpeg-devel] [PATCH 09/15] lavf/brstm: add support for seeking

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index e3c6142..0014b48 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -32,6 +32,7 @@ typedef struct BRSTMDemuxContext { uint32_tlas

[FFmpeg-devel] [PATCH 13/15] lavf/brstm: add FATE tests for BFSTM and BCSTM files

2015-06-20 Thread Rodger Combs
--- tests/fate/demux.mak | 4 tests/ref/fate/bfstm | 1 + 2 files changed, 5 insertions(+) create mode 100644 tests/ref/fate/bfstm diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak index 0eccc9b..05ce4bf 100644 --- a/tests/fate/demux.mak +++ b/tests/fate/demux.mak @@ -13,6 +13,10 @@

[FFmpeg-devel] [PATCH 11/15] ffprobe: display loop points when applicable

2015-06-20 Thread Rodger Combs
--- ffprobe.c | 4 1 file changed, 4 insertions(+) diff --git a/ffprobe.c b/ffprobe.c index 3e5324e..d54eb87 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2436,6 +2436,10 @@ static int show_format(WriterContext *w, AVFormatContext *fmt_ctx) } print_time("start_time", fmt_ctx->st

[FFmpeg-devel] [PATCH 15/15] lavc/adpcm: THP: don't use the ADPC/SEEK table when not seeking

2015-06-20 Thread Rodger Combs
This is almost certainly closer to how the actual Nintendo players work, and fixes some output pops in files with blank ADPC/SEEK tables (like those from brawlcustommusic). --- libavcodec/adpcm.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/libavcodec/

[FFmpeg-devel] [PATCH 14/15] lavf/brstm: handle a BFSTM endianness oddity

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 3187f0e..ac52369 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -302,7 +302,17 @@ static int read_header(AVFormatContext *s)

[FFmpeg-devel] [PATCH 10/15] lavf: add support for loop points

2015-06-20 Thread Rodger Combs
--- Changelog | 1 + libavformat/avformat.h | 12 libavformat/options_table.h | 2 ++ libavformat/utils.c | 2 +- libavformat/version.h | 2 +- 5 files changed, 17 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index a5c6b82.

[FFmpeg-devel] [PATCH 12/15] lavf/brstm: expose the loop point when present

2015-06-20 Thread Rodger Combs
--- libavformat/brstm.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 0014b48..3187f0e 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -93,6 +93,7 @@ static int read_header(AVFormatContext *s) uint3

[FFmpeg-devel] [PATCH 3/4] lavf/brstm: if the file lies about the last block's size, correct it

2015-06-23 Thread Rodger Combs
--- libavformat/brstm.c | 9 + 1 file changed, 9 insertions(+) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 62940f0..bf75d5b 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -369,6 +369,15 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt) s

[FFmpeg-devel] [PATCH 1/4] lavf/brstm: expose the loop point when present

2015-06-23 Thread Rodger Combs
--- libavformat/brstm.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libavformat/brstm.c b/libavformat/brstm.c index 1d190c9..62940f0 100644 --- a/libavformat/brstm.c +++ b/libavformat/brstm.c @@ -93,6 +93,7 @@ static int read_header(AVFormatContext *s)

<    1   2   3   4   5   6   7   8   >