Skip to content

Commit 492b07d

Browse files
committed
added db schema png
1 parent 4bb1baa commit 492b07d

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ one a single video(.mp4) file when the use clicks on the compile button at the b
1313
* [API](#Api)
1414
* [videoProcessing module](#VideoProcessing_module)
1515
* [miscFunctions module](#MiscFunctions_module)
16+
* [Database](#Database)
1617
* [Credits](#Credits)
1718

1819
### [Watch the video](https://www.youtube.com/watch?v=rYZIsh0laKI)
@@ -43,6 +44,8 @@ After you have installed the above you can continue
4344
You need to change some settings to run the database
4445
* Create a new schema in MySQL with any name you like `e.g. fossee-task-1`
4546
* Open MySQL Workbench
47+
<br>
48+
4649
![new_schema](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/new_schema.gif)
4750

4851

@@ -60,26 +63,43 @@ You need to change some settings to run the database
6063
* If everything goes well the server will be up and running
6164

6265
# Usage:
66+
* **NOTE** This app seperates Backend from the Frontend
67+
* **LOCATION OF FRONTEND APP** `fosseeVideoProcessing/videoProcessingFrontend/`
68+
* **LOCATION OF BACKEND APP** `fosseeVideoProcessing/videoProcessingAPI/`
6369
* Make sure the Django server and MySQL database is up and running. if not follow the **installation** section properly.
6470
* Now navigate to `fosseeVideoProcessing/videoProcessingFrontend/`
6571
* open `index.html` in a browser (you need to have internet connection as it need to download some scripts from cdn)
6672
* Screenshot below
73+
<br>
74+
6775
![homepage_no_files](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/home_page.png)
6876
* Select any video file (.mp4) and srt file (.srt) from your drive or you can use the ones in the `/fosseeVideoProcessing/videoProcessingAPI/test_files/` (**do not delete any files in test_files directory**)
6977
* Click the **Upload Files** button to upload your files to the server.
7078
* After the File Upload is successfull **Process Video** button appears click on that button to process the video.
79+
<br>
80+
7181
![homepage_files_selected](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/files_selected.png)
7282

7383
* After the processing is done. The details are listed.
84+
<br>
85+
7486
![homepage_processing](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/list_details.png)
7587

7688
* If you want to re-upload modified audio for a particular video chunk. Under **AUDIO RE-UPLOAD** column select the audio file and click **upload** button
89+
<br>
90+
7791
![homepage_reuplaod_audio](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/details_with_reupload.png)
7892

7993
* Click on the **COMPILE** button at the bottom of the page.
94+
<br>
95+
8096
![homepage_compile](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/compile.png)
8197

98+
99+
82100
* When you click on the **COMPILE** button a **DOWNLOAD TUTORIAL** button is available to download the tutorial.
101+
<br>
102+
83103
![homepage_download](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/download_tutorial.png)
84104

85105
* You can click on the download button to download the tutorial or *right-click* and select *save link as*.
@@ -186,6 +206,15 @@ You need to change some settings to run the database
186206
* splitAudioAndVideoIntoChunk
187207
* writePathsToTxtFileToUseWithFFMPEG
188208

209+
# Database
210+
The database used is MySQL server with MySql workbench.To interact with database within django app djangoORM is used.
211+
212+
### Database Schema
213+
<br>
214+
215+
![db_schema](https://github.com/rohitgeddam/fosseeVideoProcessing/blob/master/images/db_schema.png)
216+
217+
189218
# Credits
190219
* FFmpeg (License: GNU General Public License (GPL) (GPLv2))
191220
* pysrt (License: GNU General Public License (GPL) (GPLv3))

images/db_schema.png

175 KB
Loading

0 commit comments

Comments
 (0)