Skip to main content
Participant
September 6, 2011
Question

Linux FMS 3.5

  • September 6, 2011
  • 2 replies
  • 1153 views

OK... I have successfully installed FMS 3.5 on my Linux server. If I go to the sample video player and play rtmp:/vod/48, the video plays perfectly.  I did that by SSH the video to the actual FMS media folder in /opt/adobe/fms/applications/vod/media.

Now, I want the ability to FTP the videos to my client’s website (i.e. /home/user/public_html/videos)

This is the part I am not sure on...

- Where do I go and add that info so I can FTP the videos without SSH?

- What do I actually type in?

Thanks

    This topic has been closed for replies.

    2 replies

    texanwebAuthor
    Participant
    September 11, 2011

    Got it to work.

    I edited /opt/adobe/fms/applications/vod/Application.xml

    <VirtualDirectory>
          <!-- Specifies application specific virtual directory mapping for recorded streams.   -->
               <Streams>/;${VOD_COMMON_DIR}</Streams>
               <Streams>/;${VOD_DIR}</Streams>
               <Streams>/;$/home/username/public_html/videos</Streams>
    </VirtualDirectory>

    ===========

    Then I added the following code to my website:

    <script type='text/javascript' src='videos/player/jwplayer.js'></script>
          <div id='mediaspace'>This text will be replaced</div>
          <script type='text/javascript'>
          jwplayer('mediaspace').setup({
            'flashplayer': 'videos/player/player.swf',
            'file': 'example.flv',
            'streamer': 'rtmp://11.11.11.11/vod/?id',
            'controlbar': 'bottom',
            'width': '600',
            'height': '450'
          });
    </script>

    ===========

    Thanks for everyones help!!

    calmchessplayer
    Inspiring
    September 7, 2011

    I use PHP FTP methods  and  FMS sever side  script methods  to FTP files from FMS to a webserver. This technique is about the only way if you were to say use Influxis as an FMS hosting provider.....So you could build a PHP script  and house it on a web server and then transfer files to the webserver. Other languages are support also such as ASP.net. I've never used anything but PHP so you will have to check the documentation and develop it for another langauge. To get an Idea of what other languages are supported just send an email to Influxis support and they will tell you. They are very friendly.

    texanwebAuthor
    Participant
    September 7, 2011

    I dont know... The guy that set up FMS couple years ago  was able to connect to the FMS without any scripts to my knowloege, Once he got it done, all I had to do is upload videos to FTP and the videos stayed on the website.

    ==============================

    This is what I have in a email:

    Your all uploaded  video should go under "/public_html/wp-content/uploads"  directory.
    Streaming server will fetch videos from this directory, for your  information this is a link created for FMS-Streaming application.
    You can  generate directory tree under "/public_html/wp-content/uploads". 

    And you can generate RTMP path by following way. 
    /public_html/wp-content/uploads/2009/06/lesson_01.flv

    will become 

    rtmp://11.11.11.11/vod/?id=streams/uploads/2009/06/lesson_01.flv


    ==============================

    So, I guess what my question is how do get the FMS to fetch the videos I upload?  I kind figure I need to edit the "Application.xml" or the "fms.ini"... but what?

    calmchessplayer
    Inspiring
    September 7, 2011

    I told you already what you "have" to do. Use PHP. You can put a .flv in a folder and stream it without a sever side script but you must use a client side URL Loader or severside load vars in order to call a PHP script residing on a webserver that has PHP installed . Simply to transfer a file from a folder on FMS to the Webserver or the other way around you must use the webserver's sever side (PHP) as their are no methods for FTP for SSAS or ActionScript 2.0/3.0