[FFmpeg-devel] [PATCH 1/2] lavf/mov: fix sidx with edit lists

2016-02-22 Thread Rodger Combs
--- libavformat/mov.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 149e3b4..c5e0a1e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3609,7 +3609,7 @@ static int mov_read_trun(MOVContext *c, AVIOContext *pb, MOVAtom

[FFmpeg-devel] [PATCH 2/2] lavf/mov: downgrade sidx errors to non-fatal warnings; fixes trac #5216

2016-02-22 Thread Rodger Combs
--- libavformat/mov.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index c5e0a1e..0408ad1 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3666,7 +3666,7 @@ static int mov_read_sidx(MOVContext *c, AVIOContext *pb,

Re: [FFmpeg-devel] [PATCH] lavf/mov: add support for sidx fragment indexes

2016-02-12 Thread Rodger Combs
This issue is fixed by this patch, but I'm unsure of possible implications on other files. It passes FATE, at least. diff --git a/libavformat/mov.c b/libavformat/mov.c index 149e3b4..c5e0a1e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -3609,7 +3609,7 @@ static int

[FFmpeg-devel] [PATCH] configure: make sure check_func_headers tests work with dead code stripping

2016-01-28 Thread Rodger Combs
OSX's ld's -Wl,-dead_strip is applied before symbols are resolved, so if the check functions aren't called, they're stripped out and the test is useless. This calls the functions, so they won't be stripped. --- configure | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git

Re: [FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering

2016-01-14 Thread Rodger Combs
+++- > 1 file changed, 13 insertions(+), 9 deletions(-) > > In the spirit of commits 1b5bd4051d1e394f0429cbf6cf6c137f55857478 and > b287d7ea17f404a51eb3fdca80fa8a8b1fb7dd8b, where Rodger Combs applied > his new mechanism of automatic bitstream filter insertion to &

[FFmpeg-devel] [PATCH] lavc/mlpdec: report presence of Atmos substreams as a profile

2016-01-13 Thread Rodger Combs
--- libavcodec/avcodec.h| 2 ++ libavcodec/codec_desc.c | 1 + libavcodec/mlp_parser.c | 5 + libavcodec/mlpdec.c | 2 ++ libavcodec/profiles.c | 6 ++ libavcodec/profiles.h | 1 + 6 files changed, 17 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h

[FFmpeg-devel] [PATCH] lavc/mlpdec: report presence of Atmos substreams as a profile

2016-01-12 Thread Rodger Combs
--- libavcodec/avcodec.h| 2 ++ libavcodec/mlp_parser.c | 5 + libavcodec/mlpdec.c | 2 ++ libavcodec/profiles.c | 6 ++ libavcodec/profiles.h | 1 + 5 files changed, 16 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f365775..81f1e9a 100644 ---

[FFmpeg-devel] [PATCH] lavf/avi: pull stream durations from index, when available

2016-01-11 Thread Rodger Combs
This fixes files that have an incorrect nb_frames but a valid index --- libavformat/avidec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 3859810..0b14860 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1602,6 +1602,7 @@

[FFmpeg-devel] [PATCH 2/2] lavc/srtdec: fix rounding errors in end times

2016-01-11 Thread Rodger Combs
--- libavcodec/srtdec.c | 4 +++ tests/ref/fate/sub-textenc | 66 ++-- tests/ref/fate/sub-webvttenc | 66 ++-- 3 files changed, 70 insertions(+), 66 deletions(-) diff --git a/libavcodec/srtdec.c

[FFmpeg-devel] [PATCH 1/2] lavc/ass: don't reset end_display_time if it's already set

2016-01-11 Thread Rodger Combs
--- libavcodec/ass.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/ass.c b/libavcodec/ass.c index 336c308..797b1c1 100644 --- a/libavcodec/ass.c +++ b/libavcodec/ass.c @@ -159,7 +159,8 @@ int ff_ass_add_rect(AVSubtitle *sub, const char *dialog, if (!rects)

[FFmpeg-devel] [PATCH 1/3] lavf: add AV_DISPOSITION_TIMED_THUMBNAILS

2016-01-08 Thread Rodger Combs
--- ffprobe.c | 1 + libavformat/avformat.h | 12 +--- tests/ref/fate/concat-demuxer-extended-lavf-mxf | 2 +- tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2 +-

[FFmpeg-devel] [PATCH 2/3] lavf/mov: improve `tref/chap` chapter handling

2016-01-08 Thread Rodger Combs
3 parts: - Supports multiple chapter streams - Exports regular text chapter streams as opaque data. This prevents consumers from showing chapters as if they were regular subtitle streams. - Exports video chapter streams as thumbnails, and provides the first one as an attached_pic. ---

[FFmpeg-devel] [PATCH 3/3] lavf/mov: reindent

2016-01-08 Thread Rodger Combs
--- libavformat/mov.c | 156 +++--- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 4040cf7..42a232f 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4428,94 +4428,94 @@ static

Re: [FFmpeg-devel] [PATCH 1/3] lavf: add AV_DISPOSITION_TIMED_THUMBNAILS

2016-01-08 Thread Rodger Combs
> On Jan 8, 2016, at 18:30, Marton Balint <c...@passwd.hu> wrote: > > On Fri, 8 Jan 2016, Rodger Combs wrote: > > [...] >> diff --git a/libavformat/avformat.h b/libavformat/avformat.h >> index 95a645b..eaf6270 100644 >> --- a/libavformat/avformat.h >&g

[FFmpeg-devel] [PATCH 3/3] lavf/mov: reindent

2016-01-07 Thread Rodger Combs
--- libavformat/mov.c | 156 +++--- 1 file changed, 78 insertions(+), 78 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index cde4140..a3ca394 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4421,94 +4421,94 @@ static

[FFmpeg-devel] [PATCH 1/3] lavf: add AV_DISPOSITION_TIMED_THUMBNAILS

2016-01-07 Thread Rodger Combs
--- ffprobe.c | 1 + libavformat/avformat.h | 12 +--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ffprobe.c b/ffprobe.c index c352b44..20af969 100644 --- a/ffprobe.c +++ b/ffprobe.c @@ -2326,6 +2326,7 @@ static int show_stream(WriterContext *w,

[FFmpeg-devel] [PATCH] lavf/mov: export chapter streams as private data

2016-01-07 Thread Rodger Combs
This prevents consumers from showing chapters as if they were regular subtitle streams. --- libavformat/mov.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 78081ce..77a4a71 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -4418,6

[FFmpeg-devel] [PATCH 2/3] lavf/mov: improve `tref/chap` chapter handling

2016-01-07 Thread Rodger Combs
3 parts: - Supports multiple chapter streams - Exports regular text chapter streams as opaque data. This prevents consumers from showing chapters as if they were regular subtitle streams. - Exports video chapter streams as thumbnails, and provides the first one as an attached_pic. ---

Re: [FFmpeg-devel] [PATCH] avcodec/srtdec: Keep exact end times

2015-12-28 Thread Rodger Combs
> On Dec 3, 2015, at 03:30, Eelco Lempsink wrote: > > When converting SRT to SRT (to normalize) or WebVTT the end timestamps were > modified compared to the original. > > Fixes trac 4783. > > NOTE: The FATE test 'sub-srt' fails after this patch, because the end times of > the

[FFmpeg-devel] [PATCH] lavf/segment: add option to write empty filler segments as needed

2015-12-07 Thread Rodger Combs
--- libavformat/segment.c | 22 +++--- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/libavformat/segment.c b/libavformat/segment.c index 8432d0f..acd266b 100644 --- a/libavformat/segment.c +++ b/libavformat/segment.c @@ -113,6 +113,7 @@ typedef struct

[FFmpeg-devel] [PATCH] probe TrueHD in MPEGTS

2015-12-05 Thread Rodger Combs
--- libavformat/utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/utils.c b/libavformat/utils.c index 251b2c6..ae9ae5b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -284,6 +284,7 @@ static int set_codec_from_probe_data(AVFormatContext *s, AVStream *st,

[FFmpeg-devel] [PATCH 1/7] lavf: add API to apply a list of bsfs to a packet

2015-12-04 Thread Rodger Combs
--- libavformat/avformat.h | 11 +++ libavformat/utils.c| 49 + 2 files changed, 60 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 36f9d02..d94191e 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 2/7] ffmpeg: use lavf API for applying bitstream filters

2015-12-04 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index bf5e983..c24c8ed 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -683,47 +683,10 @@ static void

[FFmpeg-devel] [PATCH 6/7] lavf/matroskaenc: add automatic bitstream filtering

2015-12-04 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 10cf0a0..85e5d82 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 5/7] lavf: add internal API to append a bsf to a stream's list

2015-12-04 Thread Rodger Combs
--- libavformat/internal.h | 11 +++ libavformat/utils.c| 22 ++ 2 files changed, 33 insertions(+) diff --git a/libavformat/internal.h b/libavformat/internal.h index 5ed548e..dcd2971 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -467,6

[FFmpeg-devel] [PATCH 3/7] lavf/tee: use lavf API for applying bitstream filters

2015-12-04 Thread Rodger Combs
--- libavformat/tee.c | 44 +++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index af52a49..8c54d32 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -405,45 +405,6 @@ fail: return ret;

[FFmpeg-devel] [PATCH 7/7] lavf/mpegtsenc: add automatic bitstream filtering

2015-12-04 Thread Rodger Combs
--- libavformat/mpegtsenc.c | 65 ++--- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 468bad4..a8fb3a2 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -698,7

[FFmpeg-devel] [PATCH 4/7] lavf: add automatic bitstream filtering; bump version

2015-12-04 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH] ass_split: fix handling of streams with no [Events] or Format: line

2015-12-04 Thread Rodger Combs
--- libavcodec/ass_split.c | 66 -- 1 file changed, 42 insertions(+), 24 deletions(-) diff --git a/libavcodec/ass_split.c b/libavcodec/ass_split.c index 9bc7b9d..493a8fd 100644 --- a/libavcodec/ass_split.c +++ b/libavcodec/ass_split.c @@ -229,7

[FFmpeg-devel] [PATCH] lavf: add automatic bitstream filtering; bump version

2015-12-04 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH 1/7] lavf: add API to apply a list of bsfs to a packet

2015-11-30 Thread Rodger Combs
--- libavformat/avformat.h | 11 +++ libavformat/utils.c| 49 + 2 files changed, 60 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 36f9d02..d94191e 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 2/7] ffmpeg: use lavf API for applying bitstream filters

2015-11-30 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index bf5e983..c24c8ed 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -683,47 +683,10 @@ static void

[FFmpeg-devel] [PATCH 3/7] lavf/tee: use lavf API for applying bitstream filters

2015-11-30 Thread Rodger Combs
--- libavformat/tee.c | 44 +++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index af52a49..8c54d32 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -405,45 +405,6 @@ fail: return ret;

[FFmpeg-devel] [PATCH 4/7] lavf: add automatic bitstream filtering

2015-11-30 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH 5/7] lavf: add API to append a bsf to a stream's list

2015-11-30 Thread Rodger Combs
--- libavformat/internal.h | 11 +++ libavformat/utils.c| 19 +++ 2 files changed, 30 insertions(+) diff --git a/libavformat/internal.h b/libavformat/internal.h index 5ed548e..dcd2971 100644 --- a/libavformat/internal.h +++ b/libavformat/internal.h @@ -467,6 +467,17

[FFmpeg-devel] [PATCH 6/7] lavf/matroskaenc: add automatic bitstream filtering

2015-11-30 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 10cf0a0..85e5d82 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 7/7] lavf/mpegtsenc: add automatic bitstream filtering

2015-11-30 Thread Rodger Combs
--- libavformat/mpegtsenc.c | 65 ++--- 1 file changed, 35 insertions(+), 30 deletions(-) diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c index 468bad4..a8fb3a2 100644 --- a/libavformat/mpegtsenc.c +++ b/libavformat/mpegtsenc.c @@ -698,7

[FFmpeg-devel] [PATCH 1/2] lavc/ac3_parser: avoid zeroing codec parameters if we haven't parsed a frame

2015-11-25 Thread Rodger Combs
This caused issues when seeking in some unusual MPEGTS files --- libavcodec/aac_ac3_parser.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 2f7d568..6a76eb8 100644 --- a/libavcodec/aac_ac3_parser.c +++

[FFmpeg-devel] [PATCH 5/6] lavf: add API to append a bsf to a stream's list

2015-11-25 Thread Rodger Combs
--- libavformat/avformat.h | 12 libavformat/utils.c| 20 2 files changed, 32 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index bb3a674..33f6d28 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2799,6

[FFmpeg-devel] [PATCH 6/6] lavf/matroska: add automatic bitstream filtering

2015-11-25 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 10cf0a0..41aa8e0 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 2/6] ffmpeg: use lavf API for applying bitstream filters

2015-11-25 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index bf5e983..c24c8ed 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -683,47 +683,10 @@ static void

[FFmpeg-devel] [PATCH 3/6] lavf/tee: use lavf API for applying bitstream filters

2015-11-25 Thread Rodger Combs
--- libavformat/tee.c | 44 +++- 1 file changed, 3 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index af52a49..8c54d32 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -405,45 +405,6 @@ fail: return ret;

[FFmpeg-devel] [PATCH 2/2] lavc/aac_ac3_parser: reindent

2015-11-25 Thread Rodger Combs
--- libavcodec/aac_ac3_parser.c | 45 +++-- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 6a76eb8..c9ba6bf 100644 --- a/libavcodec/aac_ac3_parser.c +++

[FFmpeg-devel] [PATCH 1/2] lavc/aac_ac3_parser: avoid zeroing codec parameters if we haven't read a frame

2015-11-25 Thread Rodger Combs
This caused issues when seeking in some unusual MPEGTS files --- libavcodec/aac_ac3_parser.c | 4 1 file changed, 4 insertions(+) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 2f7d568..6a76eb8 100644 --- a/libavcodec/aac_ac3_parser.c +++

[FFmpeg-devel] [PATCH 1/6] lavf: add API to apply a list of bsfs to a packet

2015-11-25 Thread Rodger Combs
--- libavformat/avformat.h | 11 +++ libavformat/utils.c| 49 + 2 files changed, 60 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 36f9d02..d94191e 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-11-25 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH] lavc/ac3_parser: avoid zeroing codec parameters if we haven't parsed a frame

2015-11-24 Thread Rodger Combs
This caused issues when seeking in some unusual MPEGTS files --- libavcodec/aac_ac3_parser.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavcodec/aac_ac3_parser.c b/libavcodec/aac_ac3_parser.c index 2f7d568..b01d5a5 100644 --- a/libavcodec/aac_ac3_parser.c +++

[FFmpeg-devel] [PATCH 3/6] lavf/tee: use lavf API for applying bitstream filters

2015-11-18 Thread Rodger Combs
--- libavformat/tee.c | 43 ++- 1 file changed, 2 insertions(+), 41 deletions(-) diff --git a/libavformat/tee.c b/libavformat/tee.c index af52a49..c527854 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -405,45 +405,6 @@ fail: return ret; }

[FFmpeg-devel] [PATCH 2/6] ffmpeg: use lavf API for applying bitstream filters

2015-11-18 Thread Rodger Combs
--- ffmpeg.c | 46 -- ffmpeg.h | 1 - ffmpeg_opt.c | 6 +- 3 files changed, 9 insertions(+), 44 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index c4e9280..cae680d 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -683,47 +683,10 @@ static void

[FFmpeg-devel] [PATCH 1/6] lavf: add API to apply a list of bsfs to a packet

2015-11-18 Thread Rodger Combs
--- libavformat/avformat.h | 8 libavformat/utils.c| 49 + 2 files changed, 57 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 5283085..96d3cfd 100644 --- a/libavformat/avformat.h +++

[FFmpeg-devel] [PATCH 5/6] lavf: add API to append a bsf to a stream's list

2015-11-18 Thread Rodger Combs
--- libavformat/avformat.h | 9 + libavformat/utils.c| 20 2 files changed, 29 insertions(+) diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 6e9ffe2..cedcb8f 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -2776,6 +2776,15

[FFmpeg-devel] [PATCH 6/6] lavf/matroska: add automatic bitstream filtering

2015-11-18 Thread Rodger Combs
--- libavformat/matroskaenc.c | 43 +++ 1 file changed, 35 insertions(+), 8 deletions(-) diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c index 10cf0a0..41aa8e0 100644 --- a/libavformat/matroskaenc.c +++ b/libavformat/matroskaenc.c @@

[FFmpeg-devel] [PATCH 4/6] lavf: add automatic bitstream filtering

2015-11-18 Thread Rodger Combs
This solves the problem discussed in https://ffmpeg.org/pipermail/ffmpeg-devel/2015-September/179238.html by allowing AVCodec::write_header to be delayed until after packets have been run through required bitstream filters in order to generate global extradata. It also provides a mechanism by

[FFmpeg-devel] [PATCH] configure: don't let check_inline_asm override explicitly-disabled options

2015-11-10 Thread Rodger Combs
--- configure | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/configure b/configure index f770534..6063281 100755 --- a/configure +++ b/configure @@ -900,8 +900,7 @@ check_inline_asm(){ name="$1" code="$2" shift 2 -disable $name -check_cc "$@"

[FFmpeg-devel] [PATCH] configure: don't let check_inline_asm override explicitly-disabled options

2015-11-10 Thread Rodger Combs
This also prevents check_inline_asm from explicitly disabling failed tests, since otherwise you couldn't chain multiple tests with ||. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index f770534..8361b33 100755 --- a/configure +++

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

2015-11-10 Thread Rodger Combs
I'm not entirely sure why found_hdlr_mdta existed to begin with, so cc-ing Tinglin Liu (who originally wrote the patch) and Derek Buitenhuis (who signed off on it) hoping for some background. If these checks actually do have a purpose, then the `type == MKTAG('m','d','t','a')` check should be

[FFmpeg-devel] [PATCH 1/2] lavu/utils: add av_parse_iso8601_tz; use it in time parsing functions

2015-11-10 Thread Rodger Combs
--- libavformat/utils.c| 20 libavutil/parseutils.c | 43 +-- libavutil/parseutils.h | 18 +++--- 3 files changed, 68 insertions(+), 13 deletions(-) diff --git a/libavformat/utils.c b/libavformat/utils.c index

[FFmpeg-devel] [PATCH 2/2] lavf/mov: strip com.apple.quicktime prefix in meta; parse creation date

2015-11-10 Thread Rodger Combs
--- libavformat/mov.c | 16 1 file changed, 16 insertions(+) diff --git a/libavformat/mov.c b/libavformat/mov.c index 8fa0189..f4eabce 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -41,6 +41,7 @@ #include "libavutil/aes.h" #include "libavutil/sha.h" #include

[FFmpeg-devel] [PATCH] ffmpeg: fix -copy_prior_start 0 with -copyts and input -ss

2015-11-01 Thread Rodger Combs
Also rearranged the relevant check to reduce code duplication --- ffmpeg.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ffmpeg.c b/ffmpeg.c index dbb2520..526f094 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1760,7 +1760,6 @@ static void

[FFmpeg-devel] [PATCH 2/3] tools/crypto_bench: macro-ize additional algorithms

2015-10-30 Thread Rodger Combs
This also moves additional libcrypto ciphers to the new (faster) EVP API --- tools/crypto_bench.c | 544 +++ 1 file changed, 110 insertions(+), 434 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..80d5f66 100644

[FFmpeg-devel] [PATCH 3/3] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-30 Thread Rodger Combs
--- tools/crypto_bench.c | 49 + 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 80d5f66..ce61af1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@

[FFmpeg-devel] [PATCH 1/3] tools/crypto_bench: switch to OpenSSL's faster AES API

2015-10-30 Thread Rodger Combs
Before: crypto AES-128-CBC size: 1048576 runs: 1024 time: 16.224 +- 2.347 After: crypto AES-128-CBC size: 1048576 runs: 1024 time: 3.056 +- 0.366 --- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff

Re: [FFmpeg-devel] [PATCH 5/8] tools/crypto_bench: add AES-CBC modes

2015-10-29 Thread Rodger Combs
Take a look at some results; CBC is significantly slower than CTR in both libcrypto's and our AES code. There's some hardware limitation it hits. > On Oct 29, 2015, at 06:13, Nicolas George <geo...@nsup.org> wrote: > > Le septidi 7 brumaire, an CCXXIV, Rodger Combs a écrit :

[FFmpeg-devel] [PATCH 1/8] lavu/aes: test CBC functionality

2015-10-28 Thread Rodger Combs
--- libavutil/aes.c | 19 ++- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index dde15be..9096f03 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88,

[FFmpeg-devel] [PATCH 2/8] lavu/aes: add x86 AESNI optimizations

2015-10-28 Thread Rodger Combs
elutils.o \ diff --git a/libavutil/x86/aes.asm b/libavutil/x86/aes.asm new file mode 100644 index 000..2147f6b --- /dev/null +++ b/libavutil/x86/aes.asm @@ -0,0 +1,95 @@ +;* +;* Copyright (c) 2015 Rod

[FFmpeg-devel] [PATCH 3/8] checkasm: add tests for AES

2015-10-28 Thread Rodger Combs
@@ -0,0 +1,64 @@ +/* + * Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foun

[FFmpeg-devel] [PATCH 5/8] tools/crypto_bench: add AES-CBC modes

2015-10-28 Thread Rodger Combs
--- tools/crypto_bench.c | 140 +-- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..15bb5f1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@

[FFmpeg-devel] [PATCH 6/8] tools/crypto_bench: switch to OpenSSL's faster AES API

2015-10-28 Thread Rodger Combs
--- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 15bb5f1..8a468ba 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -244,6 +244,7 @@

[FFmpeg-devel] [PATCH 7/8] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-28 Thread Rodger Combs
--- tools/crypto_bench.c | 50 ++ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..b513c55 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@

[FFmpeg-devel] [PATCH 8/8] FATE: add crypto protocol test

2015-10-28 Thread Rodger Combs
--- tests/Makefile | 5 + tests/fate/avformat.mak | 1 + tests/lavf-regression.sh | 9 + tests/ref/lavf/crypto| 3 +++ 4 files changed, 18 insertions(+) create mode 100644 tests/ref/lavf/crypto diff --git a/tests/Makefile b/tests/Makefile index 7ee4a46..c501813 100644

Re: [FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-27 Thread Rodger Combs
> On Oct 26, 2015, at 15:01, James Almer <jamr...@gmail.com> wrote: > > On 10/26/2015 4:45 PM, Rodger Combs wrote: >> diff --git a/libavutil/stereo3d.h b/libavutil/stereo3d.h >> index 1135dc9..8b8aced 100644 >> --- a/libavutil/stereo3d.h >> +++ b/li

[FFmpeg-devel] [PATCH 2/2] lavf/dump + lavfi/vf_showinfo: use av_stereo3d formatting functions

2015-10-27 Thread Rodger Combs
--- libavfilter/vf_showinfo.c | 18 ++ libavformat/dump.c| 34 ++ 2 files changed, 4 insertions(+), 48 deletions(-) diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c index 5125944..9a3708c 100644 ---

[FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-26 Thread Rodger Combs
--- doc/APIchanges | 3 ++ libavutil/Makefile | 1 + libavutil/stereo3d.c | 137 +++ libavutil/stereo3d.h | 47 libavutil/version.h | 2 +- tests/fate/libavutil.mak | 4 ++ 6 files changed, 193

[FFmpeg-devel] [PATCH 10/12] tools/crypto_bench: switch to OpenSSL's faster AES API

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 15bb5f1..8a468ba 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -244,6 +244,7 @@

[FFmpeg-devel] [PATCH 11/12] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 50 ++ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..b513c55 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@

[FFmpeg-devel] [PATCH 12/12] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/fate/avformat.mak| 1 + tests/lavf-regression.sh | 8 tests/ref/lavf-fate/crypto | 3 +++ 3 files changed, 12 insertions(+) create mode 100644 tests/ref/lavf-fate/crypto diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 1d13434..21b8f8a 100644 ---

[FFmpeg-devel] [PATCH 04/12] lavu/aes: align AVAES struct members

2015-10-26 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H

[FFmpeg-devel] [PATCH 02/12] lavu/aes: move AVAES to separate internal header

2015-10-26 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 06/12] lavu/aes: add x86 AESNI optimizations

2015-10-26 Thread Rodger Combs
Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Public +;* License as published by the Free Software Foundation; either +;* ve

[FFmpeg-devel] [PATCH 05/12] lavu/aes: test CBC functionality

2015-10-26 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 4fa01ea..4b871a0 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 01/12] lavu: add AESNI CPU flag

2015-10-26 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/version.h | 2 +- libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13

[FFmpeg-devel] [PATCH 09/12] tools/crypto_bench: add AES-CBC modes

2015-10-26 Thread Rodger Combs
--- tools/crypto_bench.c | 140 +-- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..15bb5f1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@

[FFmpeg-devel] [PATCH] lavu/stereo3d: add serialization and deserialization functions

2015-10-26 Thread Rodger Combs
--- doc/APIchanges | 3 ++ libavutil/Makefile | 1 + libavutil/stereo3d.c | 137 +++ libavutil/stereo3d.h | 47 libavutil/version.h | 2 +- tests/fate/libavutil.mak | 4 ++ tests/ref/fate/stereo3d

[FFmpeg-devel] [PATCH] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/Makefile | 5 + tests/fate/avformat.mak | 1 + tests/lavf-regression.sh | 9 + tests/ref/lavf/crypto| 3 +++ 4 files changed, 18 insertions(+) create mode 100644 tests/ref/lavf/crypto diff --git a/tests/Makefile b/tests/Makefile index 7ee4a46..c501813 100644

[FFmpeg-devel] [PATCH] FATE: add crypto protocol test

2015-10-26 Thread Rodger Combs
--- tests/fate/avformat.mak| 1 + tests/lavf-regression.sh | 9 + tests/ref/lavf-fate/crypto | 3 +++ 3 files changed, 13 insertions(+) create mode 100644 tests/ref/lavf-fate/crypto diff --git a/tests/fate/avformat.mak b/tests/fate/avformat.mak index 1d13434..21b8f8a 100644 ---

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

2015-10-22 Thread Rodger Combs
This allows the use of muxers like matroska, which attempt to seek even when an AVIOContext doesn't set `seekable`, without concern for a rouge seek leading the muxer to overwrite the wrong data in a later segment. --- doc/muxers.texi | 17 libavformat/segment.c | 263

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

2015-10-22 Thread Rodger Combs
This allows the use of muxers like matroska, which attempt to seek even when an AVIOContext doesn't set `seekable`, without concern for a rouge seek leading the muxer to overwrite the wrong data in a later segment. --- doc/muxers.texi | 17 libavformat/segment.c | 262

Re: [FFmpeg-devel] [PATCH 10/10] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-19 Thread Rodger Combs
> On Oct 14, 2015, at 09:15, Nicolas George <geo...@nsup.org> wrote: > > Le primidi 21 vendémiaire, an CCXXIV, Rodger Combs a écrit : >> --- >> tools/crypto_bench.c | 51 +++ >> 1 file changed, 43 insertions(+),

[FFmpeg-devel] [PATCH 11/11] tools/crypto_bench: add support for multiple lavu versions by cpuflag

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 50 ++ 1 file changed, 42 insertions(+), 8 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 8a468ba..b513c55 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -32,6 +32,7 @@

[FFmpeg-devel] [PATCH 10/11] tools/crypto_bench: switch to OpenSSL's new AES API

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 85 +--- 1 file changed, 47 insertions(+), 38 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index 15bb5f1..8a468ba 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -244,6 +244,7 @@

[FFmpeg-devel] [PATCH 07/11] checkasm: add tests for AES

2015-10-19 Thread Rodger Combs
@@ -0,0 +1,57 @@ +/* + * Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> + * + * This file is part of FFmpeg. + * + * FFmpeg is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foun

[FFmpeg-devel] [PATCH 08/11] tools/crypto_bench: add AES-192 and AES-256

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 82 1 file changed, 82 insertions(+) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index b3b24a6..ad20f95 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -118,6 +118,24 @@ static void

[FFmpeg-devel] [PATCH 09/11] tools/crypto_bench: add AES-CBC modes

2015-10-19 Thread Rodger Combs
--- tools/crypto_bench.c | 140 +-- 1 file changed, 137 insertions(+), 3 deletions(-) diff --git a/tools/crypto_bench.c b/tools/crypto_bench.c index ad20f95..15bb5f1 100644 --- a/tools/crypto_bench.c +++ b/tools/crypto_bench.c @@ -52,6 +52,7 @@

[FFmpeg-devel] [PATCH 01/11] lavu: add AESNI CPU flag

2015-10-19 Thread Rodger Combs
--- configure | 4 doc/APIchanges| 3 +++ libavutil/cpu.c | 4 libavutil/cpu.h | 1 + libavutil/x86/cpu.c | 2 ++ libavutil/x86/cpu.h | 3 +++ libavutil/x86/x86inc.asm | 13 +++-- tests/checkasm/checkasm.c | 1 +

[FFmpeg-devel] [PATCH 04/11] lavu/aes: align AVAES struct members

2015-10-19 Thread Rodger Combs
--- libavutil/aes_internal.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h index e5bf4bd..4944258 100644 --- a/libavutil/aes_internal.h +++ b/libavutil/aes_internal.h @@ -21,6 +21,7 @@ #ifndef AVUTIL_AES_INTERNAL_H

[FFmpeg-devel] [PATCH 06/11] lavu/aes: add x86 AESNI optimizations

2015-10-19 Thread Rodger Combs
Copyright (c) 2015 Rodger Combs <rodger.co...@gmail.com> +;* +;* This file is part of FFmpeg. +;* +;* FFmpeg is free software; you can redistribute it and/or +;* modify it under the terms of the GNU Lesser General Public +;* License as published by the Free Software Foundation; either +;* ve

[FFmpeg-devel] [PATCH 05/11] lavu/aes: test CBC functionality

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 4fa01ea..4b871a0 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@ -280,7 +280,7 @@ int main(int argc, char **argv) { 0x10, 0xa5, 0x88, 0x69,

[FFmpeg-devel] [PATCH 02/11] lavu/aes: move AVAES to separate internal header

2015-10-19 Thread Rodger Combs
rounds; -} AVAES; - const int av_aes_size= sizeof(AVAES); struct AVAES *av_aes_alloc(void) diff --git a/libavutil/aes_internal.h b/libavutil/aes_internal.h new file mode 100644 index 000..e2841ef --- /dev/null +++ b/libavutil/aes_internal.h @@ -0,0 +1,41 @@ +/* + * copyright (c) 2015 Rodge

[FFmpeg-devel] [PATCH 03/11] lavu/aes: add runtime dispatch for crypt function

2015-10-19 Thread Rodger Combs
--- libavutil/aes.c | 47 +++ libavutil/aes_internal.h | 1 + 2 files changed, 32 insertions(+), 16 deletions(-) diff --git a/libavutil/aes.c b/libavutil/aes.c index 61e9dd1..4fa01ea 100644 --- a/libavutil/aes.c +++ b/libavutil/aes.c @@

[FFmpeg-devel] [PATCH] lavf/http: fix incorrect warning in range requests

2015-10-18 Thread Rodger Combs
--- libavformat/http.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libavformat/http.c b/libavformat/http.c index 075dda7..9b5346c 100644 --- a/libavformat/http.c +++ b/libavformat/http.c @@ -1155,15 +1155,16 @@ static int http_buf_read(URLContext *h, uint8_t *buf,

<    1   2   3   4   5   6   7   8   >