Hi,
is it possible to use HTTP Streaming without a Flash Media Server ?
Cheers
Marc
Hi,
The answer is yes, but the only part missing in this is that you will not be able to showcase live videos. As you need to publish them to the fms which makes the incoming stream http ready and then lets you subscribe a stream through http.
Okay so to start with http streaming you need to download f4fpackager and Http Origin module.
To start with follow the link http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS7b362c044b7dd076 -735e76121260080a90e-7ffc.html for apache installation, http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS9463dbe8dbe45c4c -c126f3b1260533756d-7ffc.html for fragmentation and using f4f packager.
Hello,
ok I have now installed the Origin Module for Apache.
When I try to use the packager, I get the following error:
Error 12: Standard Exception: bad allocation
I used the following settings:
<offline>
<input-file> Konstantin___Miko__the_Magic_Violin___Antaris_2009.flv </input-file>
<output-path> Konstantin___Miko__the_Magic_Violin___Antaris_2009 </output-path>
<fragment-duration> 25 </fragment-duration>
<segment-duration> 25 </segment-duration>
</offline>
Any idea whats wrong ?
OK , I did it !
I event get the audio playing with the flex spark videoplayer component.
When I try it the following it is not working :
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="SuperSimpleFLVPlayer()"
>
<fx:Script>
<![CDATA[
import flash.display.Sprite;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import mx.events.FlexEvent;
private var nc:NetConnection;
private var ns:NetStream;
//private var vid:Video;
private var client:Object;
public function SuperSimpleFLVPlayer ():void
{
// Initialize net stream
nc = new NetConnection();
nc.connect (null); // Not using a media server.
ns = new NetStream(nc);
client = new Object();
ns.client = client;
client.onMetaData = onMetaData_handler;
client.onCuePoint = onCuePoint_handler
// Play video
//vid.attachNetStream ( ns );September Drive by Lightrocker_1.flv
ns.play ( 'http://xx.xx.xx.xx/vod/September_Drive_by_Lightrocker_1/September_Drive_by_Lightrocker_1.f4m' );
//ns.seek( 555.664 );
}
//MetaData
private function onMetaData_handler ( mdata:Object ):void {
trace (mdata.duration);
}
private function onCuePoint_handler( item:Object ):void {
trace("cuePoint");
trace(item.name + "\t" + item.time);
}
]]>
</fx:Script>
</s:Application>
Hey
The latest queries you have posted are more related to the player side rather than what Http apache module does or f4fpackager does.
Some links which may be of some help for you
http://forums.adobe.com/thread/763303
http://forums.adobe.com/thread/735647
one suggestion would be for further any player related queries. Kindly post them at http://forums.adobe.com/community/opensource/osmf/developers
Thank you,
I have successfully built a player with the needed functions now :
http://ansolas.com/flex/osmfStreamPlayer/DynamicHTTPStreamOSMFPlayer.h tml
North America
Europe, Middle East and Africa
Asia Pacific