CMS for managing and selling media content

    I will not go into the details of how I matured before writing such a system, I’ll just say that I started somewhere about 8-9 months ago. At the moment, we are not talking about any finished version of the product, but to show and even more so to tell :) nevertheless, there is something.


    System Capabilities
    1. There are 5 types of files in the system: video, audio, image files, text files and all others that were not included in the 4 previous ones. A bit more about each type of file:
    1.1 Video files - the system allows you to use, as source files, files of the following formats: mpeg, avi, mkv, flv, mov, 3gp, mp4 and convert any of these formats to the following: mpeg, avi, flv, mov, 3gp, mp4 for PSP and iPod / iPhone. At the same time, the system allows you to configure the conversion parameters, such as: resolution, audio and video bitrates. So for this type of files the functionality of cutting screenshots, previews and thumbnails is implemented;
    1.2 Audio files - the system allows you to convert files between the 3 popular mp3, ogg and wav formats, while you can specify the bitrate. Also, for this type of files, the functionality for generating previews is implemented;
    1.3 Image files - the system allows you to convert files between formats: jpg, gif, bmp, png, while you can specify the resolution, there is also a functionality for generating thumbnails;
    1.4 Text files - the system allows you to use the following formats as source files: txt, html and fb2 and convert them to the formats: txt, html, fb2 and pdf. At the moment, work with two encodings was tested: utf-8 and windows-1251;
    1.5 Other files - this includes files of all types that were not included in the previous 4th. The system allows only archiving of such files.

    2. All actions for converting files are summarized in a single conversion process, the actions in which are divided into tasks. The process as a whole and each task separately are logged both in the database to display the status and in text files to enable more detailed monitoring of the conversion process.

    3. Any of the conversion processes can be launched both in several streams and on several servers simultaneously, thus achieving distributed processing;

    4. Implemented the ability to store all types of files on different servers, the return from different servers is still in development. At the moment, files are downloaded to the server only via FTP;

    5. The possibility of creating a theoretically unlimited number of sites on one admin panel has been implemented. Each site has the ability to create a theoretically unlimited number of designs. The system uses Smarty as a template engine;

    6. The system implements multilingualism. All database code and tables in utf-8 encoding;

    7. Implemented the ability to edit descriptive information for each file in the system. You can specify a name and description for the file in different languages, it is also possible to add keywords;

    8. Implemented the ability to publish a file on the site, ie the file does not automatically reach all sites; you can choose on which sites to publish it, and on which not;

    Plans for the near future

    1. Introduction of payment systems;
    2. Distribution of files from different servers and CDN support.

    Software requirements

    Currently, the requirements are as follows:
    1. Linux, tested on Ubuntu;
    2. Apache + mod_rewrite;
    3. MySQL 5.0 or higher;
    4. PHP 5.2 or higher + mbstring, gd 2.0, curl, CLI SAPI.

    To convert video and audio files, the system has all the necessary binary files.

    That's all, and if someone is suddenly interested, I can show the frontend, but I want to warn right away that he is still at work and on my computer, i.e. not available 24 hours a day.

    Admin screenshots

    Form for selecting conversion parameters:
    Form for selecting conversion options

    Page for editing descriptive information of a video file:
    Page for editing descriptive information of a video file - top
    Page for editing descriptive information of a video file - bottom

    Settings page for server encoder:
    Server Encoder Settings Page

    Page for working with the file tree:
    File Tree Page

    Page for publishing files to sites:
    Page for publishing files to sites

    Page for configuring servers for storing files:
    Page for configuring servers for storing files

    Page for displaying information about the conversion process:
    Page for displaying information about the conversion process

    Screenshots of the

    website part Home page:
    the main page of the site

    Search
    Search page

    page: Video viewing page:
    Video Watch Page - Top
    Video Watch Page - Bottom

    Also popular now: