2
You can display the open TV signal using a capture card and display within a web browser using HTML5 or Javascript?
Whereas I use Ubuntu.
2
You can display the open TV signal using a capture card and display within a web browser using HTML5 or Javascript?
Whereas I use Ubuntu.
4
Depends on the driver of the video card, it can. Many drivers can work in an identical way to a webcam, so both Flash and HTML5 have access.
Example of HTML5 video:
<video autoplay id="vid" style="display:none;"></video>
<canvas id="canvas" width="640" height="480" style="border:1px solid #d3d3d3;"></canvas><br>
<button onclick="snapshot()">Salvar um quadro</button>
<script type="text/javascript">
var video = document.querySelector("#vid");
var canvas = document.querySelector('#canvas');
var ctx = canvas.getContext('2d');
var localMediaStream = null;
var onCameraFail = function (e) {
console.log('A camera nao funcionou.', e);
};
function snapshot() {
if (localMediaStream) {
ctx.drawImage(video, 0, 0);
}
}
navigator.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia || navigator.msGetUserMedia;
window.URL = window.URL || window.webkitURL;
navigator.getUserMedia({video:true}, function (stream) {
video.src = window.URL.createObjectURL(stream);
localMediaStream = stream;
}, onCameraFail);
</script>
Check that the "media.navigator.enabled" option is on "about:config", on Chrome.
Example source: http://www.scottpreston.com/articles/1442.php
Know some capture card that the driver does the same as the webcam driver ?
I don’t know what’s on the market today, but a lot of them do. If not, there are some programs like Manycam and similar that redirect the most diverse video entries (including AVI) to a kind of virtual webcam.
I’m using an Avertv .. installed here on the pc only that only works with the software of this card.
2
Another option is to use software such as:
Windows Media Encoder takes the video from your card and turn it into streaming. So you can call any player in both Html5 and old html video.
But it consumes a lot of band, I with the NET 20MB I get about 4~6 people watching the 640x420 with reasonable quality, I think it was about 480kbps
Browser other questions tagged html5 browser
You are not signed in. Login or sign up in order to post.
In the case of smart TV is possible using this call, they can say?
– Alcione Ferreira