Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-28T10:14:11.770Z
Answers.Text: Thank you @Pavel. Could you elaborate a little more on how to do it? Or some references for the same?
Answers.UserDisplayName: shivams
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-05-04T06:55:13.357Z
Answers.Text: 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.
Answers.UserDisplayName: Pavel Frkal
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2021-04-28T07:35:09.300Z
Answers.LastActivityDate: 2021-04-28T07:35:09.300Z
Answers.UserDisplayName: Pavel Frkal
Answers.Body: <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>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-18T07:20:37.457Z
Answers.Text: 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 :)
Answers.UserDisplayName: shivams
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-19T08:39:00.213Z
Answers.Text: It also works on `ffmpeg` with `libx265`
Answers.UserDisplayName: aergistal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-19T09:34:04.207Z
Answers.Text: @aergistal How? Can you elaborate?
Answers.UserDisplayName: shivams
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-19T09:44:24.577Z
Answers.Text: @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`
Answers.UserDisplayName: aergistal
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-03-20T08:49:03.767Z
Answers.Text: 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?
Answers.UserDisplayName: Parth Doshi
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-13T23:08:52.557Z
Answers.Text: 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`
Answers.UserDisplayName: Salem F
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-06-14T04:30:13.200Z
Answers.Text: RTMP requires `-f flv`. `m3u8` is a playlist for HLS which does not stream over RTMP but over HTTP(S).
Answers.UserDisplayName: Gyan
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-17T17:44:15.377Z
Answers.LastActivityDate: 2015-10-17T17:44:15.377Z
Answers.UserDisplayName: Gyan
Body: <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>
  
Tags: <ffmpeg><codec><avconv>
Title: Streamable Container for HEVC (H.265)
UserDisplayName: shivams
ThreadText: # 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 @username_1. 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.  
  
  ---
  
  