[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)

[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)

[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

[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

[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

[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) }

[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,

[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_t

[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

[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 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)

[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

[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

[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 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_t

[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

[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 =

[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

[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

[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/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

[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

[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,

[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 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 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: 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 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

[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,

[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)

[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,

[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_t

[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

[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

[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 @@

[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 @@

[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

[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] 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 @@

[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] 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 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

[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 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 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 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

[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

[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

[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

[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

[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 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,

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-16 Thread Rodger Combs
On Apr 9, 2015, at 06:55, wm4 nfx...@googlemail.com wrote: On Thu, 9 Apr 2015 06:12:53 -0500 Rodger Combs rodger.co...@gmail.com wrote: On Apr 8, 2015, at 14:25, Michael Niedermayer michae...@gmx.at wrote: On Sat, Apr 04, 2015 at 05:31:22AM -0500, Rodger Combs wrote

[FFmpeg-devel] [PATCH] lavf/mpeg: vobsub add an option to specify the .sub's URI

2015-04-13 Thread Rodger Combs
--- libavformat/mpeg.c | 52 +--- 1 file changed, 37 insertions(+), 15 deletions(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index c29291d..1c5bbed 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -26,6 +26,7 @@ #if

[FFmpeg-devel] [PATCH] lavf/http: handle case where the server returns a redirect during a seek

2015-04-12 Thread Rodger Combs
txoffer (e.g. http://tori.aoi-chan.com/ ) redirects to the same URI on your first request, and serves the actual file on the second. It's stupid, but AFAIK technically compliant. We'd previously see the server not handing back a Range header and return an error; now, instead, we see that there's a

Re: [FFmpeg-devel] [PATCH 3/3] avformat: add youtube-dl based demuxer

2015-04-09 Thread Rodger Combs
On Apr 9, 2015, at 06:08, wm4 nfx...@googlemail.com wrote: On Thu, 9 Apr 2015 00:02:50 +0200 Lukasz Marek lukasz.m.lu...@gmail.com wrote: W dniu środa, 8 kwietnia 2015 Gilles Chanteperdrix gilles.chanteperd...@xenomai.org And forgot to add my apologies for these bad patches and the

Re: [FFmpeg-devel] [PATCH 2/2] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-04-09 Thread Rodger Combs
On Apr 9, 2015, at 05:41, Stefano Sabatini stefa...@gmail.com wrote: Not sure what's the user case here. See discussion around https://ffmpeg.org/pipermail/ffmpeg-devel/2015-March/170993.html https://ffmpeg.org/pipermail/ffmpeg-devel/2015-March/170993.html [...] -- FFmpeg = Fanciful

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-09 Thread Rodger Combs
On Apr 8, 2015, at 14:25, Michael Niedermayer michae...@gmx.at wrote: On Sat, Apr 04, 2015 at 05:31:22AM -0500, Rodger Combs wrote: --- libavformat/assenc.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) do you have a testcase for this which you can

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-08 Thread Rodger Combs
On Apr 4, 2015, at 05:31, Rodger Combs rodger.co...@gmail.com wrote: --- libavformat/assenc.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/libavformat/assenc.c b/libavformat/assenc.c index 3fb9384..5222616 100644 --- a/libavformat

[FFmpeg-devel] [PATCH 1/2] lavf/assenc: style nits

2015-04-04 Thread Rodger Combs
--- libavformat/assenc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/assenc.c b/libavformat/assenc.c index 079991d..3fb9384 100644 --- a/libavformat/assenc.c +++ b/libavformat/assenc.c @@ -31,7 +31,7 @@ typedef struct DialogueLine { struct

[FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-04 Thread Rodger Combs
--- libavformat/assenc.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/libavformat/assenc.c b/libavformat/assenc.c index 3fb9384..5222616 100644 --- a/libavformat/assenc.c +++ b/libavformat/assenc.c @@ -40,6 +40,8 @@ typedef struct ASSContext {

Re: [FFmpeg-devel] [PATCH 2/2] lavf/assenc: handle extra sections after Events

2015-04-04 Thread Rodger Combs
On Apr 4, 2015, at 08:47, wm4 nfx...@googlemail.com wrote: On Sat, 4 Apr 2015 05:31:22 -0500 Rodger Combs rodger.co...@gmail.com mailto:rodger.co...@gmail.com wrote: --- libavformat/assenc.c | 28 ++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff

[FFmpeg-devel] [PATCH 1/2] lavf/segment: style nits

2015-03-30 Thread Rodger Combs
--- libavformat/segment.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 7b8fdad..69038ca 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -226,7 +226,7 @@ static int segment_start(AVFormatContext

[FFmpeg-devel] [PATCH 2/2] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-03-30 Thread Rodger Combs
This needs a fair bit of testing and review before merge. --- libavformat/segment.c | 259 ++ 1 file changed, 198 insertions(+), 61 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 69038ca..4d934a2 100644 ---

[FFmpeg-devel] [PATCH] WIP: lavf/segment: provide a virtual AVIOContext representing all the segments

2015-03-29 Thread Rodger Combs
This needs a fair bit of testing and review before merge. Re: mini: if the header does get updated at the end this would mismatch if only a subset of segments get concatenated This is one reason why I have the `seekback` option disabled by default (the other being that it avoids potential

Re: [FFmpeg-devel] [PATCH 4/4] lavf/matroskaenc: don't try to end the segment when the output isn't seekable

2015-03-29 Thread Rodger Combs
, overwriting 8 unrelated bytes, and jumping back. On Mar 29, 2015, at 11:29, Michael Niedermayer michae...@gmx.at wrote: On Sat, Mar 28, 2015 at 07:25:21PM -0600, Rodger Combs wrote: --- libavformat/matroskaenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[FFmpeg-devel] [PATCH] lavf/segment: Mark output contexts as non-seekable when applicable

2015-03-29 Thread Rodger Combs
This prevents sub-muxers from trying to seek back to the beginning of the whole stream, only to find themselves overwriting some video data in the current (often last) segment. We only do this when not writing individual header/trailers. --- libavformat/segment.c | 6 ++ 1 file changed, 6

Re: [FFmpeg-devel] [PATCH 4/4] lavf/matroskaenc: don't try to end the segment when the output isn't seekable

2015-03-29 Thread Rodger Combs
, Mar 29, 2015 at 11:54:59AM -0600, Rodger Combs wrote: In the case of most calls to end_ebml_master, the target is within the current segment, but in this case, it's in the first segment or header file, so if the context was marked as non-seekable manually (as in segment.c), avio_seek

[FFmpeg-devel] [PATCH 1/4] libavformat/segment: don't leave the list pb open when not in use

2015-03-28 Thread Rodger Combs
--- libavformat/segment.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index b65a2eb..06bc459 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -357,17 +357,17 @@ static int segment_end(AVFormatContext

[FFmpeg-devel] [PATCH 2/4] lavf/segment: Mark output contexts as non-seekable

2015-03-28 Thread Rodger Combs
This prevents sub-muxers from trying to seek back to the beginning of the whole stream, only to find themselves overwriting some video data in the current (often last) segment. --- libavformat/segment.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/segment.c

[FFmpeg-devel] [PATCH] libavformat/hls: add an option to start from a given segment in a live stream

2015-03-28 Thread Rodger Combs
--- libavformat/hls.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index af890bd..4a7d003 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -165,6 +165,7 @@ struct variant { }; typedef struct

[FFmpeg-devel] [PATCH 3/4] libavformat/segment: add an option to write the header to a separate file

2015-03-28 Thread Rodger Combs
This permits some interesting segmenting techniques with formats like Matroska, where you can concatenate the header and segments [N, nb_segments) and get a working file that starts at segment N's start time. --- libavformat/segment.c | 18 +++--- 1 file changed, 15 insertions(+), 3

[FFmpeg-devel] [PATCH 4/4] lavf/matroskaenc: don't try to end the segment when the output isn't seekable

2015-03-28 Thread Rodger Combs
--- libavformat/matroskaenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 6b2e390..c242a0e 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@ -1948,9 +1948,9 @@ static int

[FFmpeg-devel] [PATCH] wtvdec: fix integer overflow resulting in errors with large files

2015-02-20 Thread Rodger Combs
This fixes a regression in 9fbc613f0df1628e7e78bca791fa8833846f8210 --- libavformat/wtvdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/wtvdec.c b/libavformat/wtvdec.c index a752ee2..95b2312 100644 --- a/libavformat/wtvdec.c +++ b/libavformat/wtvdec.c @@

[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

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

2014-12-16 Thread Rodger Combs
On Dec 14, 2014, at 10:06, Nicolas George geo...@nsup.org 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. Looking at that doxy again, I

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

2014-12-13 Thread Rodger Combs
On Dec 13, 2014, at 05:34, Nicolas George geo...@nsup.org 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,

[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

[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

[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

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 benoit.fo...@free.fr wrote: Hi, - Mail original - From b38a1396e2335e2d0ef2619b5a3890f91c31c8a8 Mon Sep 17 00:00:00 2001 From: Rodger Combs rodger.co...@gmail.com Date: Thu, 20 Nov 2014 01:47:05 -0600 Subject: [PATCH] dashenc: Add

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 rodger.co...@gmail.com wrote: On Nov 20, 2014, at 02:41, Benoit Fouet benoit.fo...@free.fr mailto:benoit.fo...@free.fr wrote: Hi, - Mail original - From b38a1396e2335e2d0ef2619b5a3890f91c31c8a8 Mon Sep 17 00:00:00 2001 From: Rodger

[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 rodger.co...@gmail.com 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

[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 rodger.co...@gmail.com Date: Thu, 30 Oct 2014 04:33:17 -0500 Subject: [PATCH] libavformat

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

2014-10-23 Thread Rodger Combs
As mentioned in https://trac.ffmpeg.org/ticket/4054#comment:1 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

Re: [FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-22 Thread Rodger Combs
On Oct 21, 2014, at 19:19, Carl Eugen Hoyos ceho...@ag.or.at wrote: Rodger Combs rodger.combs at gmail.com writes: This fixes https://trac.ffmpeg.org/ticket/3934 but I'm not sure if there was a good reason for this to be here to begin with. Perhaps a protection against infinite

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread Rodger Combs
On Oct 21, 2014, at 21:38, Michael Niedermayer michae...@gmx.at wrote: Fixes Ticket2263 Fixes Ticket3934 Signed-off-by: Michael Niedermayer michae...@gmx.at --- libavformat/matroskadec.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [FFmpeg-devel] [PATCH] avformat/matroskadec: Fix cluster parsing loop which gathers seek information

2014-10-22 Thread Rodger Combs
On Oct 22, 2014, at 08:01, wm4 nfx...@googlemail.com wrote: On Wed, 22 Oct 2014 06:09:10 -0500 Rodger Combs rodger.co...@gmail.com wrote: On Oct 21, 2014, at 21:38, Michael Niedermayer michae...@gmx.at wrote: Fixes Ticket2263 Fixes Ticket3934 Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] PATCH: Make -copyts a tri-state

2014-10-21 Thread Rodger Combs
On Oct 20, 2014, at 20:42, Michael Niedermayer michae...@gmx.at wrote: On Mon, Oct 20, 2014 at 06:50:12PM -0500, Rodger Combs wrote: On Oct 17, 2014, at 03:19, Rodger Combs rodger.co...@gmail.com wrote: On Oct 15, 2014, at 06:00, Rodger Combs rodger.co...@gmail.com mailto:rodger.co

Re: [FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-21 Thread Rodger Combs
On Oct 19, 2014, at 23:34, Rodger Combs rodger.co...@gmail.com wrote: On Oct 17, 2014, at 17:40, Michael Niedermayer michae...@gmx.at mailto:michae...@gmx.at wrote: On Fri, Oct 17, 2014 at 03:27:49PM +0200, Michael Niedermayer wrote: On Fri, Oct 17, 2014 at 01:55:35AM -0500, Rodger

Re: [FFmpeg-devel] PATCH: Make -copyts a tri-state

2014-10-20 Thread Rodger Combs
On Oct 17, 2014, at 03:19, Rodger Combs rodger.co...@gmail.com wrote: On Oct 15, 2014, at 06:00, Rodger Combs rodger.co...@gmail.com mailto:rodger.co...@gmail.com wrote: On Oct 15, 2014, at 05:37, Nicolas George geo...@nsup.org wrote: Le quartidi 24 vendémiaire, an CCXXIII, Rodger

Re: [FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-19 Thread Rodger Combs
On Oct 17, 2014, at 17:40, Michael Niedermayer michae...@gmx.at wrote: On Fri, Oct 17, 2014 at 03:27:49PM +0200, Michael Niedermayer wrote: On Fri, Oct 17, 2014 at 01:55:35AM -0500, Rodger Combs wrote: On Oct 17, 2014, at 01:52, Rodger Combs rodger.co...@gmail.com wrote: On Oct 17

[FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-17 Thread Rodger Combs
This fixes https://trac.ffmpeg.org/ticket/3934 https://trac.ffmpeg.org/ticket/3934, but I'm not sure if there was a good reason for this to be here to begin with. Perhaps a protection against infinite recursion (though I believe EBML_MAX_DEPTH serves that purpose to some degree)?

Re: [FFmpeg-devel] [PATCH] matroskadec: execute seekheads recursively

2014-10-17 Thread Rodger Combs
On Oct 17, 2014, at 01:16, Rodger Combs rodger.co...@gmail.com wrote: This fixes https://trac.ffmpeg.org/ticket/3934 https://trac.ffmpeg.org/ticket/3934, but I'm not sure if there was a good reason for this to be here to begin with. Perhaps a protection against infinite recursion

<    2   3   4   5   6   7   8   >