PDA

View Full Version : Black screen when trying to encode with Flix Live


thomasg
12-13-2006, 08:49 AM
Hey,

Wondering if anyone can help me. I am trying to use Flix Live publish a live stream to my local FMS 2 but am getting a black screen. The black screen appears in Flix, any players I try to connect to the stream with and in the debug player in the FMS admin console.

When I start Flix i see a preview of the camera. However when I click "Go!" the preview turns black.

The archive flv is also black and about 1k in size.

Any help or suggestions would be very appreciated. This is the only thing stopping me buy what looks like a great product.

Thanks,
Thomas

thomasg
12-14-2006, 04:25 AM
Further on this issue I have created a very simple broadcast SWF, which works fine, so it doesn't appear to be a problem with the camera.

Incase anyone's interested here is the code for the broadcaster:
if(Camera.names.length <= 0) {
trace ("No Camera detected");
}
var _cam:Camera = Camera.get();

// quailty out of 100
_cam.setQuality(0,100);

var my_video:Video;
my_video.attachVideo(_cam);

var _nc:NetConnection = new NetConnection();
_nc.onStatus = function(info){
trace ( "NetConnection.onStatus");
trace ( "Event: " + info.code );
trace ( "Type: " + info.level );
trace ( "Message:" + info.description );

switch (info.code) {
case "NetConnection.Connect.Success":
onConnect ();
break;
}
}
_nc.connect("rtmp://localhost/test/");

function onConnect () {
_ns = new NetStream( _nc );
_ns.attachVideo( _cam );
_ns.publish("myStream","live");
}