Can video be streamed directly only as flv?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Can video be streamed directly only as flv?

swengineeruser
I need to stream video from a client machine and record it in the Red5 server machine. Currently it is being streamed as flv and in the Red5 server gets converted into mp4. The streams are not saved in the client machine they need to be only stored in the server.
Is flv the only format that can be used to send it to the Red5 server or is there a way to configure the client to send it to the server as mp4 or other more compressed format? Thanks a lot in advance for any advice on this regard.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can video be streamed directly only as flv?

Rajdeep Rath
If you are streaming a video to red5, you can use any of the supported codecs. Look up on the red5 GitHub page.

You can then record it to flv from there. Irrespective of the codec used - h264 + speex or h264 + aac, or Sorenson + nellymoser etc you will end up saveing into a flv container. If you need a mp4 you need to post process it.

Another neat trick is that if you have 2 or 4 streams at a time max, you can use ffmpeg to live record the stream as mp4 or anything you want while transcoding the live stream on the fly.



On Tue, Mar 13, 2018, 11:47 PM <[hidden email]> wrote:
I need to stream video from a client machine and record it in the Red5 server machine. Currently it is being streamed as flv and in the Red5 server gets converted into mp4. The streams are not saved in the client machine they need to be only stored in the server.
Is flv the only format that can be used to send it to the Red5 server or is there a way to configure the client to send it to the server as mp4 or other more compressed format? Thanks a lot in advance for any advice on this regard.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Can video be streamed directly only as flv?

swengineeruser
Thanks a lot Rajdeep. I have a lot of client computers streaming to Red5 and want to optimize the bandwidth used in the network were the Red5 server is. For instance a video can take 2 Mbps to transmit as an flv and I wonder if there is a way to transmit it using less than that. 
Regarding the option you mentioned to use ffmpeg to live record, does it mean that the video is transmitted as an mp4 instead as of flv and, therefore, it takes less bandwidth?
Thanks.


On Tuesday, March 13, 2018 at 2:47:37 PM UTC-4, Rajdeep Rath wrote:
If you are streaming a video to red5, you can use any of the supported codecs. Look up on the red5 GitHub page.

You can then record it to flv from there. Irrespective of the codec used - h264 + speex or h264 + aac, or Sorenson + nellymoser etc you will end up saveing into a flv container. If you need a mp4 you need to post process it.

Another neat trick is that if you have 2 or 4 streams at a time max, you can use ffmpeg to live record the stream as mp4 or anything you want while transcoding the live stream on the fly.



On Tue, Mar 13, 2018, 11:47 PM <<a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="Cd-qO6LFCAAJ">swengin...@...> wrote:
I need to stream video from a client machine and record it in the Red5 server machine. Currently it is being streamed as flv and in the Red5 server gets converted into mp4. The streams are not saved in the client machine they need to be only stored in the server.
Is flv the only format that can be used to send it to the Red5 server or is there a way to configure the client to send it to the server as mp4 or other more compressed format? Thanks a lot in advance for any advice on this regard.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to <a onmousedown="this.href=&#39;javascript:&#39;;return true;" onclick="this.href=&#39;javascript:&#39;;return true;" href="javascript:" target="_blank" rel="nofollow" gdf-obfuscated-mailto="Cd-qO6LFCAAJ">red5interest...@googlegroups.com.
For more options, visit <a onmousedown="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" onclick="this.href=&#39;https://groups.google.com/d/optout&#39;;return true;" href="https://groups.google.com/d/optout" target="_blank" rel="nofollow">https://groups.google.com/d/optout.

--

---
You received this message because you are subscribed to the Google Groups "red5" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.