Skip to content

add support for HEVC to rtmp.#201

Merged
30 commits merged intomasterfrom
master-hevc-ngnx-rtmp-module
May 7, 2024
Merged

add support for HEVC to rtmp.#201
30 commits merged intomasterfrom
master-hevc-ngnx-rtmp-module

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Apr 17, 2024

why this PR:

rtmp lacks support for newer codecs i.e. h265 aka HEVC.
many of existing tools (FFMpeg) and servers (YuoTube) support unofficial extension to rtmp
described in https://veovera.org/docs/enhanced/enhanced-rtmp-v1

affected modules

ngx-rtmp-mofule
ngx-rtmp-kmp-mofule
ngx-kmp-rtmp-mofule

open issues:

  1. i have problem converting a movie clip with cea (closed captions) to hevc using ffmpeg (tried also latest 7.0 - crashes due to memory corruption), so we need to check that somehow.
  2. there are 2 ways exist to pass hevc config data: hvc1 and hev1. hvc1 is used when all the related data passed out of band containing all possible video stream configurations e.g. lists of vps/sps/pps combinations . once a slice header is parsed we know vps/sps/pps currently is active. This far, the code does not do this kind of detection for hvc1 scenario (used for rtmp v1), which means that a media type changes at the real time (layer activation in terms of hevc) are not signalled. This may cause issues during transcoder if a new pps differs e.g. in resolution.
  3. check restreamer (ngx-kmp-rtmp-module) actually working

@ghost ghost merged commit bcd0e8f into master May 7, 2024
@ghost ghost deleted the master-hevc-ngnx-rtmp-module branch May 7, 2024 07:22
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants