forked from plumi/collective.transcode.star
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildout.cfg
182 lines (161 loc) · 5.86 KB
/
buildout.cfg
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
[buildout]
extensions =
buildout.dumppickedversions
mr.developer
sources = sources
auto-checkout = *
unzip = true
#sources-base = git [email protected]:
#sources-base = git https://github.com/
versions = versions
parts +=
transcodedaemon
instance
zeoserver
worker
zopepy
# Change the number here to change the version of Plone being used
extends =
ffmpeg.cfg
http://dist.plone.org/release/4.3/versions.cfg
versions.cfg
# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
http://dist.plone.org/release/4.3
http://dist.plone.org/thirdparty
# Add additional eggs here
eggs =
# collective.transcode.recipe
# collective.transcode.daemon
# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop = .
src/*
[site]
local-ip = 127.0.0.1
zeo-address = ${site:local-ip}:8100
user = admin:admin
[zeoserver]
recipe = plone.recipe.zeoserver
zeo-address = ${site:zeo-address}
zeo-var = ${buildout:directory}/var
blob-storage = ${zeoserver:zeo-var}/blobstorage
eggs = ZODB3
plone.app.blob
[instance]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.zope2instance
user = ${site:user}
zeo-client = true
zeo-address = ${site:zeo-address}
shared-blob = on
recipe = plone.recipe.zope2instance
http-address = 8080
#debug-mode = on
#verbose-security = on
blob-storage = var/blobstorage
# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = Plone my.package
eggs =
Zope2
Plone
PILwoTK
plone.reload
Products.DocFinderTab
collective.transcode.star
${buildout:eggs}
# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =
zcml-additional =
<include package="plone.app.async" file="single_db_instance.zcml" />
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/instance-uuid.txt
[worker]
user = ${site:user}
zeo-client = true
zeo-address = ${site:zeo-address}
zeo-address = ${site:zeo-address}
http-address = 127.0.0.1:8079
recipe = plone.recipe.zope2instance
eggs = ${instance:eggs}
zcml = ${instance:zcml}
zcml-additional =
<include package="plone.app.async" file="single_db_worker.zcml" />
environment-vars =
ZC_ASYNC_UUID ${buildout:directory}/var/worker-uuid.txt
[transcodedaemon]
recipe = collective.transcode.recipe
listen_host = localhost
listen_port = 8888
videofolder = videos
secret = 1771d99931264d538e75eeb19da7d6a0
# set default_supported_mimetypes (or supported_mimetypes in the profile) to an empty
# list [] to ignore mimetype checks
default_supported_mimetypes = ['application/ogg',\
'video/ogg',\
'video/x-ogg',\
'video/x-ogm+ogg',\
'video/flv',\
'video/x-flv',\
'video/mpeg',\
'video/3gpp',\
'video/x-ms-wmv',\
'video/quicktime',\
'video/x-la-asf',\
'video/x-ms-asf',\
'video/x-msvideo',\
'video/mp4',\
'video/webm',\
'video/x-matroska',\
'application/octet-stream',\
]
# supported transcoding profiles
profiles = [\
{'id': 'iso',\
'cmd': 'scripts/iso %s %s',\
'supported_mime_types': 'text/xml',\
'output_mime_type': 'application/octet-stream',\
'output_extension': 'iso' },\
{'id': 'jpeg',\
'cmd': 'scripts/jpeg %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'image/jpeg',\
'output_extension': 'jpg' },\
{'id': 'mpeg2',\
'cmd': 'scripts/mpeg2 %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'video/mpeg', 'output_extension': 'mpg' },\
{'id': 'mp4-high',\
'cmd': 'scripts/mp4-high %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'video/mp4', 'output_extension': 'mp4' },\
{'id': 'mp4-low',\
'cmd': 'scripts/mp4-low %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'video/mp4', 'output_extension': 'mp4' },\
{'id': 'webm-high',\
'cmd': 'scripts/webm-high %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'video/webm', 'output_extension': 'webm' },\
{'id': 'webm-low',\
'cmd': 'scripts/webm-low %s %s',\
'supported_mime_types': ${transcodedaemon:default_supported_mimetypes},\
'output_mime_type': 'video/webm', 'output_extension': 'webm' },\
]
eggs=
collective.transcode.recipe
collective.transcode.daemon
[sources]
collective.recipe.scriptgen = svn http://svn.plone.org/svn/collective/buildout/collective.recipe.scriptgen/tags/0.2
#collective.transcode.daemon = ${buildout:sources-base}plumi/collective.transcode.daemon.git
#collective.transcode.recipe = ${buildout:sources-base}plumi/collective.transcode.recipe.git
[zopepy]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/zc.recipe.egg
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
scripts = zopepy