I am planning to use Red5 streaming server. The documentation says it uses only RTMP - I am confused if I can stream media in formats other than flash.
Is it possible to stream MP4 / RM / AVI files through RTMP - or rather Red5 ?
Thanks !
Please take a look at the red5 google site, from there you can learn, that Red5
is able to stream not only over RTMP
but also RTMPT, RTMPS, and RTMPE
protocols, and
can stream not only FLV but also F4V,
MP4, 3GP, MP3, F4A, M4A and AAC media
formats.
For RM and AVI you must use a converter to create the appropriate streamable formats. The best way in my opinion to do so is using ffmpeg.
If you need to convert media on the fly, you can use ffmpeg from your java classes. It's easy and offers a large list of parameters 'guaranteeing' that you'll get what you need.
Related
So I am working with a community TV channel to stream their TV station in Audio only formate. I know that they currently use Adobe Flash Media Live Encoder to send a WebTV stream to a provider. What we are discussing is creating an Icecast stream of their TV broadcast.
I am wondering is there a way to take Adobe Flash Media Live Encoder stream and read metadata and send all that to an Icecast stream either using FFMPEG or other technologies?
It is possible to have FFmpeg act as an RTMP server which you could connect your encoder to:
ffmpeg -listen 1 rtmp://127.0.0.1:1935 …
However, I think you'll find it would be better to use FFmpeg in parallel, encoding from the same source. I'm going to guess that you're not using MPEG-4 and AAC audio on your Icecast stream, so it would be better to encode from the source rather than to transcode already lossy audio/video.
As for metadata, depending on your media format, you'll have to handle that out-of-band with a separate script.
I set up a nginx server and I can broadcast using rtmp. I do this by compressing it with h264, but I also need to compress it with h265. rtmp and flv do not support h265.
as a result can you offer me a server and protocol to use h265? get open source if possible.
edit:
okey should not explain the problem a little more. I can send a video to my nginx server with a client and watch this video in hls and dash.
But what I have to do is compress this video with a h265 applet with a converter like ffmpeg and then watch it or send it to another client. I couldn't find anything other than rtmp to send and receive videos.
MP4 and MKV both support H.265 video streams.
You can use DASH or HLS to stream your MP4 segments.
Can anyone suggest any open source linux program for converting .wav files to flash format for RTMP streaming? Does RTMP support any format other than flash?
Flash Media Server supports three audio formats for streaming: Nellymoser, MP3, and ACC. You also can play MP3 files directly from the Flash Player view HTTP download, you don't really need to use RTMP (which is more advantageous for video due to higher bitrate).
Here's a good article on streaming audio with FMS:
http://www.adobe.com/devnet/flashmediaserver/articles/beginner_audio_fms3.html
For conversion, you can use ffmpeg.
http://fosswire.com/post/2007/11/using-ffmpeg-to-convert-to-mp3/
You can stream via the CRTMP server to flash clients. VLC can play RTMP streams.
I need help in converting mp3 files to Apples Http Live Streaming protocol files. I am working on a music application and wants to use Live streaming in this app.
I got this link http://www.ioncannon.net/programming/452/iphone-http-streaming-with-ffmpeg-and-an-open-source-segmenter/ from google but it contains how to live stream video files.
Can anybody help me with mp3 files.
Thanks
With ffmpeg you're also able to convert mp3-files only (no video).
Just use:
ffmpeg -i yourmp3.mp3 ...your arguments... output.mp3
To add to Tim's answer, HLS supports mp3 codec. So if your audio is already in mp3, all you would need is the segmenter
I have a doubt jwplayer can read only flv files or it can read every files
With over one million active users,
the JW Playerâ„¢ is the Internet's most
popular and flexible open source media
player. It can support playback of any
format the Adobe Flash Player can
handle (FLV, MP4, MP3, AAC, JPG, PNG
and GIF).
http://www.longtailvideo.com/
EDIT
If you need to deal with any other formats, you can run the conversions server side using ffmpeg
Reference
http://www.ffmpeg.org/