New npapi-vlc plugin, html and video/audio capture problem
Posted: 24 Feb 2012 17:38
When trying to display a video/audio capture device through npapi-vlc plugin in a chromium-browser only the video is displayed. The following html code is used. Any suggestions on how to get the alsa device into play would be appreciated (tested with vlc 1.1.12 and vlc 2.0.1). Arguments have been found OK when running vlc standalone (v. 1.1.12).
input-slave have been tested both with -- and : argument prefix.
Any suggestions would be appreciated!
input-slave have been tested both with -- and : argument prefix.
Any suggestions would be appreciated!
Code: Select all
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset=utf-8>
<title>VLC video capture test with Chromoium browser</title>
</head>
<body>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="720"
height="576"
id="vlc"
mute="false"
allowfullscreen="false"
toolbar="false"
target="v4l2:///dev/video0:width=720:height=576 --input-slave=alsa://hw:2,0">
</embed>
<script language="Javascript">
<!--
var vlc = document.getElementById("vlc");
vlc.video.deinterlace.enable("blend"):
//!-->
</script>
</body>
</html>