<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Alt om ingenting og litt i mellom &#187; video</title>
	<atom:link href="http://hovenko.no/blog/tag/video/feed/" rel="self" type="application/rss+xml" />
	<link>https://hovenko.no/blog</link>
	<description>En blogg av Knut-Olav</description>
	<lastBuildDate>Mon, 10 Mar 2025 19:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Unstable video capture with DC10+ on Ubuntu 10.10</title>
		<link>https://hovenko.no/blog/2010/11/28/unstable-video-capture-with-dc10-on-ubuntu-10-10/</link>
		<comments>https://hovenko.no/blog/2010/11/28/unstable-video-capture-with-dc10-on-ubuntu-10-10/#comments</comments>
		<pubDate>Sun, 28 Nov 2010 18:07:51 +0000</pubDate>
		<dc:creator>Knut-Olav</dc:creator>
				<category><![CDATA[English-posts]]></category>
		<category><![CDATA[Teknologi]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[jitter]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[videoredigering]]></category>

		<guid isPermaLink="false">http://hovenko.no/blog/?p=523</guid>
		<description><![CDATA[Some weeks ago I wrote about capturing video with an old Pinnacle DC10+ card on Ubuntu 10.10. Since then I have had varying success capturing hours of video from both Hi8 and VHS sources. Often lavrec will exit in the middle of a recording with somewhat unknown error messages such as: # dmesg: DC10plus[0]: jpg_sync [...]]]></description>
			<content:encoded><![CDATA[<p>Some weeks ago I wrote about <a href="http://hovenko.no/blog/2010/11/06/video-capture-the-old-way-on-new-ubuntu-10-10">capturing video with an old Pinnacle DC10+ card on Ubuntu 10.10</a>.</p>
<p>Since then I have had varying success capturing hours of video from both Hi8 and VHS sources. Often lavrec will exit in the middle of a recording with somewhat unknown error messages such as:</p>
<pre><code>
# dmesg:
DC10plus[0]: jpg_sync - timeout: codec isr=0x00

# lavrec:
Error syncing on a buffer: Timer expired
</code></pre>
<p>&#8230; and other nicies.</p>
<p>Often this happened between recordings on the tape, when stopping and starting a recording, where it often occur a lot of noise and jitter. It happened more often when recording from VHS tapes than from HI8 tapes.</p>
<p>I tried different values for the system configuration kernel.sched_time_avg with what looks like random improvements. The default is 1000 on a normal Ubuntu Desktop 10.10. I have tried both 100 and 250, and 250 is what I am currently using. Change it like this:</p>
<pre><code>
$ sudo sysctl kernel.sched_time_avg=250
</code></pre>
<p>I was previously using KDE while recording, but found out that several background processes like Akonadi Server was running and stealing resources. The window manager seemed slow. I guess I have an I/O issue somewhere, but I just don&#8217;t know where. Maybe the SCSI drive or maybe the graphics card which is an old ATI Radeon 8500.</p>
<p>I an now running Openbox with Konsole, as a command line (in an X server) is all I need to both record and watch the result with mplayer afterwards. I feel it goes a little bit smoother.</p>
<p>The most effect, as I figured out, was setting the quality option of lavrec a little lower. Recording with the quality set to 100 might result in unstable recording with lost frames if there is the slightest delay in the system, and eventually lavrec just exits with an error.</p>
<p>I tried setting the quality to 80, just to give it a try, and it was recording much more smoothly with less dropped frames. It looks like lavrec now handles jitter much better.</p>
<p>I am now trying out a quality of 90 which also seems good. A little lost frames now and then, but I guess that occurs mostly between recordings since I am able to record several minutes from a single scene without a single frame drop.</p>
<p>This is the command I use now:</p>
<pre><code>
$ aoss lavrec --mjpeg-buffers 512 --mjpeg-buffer-size 8192 -f q -d 1 -i p -q 90 -s -R l -U "dc10-%02d.mov"
</code></pre>
<p>So, my best tip to avoid lost frames and lavrec crashes is to lower the quality a little.</p>
]]></content:encoded>
			<wfw:commentRss>https://hovenko.no/blog/2010/11/28/unstable-video-capture-with-dc10-on-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Video capture the old way on new Ubuntu 10.10</title>
		<link>https://hovenko.no/blog/2010/11/06/video-capture-the-old-way-on-new-ubuntu-10-10/</link>
		<comments>https://hovenko.no/blog/2010/11/06/video-capture-the-old-way-on-new-ubuntu-10-10/#comments</comments>
		<pubDate>Sat, 06 Nov 2010 00:24:16 +0000</pubDate>
		<dc:creator>Knut-Olav</dc:creator>
				<category><![CDATA[English-posts]]></category>
		<category><![CDATA[Teknologi]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[alsa]]></category>
		<category><![CDATA[editing]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[oss]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[videoredigering]]></category>

		<guid isPermaLink="false">http://hovenko.no/blog/?p=497</guid>
		<description><![CDATA[Like probably many people, I have a lot of old analog video recordings on HI-8 and VHS tape I just have forgotten to keep up to date with technology. I guess it&#8217;s time to start capturing video. Soon&#8230; First, the camcorders charger is broken, and buying a new one is kind of difficult, but luckily, [...]]]></description>
			<content:encoded><![CDATA[<p>Like probably many people, I have a lot of old analog video recordings on HI-8 and VHS tape I just have forgotten to keep up to date with technology. I guess it&#8217;s time to start capturing video. Soon&#8230;</p>
<p>First, the camcorders charger is broken, and buying a new one is kind of difficult, but luckily, I got to borrow one from some friends.<br />
Second, I managed to find the last working VHS player I got. A little dusty.<br />
Third, since Mini-DV is kind of legacy as well, I decided to copy those on to my computer as well, if I ever manage to find the camcorder. Got the charger, remote and the casing, but no camcorder. Oh well&#8230;</p>
<p>Find the best composite or S-Video cables you can dig up, because this job you only want to do once. I got my overly priced Monster composite cables, ready to start. Soon…</p>
<p>Ok, so I&#8217;ve got an analog video capture card that I, in the old days, used with Windows 98 and pulled my hair out to get working on Windows 2000. The <a href="http://linuxtv.org/wiki/index.php/Pinnacle/Miro_DC10+">card is a Zoran based Pinnacle/Miro DC10+</a>. That&#8217;s history. Sort of. I still got the video capture card.</p>
<p>What I also got is <a href="http://www.ubuntu.com/">the latest Ubuntu Linux</a> 10.10, also known as Ubuntu Maverick, which comes with the somewhat great ALSA audio support. I say somewhat because this version of Ubuntu <a href="https://bugs.launchpad.net/ubuntu/+source/oss-compat/+bug/659024">lacks the legacy OSS compability driver</a> in the Linux kernel. In other words it makes it harder to record or play audio from older kinds of programs, such as lavrec.</p>
<p><a href="http://mjpeg.sourceforge.net/">lavrec is the video and audio capture application from the MJPEG video tools</a> package. It is the tool recommended for capturing video from the DC10+ card on Linux, but it lacks ALSA support. However, you can get a OSS wrapper program named aoss from the Ubuntu alsa-oss package which provides OSS is most cases for those old applications.</p>
<p>This is how I do video and audio recording, from the command line, enter something like this:</p>
<pre><code>
$ aoss lavrec -f a -i p -q 100 -s -R l -U dc10-out.avi
</code></pre>
<p>Make sure that the correct recording input line is selected for <strong>CAPTURE</strong> in <tt>alsamixer -V capture</tt> such as <strong>Line</strong> or <strong>Mic</strong>. I recommend you capture a 10 second test and check the sound.</p>
]]></content:encoded>
			<wfw:commentRss>https://hovenko.no/blog/2010/11/06/video-capture-the-old-way-on-new-ubuntu-10-10/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fliser på kjøkkenet</title>
		<link>https://hovenko.no/blog/2008/03/06/fliser-pa-kj%c3%b8kkenet/</link>
		<comments>https://hovenko.no/blog/2008/03/06/fliser-pa-kj%c3%b8kkenet/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 23:26:22 +0000</pubDate>
		<dc:creator>Knut-Olav</dc:creator>
				<category><![CDATA[Livet i leilighet]]></category>
		<category><![CDATA[flislegging]]></category>
		<category><![CDATA[kjøkken]]></category>
		<category><![CDATA[leilighet]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.hoven.ws/blog/2008/03/06/fliser-pa-kj%c3%b8kkenet/</guid>
		<description><![CDATA[Da har jeg endelig fått opp fliser på veggen på kjøkkenet i leiligheten min, og jeg må si at det ble rett og slett ganske pent. Fra å bare være hvitt og kjedelig har det nå blitt hvitt&#8230; men med noen pene dekorfliser som passer fint inn med komfyr, oppvaskmaskin og kjøleskap i børstet stål. [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://www.hoven.ws/blog/wp-content/uploads/2008/03/bilde005.jpg' title='Fliser på kjøkkenet' class="thickbox"><img class="alignleft" src='http://www.hoven.ws/blog/wp-content/uploads/2008/03/bilde005.thumbnail.jpg' alt='Fliser på kjøkkenet' /></a>Da har jeg endelig fått opp fliser på veggen på kjøkkenet i leiligheten min, og jeg må si at det ble rett og slett ganske pent. Fra å bare være hvitt og kjedelig har det nå blitt hvitt&#8230; men med noen pene dekorfliser som passer fint inn med komfyr, oppvaskmaskin og kjøleskap i børstet stål. Fugene ble heller ikke så verst <img src='https://hovenko.no/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Dersom man ser nærmere på bildet ser man en rund metallkule nederst i det venstre hjørnet av den store dekorflisen, samt en i midten på den lille dekorflisen til venstre i bildet. I tillegg er det tre andre dekorfliser lenger til venstre utenfor bildet.</p>
<p>Pappa gjorde en såpass <a href="http://www.hoven.ws/blog/2007/09/13/flislegging-av-verandaen/">god jobb sist gang</a> at jeg lot han gå løs på kjøkkenet mitt. Det startet litt i det små, men vi fikk fort opp farten og ble ferdig med flisene på én dag. Etter en liten bomtur mot slutten av flisleggingen,som vi fikk rettet opp svært så fort, så ble vi godt fornøyd med arbeidet til slutt.</p>
<p>Her kan du se video av hvordan det ble til slutt. Det kreves at du har Flash installert for å spille av videoen.<br />
<a href="http://www.hoven.ws/blog/wp-content/uploads/2008/03/fliser.flv" title="Video av flislegging på kjøkkenet"><em>Last ned</em></a> (videoen er beskyttet av opphavsrett)</p>
]]></content:encoded>
			<wfw:commentRss>https://hovenko.no/blog/2008/03/06/fliser-pa-kj%c3%b8kkenet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kontrollerer displayet på PC-en fra MythTV</title>
		<link>https://hovenko.no/blog/2007/09/20/kontrollerer-displayet-pa-pc-en-fra-mythtv/</link>
		<comments>https://hovenko.no/blog/2007/09/20/kontrollerer-displayet-pa-pc-en-fra-mythtv/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 21:28:00 +0000</pubDate>
		<dc:creator>Knut-Olav</dc:creator>
				<category><![CDATA[Teknologi]]></category>
		<category><![CDATA[Denon]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[LIRC]]></category>
		<category><![CDATA[MythTV]]></category>
		<category><![CDATA[receiver]]></category>
		<category><![CDATA[Squeezebox]]></category>
		<category><![CDATA[VFD]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.hoven.ws/blog/2007/09/20/kontrollerer-displayet-pa-pc-en-fra-mythtv/</guid>
		<description><![CDATA[Nå har jeg gjort noen fremskritt når det gjelder stue-PC-en min. Jeg fikk til ganske tidlig å sende tekst til VFD displayet som sitter i kabinetter på PC-en min som jeg har i stua. Nå har jeg også koblet MythTV til å vise hvilken kanal jeg ser på og hvilke menyer jeg er inne på. [...]]]></description>
			<content:encoded><![CDATA[<p>Nå har jeg gjort noen fremskritt når det gjelder stue-PC-en min. Jeg fikk til ganske tidlig å sende tekst til VFD displayet som sitter i kabinetter på PC-en min som jeg har i stua. Nå har jeg også koblet MythTV til å vise hvilken kanal jeg ser på og hvilke menyer jeg er inne på.</p>
<p>Enda flere skritt er blitt tatt i det siste. Jeg kjøpte meg en USB-til-seriell-konverterer, slik at jeg kan koble Denon-receiveren min til PC-en. Jeg har slitt litt med å finne programmer for å sende kommandoer over seriell-porten konvertert på riktig måte. Det har derimot ikke vært noe problem å lese events som receiveren sender ut, for eksempel når jeg bytter kilder, stiller på volumet eller skrur den av og på. Derfor måtte jeg skrive mitt eget lille program i Perl. Den store testen gjorde jeg i dag, og det funket! Sendte jeg &#8220;PWSUSPEND&#8221; så skrudde den seg av, og sendte jeg så &#8220;PWON&#8221; så skrudde den seg på.</p>
<p>Som en del av dette Perl-prosjektet så skal jeg lage en tjeneste som skal kjøre i bakgrunnen og lytte på kommandoer fra receiveren og fra et klientprogram jeg også holder på å lage. Videre skal jeg sette opp LIRC slik at jeg kan bruke ATI-remote fjernkontrollen min til å styre MythTV. LIRC står for Linux Infrared Remote Control og består av server og klient for å sende koder mellom fysiske enheter som en fjernkontroll og programmer som MythTV. Jeg skal gjøre det mulig å svitsje mellom &#8220;on&#8221; og &#8220;off&#8221; på MythTV enten ved å bytte input-kilde på receiveren eller ved å trykke på power-knappen på fjernkontrollen. Kanskje jeg skal porte Perl-programmet mitt til å bli en LIRC-klient.</p>
<p>Jeg har lest om en som har brukt fjernkontrollen til en Squeezebox til å styre MythTV. Dette hadde han gjort mulig ved å skrive en plugin til Slimserver, som er serverprogramvaren til Squeezebox-en. Denne pluginen kobler seg så til LIRC og sender LIRC-koder på samme måte som en fjernkontroll direkte tilkoblet MythTV.</p>
<p>Jeg lagde en rask liten og svært useriøs film med mobiltelefonen min som viser VFD-displayet og MythTV. Det skal legges til at filmen er helt uten spesialeffekter og er en direkte gjengivelse av det virkelige liv&#8230; <a href='http://www.hoven.ws/blog/wp-content/uploads/2007/09/78jj0011.mp4' title='MythTV og VFD'>MythTV og VFD</a></p>
]]></content:encoded>
			<wfw:commentRss>https://hovenko.no/blog/2007/09/20/kontrollerer-displayet-pa-pc-en-fra-mythtv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.hoven.ws/blog/wp-content/uploads/2007/09/78jj0011.mp4" length="561887" type="video/mp4" />
		</item>
	</channel>
</rss>
