-
Notifications
You must be signed in to change notification settings - Fork 0
MPEG HEVC Support in GPAC
The playback support is powered by the open-source OpenHEVC decoder.
All profiles should be supported, interlace is not supported yet. The support is based on the study text of HEVC file format.
MP4Box -add file.hvc -new file.mp4
Adds file.hvc (Annex B format) to the given file.
The default import format uses hvc1 storage.
MP4Box -add file.bin:FMT=HEVC -new file.mp4
FMT is used to indicate the format is HEVC, and can be omitted if the file extension is hvc, hevc or 265
MP4Box -add file.hvc:fps=50 -new file.mp4
FPS is by default 25, and should be specified most of the time as VUI timing is not yet parsed.
MP4Box -info file.mp4MP4Box -info ID file.mp4
Gives info on the file or on the track.
MP4Box –raw <trackId> file.mp4
Exports an HEVC file to annex B format.
All DASH operations from GPAC (client and MP4Box) are supported on HEVC, including bitstream switching modes using hev1. For more information on DASH, see here.
All MPEG-2 TS operations from GPAC (client and MP42TS) are supported on HEVC. MP42TS can be used to generate TS files usable for DASH or for injection in modulation chains; it can also be used to send the TS over an UDP or RTP stream in unicast or multicast mode:
./mp42ts -prog=hevc.mp4 -dst-file=test.ts
General
Overview
Usage
Language tagging
Dump TS streams
DASH
Introduction
Fragmentation
DASH Support
Key-frame alignment
DASH Sequences
HEVC Tile-based adaptation
DASH SRD and HEVC tiling
Fragmented MP4 in HLS
Encryption
Introduction
Common Encryption
ISMACryp
OMA DRM
Subtitles
Introduction
TTXT Format
EBU-TTD
Scene coding
BIFS Textual Format
XMT Format
Scene Commands
BT and XMT tips
Misc Features