forked from ContriHUB/Gif-It
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.sample
30 lines (18 loc) · 941 Bytes
/
.env.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Use REACT_APP_ prefix for all env_var_names which will be used with react.
# [Edit Required]
# 1. Path to ffmpeg binary inside the node_modules.
FFMPEG_PATH_DEV=/<your_system_specific_path_to>/Gif-It/node_modules/ffmpeg-static/ffmpeg
# 2. Your Youtube-Data-API Key, Required for Fetching Search Results
REACT_APP_YT_API_KEY=ABC_123_XYZ
# [Edit Not Required]
# 1. Maximum Results Count for Search Results. [Edit Not Required]
REACT_APP_YT_MAX_VIDEOS_COUNT=5
# 2. Maximum Gif Allowed Length. [Edit Not Required]
REACT_APP_MAX_ALLOWED_GIF_LENGTH=10
# 3. Origin Where React will host html files during Development. [Edit Not Required]
REACT_APP_ORIGIN=http://localhost:3000
# 4. Origin Where Backend Express Server is Running [Edit Not Required]
REACT_APP_BACKEND_ORIGIN_DEV=http://localhost:5000
# [DO NOT EDIT]
# 1. Command responsible for converting mp4 to gif
FFMPEG_MP4_TO_GIF=-y -i out.mp4 -vf scale=500:-1 -loop 0 out.gif