<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://familien-hartvig.dk/wiki/index.php?action=history&amp;feed=atom&amp;title=Automatic_retrieval_and_encoding</id>
	<title>Automatic retrieval and encoding - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://familien-hartvig.dk/wiki/index.php?action=history&amp;feed=atom&amp;title=Automatic_retrieval_and_encoding"/>
	<link rel="alternate" type="text/html" href="http://familien-hartvig.dk/wiki/index.php?title=Automatic_retrieval_and_encoding&amp;action=history"/>
	<updated>2026-06-17T04:35:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.15</generator>
	<entry>
		<id>http://familien-hartvig.dk/wiki/index.php?title=Automatic_retrieval_and_encoding&amp;diff=404&amp;oldid=prev</id>
		<title>Lars: Protected &quot;Automatic retrieval and encoding&quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]</title>
		<link rel="alternate" type="text/html" href="http://familien-hartvig.dk/wiki/index.php?title=Automatic_retrieval_and_encoding&amp;diff=404&amp;oldid=prev"/>
		<updated>2012-02-22T18:45:20Z</updated>

		<summary type="html">&lt;p&gt;Protected &amp;quot;&lt;a href=&quot;/wiki/index.php?title=Automatic_retrieval_and_encoding&quot; title=&quot;Automatic retrieval and encoding&quot;&gt;Automatic retrieval and encoding&lt;/a&gt;&amp;quot; ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:45, 22 February 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Lars</name></author>
		
	</entry>
	<entry>
		<id>http://familien-hartvig.dk/wiki/index.php?title=Automatic_retrieval_and_encoding&amp;diff=39&amp;oldid=prev</id>
		<title>Lars: Created page with &quot;Back  ==The works== This is about how to automatically get you recording encoded/compressed (from 6 to 10 times depending on quality) To do that, the server ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://familien-hartvig.dk/wiki/index.php?title=Automatic_retrieval_and_encoding&amp;diff=39&amp;oldid=prev"/>
		<updated>2012-02-03T08:26:57Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&lt;a href=&quot;/wiki/index.php?title=KiSS_cookbook&quot; title=&quot;KiSS cookbook&quot;&gt;Back&lt;/a&gt;  ==The works== This is about how to automatically get you recording encoded/compressed (from 6 to 10 times depending on quality) To do that, the server ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[KiSS cookbook|Back]]&lt;br /&gt;
&lt;br /&gt;
==The works==&lt;br /&gt;
This is about how to automatically get you recording encoded/compressed (from 6 to 10 times depending on quality)&lt;br /&gt;
To do that, the server must:&lt;br /&gt;
* Get the recorded file from the KiSS, at a time where it doesn't clash with your watching it.&lt;br /&gt;
* Setting up a encoder queue, which is a folder where all files in it gets processed and put out in another folder.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mencoder==&lt;br /&gt;
To make the queue work, you need to install mencoder (often a part of mplayer installation)&lt;br /&gt;
&lt;br /&gt;
'''FreeBSD:'''&lt;br /&gt;
 pkg_add -r mencoder&lt;br /&gt;
mencoder is NOT a part of mplayer in FreeBSD ver 7.0 and a package installation dosen't work. So you have to make the installation from the ports system:&lt;br /&gt;
 cd /usr/ports/multimedia/mencoder&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
==KiSS CE==&lt;br /&gt;
The KiSS CE package is a script that runs the encoder queue and retrieve the files from the KiSS player.&lt;br /&gt;
&lt;br /&gt;
First you have to make the folders:  &lt;br /&gt;
* Input, where files downloaded from the KiSS are stored and where you can put other files you want to get encoded&lt;br /&gt;
* Error; is where files that fails encoding are moved to. It must be on the same filesystem as Input.&lt;br /&gt;
* Output; are where the newly encoded files end up.&lt;br /&gt;
&lt;br /&gt;
If you put it all on the same filesystem it could look like this:&lt;br /&gt;
 cd /home/mike&lt;br /&gt;
 mkdir kiss_ce&lt;br /&gt;
 cd kiss_ce&lt;br /&gt;
 mkdir input&lt;br /&gt;
 mkdir error&lt;br /&gt;
 mkdir output&lt;br /&gt;
&lt;br /&gt;
Be sure you are not root, when you do it.&lt;br /&gt;
&lt;br /&gt;
If you use a windows desktop, you might make the kiss_ce folder a samba share:&lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''as root''&amp;lt;/font&amp;gt;&lt;br /&gt;
 edit /usr/local/etc/smb.conf&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''add and adapt this:''&amp;lt;/font&amp;gt;&lt;br /&gt;
 # Encoder queue.&lt;br /&gt;
 [kiss_ce]&lt;br /&gt;
    path = /home/mike/kiss_ce&lt;br /&gt;
    valid users = mike @staff&lt;br /&gt;
    public = no&lt;br /&gt;
    writable = yes&lt;br /&gt;
    printable = no&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''Restart samba''&amp;lt;/font&amp;gt;&lt;br /&gt;
 /usr/local/etc/rc.d/samba restart&lt;br /&gt;
 &lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''Exit root''&amp;lt;/font&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can get KiSS CE from the MPC Club download site: [http://www.mpcclub.com/modules.php?name=Downloads&amp;amp;d_op=getit&amp;amp;lid=325#dl]&amp;lt;br&amp;gt;&lt;br /&gt;
Place the file the equivalent of the above /home/mike/kiss_ce folder. Unpack with this command:  &lt;br /&gt;
 gzcat kiss_ce-1.0.tar.gz | tar xvf - &lt;br /&gt;
&lt;br /&gt;
===Confrigure===&lt;br /&gt;
As a minimum you must configure the encoding queue folders.&amp;lt;br&amp;gt;&lt;br /&gt;
Following the above example and assuming the kiss has the IP address 10.0.0.90 you must change the following in kiss_ce.conf:&lt;br /&gt;
&lt;br /&gt;
 path_input='/home/mike/kiss_ce/input'&lt;br /&gt;
 path_output='/home/mike/kiss_ce/output'&lt;br /&gt;
 path_error='/home/mike/kiss_ce/error' &lt;br /&gt;
 ...&lt;br /&gt;
 remote='ENABLED'&lt;br /&gt;
 remote_address='10.0.0.90'&lt;br /&gt;
you might want to change other settings in kiss_ce.conf. But this is the essential.&lt;br /&gt;
&lt;br /&gt;
Test that it work by running the script:&lt;br /&gt;
 ./kiss_ce&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Cron===&lt;br /&gt;
To make the script run regularly, you must add it to the cron job list. &amp;lt;br&amp;gt;&lt;br /&gt;
KiSS CE will output a message if an error occur. You can tell cron to mail it to your regular mail address by adding the MAILTO directive:&lt;br /&gt;
 crontab -e&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;font color=&amp;quot;#007700&amp;quot;&amp;gt;''Add this:''&amp;lt;/font&amp;gt;&lt;br /&gt;
 MAILTO=&amp;quot;mike@some.domain.tld&amp;quot;&lt;br /&gt;
 1-59/10 * * * * /home/mike/kiss_ce/kiss_ce&lt;br /&gt;
 &lt;br /&gt;
This will make it run every 10 minutes.&lt;br /&gt;
&lt;br /&gt;
Now you just need to test that it's working. (leave it alone for a day and you will know)&lt;/div&gt;</summary>
		<author><name>Lars</name></author>
		
	</entry>
</feed>