Non-standard usage of HEVC in FLV as input files
I'm seeing ByteDance (Tiktok etc) rolling out HEVC-in-FLV for domestic low-latency live streams in the past month.
Their implementation followed Kingsoft's style (2017), using codecID
= 12 (0x000C
).
I see no downside allowing mkvmerge reading the video stream. You may want to warn the user about this unofficial codec ID.
- MediaInfo identifies the video stream with no problem.
- FFmpeg refused as it's not standard-compliant.
- VLC (stable) doesn't support it (yet).
Note: I made a casual binary cut. The last packets in the file may be corrupted.