From 8b26306294ffe78cc73357e2ddd56dd463db50ab Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Thu, 4 May 2017 23:10:19 +0100 Subject: lavc: Add h264_redundant_pps bitstream filter This applies a specific fixup to some Blu-ray 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. (cherry picked from commit e6874bc3af2f09af39b5d91b9c5f9ded67459696) --- doc/bitstream_filters.texi | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'doc/bitstream_filters.texi') diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index f7dfa1f753..0e116a9c09 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -174,6 +174,15 @@ ffmpeg -i INPUT.mp4 -codec copy -bsf:v h264_mp4toannexb OUTPUT.ts Please note that this filter is auto-inserted for MPEG-TS (muxer @code{mpegts}) and raw H.264 (muxer @code{h264}) output formats. +@section h264_redundant_pps + +This applies a specific fixup to some Blu-ray 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. + @section hevc_mp4toannexb Convert an HEVC/H.265 bitstream from length prefixed mode to start code -- cgit v1.2.3