Based on an FFmpeg patch by Michael Niedermayer
---
libavformat/mov.c | 17 -
1 file changed, 12 insertions(+), 5 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 8ff6022..e56b8e9 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
mov_finalize_stsd_codec parses stream information from the ALAC extradata,
so run it after the extradata processing is completed in mov_read_stsd.
Fixes playback of 96kHz ALAC streams muxed by qaac or the reference alac
encoder.
Adapted from an FFmpeg patch by Hendrik Leppkes
Based on an FFmpeg patch by Michael Niedermayer
---
libavformat/mov.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index bf68fbd..8ff6022 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1875,6 +1875,11 @@ static
On 29/07/17 23:12, Hendrik Leppkes wrote:
> On Sat, Jun 24, 2017 at 5:48 PM, Diego Biurrun wrote:
>> On Sat, Jun 24, 2017 at 11:56:07AM -0300, James Almer wrote:
>>> On 6/23/2017 8:39 PM, Mark Thompson wrote:
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@
On Sat, Jun 24, 2017 at 5:48 PM, Diego Biurrun wrote:
> On Sat, Jun 24, 2017 at 11:56:07AM -0300, James Almer wrote:
>> On 6/23/2017 8:39 PM, Mark Thompson wrote:
>> > --- a/libavcodec/h264.h
>> > +++ b/libavcodec/h264.h
>> > @@ -44,4 +44,49 @@ enum {
>> > +
>> > +enum {
>>
>>
Replaced with more complete implementation via coded bitstream infrastructure.
---
libavcodec/hevc_ps.h | 3 --
libavcodec/hevc_ps_enc.c | 118 ---
2 files changed, 121 deletions(-)
delete mode 100644 libavcodec/hevc_ps_enc.c
diff --git
Supports all streams that the coded bitstream infrastructure does
(currently H.264, H.265 and MPEG-2).
---
* Header now contains all of pts, dts, size and packet flags.
doc/bitstream_filters.texi | 8 +++
libavcodec/Makefile| 2 +
libavcodec/bitstream_filters.c | 1 +
This copies more information which should be present from the SPS.
It also fixes the value of vps_temporal_id_nesting_flag, which was
previously incorrect for a single-layer stream (the standard states
that it must be 1, and the reference decoder barfs if it isn't).
---
Tested on Linux / Skylake.
Adds a new private option to enable them (off by default).
---
libavcodec/vaapi_encode_h264.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index 8d9b1c6f7..ff73922ab 100644
---
---
libavcodec/vaapi_encode_mpeg2.c | 670 +++-
1 file changed, 462 insertions(+), 208 deletions(-)
diff --git a/libavcodec/vaapi_encode_mpeg2.c b/libavcodec/vaapi_encode_mpeg2.c
index 634178521..67ac9d25a 100644
--- a/libavcodec/vaapi_encode_mpeg2.c
+++
Mainly minor updates.
Significant additions:
* H.265 metadata bitstream filter
* H.265 in VAAPI is generally improved - more metadata, AUDs are added.
* The VPS writing code in qsvenc is replaced, and the old code removed.
* Use of anonymous unions removed.
Thanks,
- Mark
Also improves the metadata and generally makes the configuration
a bit cleaner.
---
* Improved frame typing - now supports I frames as CRA.
libavcodec/Makefile|2 +-
libavcodec/vaapi_encode_h265.c | 1544 +++-
libavcodec/vaapi_encode_h26x.c |
---
libavcodec/cbs.c | 656 ++
libavcodec/cbs.h | 274 +++
libavcodec/cbs_internal.h | 99 +++
3 files changed, 1029 insertions(+)
create mode 100644 libavcodec/cbs.c
create mode 100644 libavcodec/cbs.h
create
Matching the H.264 encoder.
---
libavcodec/vaapi_encode_h265.c | 39 +++
1 file changed, 39 insertions(+)
diff --git a/libavcodec/vaapi_encode_h265.c b/libavcodec/vaapi_encode_h265.c
index 2059a8f41..90f478fd7 100644
--- a/libavcodec/vaapi_encode_h265.c
+++
---
libavcodec/Makefile|2 +-
libavcodec/vaapi_encode_h264.c | 1421
2 files changed, 548 insertions(+), 875 deletions(-)
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 0d8d5eb44..d1fd6fae2 100644
--- a/libavcodec/Makefile
This is able to modify some header metadata found in the VPS/SPS/VUI,
and can also add/remove AUDs.
---
doc/bitstream_filters.texi | 54 ++
libavcodec/Makefile| 2 +
libavcodec/bitstream_filters.c | 1 +
libavcodec/h265_metadata_bsf.c | 429
---
libavcodec/cbs.c | 1 +
libavcodec/cbs_internal.h | 1 +
libavcodec/cbs_mpeg2.c| 355 ++
libavcodec/cbs_mpeg2.h| 208 +
libavcodec/cbs_mpeg2_syntax.c | 340
---
libavcodec/cbs.c |1 +
libavcodec/cbs_h264.h| 427 +++
libavcodec/cbs_h2645.c | 800 +++
libavcodec/cbs_h2645.h | 43 ++
libavcodec/cbs_h264_syntax.c | 1230 ++
---
* NAL unit header extracted to a separate structure.
* VPS no longer required (for patch 18).
* Inferred prediction weights fixed.
libavcodec/cbs.c |1 +
libavcodec/cbs_h2645.c | 410 +++-
libavcodec/cbs_h265.h| 537 +++
This applies a specific fixup to some Bluray streams which contain
redundant PPSs modifying irrelevant parameters of the stream which
confuse other transformations which require correct extradata.
A new single global PPS is created, and all of the redundant PPSs
within the stream are removed.
---
Included by default with non-IDR intra frames.
---
libavcodec/vaapi_encode_h264.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/libavcodec/vaapi_encode_h264.c b/libavcodec/vaapi_encode_h264.c
index ff73922ab..d10ecfd7b 100644
---
This is able to modify some header metadata found in the SPS/VUI,
and can also add/remove AUDs and insert user data in SEI NAL units.
---
* Adds cropping parameters.
* SEI user data insert code improved as suggested by Jun Zhao.
doc/bitstream_filters.texi | 57 +
libavcodec/Makefile
This would overflow if the stream contained a value greater than the
maximum allowed by the standard (32).
---
libavcodec/hevc_ps.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 74906fd71..2603e6d99 100644
--- a/libavcodec/hevc_ps.c
Add comments to describe the sources of the constraint values expressed here,
and add some more related values which will be used in following patches.
Fix the incorrect values for SPS and PPS count (they are not the same as those
used for H.264), and remove HEVC_MAX_CU_SIZE because it is not
With comments describing the derivation of each value.
---
libavcodec/h264.h | 45 +
1 file changed, 45 insertions(+)
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index eb3805c06..aa137b5b5 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
25 matches
Mail list logo