how does torrent streaming works using html5? - html

I stumbled upon this site and I wonder how does it work? I mean the streaming part

I don't think it is torrent streaming. I think it is regulat file streaming. And this file downloads with a torrent client on server side.
For example you can set uterrent (it supports downloading with first parts priority) to pickup new torrents from some folder. It start download automaticly. All you need is start stream this file for user when there is enough data downloaded.

It's not html5 !
All videos are downloaded to servers using NodeJS Web technology.

Related

IP camera multicast stream on web

We are developing a project and a part of this project is showing live preview on web page. I should use multicast stream because there will be too many clients and none of them will directly connect to camera. I want to use multicast property of camera and no need to increase network traffic. I want to this very simple, I mean I want to show the stream on html img tag or something like this and give the source path (for ex : ) multicast IP address of the camera. I googled and could not find any clear solution. By the way I want to support all browsers so html img tag I prefered. I do not want to embed any video stream plugin because cross platform supporting. I need ideas or suggestion and a clear example. Thanks in advance..
There are many ways,
you can directly insert rtsp link inside your webpage using vlc plugin or Quicktime plugin, or you can make a server to read stream from the camera(may be using nodejs or gstreamer or opencv etc) and broadcast it to a http ip or send it in base64 images to webport and on the website you can read it using websockets, socket.io library

Pseudo Streaming an MP4 file

I have a few questions regarding pseudo streaming an MP4 file.
Is the entire file downloaded, eg. if I scrub 1 minute in to a 2 minute video, will only the second half be downloaded thus saving bandwidth?
Is there anyway I can check this using Chrome dev tools?
How would I go about creating a MP4 that's ready for pseudo streaming? I've read the meta data needs to be at the start of the file, how can I do this? Is there any recommended software?
1) The entire file is not downloaded.
2) You will be able to check when the file is requested via the Network panel to see if the start requests are being set.
3) Just make sure to encode using HandBrake, use the default settings and web optimized. - http://handbrake.fr/, alternatively, if you have an MP4 already and just need to move the meta data, this tool can be used - http://renaun.com/blog/2010/06/qtindexswapper-2/
Finally, you need to make sure that you actually install the mp4 pseudo streaming module for your web server, and in your JW Player embed code, set a startparam value, which is either start, startime, or apstart, depending on your web server configuration. We have a guide about this here - http://support.jwplayer.com/customer/portal/articles/1430518-pseudo-streaming-in-flash
Keep in mind, if you are using html5 , the pseudo streaming module is not needed, as html5 already does this, and the pseudo streaming module is really only for Flash.

How to record video by actionscript 3 ?

Can we record video (capture/ streaming) by actoinscript 3 ? and upload the same to server ?
Anybody have any reference link for it ?
your help will be appreciable
Thank you
Yes, there is support for recording video and surely you can send this data to the server.
There are many tutorials available, you can find them with a simple google search:
https://influxis.com/simple-as3-recorder/
https://code.google.com/p/flvrecorder/ --- has a sample
http://www.purplesquirrels.com.au/2012/12/record-and-play-back-video-with-air-for-ios-on-ipad/
and many, many others.
If you want to use free server, where to send video to, I suggest to look into Red5, it seems that it's not supported for a while now, but the latest releases are running well.
Red5: http://www.red5.org
You can capture audio and video from a webcam using Flash/ActionScript.
The encoded audio and video data is streamed (through rtmp) from the Flash client running in a browser to a media server like Red5, Wowza and AMS where it is saved in .flv, mp4 or .f4v video files.
For the exact client AS3 code see this answer.

How to read stream video from IP cam

I am trying to read the streaming from a Network IP Camera.
I can connect to the IP Camera (web server) by proprietary web interface and I can watch the video (h.264 format), but I need to read the video stream and put it in a web page that I am developing.
How can I read only the stream video ?
I think I have to authenticate in some way before read the video stream, right ? (and how ?)
Do exist some particular camera that allow me to read easily the video stream ?
Is there some plugin, applet or something that I can use in my html page ?
I know: to many question :) you can suggest me some web page that can help me.
Thank you,
Alessandro
hej allesandro,
only streaming the h.264 video data looks like a task for RTSP. There are some HTML-plugins for websites which can start a RTSP stream. Either you use one of them or you simply program your own plugin for your website. live555 is a powerful library for RTP and RTSP streaming. Try to find out if your server supports RTSP...
greetings,
jens.

Multithread http file uploads

Is it possible to multithread file uploads using http post requests (not ftp)? Are there any flash or java uploaders that take advantage of multithreaded uploads?
It is possible, and I'm sure there are several Flash and Java applets that supports it. It's just a matter of creating separate connections. Here's one of the results I found using Google:
http://www.uploadify.com/
HTML5 MultiFile uploads and this is example:
http://safron.su/playground/html5uploader/
P.S. This example is designed to load the picture.