Using jwplayer with html5 users can watch videos online..
just put the source where the video file is located,, and the users can play the video that easy..
i also tried to put a live stream source, as i remember it is rts://sampledomain.com/video.mp4,
then jwplayer easily play that mp4 file..
my question is
how can i host this kind of file "rts://sampledomain.com/video.mp4" using my web camera or hypercam3 as my video recorder.. and send it to jwplayer so the users can play live stream in the browser using jwplayer..
any hint are appreciated, but thank you very much for step by step tutorials..
You must use a mediastreamer.
Many solution exists. You can use program as vlc or mplayer to create the stream, or prefer a solution as RED5 (http://doc.ubuntu-fr.org/red5), available for most of linux distribution.
Hope it helps.
Related
I need to display a live camera on a webpage, and this camera uses rstp protocol. I've just found out that browsers do not support rtsp protocol, so I need to create a nodeJS server to serve to the client(react) in order to make it work. I came across multiple information articles on the internet but nothing seems to work properly.
How can I accomplish this mission?
I too was researching on the same thing. What I found out was that we can convert our RTSP URL to HLS using FFMPEG and pass the HLS master file (.m3u8) to video tag in HTML to stream.
Let me know if it helps.
Example:
<video id="video-player" controls preload="none"><source src="/output-directory/index.m3u8" type="application/x-mpegURL"></video>
I am trying to play live streaming videos in html5. I have tried red5 server to subscribe the video and it worked well. but the problem is, It is playing using flash in browser. I want to play the video in html5 video tag without using flash support.
Note: Live streaming format is flv.
Can anyone guide me with the best option to do this?
Thanks in advance.
You can use alternatives for flash player using third party player such as JW player, SublimeVideo, VideoJS, etc.
I would also look into html5_rtsp_player if you are looking for non http based protocol. (https://github.com/Streamedian/html5_rtsp_player)
Since HTML5 video does not support .flv at this time (or probably ever), you should use a post-processor (if recording to flv on Red5) to convert to .mp4 using ffmpeg. This will alleviate the unsupported container issue.
I read some examples to upload videos (from the user's disk) to yotube, using an AS3 app.
http://gdata-samples.googlecode.com/svn/trunk/gdata/YouTubeApi/YouTubeApi.mxml
I need to publish (into my youtube channel) a video generated with AS3, using the user's webcam.
¿Some example or idea?
Thanks.
https://developers.google.com/youtube/v3/
Everything you need is there, good luck !
Is there any way to customize flex video player as gapless video player with common time line.
Any idea.
Any web link or code sample would be appreciated.
It can be easily achieved using RTMP streaming server if available,
see this sample http://flowplayer.org/plugins/streaming/rtmp.html#combining-streams
download the source code for this plugin and check how it's done using netstream,
here is the link: http://releases.flowplayer.org/flowplayer.rtmp/flowplayer.rtmp-3.2.10-src.zip
Regards,
I am trying to embed video files (wmv, mpg, avi, mov, etc.) dynamically by creating embed elements in javascript. The problem I am running in to is this has not been very reliable across all browsers and even if it does work, there is no guarantee that the end user has the required plugin to play the video. Ideally, I would convert everything to flv or an HTML5 video format but this is not currently possible due to cpu/disk space restrictions (these are videos uploaded by the end user, not me). I feel like this shouldn't be as difficult as it has presented itself to be - does anyone have any suggestions?
To the day VLC release a browser plug-in, the best way is to convert them to .FLV or .MP4 files server side. And use a free Flash video player for the playback (I mean HTML5 with Flash fallback).
If you do not want to convert those videos, let the end user directly download the files. And deal with the problem of multiple video format himself.
edit:
Or you could move your website out of the HTML browser, and build a desktop software, that can take charge of all those videos format, client side.
edit2:
Use Youtube API or any other already existing video hosting services. Personally I will avoid this solution.
The only way to do it reliably is with flash. Use ffmpeg to convert incoming videos to .FLV and use a flash player.