moin,
nachdem es mir nun dank barf und gmo18t möglich ist mein wunsch-image selbst zu bauen, fehlt mir nur noch eine sache: der live-view im y-web funktioniert noch nicht, d.h. es erscheint weder bild noch ton im browser. weiss jemand, was da noch fehlt?
newmake und ylive-view
-
- Interessierter
- Beiträge: 27
- Registriert: Freitag 24. Oktober 2003, 09:08
-
- Tuxboxer
- Beiträge: 4332
- Registriert: Dienstag 7. Mai 2002, 17:04
vermutl. fehlt Dir das VLC Plugin auf dem Rechner - hat nichts mit dem Image zu tun
---------------------------
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
-
- Interessierter
- Beiträge: 27
- Registriert: Freitag 24. Oktober 2003, 09:08
-
- Developer
- Beiträge: 809
- Registriert: Montag 4. Juli 2005, 18:45
Poste mal den Quelltext vom Live-View-Fenster oder PN an mich.
Gruß
yjogol
Gruß
yjogol
FAQ zu YWeb unter http://www.yjogol.de
-
- Interessierter
- Beiträge: 27
- Registriert: Freitag 24. Oktober 2003, 09:08
ist das der richtige frame?
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="/Y_Main.css">
<script language="JavaScript" type="text/javascript">
function do_stop()
{
document.vlc.stop()
}
function doPlayOrPause()
{
if( document.vlc.isplaying() )
{
document.v.PlayOrPause.value = " Play ";
document.vlc.pause()
} else
{
document.v.PlayOrPause.value = "Pause";
document.vlc.play()
}
}
function setControlsForRecording(state)
{
if(state == 0)
{
parent.panel.enablePanel(1);
document.v.PlayOrPause.disabled=false;
document.v.audiopid.disabled=false;
document.v.stop.disabled=false;
document.v.audio_track.disabled=false;
document.v.snapshot.disabled=false;
}
else
{
parent.panel.enablePanel(0);
document.v.PlayOrPause.disabled=true;
document.v.audiopid.disabled=true;
document.v.stop.disabled=true;
document.v.audio_track.disabled=true;
document.v.snapshot.disabled=true;
}
}
function doStop()
{
document.v.PlayOrPause.value = " Play ";
document.vlc.stop()
}
function doLockUnlock()
{
if( document.v.lock.value == "Lock" )
{
document.v.lock.value = "Unlock";
parent.dbox.location.href='/control/exec?Y_Live&live_lock'
} else
{
document.v.lock.value = "Lock";
parent.dbox.location.href='/control/exec?Y_Live&live_unlock'
}
}
function view_streaminfo()
{
window.open("/fb/info.dbox2","streaminfo","width=400,height=400");
}
function doRecord()
{
if(document.v.record.value == "Record")
{
var sel = document.v.mux.selectedIndex;
var ymux = (sel != -1) ? document.v.mux[sel].value : "ts";
var options = new Array(":sout=#duplicate{dst=display,dst=std{access=file,mux="+ymux+",url="+document.v.record_filename.value+"}}",":input-repeat=1");
setControlsForRecording(1);
}
else
{
doStop();
var options = new Array(":input-repeat=1");
setControlsForRecording(0);
}
document.vlc.addTarget(document.v.url.value, options, 4+8, -666);
document.vlc.next();
document.vlc.play();
}
function doChangeAudioPid()
{
doToggleExpertMode(1);
document.v.submit()
}
function doToggleExpertMode(docollapse)
{
if(document.v.expert.value == "E+" && docollapse==0)
{
top.resizeBy(0,80);
document.v.expert.value = "E-";
document.all.ex.style.visibility="visible";
}
else
if(document.v.expert.value == "E-")
{
top.resizeBy(0,-80);
document.v.expert.value = "E+";
document.all.ex.style.visibility="hidden";
}
}
function vlcPressKey(key)
{
keyvalue = document.vlc.get_int_variable(key);
document.vlc.set_int_variable("key-pressed", keyvalue);
}
function doSnapshot()
{
vlcPressKey("key-snapshot");
}
function doChangeAudioChannel()
{
vlcPressKey("key-audio-track");
}
function doRecord2()
{
vlcPressKey("key-record");
}
</script>
</head>
<body style="background-color: #f0faff">
<table class="y_live_table" cellspacing="0" bgcolor="#F0FAFF">
<tr><td>
<embed type="application/x-vlc-plugin"
name="vlc" id="vlc"
autoplay="yes" loop="yes" width="384" height="288"
target="http://
:31339/0,0x0064,0x006e,0x0078" >
</embed>
</td></tr>
<tr><td>
<form name="v" action="/Y_Live_Wait.yhtm" method="get">
<input class="y_live_button" type="button" value="E+" title="expert mode" name="expert" onClick="doToggleExpertMode(0)">
<input class="y_live_button" type="button" value="Pause" title="play or pause streaming" name="PlayOrPause" onClick="doPlayOrPause()">
<button class="y_live_button" type="button" value="stop" title="stop streaming" name="stop" onClick="doStop()">Stop</button>
<button class="y_live_button" type="button" value="mute" title="mute / unmute volume" onClick="document.vlc.mute()">Mute</button>
<button class="y_live_button" type="button" value="minus" title="lower volume" onClick="document.vlc.set_volume(document.vlc.get_volume()-10);">-</button>
<button class="y_live_button" type="button" value="plus" title="higher volume" onClick="document.vlc.set_volume(document.vlc.get_volume()+10);">+</button>
<button class="y_live_button" type="button" value="fullscreen" title="switch to fullscreen-mode - or use double-click" onClick="document.vlc.fullscreen()">F</button>
<input class="y_live_button" type="button" value="Lock" title="lock / unlock TV (record mode, rc, lcd)" name="lock" onClick="doLockUnlock()">
<button class="y_live_button" type="button" value="Streaminfo" title="view streaminfo" name="streaminfo" onClick="view_streaminfo()">sinfo</button>
<select size="1" class="y_live_audio_pids" name="audiopid" onChange="doChangeAudioPid()">
<option value=00000>Hörfilm</option>
<option value=00002>Dolby Digital</option>
<option value=00001>mono/Hörfilm</option>
</select>
<br>
<input type="hidden" name="browser" value="moz">
<input type="hidden" name="url" value="http://
:31339/0,0x0064,0x006e,0x0078">
<div name="ex" id="ex" style="visibility : hidden;">
<hr>
<b>Expert Mode - (Mozilla - Experimental)</b><br>
<button class="y_live_button" type="button" title="create snapshot picture" name="snapshot" onClick="doSnapshot()">Snapshot</button>
<button class="y_live_button" type="button" title="change VLC audio channel" name="audio_track" onClick="doChangeAudioChannel()">change Audio Channel</button>
</div>
</form>
</td></tr>
</table>
<script language="JavaScript" type="text/javascript">
var res_w=parseInt("384",10);
var res_h=parseInt("288",10);
if(isNaN(res_w)) res_w=384;
if(isNaN(res_h)) res_h=288;
document.vlc.width=res_w;
document.vlc.height=res_h;
for (i = 0; i < document.v.audiopid.length; i++)
if (document.v.audiopid.options[i].value == "00000")
document.v.audiopid.options[i].selected = true;
document.vlc.play()
</script>
</body>
</html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<link rel="stylesheet" type="text/css" href="/Y_Main.css">
<script language="JavaScript" type="text/javascript">
function do_stop()
{
document.vlc.stop()
}
function doPlayOrPause()
{
if( document.vlc.isplaying() )
{
document.v.PlayOrPause.value = " Play ";
document.vlc.pause()
} else
{
document.v.PlayOrPause.value = "Pause";
document.vlc.play()
}
}
function setControlsForRecording(state)
{
if(state == 0)
{
parent.panel.enablePanel(1);
document.v.PlayOrPause.disabled=false;
document.v.audiopid.disabled=false;
document.v.stop.disabled=false;
document.v.audio_track.disabled=false;
document.v.snapshot.disabled=false;
}
else
{
parent.panel.enablePanel(0);
document.v.PlayOrPause.disabled=true;
document.v.audiopid.disabled=true;
document.v.stop.disabled=true;
document.v.audio_track.disabled=true;
document.v.snapshot.disabled=true;
}
}
function doStop()
{
document.v.PlayOrPause.value = " Play ";
document.vlc.stop()
}
function doLockUnlock()
{
if( document.v.lock.value == "Lock" )
{
document.v.lock.value = "Unlock";
parent.dbox.location.href='/control/exec?Y_Live&live_lock'
} else
{
document.v.lock.value = "Lock";
parent.dbox.location.href='/control/exec?Y_Live&live_unlock'
}
}
function view_streaminfo()
{
window.open("/fb/info.dbox2","streaminfo","width=400,height=400");
}
function doRecord()
{
if(document.v.record.value == "Record")
{
var sel = document.v.mux.selectedIndex;
var ymux = (sel != -1) ? document.v.mux[sel].value : "ts";
var options = new Array(":sout=#duplicate{dst=display,dst=std{access=file,mux="+ymux+",url="+document.v.record_filename.value+"}}",":input-repeat=1");
setControlsForRecording(1);
}
else
{
doStop();
var options = new Array(":input-repeat=1");
setControlsForRecording(0);
}
document.vlc.addTarget(document.v.url.value, options, 4+8, -666);
document.vlc.next();
document.vlc.play();
}
function doChangeAudioPid()
{
doToggleExpertMode(1);
document.v.submit()
}
function doToggleExpertMode(docollapse)
{
if(document.v.expert.value == "E+" && docollapse==0)
{
top.resizeBy(0,80);
document.v.expert.value = "E-";
document.all.ex.style.visibility="visible";
}
else
if(document.v.expert.value == "E-")
{
top.resizeBy(0,-80);
document.v.expert.value = "E+";
document.all.ex.style.visibility="hidden";
}
}
function vlcPressKey(key)
{
keyvalue = document.vlc.get_int_variable(key);
document.vlc.set_int_variable("key-pressed", keyvalue);
}
function doSnapshot()
{
vlcPressKey("key-snapshot");
}
function doChangeAudioChannel()
{
vlcPressKey("key-audio-track");
}
function doRecord2()
{
vlcPressKey("key-record");
}
</script>
</head>
<body style="background-color: #f0faff">
<table class="y_live_table" cellspacing="0" bgcolor="#F0FAFF">
<tr><td>
<embed type="application/x-vlc-plugin"
name="vlc" id="vlc"
autoplay="yes" loop="yes" width="384" height="288"
target="http://
:31339/0,0x0064,0x006e,0x0078" >
</embed>
</td></tr>
<tr><td>
<form name="v" action="/Y_Live_Wait.yhtm" method="get">
<input class="y_live_button" type="button" value="E+" title="expert mode" name="expert" onClick="doToggleExpertMode(0)">
<input class="y_live_button" type="button" value="Pause" title="play or pause streaming" name="PlayOrPause" onClick="doPlayOrPause()">
<button class="y_live_button" type="button" value="stop" title="stop streaming" name="stop" onClick="doStop()">Stop</button>
<button class="y_live_button" type="button" value="mute" title="mute / unmute volume" onClick="document.vlc.mute()">Mute</button>
<button class="y_live_button" type="button" value="minus" title="lower volume" onClick="document.vlc.set_volume(document.vlc.get_volume()-10);">-</button>
<button class="y_live_button" type="button" value="plus" title="higher volume" onClick="document.vlc.set_volume(document.vlc.get_volume()+10);">+</button>
<button class="y_live_button" type="button" value="fullscreen" title="switch to fullscreen-mode - or use double-click" onClick="document.vlc.fullscreen()">F</button>
<input class="y_live_button" type="button" value="Lock" title="lock / unlock TV (record mode, rc, lcd)" name="lock" onClick="doLockUnlock()">
<button class="y_live_button" type="button" value="Streaminfo" title="view streaminfo" name="streaminfo" onClick="view_streaminfo()">sinfo</button>
<select size="1" class="y_live_audio_pids" name="audiopid" onChange="doChangeAudioPid()">
<option value=00000>Hörfilm</option>
<option value=00002>Dolby Digital</option>
<option value=00001>mono/Hörfilm</option>
</select>
<br>
<input type="hidden" name="browser" value="moz">
<input type="hidden" name="url" value="http://
:31339/0,0x0064,0x006e,0x0078">
<div name="ex" id="ex" style="visibility : hidden;">
<hr>
<b>Expert Mode - (Mozilla - Experimental)</b><br>
<button class="y_live_button" type="button" title="create snapshot picture" name="snapshot" onClick="doSnapshot()">Snapshot</button>
<button class="y_live_button" type="button" title="change VLC audio channel" name="audio_track" onClick="doChangeAudioChannel()">change Audio Channel</button>
</div>
</form>
</td></tr>
</table>
<script language="JavaScript" type="text/javascript">
var res_w=parseInt("384",10);
var res_h=parseInt("288",10);
if(isNaN(res_w)) res_w=384;
if(isNaN(res_h)) res_h=288;
document.vlc.width=res_w;
document.vlc.height=res_h;
for (i = 0; i < document.v.audiopid.length; i++)
if (document.v.audiopid.options[i].value == "00000")
document.v.audiopid.options[i].selected = true;
document.vlc.play()
</script>
</body>
</html>
-
- Developer
- Beiträge: 809
- Registriert: Montag 4. Juli 2005, 18:45
-
- Interessierter
- Beiträge: 27
- Registriert: Freitag 24. Oktober 2003, 09:08
-
- Developer
- Beiträge: 809
- Registriert: Montag 4. Juli 2005, 18:45
Jau im CVS ist 1.4.3
prüf noch ob /var/httpd da ist, dann löschen (und auch /var/bin/nhttpd)
prüf noch ob /var/httpd da ist, dann löschen (und auch /var/bin/nhttpd)
FAQ zu YWeb unter http://www.yjogol.de