video profs
This commit is contained in:
parent
dde318ac73
commit
ae98283a0d
2 changed files with 29 additions and 4 deletions
|
|
@ -19,10 +19,11 @@ services:
|
||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/user/plex:/media:ro
|
- /mnt/user/plex:/media:ro
|
||||||
|
- ./transcode-config.yaml:/app/config.yaml:ro
|
||||||
|
- transcode-cache:/tmp/transcode
|
||||||
ports:
|
ports:
|
||||||
- "8090:8080"
|
- "8090:8080"
|
||||||
environment:
|
|
||||||
- TRANSCODE_BIND=:8080
|
|
||||||
- TRANSCODE_VOD_MEDIA_DIR=/media
|
|
||||||
- TRANSCODE_CORS=true
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
transcode-cache:
|
||||||
|
|
|
||||||
24
transcode-config.yaml
Normal file
24
transcode-config.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
||||||
|
cors: true
|
||||||
|
|
||||||
|
vod:
|
||||||
|
media-dir: /media
|
||||||
|
cache: true
|
||||||
|
cache-dir: /tmp/transcode
|
||||||
|
video-keyframes: true
|
||||||
|
|
||||||
|
video-profiles:
|
||||||
|
1080p:
|
||||||
|
width: 1920
|
||||||
|
height: 1080
|
||||||
|
bitrate: 6000
|
||||||
|
720p:
|
||||||
|
width: 1280
|
||||||
|
height: 720
|
||||||
|
bitrate: 3000
|
||||||
|
480p:
|
||||||
|
width: 854
|
||||||
|
height: 480
|
||||||
|
bitrate: 1200
|
||||||
|
|
||||||
|
audio-profile:
|
||||||
|
bitrate: 192
|
||||||
Loading…
Add table
Add a link
Reference in a new issue