Group: Play Freedom/WebM recipe

From LibrePlanet
Jump to: navigation, search
(formatting pass)
(For GNU/Linux users)
 
(18 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= How to upload a video to YouTube and ensure it is viewable in WebM =
+
__NOTOC__
+
 
As of a couple weeks ago, you can now ensure that [https://groups.google.com/a/webmproject.org/group/webm-discuss/browse_thread/thread/39aea2c0aebaefa3 YouTube will make any video you upload available in WebM]through their HTML5 interface, by uploading it as WebM and not using the "annotations" or "display ads" options. This guide will help you do that.
+
= How to watch YouTube videos in WebM without proprietary JavaScript =
+
 
Unfortunately, viewers will still see your videos in Flash unless they have opted into YouTube's HTML5 beta. Instructions for opting in are at http://www.youtube.com/html5 -- be sure to point people there when promoting your videos.
+
== Install LibreJS ==
+
[https://www.gnu.org/software/librejs/ LibreJS] blocks non-free non-trivial JavaScript while allowing free or trivial JavaScript. The [https://addons.mozilla.org/en-us/firefox/addon/librejs/ Firefox Add-on page] allows for an easy one-click install in Mozilla Firefox.  
Here we present instructions for using [http://videolan.org VLC] version 1.1.2 to
+
 
convert any common video format to Webm.  VLC runs on [http://gnu.org/distros GNU/Linux],
+
== Install free external player software ==
Windows and Mac OS.  We presume the same recipe will work on
+
 
future VLC versions; please leave a note on the talk page here if you have any trouble.
+
=== For GNU/Linux users ===
On GNU/Linux you can also do this job with Transmageddon, Arista,
+
 
PiTiVi or FFMPEG.
+
These programs will enable you to watch YouTube videos in free formats without using proprietary JavaScript.
+
 
Prerequisites:
+
Install totem-mozplugin-vegas
+
* For deb-based distros (such as [http://trisquel.info Trisquel] or [http://gnewsense.org gNewSense]): sudo apt-get install totem-mozilla
+
* For yum-based distros: su -c 'yum install totem-mozplugin-vegas'
* VLC 1.1.0 and greater
+
 
* A video to convert
+
[https://github.com/rg3/youtube-dl/ youtube-dl] can be used from the command line to download and watch the videos. Use --format=45 or --format=43 to specify WebM format.
+
 
== Instructions ==
+
=== For any OS ===
+
 
=== 1. Open VLC. ===
+
Install FlashVideoReplacer:
+
* https://github.com/webgapps/flvideoreplacer/downloads
<img src="/wiki/campaigns/playogg/youtubewebm/1__41___Screenshot-VLC_media_player.png" />
+
 
+
== How to upload a video to YouTube and ensure it is made available as WebM ==
=== 2. Navigate to "Media" -&gt; "Convert/Save..." or hit Ctrl+R. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/2__41___Screenshot-VLC_media_player.png" />
 
 
=== 3. In the "Open Media" window, click the "Add.." button. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/3__41___Screenshot-Open_Media.png" />
 
 
=== 4. Now simply navigate to the file(s) you want to convert, click (Ctrl+click to select more than one), and hit the "Open" button. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/4__41___Screenshot-Select_one_or_multiple_files.png" />
 
 
=== 5. With the file(s) you selected in the "File Selection" field, click the "Convert/Save" button. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/5__41___Screenshot-Open_Media.png" />
 
 
=== 6. Then under "Destination", click browse. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/6__41___Screenshot-Convert.png" />
 
 
=== 7. From here, choose where the file should end up and name it something like example.webm. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/7__41___Screenshot-Save_file....png" />
 
 
* Option: You may select "Display the output" to play the video as it converts it, but that may slow things down significantly.
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/8__41___Screenshot-Convert.png" />
 
 
=== 8. Next, click the "Profile" dropdown, to find and select the WebM option. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/9__41___Screenshot-Convert.png" />
 
 
   
 
   
 +
[http://youtube-global.blogspot.com/2011/04/mmm-mmm-good-youtube-videos-now-served.html YouTube now transcodes all uploaded videos] into WebM, but the viewer must still use a flash video replacer to avoid proprietary JavaScript.
  
* If you are converting an interlaced video file, for example from a digital camcorder with a resolution like 1080i rather than 1080p, select "Deinterlace", otherwise ignore this.
+
It is best to choose no advertising for your video, because that can also have the effect of making it require Flash to view in some situations.
* Option: Advanced options for quality and other settings are available if you click the button with the icon of tools to edit the selected profile.
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/10__41___Screenshot-Convert.png" />
 
 
=== 9. Click start to begin transcoding, and you should see the media progress bar and the time in the lower-right corner indicate how far it is. ===
 
 
<img src="/wiki/campaigns/playogg/youtubewebm/11__41___Screenshot-Streaming_-_VLC_media_player.png" />
 
 
=== 10. Once that has completed, open the resulting webm file to verify that it works. ===
 
 
Now you're all set to upload to YouTube (make sure not to use annotations, display ads, or use audioswap) and/or just enjoy!
 

Latest revision as of 17:02, 10 September 2013


How to watch YouTube videos in WebM without proprietary JavaScript

Install LibreJS

LibreJS blocks non-free non-trivial JavaScript while allowing free or trivial JavaScript. The Firefox Add-on page allows for an easy one-click install in Mozilla Firefox.

Install free external player software

For GNU/Linux users

These programs will enable you to watch YouTube videos in free formats without using proprietary JavaScript.

Install totem-mozplugin-vegas

  • For deb-based distros (such as Trisquel or gNewSense): sudo apt-get install totem-mozilla
  • For yum-based distros: su -c 'yum install totem-mozplugin-vegas'

youtube-dl can be used from the command line to download and watch the videos. Use --format=45 or --format=43 to specify WebM format.

For any OS

Install FlashVideoReplacer:

How to upload a video to YouTube and ensure it is made available as WebM

YouTube now transcodes all uploaded videos into WebM, but the viewer must still use a flash video replacer to avoid proprietary JavaScript.

It is best to choose no advertising for your video, because that can also have the effect of making it require Flash to view in some situations.