flv is a container which can be used to stream videos while they are being encoded. flv supports h.264 codec.

However, flv doesn't support hevc codec. Is there any container for hevc which is streamable?

2 Answers 2


MPEG -TS. 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

  • I was not aware of GPAC. Will have to look into it. Let's see if this works. I'll update after trying it out. Thanks :)
    – shivams
    Commented Oct 18, 2015 at 7:20
  • 2
    It also works on ffmpeg with libx265
    – aergistal
    Commented Oct 19, 2015 at 8:39
  • @aergistal How? Can you elaborate?
    – shivams
    Commented Oct 19, 2015 at 9:34
  • 2
    @shivams Eg: ffmpeg -re -i <input> -c:v libx265 -c:a ... -f mpegts udp://... You can also output it in HLS: ffmpeg -re -i <input> -c:v libx265 -c:a ... playlist.m3u8
    – aergistal
    Commented Oct 19, 2015 at 9:44
  • apart from mpegts , what are other formats are supported. I want to stream video to an rtmp URL using h265. So do I have flv as the only option or are there any options that I can use for libx265? Commented Mar 20, 2016 at 8:49

A bit old one but Google still lists it...

You can of course use RTSP "push" similar way as you'd do via FLV/RTMP. A bit less known method but also viable and supports H.265 (aka HEVC).

  • Thank you @Pavel. Could you elaborate a little more on how to do it? Or some references for the same?
    – shivams
    Commented Apr 28, 2021 at 10:14
  • Short and self-explanatory example would be: ffmpeg -i input -f rtsp -rtsp_transport tcp rtsp://localhost:8888/live.sdp - taken from FFmpeg official Streaming Guide, tested against Wowza Streaming Engine. Commented May 4, 2021 at 6:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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