]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.html
Generated.
[homepage.git] / blog / index.html
index f76abb491534d317d3310b9fb7c31e3208d300b4..8b1a32a9f0aa4b0aaab506f2b579cd5514141a1f 100644 (file)
 
 
     
+    <div class="entry">
+      <div class="title"><a href="http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html">What is the best multimedia player in Debian?</a></div>
+      <div class="date"> 8th May 2016</div>
+      <div class="body"><p><strong>Where I set out to figure out which multimedia player in
+Debian claim support for most file formats.</strong></p>
+
+<p>A few years ago, I had a look at the media support for Browser
+plugins in Debian, to get an idea which plugins to include in Debian
+Edu.  I created a script to extract the set of supported MIME types
+for each plugin, and used this to find out which multimedia browser
+plugin supported most file formats / media types.
+<a href="https://wiki.debian.org/DebianEdu/BrowserMultimedia">The
+result</a> can still be seen on the Debian wiki, even though it have
+not been updated for a while.  But browser plugins are less relevant
+these days, so I thought it was time to look at standalone
+players.</p>
+
+<p>A few days ago I was tired of VLC not being listed as a viable
+player when I wanted to play videos from the Norwegian National
+Broadcasting Company, and decided to investigate why.  The cause is a
+<a href="https://bugs.debian.org/822245">missing MIME type in the VLC
+desktop file</a>.  In the process I wrote a script to compare the set
+of MIME types announced in the desktop file and the browser plugin,
+only to discover that there is quite a large difference between the
+two for VLC.  This discovery made me dig up the script I used to
+compare browser plugins, and adjust it to compare desktop files
+instead, to try to figure out which multimedia player in Debian
+support most file formats.</p>
+
+<p>The result can be seen on the Debian Wiki, as
+<a href="https://wiki.debian.org/DebianMultimedia/PlayerSupport">a
+table listing all MIME types supported by one of the packages included
+in the table</a>, with the package supporting most MIME types being
+listed first in the table.</p>
+
+</p>The best multimedia player in Debian?  It is totem, followed by
+parole, kplayer, mpv, vlc, smplayer mplayer-gui gnome-mpv and
+kmplayer.  Time for the other players to update their announced MIME
+support?</p>
+</div>
+      <div class="tags">
+        
+        
+        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>. 
+        
+        
+      </div>
+    </div>
+    <div class="padding"></div>
+    
     <div class="entry">
       <div class="title"><a href="http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html">The Pyra - handheld computer with Debian preinstalled</a></div>
       <div class="date"> 4th May 2016</div>
@@ -909,68 +959,6 @@ activities, please send Bitcoin donations to my address
     </div>
     <div class="padding"></div>
     
-    <div class="entry">
-      <div class="title"><a href="http://people.skolelinux.org/pere/blog/Full_battery_stats_collector_is_now_available_in_Debian.html">Full battery stats collector is now available in Debian</a></div>
-      <div class="date">23rd March 2016</div>
-      <div class="body"><p>Since this morning, the battery-stats package in Debian include an
-extended collector that will collect the complete battery history for
-later processing and graphing.  The original collector store the
-battery level as percentage of last full level, while the new
-collector also record battery vendor, model, serial number, design
-full level, last full level and current battery level.  This make it
-possible to predict the lifetime of the battery as well as visualise
-the energy flow when the battery is charging or discharging.</p>
-
-<p>The new tools are available in <tt>/usr/share/battery-stats/</tt>
-in the version 0.5.1 package in unstable.  Get the new battery level graph
-and lifetime prediction by running:
-
-<p><pre>
-/usr/share/battery-stats/battery-stats-graph /var/log/battery-stats.csv
-</pre></p>
-
-<p>Or select the 'Battery Level Graph' from your application menu.</p>
-
-<p>The flow in/out of the battery can be seen by running (no menu
-entry yet):</p>
-
-<p><pre>
-/usr/share/battery-stats/battery-stats-graph-flow
-</pre></p>
-
-<p>I'm not quite happy with the way the data is visualised, at least
-when there are few data points.  The graphs look a bit better with a
-few years of data.</p>
-
-<p>A while back one important feature I use in the battery stats
-collector broke in Debian.  The scripts in
-<tt>/usr/lib/pm-utils/power.d/</tt> were no longer executed.  I
-suspect it happened when Jessie started using systemd, but I do not
-know.  The issue is reported as
-<a href="https://bugs.debian.org/818649">bug #818649</a> against
-pm-utils.  I managed to work around it by adding an udev rule to call
-the collector script every time the power connector is connected and
-disconnected.  With this fix in place it was finally time to make a
-new release of the package, and get it into Debian.</p>
-
-<p>If you are interested in how your laptop battery is doing, please
-check out the
-<a href="https://tracker.debian.org/pkg/battery-stats">battery-stats</a>
-in Debian unstable, or rebuild it on Jessie to get it working on
-Debian stable. :) The upstream source is available from
-<a href="https://github.com/petterreinholdtsen/battery-stats">github</a>.
-As always, patches are very welcome.</p>
-</div>
-      <div class="tags">
-        
-        
-        Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>. 
-        
-        
-      </div>
-    </div>
-    <div class="padding"></div>
-    
     <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
     <div id="sidebar">
       
@@ -990,7 +978,7 @@ As always, patches are very welcome.</p>
 
 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/04/">April (8)</a></li>
 
-<li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (1)</a></li>
+<li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (2)</a></li>
 
 </ul></li>
 
@@ -1229,9 +1217,9 @@ As always, patches are very welcome.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (125)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (126)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (155)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (156)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
 
@@ -1241,7 +1229,7 @@ As always, patches are very welcome.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (312)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (313)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
 
@@ -1271,7 +1259,7 @@ As always, patches are very welcome.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (37)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (38)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (7)</a></li>
 
@@ -1323,7 +1311,7 @@ As always, patches are very welcome.</p>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (8)</a></li>
 
- <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (55)</a></li>
+ <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (56)</a></li>
 
  <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>