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?


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

| improve this answer | |
  • 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 Oct 18 '15 at 7:20
  • 2
    It also works on ffmpeg with libx265 – aergistal Oct 19 '15 at 8:39
  • @aergistal How? Can you elaborate? – shivams Oct 19 '15 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 Oct 19 '15 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? – Parth Doshi Mar 20 '16 at 8:49

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.