0

We want to try H.265 encoded video stream, but the video cloud server vendor we are using only provides RTMP+FLV uploading port. I have made some search works, and it seems FLV do not officially support H.265 video stream. However the server vendor claim to support H.265, and asked us to modify codec ID to 12.

So I want to know that:

  • What is codec ID? Is it an FLV-specific marker to identify various stream formats?
  • Is it possible to unofficially support H.265 being wrapped in FLV?
  • We are using ffmpeg for streaming, is it possible to do that using ffmpeg?
4

What is codec ID? Is it an FLV-specific marker to identify various stream formats?

Yes. Read the FLV file specification for more info and see page 8 for the video data part of the bitstream format.

Is it possible to unofficially support H.265 being wrapped in FLV?

Yes, but it's not defined by Adobe, hence, compatibility will suffer – the FLV format is not as extensible as ISOBMFF. It's also unlikely that with the death of Flash-based streaming and the surrounding technologies, H.265 support will be officially added. But I don't know much about Adobe's plans there.

We are using ffmpeg for streaming, is it possible to do that using ffmpeg?

No. There was a request to support HEVC/H.265 in FLV, with a somewhat spammy touch to it. Apparently the requirements for streaming (and CDN architectures) in China are somewhat different from what the rest of the industry is shifting to (HLS or DASH streaming over HTTP). But the bottom line is that FFmpeg will not add support for custom, non-standardized extensions.

  • 2
    I remember that ticket. "Let's annoy the developers as much as we can by spamming the ticket." A prime example of how not to ask for a new feature. – llogan Sep 11 '17 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.