9 Replies Latest reply: Jan 3, 2011 6:12 AM by daslicht RSS

    HTTP dynamic streaming without FMS ?

    daslicht Community Member

      Hi,

      is it possible to use HTTP Streaming without a Flash Media Server ?

       

      Cheers

      Marc

        • 1. Re: HTTP dynamic streaming without FMS ?
          Flashing Mathur Adobe Employee

          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.

          • 2. Re: HTTP dynamic streaming without FMS ?
            daslicht Community Member

            Sounds great ! I try it.

             

            So basically I just need audio streaming and as far as I see, my contnet is proteced from downloading(since its fragmented), no ?

            • 3. Re: HTTP dynamic streaming without FMS ?
              Flashing Mathur Adobe Employee

              Hi,

               

              I got your requirement but was unable to understand " my contnet is proteced from downloading(since its fragmented), no ?"

               

              Can you please elaborate more upon it.

              • 4. Re: HTTP dynamic streaming without FMS ?
                daslicht Community Member

                Thank you for your time !

                 

                Is it true that after segmenting the content, it is less easy to steal it, since there is no way to glue the segments together again ?

                 

                I hope this sentence makes more sence, sorry

                 

                 

                Best Regards

                Marc

                • 5. Re: HTTP dynamic streaming without FMS ?
                  daslicht Community Member

                  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 ?

                  • 6. Re: HTTP dynamic streaming without FMS ?
                    daslicht Community Member

                    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>

                    • 8. Re: HTTP dynamic streaming without FMS ?
                      Flashing Mathur Adobe Employee

                      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

                      • 9. Re: HTTP dynamic streaming without FMS ?
                        daslicht Community Member

                        Thank you,

                        I have successfully built a player with the needed functions now :

                        http://ansolas.com/flex/osmfStreamPlayer/DynamicHTTPStreamOSMFPlayer.html