Skip to main content
Participant
March 2, 2008
Question

Can we set VOD directory somewhere else?

  • March 2, 2008
  • 13 replies
  • 4632 views
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
    This topic has been closed for replies.

    13 replies

    April 17, 2008
    Excellent, thank you!
    Participant
    April 17, 2008
    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

    Participant
    April 17, 2008
    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.
    April 11, 2008
    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.


    Participant
    March 4, 2008
    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
    April 11, 2008
    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 ?