flowplayer and flv streaming
Posted: 19 Feb 2008 12:15
i have created an http stream for flv this way
The problem is when i try to use in flowplayer , it shows me that is loading but doesn't really sho only black screen
Code: Select all
cvlc -I http -vvv --security-policy=1 --color v4l:/dev/video0:channel=1:adev=/dev/dsp:audio=0 --sout '#transcode{vcodec=FLV1,acodec=mpga,ab=128,venc=ffmpeg{hurry-up}}:std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:1234:/stream.flv}'
I also tested from the http interface but shows me nothing toovar fo = new SWFObject("../FlowPlayerDark.swf", "FlowPlayer", "468", "350", "7", "#ffffff", true);
// need this next line for local testing, it's optional if your swf is on the same domain as your html page
fo.addParam("allowScriptAccess", "always");
fo.addVariable("config", "{ countryCode: 'fi', playList: [ {overlayId: 'play' }, { url: 'http://192.168.0.227:1234/stream.flv' } ], initialScale: 'scale', fullScreenScriptURL: 'fullscreen.js' }");
fo.write("flowplayerholder");