<p>A bit old one but Google still lists it...</p>
<p>You can of course use RTSP &quot;push&quot; similar way as you'd do via FLV/RTMP. A bit less known method but also viable and supports H.265 (aka HEVC).</p>

CC BY-SA 4.0
2021-04-28T10:14:11.770Z
Thank you @Pavel. Could you elaborate a little more on how to do it? Or some references for the same?
shivams
CC BY-SA 4.0
2021-05-04T06:55:13.357Z
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](https://fftrac-bg.ffmpeg.org/wiki/StreamingGuide), tested against Wowza Streaming Engine.
Pavel Frkal
CC BY-SA 4.0
2021-04-28T07:35:09.300Z
2021-04-28T07:35:09.300Z
Pavel Frkal
<p>MPEG -TS. See <a href="https://gpac.wp.mines-telecom.fr/2013/04/26/mpeg-hevc-support-in-gpac/" rel="nofollow">here</a>:</p>

<blockquote>
  <p>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</p>
</blockquote>

CC BY-SA 3.0
2015-10-18T07:20:37.457Z
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
CC BY-SA 3.0
2015-10-19T08:39:00.213Z
It also works on `ffmpeg` with `libx265`
aergistal
CC BY-SA 3.0
2015-10-19T09:34:04.207Z
@aergistal How? Can you elaborate?
shivams
CC BY-SA 3.0
2015-10-19T09:44:24.577Z
@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
CC BY-SA 3.0
2016-03-20T08:49:03.767Z
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
CC BY-SA 4.0
2018-06-13T23:08:52.557Z
When I use `-f mpegts` Nginx RTMP didn't accept it and did not generate .m3u8 file I got `nginx 404 Not Found ` message when I use this command `ffmpeg  -re -i <input> -s 634x360   -vb 110k -c:v libx265 -preset ultrafast -c:a aac -ab 38k  -ar 44100 -f mpegts  rtmp://localhost/hls/live`
Salem F
CC BY-SA 4.0
2018-06-14T04:30:13.200Z
RTMP requires `-f flv`. `m3u8` is a playlist for HLS which does not stream over RTMP but over HTTP(S).
Gyan
CC BY-SA 3.0
2015-10-17T17:44:15.377Z
2015-10-17T17:44:15.377Z
Gyan
<p><code>flv</code> is a container which can be used to stream videos while they are being encoded. <code>flv</code> supports <code>h.264</code> codec. </p>

<p>However, <code>flv</code> doesn't support <code>hevc</code> codec. Is there any container for <code>hevc</code> which is streamable?</p>

<ffmpeg><codec><avconv>
Streamable Container for HEVC (H.265)
shivams
# Streamable Container for HEVC (H.265)

(Asked by: username_0 on 2015-10-17)

`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?

**Tags:** ffmpeg, codec, avconv


---

## 2 answers

### Answer by username_2 on 2015-10-17. Score: 4 | Accepted answer

MPEG -TS. See [here](https://gpac.wp.mines-telecom.fr/2013/04/26/mpeg-hevc-support-in-gpac/):

> 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

> **Comments:**
> **username_0**: 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 :)  
> **username_3**: It also works on `ffmpeg` with `libx265`  
> **username_0**: @username_3 How? Can you elaborate?  
> **username_3**: @username_0 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`  
> **username_4**: 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?  
> **username_5**: When I use `-f mpegts` Nginx RTMP didn't accept it and did not generate .m3u8 file I got `nginx 404 Not Found ` message when I use this command `ffmpeg  -re -i <input> -s 634x360   -vb 110k -c:v libx265 -preset ultrafast -c:a aac -ab 38k  -ar 44100 -f mpegts  rtmp://localhost/hls/live`  
> **username_2**: RTMP requires `-f flv`. `m3u8` is a playlist for HLS which does not stream over RTMP but over HTTP(S).  

---

### Answer by username_1 on 2021-04-28. Score: 1

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).

> **Comments:**
> **username_0**: Thank you @Pavel. Could you elaborate a little more on how to do it? Or some references for the same?  
> **username_1**: 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](https://fftrac-bg.ffmpeg.org/wiki/StreamingGuide), tested against Wowza Streaming Engine.  

---

