[FFmpeg-devel] [PATCH]lavf/mpeg: Allow demuxing hevc

Jan Ekström jeebjp at gmail.com
Thu Sep 27 00:18:45 EEST 2018

On Wed, Sep 26, 2018 at 11:46 PM, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> Hi!
> A HandBrake user provided a program stream with hevc, attached
> patch allows demuxing without auto-detection.
> Please comment, Carl Eugen

Verified that the identifier matches ITU-T H.222 2014/10 (and what's
in mpegts.{c,h}).

> An HEVC video stream or HEVC temporal video sub-bitstream shall be an element of an ITU-T H.222.0 |
> ISO/IEC 13818-1 program and the stream_type for this elementary stream shall be equal to 0x24.

Not sure if another part of the specification notes that this should
only be utilized in MPEG-TS, but since we also have the AVC/H.264
identifier in MPEG-PS I would guess it's OK?

In general it seems like at least a few of these identifiers are
shared between both MPEG-2 Systems formats, so we might want to merge
the matching ones into a single shared list.

Best regards,

More information about the ffmpeg-devel mailing list