Skip navigation
eng_teng
Currently Being Moderated

Can we set VOD directory somewhere else?

Mar 2, 2008 12:13 AM

Is there a way for me to set the default VOD directory from:
c:\Program Files\Adobe\Flash Media Server 3\samples\applications\vod

To:
c:\Inetpub\vhosts\mydomain.com\httpdocs\files

This is because all of my user loaded FLV files are located at c:\Inetpub path instead of c:\Program Files\Adobe.

Any advise is greatly appreciated.

Regards,
Teng
  • Currently Being Moderated
    Mar 4, 2008 9:50 AM
    in fms.ini file (under conf/) set

    VOD_DIR = <FMS_Installation_Dir>\applications\vod

    to your pleasure. ie.

    VOD_DIR = C:\Inetpub\vhosts\mydomain.com\httpdocs\files
    |
    Mark as:
  • Currently Being Moderated
    Apr 10, 2008 8:23 PM
    quote:

    Originally posted by: yure1
    in fms.ini file (under conf/) set

    VOD_DIR = <FMS_Installation_Dir>\applications\vod

    to your pleasure. ie.

    VOD_DIR = C:\Inetpub\vhosts\mydomain.com\httpdocs\files


    Can the VOD application then do path/to/file traversal? When linking can I use:
    rtmp://flashserver/folder1/folder2/file.flv ?
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Apr 11, 2008 2:56 AM
    yes.. but while paying mp3 and mp4 (h.264 files) the URL will be a bit different for subdirectories in VOD_DIR.

    for mp3:
    rtmp://flashserver/mp3:folder1/folder2/file.mp3

    for H.264:
    rtmp://flashserver/mp4:folder1/folder2/file.avi (for .avi file)
    rtmp://flashserver/mp4:folder1/folder2/file.mp4 (for file.mp4 file)
    and so on .. the key point is to add the file extension in the stream name for H.264 playback along with prefix "mp4:" in the start of stream name.


    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Apr 16, 2008 6:22 PM
    Excellent, thank you!
    |
    Mark as:
  • Currently Being Moderated
    Apr 17, 2008 4:43 PM
    I've tried everything imaginable and cannot get FMS3 to pull media from subdirectories below the VOD_DIR. Also, I cannot get FMS3 to use a VOD_DIR that is on a network drive.

    For example, if I set VHOST.APPSDIR to C:\FMSApps and VOD_DIR to C:\FMSApps\VOD\Media, I can stream mp4 files that are in the Media directory by using a URL such as rtmp://192.168.1.33/VOD/Media/mp4:testfile.mp4

    If, however, I put the mp4 file in a subdirectory, say, C:\FMSApps\Media\Ads, then the files refuse to stream when I point the URL to rtmp://192.168.1.33/VOD/Media/Ads/mp4:testfile.mp4

    Can someone please shed some light on this one...it's driving me crazy!

    As for using network drives, I have followed the instructions in the developers manual and have tried setting VOD_DIR to say \\NEUTRON\BLACKHOLE\FMSApps\VOD\Media with no luck whatsoever. Does anyone have any tips or pointers on using a network drive (under Windows Server 2003) as the VOD_DIR???

    Many thanks in advance for any help!

    Shaun

    |
    Mark as:
  • Currently Being Moderated
    Apr 17, 2008 5:02 PM
    You mixed where the directory should be specified
    your example: rtmp://192.168.1.33/VOD/Media/Ads/mp4:testfile.mp4
    should be: rtmp://192.168.1.33/VOD/Media/mp4:Ads/testfile.mp4

    The first 2 subdirectory have to do with application and instance names, them comes the protocol:relative path name. The mp4: part moved.
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Apr 17, 2008 6:13 PM
    RichC, the rest of my hair thanks you big time! LOL

    Regards,

    Shaun
    |
    Mark as:
  • Currently Being Moderated
    Apr 20, 2008 10:01 PM
    Oh... thanks again ,after a month search finally found this post. :)
    |
    Mark as:
  • Currently Being Moderated
    May 3, 2008 5:47 PM
    Great post, I really appreciate the advice, I was having a few VOD problems myself.
    |
    Mark as:
  • Currently Being Moderated
    May 6, 2008 11:12 PM
    thanks for this
    |
    Mark as:
  • Currently Being Moderated
    May 22, 2008 2:16 PM
    tried setting VOD_DIR to say \\NEUTRON\BLACKHOLE\FMSApps\VOD\Media couldnt get it
    |
    Mark as:
  • Currently Being Moderated
    Nov 17, 2008 1:54 PM
    When connecting FMS to a Network Drive in Windows:

    The FMS service must have permission to read the network drive. Generally, FMS as a system service does not have permissions to read network drives. You can create a user in Computer Management > Groups and Users that matches the permissions required of the networked drive.

    Keep in mind that you must also ensure read rights on the networked drive. You can do this by editing the folder Properties>Sharing Tab>Permissions on the remote (network shared) computer/server. You may want to create a user just for this purpose in Computer Management.

    In the 'fms.inii' file, make sure your settings are correct:

    VOD_DIR = \\<name of networked computer>\<name of shared folder>
    such as: VOD_DIR = \\192.169.0.100\streams or VOD_DIR = \\www.mywebsite.com\streams

    You can determine the name of the networked drive by right-clicking the Shared Folder on the remote server/computer: Properties>Sharing Tab. The name of the shared resource appears right there.

    As stated above by other fine contributors to this thread, your VOD link will be:
    eg: rtmp://www.mywebsite.com/vod/mp4:FallSemester/ClassInterviews/JohnBoy .mp4. Check the file structure on the remote (networked) directory for your exact location.

    Hope this helps. This thread helped me!
    |
    Mark as:
  • Currently Being Moderated
    Nov 19, 2008 10:16 AM
    Hi There,

    I am having the exact same problem as xenotexlabs. I thought I could fix the problem after reading RichC1234's post. However, the video is still not playing. I have changed the url from rtmp://fake.colorado.edu/vod/media/course200/mp4:Vultures.m4e to rtmp://fake.colorado.edu/vod/media/mp4:course200/Vultures.mp4

    Could you let me know why the video still doesn't stream?

    thanks a lot,

    Jane
    |
    Mark as:
  • Currently Being Moderated
    Nov 19, 2008 10:56 PM
    HI ntropica ,

    i have tried the way u have said , i am able to connect to my local address like "\\192.168.3.43\Testing\videos" through "Run" command , but if i give the same path in my fms.ini file for VOD_DIR it is not able to find it , it is not playing anything .
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Nov 19, 2008 11:10 PM
    Hi
    actually FMS is running as a local system account. So, change its log on account to one which has network access. Go to run-> services.msc.
    open the properties for flash media server service & flash media administrator service and change the log on account.
    |
    Mark as:
  • Currently Being Moderated
    Nov 24, 2008 11:31 PM
    thank you !
    |
    Mark as:
  • Currently Being Moderated
    Nov 30, 2008 3:07 AM
    Hello

    I also have any trouble to set VOD dir

    I use FMS3 on linux

    I open fms.ini and add a new media directory:
    MY_VOD_DIR = /home/servertest/public_html/vod/media

    After I open Application.xml and set:
    <Streams>/;${MY_VOD_DIR}</Streams>

    Restart server

    But not work, seems open to old dir

    Why ??

    Thanks


    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 1, 2008 1:15 AM
    Have you deleted the older <Streams> entry from applications/vod/Application.xml ? if not, then multiple entries interfere in FMS 3 and only one of them is enabled.
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 1, 2008 3:50 AM
    quote:

    Originally posted by: fmslove
    Have you deleted the older <Streams> entry from applications/vod/Application.xml ? if not, then multiple entries interfere in FMS 3 and only one of them is enabled.


    on /home/servertest/public_html/vod/ I have change <Streams> value.. so remove older streams (the deafault)

    :/

    tx

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 1, 2008 4:17 AM
    Everything seems just fine to me; maybe you just need to make sure that the place(Application.xml) where you made changes is actually the one which is being read by FMS.
    It is a possibility that VOD app is being loaded from some other(default?) location.

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 1, 2008 5:18 AM
    Yes, seems that read from default position

    I modified Application.xml in my

    /home/../vod/Application.xml

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 10, 2008 8:18 AM
    :(

    I have try all but seems not work fine.. still call flv from old positions.. seems VOD app load flv from old position

    any help pls ?

    tx
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 10, 2008 8:22 AM
    uhm.. I have delete file

    /home/../vod/Application.xml

    and vodtest.html dont' stop..

    This is confirmation that my file is ignored at all :(
    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Dec 10, 2008 8:31 AM
    uhmm

    in fms.ini I view this:

    VHOST.APPSDIR = /opt/adobe/fms/applications

    --

    For test VOD I used file html include on FMS installation and put on
    /home/servertest/public_html/vod

    I must change VHOST.APPSDIR ??

    |
    Mark as:
  • Currently Being Moderated
    Dec 11, 2008 2:52 PM
    How do VOD sub directories work with flv?
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)