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 mov_read_trun(MOVC
---
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,
MOVAto
---
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 atom
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 | 276 +
---
libavcodec/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index f78d27b..2c4ae76 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -761,6 +761,7 @@ OBJS-$(CONFIG_ISO_MEDIA) += mpeg4audio.o
mpegaudiodata.o
OBJ
Some demuxers can't handle Matroska compression, so this lets API users
check if a file uses it and determine whether those players will fail.
---
libavcodec/avcodec.h | 35 ++-
libavcodec/avpacket.c | 1 +
libavcodec/version.h | 2 +-
libavformat/ma
codec/audiotoolboxenc.c
new file mode 100644
index 000..cb53f2a
--- /dev/null
+++ b/libavcodec/audiotoolboxenc.c
@@ -0,0 +1,471 @@
+/*
+ * Audio Toolbox system codecs
+ *
+ * copyright (c) 2016 Rodger Combs
+ *
+ * This file is part of FFmpeg.
+ *
+ * FFmpeg is free software; you can redistribute it and
This series adds decoders and encoders based on OSX's AudioToolbox framework.
They may be faster than the native ones (particularly in cases where they can
be hardware-accelerated), the encoders are competitive on quality, and some
users may find them convenient from a licensing perspective.
ADPCM
ISTER_DECODER(LIBCELT, libcelt);
REGISTER_DECODER(LIBDCADEC, libdcadec)
REGISTER_ENCODER(LIBFAAC, libfaac);
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
new file mode 100644
index 000..270e07f
--- /dev/null
+++ b/libavcodec/audiotoolboxde
These macros were added in OS X 10.11, and the file compiles without warnings
on both 10.10 and 10.11 with them removed.
Thanks to mark4o on IRC for pointing out the failure and testing the patch.
---
libavcodec/videotoolboxenc.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-
---
libavformat/segment.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index dd3b092..818c0c9 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -809,7 +809,7 @@ static int seg_write_packet(AVFormatContext *s, AVPa
This reduces some code duplication, and ensures that cur_entry.last_duration is
always set.
---
libavformat/segment.c | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 818c0c9..6ad991f 100644
--- a/libavformat/segme
---
doc/muxers.texi | 5 +
libavformat/segment.c | 8 +++-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/doc/muxers.texi b/doc/muxers.texi
index f2ad7fe..700ec88 100644
--- a/doc/muxers.texi
+++ b/doc/muxers.texi
@@ -1224,6 +1224,11 @@ muxers/codecs. It is set to @co
This allows avformat_find_stream_info to finish without opening a decoder in
more cases.
Since decoders still export some information that the corresponding parsers
don't, this causes some fields to be unset in ffprobe output where the
decoder would previously have only been called in avformat_fin
> On Mar 19, 2016, at 12:34, Thilo Borgmann wrote:
>
> Am 01.03.16 um 10:49 schrieb Rodger Combs:
>> [...]
>> External library support:
>> + --disable-audiotoolbox enable AudioToolbox decoders and encoders
>> [autodetect]
>
> Do we consider platfor
Most useful for MPEG-TS. Works by having the underlying muxer configure the
bitstream filters, then moving them to our own AVStreams.
---
libavformat/segment.c | 43 ++-
1 file changed, 38 insertions(+), 5 deletions(-)
diff --git a/libavformat/segment.c b/l
This isn't necessary here, and for some reason broke only multichannel
AAC encoding when a channel layout tag was set.
---
libavcodec/audiotoolboxenc.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
---
libavcodec/audiotoolboxdec.c | 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 270e07f..1fa6f16 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@
- ADTS-formatted AAC didn't work
- Channel layouts were never exported
- Channel mappings were incorrect beyond stereo
- Channel counts weren't updated after packets were decoded
- Timestamps were exported incorrectly
---
libavcodec/audiotoolboxdec.c | 248 -
- size variables were used in a confusing way
- incorrect size var use led to channel layouts not being set properly
- channel layouts were incorrectly mapped for >2-channel AAC
- bitrates not accepted by the encoder were discarded instead of being clamped
- some minor style/indentation fixes
---
Most useful for MPEG-TS. Works by having the underlying muxer configure the
bitstream filters, then moving them to our own AVStreams.
---
libavformat/segment.c | 30 +-
1 file changed, 25 insertions(+), 5 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/se
> On Mar 24, 2016, at 06:25, Michael Niedermayer wrote:
>
> On Thu, Mar 24, 2016 at 12:54:07AM -0500, Rodger Combs wrote:
>>
>> +AudioValueRange *ranges = malloc(size);
>> +if (!ranges)
>
> is it intended to use malloc() instead of av_
- size variables were used in a confusing way
- incorrect size var use led to channel layouts not being set properly
- channel layouts were incorrectly mapped for >2-channel AAC
- bitrates not accepted by the encoder were discarded instead of being clamped
- some minor style/indentation fixes
---
> On Mar 24, 2016, at 03:55, Carl Eugen Hoyos wrote:
>
> Rodger Combs gmail.com> writes:
>
>> - Channel layouts were never exported
>> - Channel mappings were incorrect beyond stereo
>
> What happens if you don't pass a channel layout?
> Does t
> On Mar 25, 2016, at 09:45, Stefano Sabatini wrote:
>
> On date Sunday 2016-03-06 20:49:23 -0600, Rodger Combs encoded:
>> This reduces some code duplication, and ensures that cur_entry.last_duration
>> is
>> always set.
>> ---
>> libavformat/segment.c
> On Mar 25, 2016, at 10:17, Stefano Sabatini wrote:
>
> Can you describe an use case for this (and possibly add a short
> description in the log)?
This is mostly useful when writing segmented subtitles (e.g. WebVTT in HLS). If
there's a gap in the subtitles, you need empty segments between th
The build failure here is caused by the enum value not being defined, but
as long as we're on a newer SDK that has it, it's safe to use it even
when our deployment target is older. Setting the property will error, but
we're not failing on errors there.
---
libavcodec/audiotoolboxenc.c | 2 +-
1 fi
- size variables were used in a confusing way
- incorrect size var use led to channel layouts not being set properly
- channel layouts were incorrectly mapped for >2-channel AAC
- bitrates not accepted by the encoder were discarded instead of being clamped
- some minor style/indentation fixes
---
This isn't necessary here, and for some reason broke only multichannel
AAC encoding when a channel layout tag was set.
---
libavcodec/audiotoolboxenc.c | 16 +++-
1 file changed, 3 insertions(+), 13 deletions(-)
diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
- ADTS-formatted AAC didn't work
- Channel layouts were never exported
- Channel mappings were incorrect beyond stereo
- Channel counts weren't updated after packets were decoded
- Timestamps were exported incorrectly
---
libavcodec/audiotoolboxdec.c | 248 -
---
libavcodec/audiotoolboxenc.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/audiotoolboxenc.c b/libavcodec/audiotoolboxenc.c
index 22352da..2fca15b 100644
--- a/libavcodec/audiotoolboxenc.c
+++ b/libavcodec/audiotoolboxenc.c
@@ -307,6 +307,7 @@ static av_c
---
libavcodec/audiotoolboxdec.c | 35 ++-
1 file changed, 34 insertions(+), 1 deletion(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 270e07f..1fa6f16 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@
> On Mar 28, 2016, at 00:39, pon pon
> wrote:
>
> 2016-03-28 2:20 GMT+09:00 Rodger Combs :
>
>> - ADTS-formatted AAC didn't work
>> - Channel layouts were never exported
>> - Channel mappings were incorrect beyond stereo
>> - Channel count
> On Mar 27, 2016, at 21:13, crossle song wrote:
>
> Work well on iPhone 6, but on iPhone 4S iOS 9.0, return [aac_at @
> 0x1702a400] Encode error: -50, can not work
I don't have a test setup for iOS devices (nor a 4S to test on); does this case
work correctly with your patch, but not mine? W
> On Mar 30, 2016, at 04:57, pon pon
> wrote:
>
> not a regression. this have happened since the first patch.
> i use osx1095. does this issue depend on os versions? your version?
> i have attached samples. samples other than ticket #5369 are made from
> ticket #5369, using ffmpeg.
>
> if that
This is added in 10.11, so we add a #define when building against older SDKs.
The decoder actually supports 7.1-channel eac3, but since the parser only
reports 6 channels, we end up decoding the 5.1 downmix (same as the internal
decoder) for now.
---
configure| 1 +
libavcodec
- ADTS-formatted AAC didn't work
- Channel layouts were never exported
- Channel mappings were incorrect beyond stereo
- Channel counts weren't updated after packets were decoded
- Timestamps were exported incorrectly
---
libavcodec/audiotoolboxdec.c | 286 +
We now attempt to parse extradata before init when present. In MPEG audio
and (E)AC3, we wait for the first packet and parse its header (unless the
consumer provided a channel count and sample rate at init).
---
configure| 2 +
libavcodec/Makefile | 6 +-
libavcode
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
---
libavformat/avformat.h | 30 +++--
libavformat/internal.h | 10 +
libavformat/mux.c | 59 +
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
---
libavformat/avformat.h | 1 +
---
libavformat/mux.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 52dfc09..8517c5f 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -459,8 +459,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary
**optio
---
libavformat/segment.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 9527c87..2dfd232 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -626,8 +626,9 @@ static int select_reference_stream(AVFormatC
---
libavformat/segment.c | 55 ++-
1 file changed, 41 insertions(+), 14 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 2dfd232..a79b0f3 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -259,6 +259,7 @
---
libavformat/movenc.c | 63 ++--
1 file changed, 27 insertions(+), 36 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index efaac36..3146799 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5233,21 +5233,18 @
---
libavformat/dashenc.c | 51 +--
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 931d32d..dce5525 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -580,16 +580,12
---
libavformat/dashenc.c | 43 +++-
libavformat/movenc-test.c | 3 ++
libavformat/movenc.c | 100 +++---
3 files changed, 121 insertions(+), 25 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index dce552
Fixes initialization errors for some AVI files
---
libavcodec/audiotoolboxdec.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 2740648..80b1f33 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/liba
Fixes decode errors for some AVI files
---
libavcodec/audiotoolboxdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 80b1f33..31e14d4 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.
---
configure| 2 +
libavcodec/Makefile | 6 +--
libavcodec/audiotoolboxdec.c | 103 ++-
3 files changed, 86 insertions(+), 25 deletions(-)
diff --git a/configure b/configure
index 94a66d8..f8ff5ca 100755
--- a/configure
+++
---
libavcodec/audiotoolboxdec.c | 46 ++--
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 9db1ad9..2740648 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoo
This allows avformat_find_stream_info to finish without opening a decoder in
more cases.
---
libavcodec/parser.c | 12
tests/ref/seek/vsynth_lena-mpeg1 | 38 +++---
2 files changed, 31 insertions(+), 19 deletions(-)
diff --git a/libavcodec
---
libavcodec/mpegvideo_parser.c | 67 +++
1 file changed, 67 insertions(+)
diff --git a/libavcodec/mpegvideo_parser.c b/libavcodec/mpegvideo_parser.c
index 1f74bfb..92ba24a 100644
--- a/libavcodec/mpegvideo_parser.c
+++ b/libavcodec/mpegvideo_parser.c
@@
---
libavformat/segment.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index df6f4b5..1fffb7b 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -627,8 +627,9 @@ static int select_reference_stream(AVFormatC
---
libavformat/mux.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 3d8ea45..b5131f1 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -477,8 +477,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary
**optio
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
---
libavformat/avformat.h | 30 +++--
libavformat/internal.h | 10 +
libavformat/mux.c | 59 +
---
libavformat/segment.c | 55 ++-
1 file changed, 41 insertions(+), 14 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 1fffb7b..1578bdb 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -260,6 +260,7 @
---
libavformat/dashenc.c | 51 +--
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 519f9c4..0848052 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -580,16 +580,12
---
libavformat/movenc.c | 63 ++--
1 file changed, 27 insertions(+), 36 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5acb9af..1e1dc84 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5263,21 +5263,18 @
This is disabled by default when the empty_moov flag is enabled
---
libavformat/dashenc.c | 41 +++-
libavformat/movenc.c | 103 +++---
2 files changed, 119 insertions(+), 25 deletions(-)
diff --git a/libavformat/dashenc.c b/libavforma
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
---
libavformat/avformat.h | 1 +
Apr 13, 2016, at 06:28, Michael Niedermayer wrote:
>
> On Wed, Apr 13, 2016 at 03:26:03AM -0500, Rodger Combs wrote:
>> ---
>> libavcodec/mpegvideo_parser.c | 67
>> +++
>> 1 file changed, 67 insertions(+)
>
> is t
---
libavformat/mux.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index aea9095..5bc237f 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -477,8 +477,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary
**optio
---
libavformat/mux.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 33301f1..0ed0c3d 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -1054,6 +1054,16 @@ int av_interleaved_write_frame(AVFormatContext *s,
AVPacket *pkt)
---
tests/fate/aac.mak | 3 +++
tests/ref/fate/aac-autobsf-adtstoasc | 1 +
2 files changed, 4 insertions(+)
create mode 100644 tests/ref/fate/aac-autobsf-adtstoasc
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 3d64031..c71f990 100644
--- a/tests/fate/aac.mak
+++ b
---
libavformat/segment.c | 47 ---
1 file changed, 20 insertions(+), 27 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index df6f4b5..41d8e53 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -627,8 +627,9 @@ st
---
tests/fate/h264.mak | 2 ++
tests/ref/fate/h264-autobsf-mp4toannexb | 1 +
2 files changed, 3 insertions(+)
create mode 100644 tests/ref/fate/h264-autobsf-mp4toannexb
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index eb42b12..0cdfc1f 100644
--- a/tests/fate/h26
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
---
libavformat/avformat.h | 34 ++--
libavformat/internal.h | 10 +
libavformat/mux.c | 6
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
---
libavformat/avformat.h | 1 +
This is disabled by default when the empty_moov flag is enabled
---
libavformat/dashenc.c | 41 +++-
libavformat/movenc.c | 105 +++---
2 files changed, 121 insertions(+), 25 deletions(-)
diff --git a/libavformat/dashenc.c b/libavforma
---
libavformat/dashenc.c | 51 +--
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 519f9c4..0848052 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -580,16 +580,12
---
libavformat/movenc.c | 63 ++--
1 file changed, 27 insertions(+), 36 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5acb9af..1e1dc84 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5263,21 +5263,18 @
---
libavformat/segment.c | 46 +++---
1 file changed, 39 insertions(+), 7 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 41d8e53..6368f9b 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -260,6 +260,7 @@ stat
- Use the highest resolution available, rather than the first listed
- Use the first listed (often the only) frame rate, rather than forcing NTSC
- Use the first listed pixel format, rather than forcing yuv420p
- Don't log when automatically overriding the defaults
This allows the defaults to give
---
libavutil/opt.c | 9 +
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/libavutil/opt.c b/libavutil/opt.c
index eae4f75..83093e0 100644
--- a/libavutil/opt.c
+++ b/libavutil/opt.c
@@ -275,11 +275,12 @@ static int set_string_image_size(void *obj, const
AVOption *o, const c
---
libavdevice/avfoundation.m | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/libavdevice/avfoundation.m b/libavdevice/avfoundation.m
index 763e675..8132278 100644
--- a/libavdevice/avfoundation.m
+++ b/libavdevice/avfoundation.m
@@ -560,11 +560,11
---
libavcodec/audiotoolboxdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 31e14d4..58d05f8 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoolboxdec.c
@@ -414,6 +414,7 @@ static OSStatus ffat_decode_callb
---
libavcodec/audiotoolboxdec.c | 82 +---
1 file changed, 54 insertions(+), 28 deletions(-)
diff --git a/libavcodec/audiotoolboxdec.c b/libavcodec/audiotoolboxdec.c
index 58d05f8..2748e8d 100644
--- a/libavcodec/audiotoolboxdec.c
+++ b/libavcodec/audiotoo
---
libavformat/internal.h | 5 +++--
libavformat/mux.c | 32 +--
libavformat/segment.c | 6 +++--
libavformat/utils.c| 59 +-
4 files changed, 86 insertions(+), 16 deletions(-)
diff --git a/libavformat/internal.h
---
libavformat/avformat.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 02113f5..eb3dd3b 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -2863,6 +2863,7 @@ int avformat_queue_attached_pictures(AVFormatContext *s);
*
---
libavformat/mux.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 7a4cdb9..6f3bd4e 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -483,8 +483,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary
**optio
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
---
libavformat/avformat.h | 1 +
---
libavformat/segment.c | 46 +++---
1 file changed, 39 insertions(+), 7 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index d22d550..da775d6 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -260,6 +260,7 @@ stat
This is disabled by default when the empty_moov flag is enabled
---
libavformat/dashenc.c | 43 -
libavformat/movenc.c | 105 +++---
2 files changed, 123 insertions(+), 25 deletions(-)
diff --git a/libavformat/dashenc.c b/libavform
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
---
libavformat/avformat.h | 34 ++--
libavformat/internal.h | 10 +
libavformat/mux.c | 6
---
libavformat/dashenc.c | 51 +--
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 519f9c4..0848052 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -580,16 +580,12
---
tests/fate/h264.mak | 2 ++
tests/ref/fate/h264-autobsf-mp4toannexb | 1 +
2 files changed, 3 insertions(+)
create mode 100644 tests/ref/fate/h264-autobsf-mp4toannexb
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index eb42b12..0cdfc1f 100644
--- a/tests/fate/h26
---
tests/fate/aac.mak | 4
tests/ref/fate/aac-autobsf-adtstoasc | 1 +
2 files changed, 5 insertions(+)
create mode 100644 tests/ref/fate/aac-autobsf-adtstoasc
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 3d64031..f006ae0 100644
--- a/tests/fate/aac.mak
+++
---
libavformat/segment.c | 47 ---
1 file changed, 20 insertions(+), 27 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 4c6c6d4..d22d550 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -627,8 +627,9 @@ st
---
libavformat/movenc.c | 63 ++--
1 file changed, 27 insertions(+), 36 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5acb9af..1e1dc84 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5263,21 +5263,18 @
This is disabled by default when the empty_moov flag is enabled
---
libavformat/dashenc.c | 43 -
libavformat/movenc.c | 105 +++---
2 files changed, 123 insertions(+), 25 deletions(-)
diff --git a/libavformat/dashenc.c b/libavform
---
libavformat/segment.c | 29 -
1 file changed, 28 insertions(+), 1 deletion(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index d22d550..d8877f0 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -89,6 +89,7 @@ typedef struct SegmentCo
---
libavformat/segment.c | 47 ---
1 file changed, 20 insertions(+), 27 deletions(-)
diff --git a/libavformat/segment.c b/libavformat/segment.c
index 4c6c6d4..d22d550 100644
--- a/libavformat/segment.c
+++ b/libavformat/segment.c
@@ -627,8 +627,9 @@ st
---
libavformat/dashenc.c | 51 +--
1 file changed, 17 insertions(+), 34 deletions(-)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 519f9c4..0848052 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -580,16 +580,12
---
libavformat/mux.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index ea75c79..82a019e 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -484,8 +484,11 @@ int avformat_write_header(AVFormatContext *s, AVDictionary
**optio
---
tests/fate/h264.mak | 2 ++
tests/ref/fate/h264-autobsf-mp4toannexb | 1 +
2 files changed, 3 insertions(+)
create mode 100644 tests/ref/fate/h264-autobsf-mp4toannexb
diff --git a/tests/fate/h264.mak b/tests/fate/h264.mak
index eb42b12..0cdfc1f 100644
--- a/tests/fate/h26
---
libavformat/movenc.c | 63 ++--
1 file changed, 27 insertions(+), 36 deletions(-)
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 5acb9af..1e1dc84 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -5263,21 +5263,18 @
---
tests/fate/aac.mak | 4
tests/ref/fate/aac-autobsf-adtstoasc | 1 +
2 files changed, 5 insertions(+)
create mode 100644 tests/ref/fate/aac-autobsf-adtstoasc
diff --git a/tests/fate/aac.mak b/tests/fate/aac.mak
index 3d64031..f006ae0 100644
--- a/tests/fate/aac.mak
+++
This allows a consumer to run the muxer's init function without actually
writing the header, which is useful in chained muxers that support
automatic bitstream filtering.
---
libavformat/avformat.h | 34 +--
libavformat/internal.h | 10
libavformat/mux.c | 64
---
libavformat/avformat.h | 3 +++
libavformat/utils.c| 4
2 files changed, 7 insertions(+)
diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index f4b5c59..29f35f1 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -2863,8 +2863,11 @@ int avformat_queue_atta
This is mostly useful for muxers that wrap other muxers, such as dashenc
and segment. The actual duplicated bitstream filtering is largely harmless,
but delaying the header can cause problems when the muxer intended the header
to be written to a separate file.
---
libavformat/avformat.h | 1 +
201 - 300 of 732 matches
Mail list logo