Bob Mottram 8 лет назад
Родитель
Сommit
a85ffc6c81
2 измененных файлов: 45 добавлений и 7 удалений
  1. 14
    0
      doc/EN/app_mediagoblin.org
  2. 31
    7
      website/EN/app_mediagoblin.html

+ 14
- 0
doc/EN/app_mediagoblin.org Просмотреть файл

45
 Create an account and verify it by returning to the *user control panel* opening the email client and looking for the Mediagoblin verification email. It will contain a link that you should follow to activate the account.
45
 Create an account and verify it by returning to the *user control panel* opening the email client and looking for the Mediagoblin verification email. It will contain a link that you should follow to activate the account.
46
 
46
 
47
 You should repeat that for however many accounts you want on the system and then go back to the *administrator control panel*, select *App Settings* then *mediagoblin* and turn off new registrations. This will prevent millions of spam accounts from being created by internet bots.
47
 You should repeat that for however many accounts you want on the system and then go back to the *administrator control panel*, select *App Settings* then *mediagoblin* and turn off new registrations. This will prevent millions of spam accounts from being created by internet bots.
48
+
49
+
50
+* File formats
51
+It's a good idea to upload videos in /webm/ format. In that case Mediagoblin will skip the transcoding step (which can take hours for videos of non-trivial length) and the whole process will be quicker. Transcoding just converts whatever file format you submit into a standard resolution and file type. On your local system you can convert a video to webm with:
52
+
53
+#+begin_src bash
54
+ffmpeg -i myvideo.mp4 myvideo.webm
55
+#+end_src
56
+
57
+Or if you are moving a video from YouTube to your own site:
58
+
59
+#+begin_src bash
60
+youtube-dl -f webm [my_video_url]
61
+#+end_src

+ 31
- 7
website/EN/app_mediagoblin.html Просмотреть файл

3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5
 <head>
5
 <head>
6
-<!-- 2016-12-25 Sun 11:54 -->
6
+<!-- 2016-12-26 Mon 10:53 -->
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9
 <title></title>
9
 <title></title>
255
 When hosting media files you should take into consideration that since anyone on the internet can view your content then this could significantly increase your bandwidth usage and overall strain on the server. If you are hosting anything which might become popular then it's a good idea to set up the Freedombone system on an old laptop rather than something like a Beaglebone Black. However, as small single board computers become more powerful with more RAM and CPU cores being able to stream media to many clients should be far less of a problem.
255
 When hosting media files you should take into consideration that since anyone on the internet can view your content then this could significantly increase your bandwidth usage and overall strain on the server. If you are hosting anything which might become popular then it's a good idea to set up the Freedombone system on an old laptop rather than something like a Beaglebone Black. However, as small single board computers become more powerful with more RAM and CPU cores being able to stream media to many clients should be far less of a problem.
256
 </p>
256
 </p>
257
 
257
 
258
-<div id="outline-container-org8d1d522" class="outline-2">
259
-<h2 id="org8d1d522">Installation</h2>
260
-<div class="outline-text-2" id="text-org8d1d522">
258
+<div id="outline-container-org11c3839" class="outline-2">
259
+<h2 id="org11c3839">Installation</h2>
260
+<div class="outline-text-2" id="text-org11c3839">
261
 <p>
261
 <p>
262
 Log into your system with:
262
 Log into your system with:
263
 </p>
263
 </p>
282
 </div>
282
 </div>
283
 
283
 
284
 
284
 
285
-<div id="outline-container-orga30e9ca" class="outline-2">
286
-<h2 id="orga30e9ca">Initial setup</h2>
287
-<div class="outline-text-2" id="text-orga30e9ca">
285
+<div id="outline-container-org6c142c0" class="outline-2">
286
+<h2 id="org6c142c0">Initial setup</h2>
287
+<div class="outline-text-2" id="text-org6c142c0">
288
 <div class="org-center">
288
 <div class="org-center">
289
 
289
 
290
 <div class="figure">
290
 <div class="figure">
306
 </p>
306
 </p>
307
 </div>
307
 </div>
308
 </div>
308
 </div>
309
+
310
+
311
+<div id="outline-container-orgadacbc6" class="outline-2">
312
+<h2 id="orgadacbc6">File formats</h2>
313
+<div class="outline-text-2" id="text-orgadacbc6">
314
+<p>
315
+It's a good idea to upload videos in <i>webm</i> format. In that case Mediagoblin will skip the transcoding step (which can take hours for videos of non-trivial length) and the whole process will be quicker. Transcoding just converts whatever file format you submit into a standard resolution and file type. On your local system you can convert a video to webm with:
316
+</p>
317
+
318
+<div class="org-src-container">
319
+<pre class="src src-bash">ffmpeg -i myvideo.mp4 myvideo.webm
320
+</pre>
321
+</div>
322
+
323
+<p>
324
+Or if you are moving a video from YouTube to your own site:
325
+</p>
326
+
327
+<div class="org-src-container">
328
+<pre class="src src-bash">youtube-dl -f webm [my_video_url]
329
+</pre>
330
+</div>
331
+</div>
332
+</div>
309
 </div>
333
 </div>
310
 <div id="postamble" class="status">
334
 <div id="postamble" class="status">
311
 
335