Skip to content

Commit

Permalink
Patch for non-standard HEVC in FLV no longer needed on master
Browse files Browse the repository at this point in the history
  • Loading branch information
nihil-admirari authored and github-actions[bot] committed Jan 23, 2025
1 parent 683b0a8 commit 9eb7e0a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 53 deletions.
22 changes: 10 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,24 @@ There are currently no MacOS builds. If you know how to add them to the workflow



<!--
## Patches Applied
These patches have been applied to the builds:
-->

### 1. Decoding non-standard HEVC in FLV containers

HEVC inside FLV has been [standardized](https://github.com/veovera/enhanced-rtmp/blob/8c51d437e20a9199d92f24d9950b1216e07f065f/enhanced-rtmp.pdf) by [@Veovera](https://github.com/veovera), implemented by [@T-bagwell](https://github.com/T-bagwell) and merged to FFmpeg master in [aa83654](https://github.com/FFmpeg/FFmpeg/commit/aa83654d940e7599ee641fc5d0fcd10e7decf277) and [ac5cc66](https://github.com/FFmpeg/FFmpeg/commit/ac5cc66f9e4408c45c303f6bf482ff04d7cb355e).

Chinese sites seem to continue using an old non-standard way to deliver HEVC in FLV containers. These builds of FFmpeg support the decoding of such files.

Releases older than 6.1 also supported the encoding of such non-standard files. The implementation was assembled from patches by [@xiaoxial](https://github.com/VCDP/CDN/blob/master/FFmpeg_patches/0001-Add-SVT-HEVC-FLV-support-on-FFmpeg.patch), [@runner365](https://github.com/runner365/ffmpeg_rtmp_h265/blob/5.1/flvenc.c), and [Matthieu Patou](https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/).
See [this comment](https://github.com/yt-dlp/yt-dlp/pull/5823#issuecomment-1366868753) for details.

Fixes [yt-dlp#5874](https://github.com/yt-dlp/yt-dlp/issues/5874), [FFmpeg#6389](https://trac.ffmpeg.org/ticket/6389).
## Release-only patches
Patches that have been merged in FFmpeg master, but not in FFmpeg's latest release:

### 1. Decoding non-standard HEVC in FLV containers

by [@nihil-admirari](https://github.com/nihil-admirari).
Fixes [yt-dlp#5874](https://github.com/yt-dlp/yt-dlp/issues/5874),
[FFmpeg#6389](https://trac.ffmpeg.org/ticket/6389).

<!--
## Release-only patches
Patches that have been merged in FFmpeg master, but not in FFmpeg's latest release:
-->
Merged in
[5cd49e1](https://github.com/FFmpeg/FFmpeg/commit/b76053d8bf322b197a9d07bd27bbdad14fd5bc15).



Expand Down
41 changes: 0 additions & 41 deletions patches/ffmpeg/master/0001-Nonstandard-HEVC-over-FLV.patch

This file was deleted.

0 comments on commit 9eb7e0a

Please sign in to comment.