Kaynağa Gözat

Advice on file format

Bob Mottram 8 yıl önce
ebeveyn
işleme
a85ffc6c81
2 değiştirilmiş dosya ile 45 ekleme ve 7 silme
  1. 14
    0
      doc/EN/app_mediagoblin.org
  2. 31
    7
      website/EN/app_mediagoblin.html

+ 14
- 0
doc/EN/app_mediagoblin.org Dosyayı Görüntüle

@@ -45,3 +45,17 @@ If you have just obtained a Lets Encrypt certificate as above then go to *About*
45 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 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 Dosyayı Görüntüle

@@ -3,7 +3,7 @@
3 3
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 4
 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
5 5
 <head>
6
-<!-- 2016-12-25 Sun 11:54 -->
6
+<!-- 2016-12-26 Mon 10:53 -->
7 7
 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
8 8
 <meta name="viewport" content="width=device-width, initial-scale=1" />
9 9
 <title></title>
@@ -255,9 +255,9 @@ With Mediagoblin you can host video and audio content in a similar manner to the
255 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 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 261
 <p>
262 262
 Log into your system with:
263 263
 </p>
@@ -282,9 +282,9 @@ After the install has completed go to <b>Security settings</b> and select <b>Cre
282 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 288
 <div class="org-center">
289 289
 
290 290
 <div class="figure">
@@ -306,6 +306,30 @@ You should repeat that for however many accounts you want on the system and then
306 306
 </p>
307 307
 </div>
308 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 333
 </div>
310 334
 <div id="postamble" class="status">
311 335