Skip to main content
Participant
Mar 2, 2008 7:13 AM UTC
Question

Can we set VOD directory somewhere else?

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 is closed to new replies. Start a new post to keep the conversation going.

    25 replies

    Apr 17, 2008 12:22 AM UTC
    Excellent, thank you!
    Translate
    Participant
    Apr 17, 2008 10:43 PM UTC
    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

    Translate
    Participant
    Apr 17, 2008 11:02 PM UTC
    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.
    Translate
    Apr 11, 2008 8:56 AM UTC
    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.


    Translate
    Participant
    Mar 4, 2008 4:50 PM UTC
    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
    Translate
    Apr 11, 2008 2:23 AM UTC
    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 ?
    Translate