<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Weiqi Gao&#039;s Observations - video tag</title>
  <link>http://www.weiqigao.com/blog/tags/video/</link>
  <description>Sharing My Experience...</description>
  <language>en</language>
  <copyright>Weiqi Gao</copyright>
  <lastBuildDate>Fri, 11 May 2012 12:48:36 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  <image>
    <url>http://pebble.sourceforge.net/common/images/powered-by-pebble.gif</url>
    <title>Weiqi Gao&#039;s Observations</title>
    <link>http://www.weiqigao.com/blog/</link>
  </image>
  
  
  <item>
    <title>Firefox 3.5 Means Never Having To Say I&#039;m Sorry (For My Video Format)</title>
    <link>http://www.weiqigao.com/blog/2009/07/02/firefox_3_5_means_never_having_to_say_im_sorry_for_my_video_format.html</link>
    
      
        <description>
          &lt;p&gt;Have you &lt;a href= &#034;http://www.mozilla.com/en-US/firefox/3.5/releasenotes/&#034; &gt;3.5-ed&lt;/a&gt; yet?&lt;/p&gt;

&lt;p&gt;I installed Firefox 3.5 on my Windows boxes, but not on my Linux boxes because Mozilla.org does not offer 64-bit Linux builds.  One of the features of Firefox 3.5 is the support of the &lt;a href= &#034;http://en.wikipedia.org/wiki/Theora&#034; &gt;Ogg Theora&lt;/a&gt; video file format, which is the format of all of the screencasts I posted on this blog.&lt;/p&gt;

&lt;p&gt;I use Ogg Theora because it is the native encoding format of the &lt;a href= &#034;http://recordmydesktop.sourceforge.net/about.php&#034; &gt;recordMyDesktop&lt;/a&gt; screen capture utility for Gnome.  Since this format was not natively supported on Windows or Max OS X, every time I post one of my screencasts/demos, I have to put in a disclaimer&amp;mdash;&#034;&lt;i&gt;Linuxy format, download VLC to view&lt;/i&gt;&#034;.&lt;/p&gt;

&lt;p&gt;Not any more!  Now you can view it directly in Firefox 3.5:&lt;/p&gt;

&lt;center&gt;
&lt;video src=&#034;http://www.weiqigao.com/blog/files/javafx-video-on-linux.ogg&#034; width=&#034;544&#034; height=&#034;384&#034; autoplay=&#034;true&#034; controls=&#034;true&#034;&gt;Sorry, your browser does not support the HTML 5 &amp;lt;video&gt; tag.  Get one that does.&lt;br/&gt;
&lt;a href=&#039;http://www.mozilla.com/en-US/?from=sfx&amp;amp;uid=0&amp;amp;t=451&#039;&gt;&lt;img src=&#039;http://sfx-images.mozilla.org/affiliates/Buttons/Firefox3.5/173x26_get_green.png&#039; alt=&#039;Spread Firefox Affiliate Button&#039; border=&#039;0&#039; /&gt;&lt;/a&gt;&lt;/video&gt;
&lt;/center&gt;

&lt;p&gt;(The video is from an &lt;a href= &#034;http://www.weiqigao.com/blog/2008/12/13/javafx_1_0_on_linux_video.html&#034; &gt;old blog entry&lt;/a&gt; of mine showing JavaFX 1.0 playing Ogg Theora video files on Linux.)&lt;/p&gt;

&lt;p&gt;Let the next round of the browser war begin!&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2009/07/02/firefox_3_5_means_never_having_to_say_im_sorry_for_my_video_format.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2009/07/02/firefox_3_5_means_never_having_to_say_im_sorry_for_my_video_format.html</guid>
    <pubDate>Thu, 02 Jul 2009 21:26:53 GMT</pubDate>
  </item>
  
  <item>
    <title>JavaFX 1.0 On Linux: Video</title>
    <link>http://www.weiqigao.com/blog/2008/12/13/javafx_1_0_on_linux_video.html</link>
    
      
        <description>
          &lt;p&gt;[&lt;b&gt;Update&lt;/b&gt; (Wed Jun  3 07:45:43 PDT 2009)]: As of June 2, 2009, you can download the Linux and Solaris version of JavaFX 1.2 SDK directly from &lt;a href= &#034;http://javafx.com&#034; &gt;http://javafx.com&lt;/a&gt;.  The Linux and Solaris support is preview only.[&lt;b&gt;/&lt;/b&gt;]&lt;/p&gt;

&lt;p&gt;In the two previous posts, I showed how to install &lt;a href= &#034;http://www.weiqigao.com/blog/2008/12/04/using_javafx_1_0_on_linux.html&#034; &gt;JavaFX SDK 1.0&lt;/a&gt; and &lt;a href= &#034;http://www.weiqigao.com/blog/2008/12/11/javafx_1_0_on_linux_netbeans_plugin.html&#034; &gt;the JavaFX 1.0 NetBeans Plugin&lt;/a&gt; on Linux machines.  In both cases, I used the Mac version of the JavaFX SDK.&lt;/p&gt;

&lt;p&gt;This approach won&#039;t give us any native libraries for Linux.  However, thanks to &lt;a href= &#034;http://twitter.com/lqd&#034; &gt;
&lt;img src=&#034;http://www.weiqigao.com/blog/images/twitter-lqd.png&#034; width=&#034;93&#034; height=&#034;93&#034; alt=&#034;http://twitter.com/lqd&#034; title=&#034;Rémy Rakic&#034; /&gt;&lt;/a&gt; (via &lt;a href= &#034;http://www.pushing-pixels.org/?p=909&#034; &gt;Pushing Pixels&lt;/a&gt;), we know a place where we can get those:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href= &#034;http://download.java.net/javafx/&#034; &gt;http://download.java.net/javafx/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you look carefully, you may find jar files whose names contain &#034;&lt;tt&gt;natives&lt;/tt&gt;&#034;.  Although not complete, the various Linux and Solaris platforms are represented.  Download, unjar, and throw the resulting &lt;tt&gt;*.so&lt;/tt&gt; files into the appropriate place, you&#039;ve gotten at least some of the native capabilities.  The most interesting of them all is&lt;/p&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;tt&gt;jmc-natives-linux-i586__V1.0.0.jar&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;which contains&lt;/p&gt;

&lt;p style=&#034;margin-left:3em&#034;&gt;&lt;tt&gt;libGStreamer.so&lt;/tt&gt;&lt;br/&gt; &lt;tt&gt;libon2_decoder.so&lt;/tt&gt;&lt;/p&gt;

&lt;p&gt;That could only mean one thing&amp;mdash;JavaFX videos on Linux.  Here it is (Linuxy format, you need &lt;a href= &#034;http://en.wikipedia.org/wiki/Wikipedia:Media_help_(Ogg)&#034; &gt;extra software&lt;/a&gt; to view it on Windows and Mac):&lt;/p&gt;

&lt;center&gt;
&lt;a href= &#034;./files/javafx-video-on-linux.ogg&#034; &gt;
&lt;img src=&#034;http://www.weiqigao.com/blog/images/javafx-video-on-linux.png&#034; width=&#034;544&#034; height=&#034;384&#034; alt=&#034;JavaFX Video on Linux&#034; title=&#034;JavaFX Video on Linux&#034; /&gt;
&lt;/a&gt;
&lt;/center&gt;

&lt;p&gt;This is an Ogg Theora video recorded with gtk-recordMydesktop in Fedora 10/i586 with OpenJDK 6 (in VirtualBox 2.0.6 in Vista SP1, on the other side of the dual-boot).  It is also the video played by JavaFX inside the video.  I wasn&#039;t able to play FLV videos when I tried.  Well, they did say it&#039;s not ready.&lt;/p&gt;
        </description>
      
      
    
    
    
    <comments>http://www.weiqigao.com/blog/2008/12/13/javafx_1_0_on_linux_video.html#comments</comments>
    <guid isPermaLink="true">http://www.weiqigao.com/blog/2008/12/13/javafx_1_0_on_linux_video.html</guid>
    <pubDate>Sat, 13 Dec 2008 22:00:30 GMT</pubDate>
  </item>
  
  </channel>
</rss>

