<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mplayer on Michael’s Domain</title><link>https://jeltsch.org/en/tags/mplayer/</link><description>Recent content in Mplayer on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/mplayer/index.xml" rel="self" type="application/rss+xml"/><item><title>Pinnacle PCTV Deluxe and Linux support</title><link>https://jeltsch.org/en/pinnacle_pctv_deluxe_and_linux_support/</link><pubDate>Thu, 05 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/pinnacle_pctv_deluxe_and_linux_support/</guid><description>&lt;p&gt;I bought a USB TV card; a Pinnacle PCTV Deluxe. There is only one program for Linux available: 
 &lt;a href="http://www.paranoyaxc.de/dune/dune.html" target="_blank" rel="noopener noreferrer nofollow"&gt;dunerec&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Here is how I got it working: Download and untar (tar -xvzf) 
 &lt;a href="http://www.paranoyaxc.de/dune/dune2-linux.tar.gz" target="_blank" rel="noopener noreferrer nofollow"&gt;dune2-linux.tar.gz&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 After untarring you have two directories: dunetools and dunelib, two shell scripts (which function escapes me) and one README.txt with some installation instructions. You don&amp;rsquo;t need to compile anything, you just need to copy the executables (and some other files) into the correct directories:
dunetools/dunerec/dunerec goes to /usr/local/bin
dunetools/duneinit/duneinit goes to /usr/local/bin You need to create the directory /usr/local/lib/dune Now you need some files from the Windows program, that came together with the TV card. Obviously you need to have a Windows system and install the Program there first. You find the files yu need in &amp;ldquo;C:\Program Files\Pinnacle\Pinnacle PCTV Deluxe\Driver&amp;quot;.
You need to copy the files ending with .v (k2.v, etc.), DuneNTSC.sys and DunePal.sys to the newly created directory /usr/local/lib/dune As I am living in Europe, I need to use Pal.sys; therefore I rename it to dune.sys chown root /usr/local/bin/dunerec
chmod u+s /usr/local/bin/dunerec
chown root /usr/local/bin/duneinit
chmod u+s /usr/local/bin/duneinit Scanning for channels is done with the command &lt;code&gt;/usr/local/bin dunerec -i 0 -S 1 -d 1 Dune at 001/002 VID 2304 PID 061E Loading ezusb2 firmware… dune.sys: FWOff: 77736 FWLen: 10296 You have to restart the program!&lt;/code&gt; The &amp;ldquo;-d 1&amp;rdquo; option is only to print debugging information. You need to execute the command again, this is normal: &lt;code&gt;dunerec -i 0 -S 1 &amp;gt;&amp;gt; /usr/local/lib/dune/channels.txt&lt;/code&gt; This command puts the output of the scanning into the file /usr/local/lib/dune/channels.txt; you still have to remove from this file the lines starting with . The error message &amp;ldquo;Cannot find dune!&amp;rdquo; occurs when the TV card is not plugged into the computer. I had it also occur when the TV card was present and I needed to remove the card, restart and hotplug it again to make it working. You should test whether the card is working: &lt;code&gt;dunerec -R test.mpg -i 0 -a 479250&lt;/code&gt; This records the TV signal on frequency 479.250 MHz into the file test.mpg. You can stop the recording with Ctrl-C and watch this mpg file with the video player of your choice. However, in order to watch live streaming TV, you need to pipe the data to a player. The only player I managed to get accepting the data is 
 &lt;a href="http://www.mplayer.hu" target="_blank" rel="noopener noreferrer nofollow"&gt;mplayer&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. There is a great rpm for Suse Linux 9.1 from 
 &lt;a href="http://packman.links2linux.de" target="_blank" rel="noopener noreferrer nofollow"&gt;Packman&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. Don&amp;rsquo;t forget to download the rpm with all the codecs! Here are some commands that I have used for piping: &lt;code&gt;dunerec -R - -i 0 -a 479250 | mplayer -cache 8192 -&lt;/code&gt; You can adjust the cache size to reduce the waiting time to start playback. &lt;code&gt;dunerec -R - -i 0 -a 479250 | mplayer -framedrop -vo x11 -&lt;/code&gt; Without cache you need to allow the player to drop frames. &lt;code&gt;dunerec -i 0 -a 479250 -t dvd -R - | mplayer -ao arts -vo xv -double -cache 4096 -framedrop -&lt;/code&gt; This is the complete command that I use now. I copied it from the gtk2 GUI.GTK2 GUI for TV card &amp;ldquo;Pinnacle PCTV Deluxe&amp;rdquo; 
 &lt;a href="http://pctvgtk.sourceforge.net" target="_blank" rel="noopener noreferrer nofollow"&gt;http://pctvgtk.sourceforge.net”&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. The installation work according to the instructions and the stuff really works. I had some problems with the scanning. it didn&amp;rsquo;t find all programs. I had to do the scanning under Windows (using the Pinnacle program) and then write down the frequencies and add them manually to the channels.txt files. But that went also without problems.&lt;/p&gt;</description></item><item><title>ksubtile, subtitles and subtitle format (srt, mplayer)</title><link>https://jeltsch.org/en/ksubtile_subtitles_and_subtitle_format_srt_mplayer/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/ksubtile_subtitles_and_subtitle_format_srt_mplayer/</guid><description>&lt;p&gt;There are heaps of subtitle editors for Windows, but I found only one usable for Linux: ksubtile. It&amp;rsquo;s not perfect but usable. It uses SubRip format (*.SRT). In these files subtitles have a running number, end- and startime down to milliseconds given for each subtitle.&lt;/p&gt;</description></item><item><title>Mplayer is probably the best video player (and mencoder the best encoder)</title><link>https://jeltsch.org/en/mplayer_is_probably_the_best_video_player_and_mencoder_the_best_encoder/</link><pubDate>Wed, 04 Apr 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/mplayer_is_probably_the_best_video_player_and_mencoder_the_best_encoder/</guid><description>&lt;p&gt;Because the videodata recorded by dunerec is in some strange mpeg flavour it occupied quite a bit of diskspace. 2 hours approximately 5 GB. that is why I was looking for an easy way to convert the mpeg into divx. After unsuccessfully palying with transcode, I managed with mencoder. Mencoder is included with 
 &lt;a href="http://www.mplayer.hu" target="_blank" rel="noopener noreferrer nofollow"&gt;Mplayer&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 and there is an RPM for Suse Linux 9.1.&lt;/p&gt;</description></item><item><title>Installing mplayer on kubuntu</title><link>https://jeltsch.org/en/installing_mplayer_on_kubuntu/</link><pubDate>Thu, 29 Mar 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/installing_mplayer_on_kubuntu/</guid><description>&lt;ol&gt;
&lt;li&gt;edit /etc/apt/sources.list and uncomment the lines for universe (remove the &amp;quot;&amp;quot; in front of the lines)&lt;/li&gt;
&lt;li&gt;add a line similar to universe see the example: 
 &lt;a href="http://fi.archive.ubuntu.com/ubuntu" target="_blank" rel="noopener noreferrer nofollow"&gt;http://fi.archive.ubuntu.com/ubuntu&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
 breezy multiverse&lt;/li&gt;
&lt;li&gt;download any extra codecs: wget 
 &lt;a href="http://www2.mplayerhq.hu/MPlayer/releases/codecs/all-20050412.tar.bz2" target="_blank" rel="noopener noreferrer nofollow"&gt;http://www2.mplayerhq.hu/MPlayer/releases/codecs/all-20050412.tar.bz2&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;unpack the codecs: tar -xvjf all-20050412.tar.bz2&lt;/li&gt;
&lt;li&gt;create the directory for the codecs: mkdir /usr/lib/win32&lt;/li&gt;
&lt;li&gt;move the &amp;ldquo;codecs&amp;rdquo; to the new directory: mv all-20050412/* /usr/lib/win32&lt;/li&gt;
&lt;li&gt;install mplayer: apt-get install mplayer-586&lt;/li&gt;
&lt;li&gt;install mplayer fonts: apt-get install mplayer-fonts&lt;/li&gt;
&lt;/ol&gt;</description></item><item><title>Watching, ripping and converting DVDs (xine, mplayer, mencoder, dvd, iso image)</title><link>https://jeltsch.org/en/watching_ripping_and_converting_dvds_xine_mplayer_mencoder_dvd_iso_image/</link><pubDate>Sun, 12 Nov 2006 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/watching_ripping_and_converting_dvds_xine_mplayer_mencoder_dvd_iso_image/</guid><description>&lt;p&gt;Both xine and MPlayer can play DVDs directly, but xine has a DVD navigation. In Mplayer you need to specify which movie (VOB file) you want to play:&lt;code&gt;xine dvd:// mplayer dvd://3&lt;/code&gt; If you just want to temporarily store the DVD on your hard disk it might be sufficient to create a DVD image:&lt;code&gt;dd if=/dev/dvd of=rosenstrasse.iso&lt;/code&gt; The image can be mounted as follows:&lt;code&gt;sudo mount -o loop rosenstrasse.iso /media/temp/&lt;/code&gt; Xine can play a DVD from an iso image directly (without mouting the image):&lt;code&gt;xine dvd://media/isos/movie.iso&lt;/code&gt; Note that you need to specify always the complete path even if the movie is in the current directory! Mplayer can play the individual VOB files from the image (however without subtitle support). I couldn&amp;rsquo;t make Mplayer to accept the iso image as dvd.For conversion to e.g. DivX/XviD the easiest is to use Mplayer/mencoder. First I extracted audio:&lt;code&gt;mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts abr:br=128&lt;/code&gt; Then the 1. pass encoding:&lt;code&gt;mencoder dvd://1 -nosound -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=1:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb&lt;/code&gt; Then the 2. pass encoding:&lt;code&gt;mencoder dvd://1 -oac copy -o file.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=2:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb&lt;/code&gt;It is more difficult to extract the subtitles. You can either extract them as images (easier but bigger filesize) or then convert these images into textfiles (requires an OCR step).Extract subtitle images (from mounted iso image in this case):&lt;code&gt;cat /media/temp/VIDEO_TS/VTS_01_?.VOB | tcextract -x ps1 -t vob -a 0x20 &amp;gt; movie.ps1&lt;/code&gt; Convert subtitle images:&lt;code&gt;subtitle2vobsub -i /media/temp/VIDEO_TS/VTS_01_0.IFO -p movie.ps1 -o movie_name&lt;/code&gt; Copy metadata:&lt;code&gt;cp /media/temp/VIDEO_TS/VTS_01_0.IFO movie_name.ifo&lt;/code&gt; Play from VOB file directly:&lt;code&gt;mplayer /media/temp/VIDEO_TS/VTS_01_1.VOB -vobsub movie_name -vobsubid 0&lt;/code&gt; Play from avi file:&lt;code&gt;mplayer movie.avi -vobsub movie_name -vobsubid 0&lt;/code&gt;&lt;/p&gt;</description></item></channel></rss>