1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00
Andreas Rheinhardt 518bbe9eac h264_mp4toannexb: Try to avoid four byte startcodes
According to the H.264 specifications, the only NAL units that need to
have four byte startcodes in H.264 Annex B format are SPS/PPS units and
units that start a new access unit. Before af7e953a, the first of these
conditions wasn't upheld as already existing in-band parameter sets
would not automatically be written with a four byte startcode, but only
when they already were at the beginning of their input packets. But it
made four byte startcodes be used too often as every unit that is written
together with a parameter set that is inserted from extradata received a
four byte startcode although a three byte start code would suffice
unless the unit itself were a parameter set.

FATE has been updated to reflect the changes. Although the patch leaves
the extradata unchanged, the size of the extradata according to the FATE
reports changes. This is due to a quirk in ff_h2645_packet_split which
is used by extract_extradata: If the input is Annex B, the first zero of
a four byte startcode is considered a part of the last unit (if any).

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2020-03-06 00:58:31 +01:00
..
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-18 22:43:58 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
amv
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2015-06-25 04:09:51 +02:00
2018-10-26 11:51:04 +01:00
ast
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
caf
2018-05-10 23:54:02 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-02-01 12:12:15 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-26 16:30:04 -04:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-08-21 02:58:13 +02:00
2016-04-13 11:37:14 -03:00
dpx
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2018-03-18 12:36:24 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-05-28 22:09:17 +02:00
2016-09-09 12:49:15 +02:00
2018-11-06 12:39:15 -03:00
2018-11-06 12:39:15 -03:00
2016-04-13 11:37:14 -03:00
2016-09-09 00:57:01 +02:00
2016-09-09 12:49:15 +02:00
2016-09-09 11:55:45 +02:00
2017-08-30 12:13:02 +02:00
2019-12-05 20:20:05 +01:00
2019-12-05 20:20:05 +01:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2019-12-05 20:20:05 +01:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2017-08-30 12:13:02 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2018-10-23 15:46:30 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-03-09 20:05:29 +01:00
2018-02-02 12:16:56 -03:00
2016-04-13 11:37:14 -03:00
2016-12-10 22:24:10 +01:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-09-04 12:05:06 +02:00
2016-09-04 20:28:29 +02:00
jv
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
m4v
2016-04-13 11:37:14 -03:00
md5
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-20 00:02:30 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2017-08-31 02:53:11 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
ptx
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
rl2
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
sha
smc
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2017-08-03 16:36:02 -03:00
2017-01-27 17:06:42 +01:00
2016-04-13 11:37:14 -03:00
2016-10-01 17:22:22 +02:00
2016-04-13 11:37:14 -03:00
thp
2016-04-13 11:37:14 -03:00
2017-05-25 14:30:04 +02:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
vb
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
vp4
2019-06-12 20:06:20 +10:00
vp7
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
w64
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
yop
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00
2016-04-13 11:37:14 -03:00