JVideoDirect storage directories

From JVideoDirect Documentation

Jump to: navigation, search

This directory is located at joomlaRoot / jMediaDirect.
This directory and it's sub-directories are used as storages and it's operations.

Contents

Directory Structure

  • jMediaDirect
    • buffer (token temporary storage for process authentication)
    • videos
      • csv (import activities temporary storage)
      • hd (storage for HQ/HD videos)
      • sd (storage for SD videos)
      • org (storage for videos in original format, if it is kept)
      • temp (temporary storage for uploaded files)
      • tester (tester activities storage)
        • test (storage for all output of tester)
      • pics (storage for all images)
        • small (thumbnail images set #1)
        • small2 (thumbnail images set #2)
        • medium (thumbnail images set #3)
        • groups (thumbnail images for groups)
        • channels (thumbnail images for channels)
        • categories (thumbnail images for categories)

All videos are storage in this format

jMediaDirect / videos / <quality> / <userid> / <random name>


Directories Permission

jVideoDirect uses background process to shorten waiting time of various long processes such as video conversion.
The owner of the process is very likely owned by PHP (apache/IIS7). Therefore, sufficient right is required for this directory and it's sub-directories to be granted to the username or user id of apache (typically, apache or nobody or httpd) or (IUSRS for IIS7).

it can be achieved by command below for SSH access

#cd /Path/to/joomla/root
#chown -R apacheUserName:apacheUserName *

if change of owner is not possible, you may need to use FTP Client and perform chmod to this directory RECURSIVELY.

You may first try 755 and test it with Check Up tool. If failed, you may try 775 permission. Otherwise, 777 permission.

The best choice is still to change it's owner to username of apache.


Note: We cannot covered all servers environment here. What we are trying to do is to allow Process Owner of PHP to have the right to write files to jMediaDirect directory and it's sub directories. You may also like to change the process owner of php for your domain.


Relocating Storage Directory

The directory can be relocated by using symbolic link. You need to replace the directory name with a symbolic link for linux users or shortcut for windows users.

ln -l /path/to/jMediaDirect /path/to/joomla/root/jMediaDirect
Personal tools