<?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>Jkx@home &#187; divx</title>
	<atom:link href="http://www.larsen-b.com/tags/divx/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:50:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to convert matroska MKV to AVI on Linux ?</title>
		<link>http://www.larsen-b.com/Article/261.html</link>
		<comments>http://www.larsen-b.com/Article/261.html#comments</comments>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[divx]]></category>
		<category><![CDATA[dvico]]></category>
		<category><![CDATA[mastroka]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Today, I discover that my M3100 player doesn&#8217;t know how to play Mastroka files. Mastroka files are really kool since the subtitles are embeded in .. but that&#8217;s it, my player refuse to play open it.
This stuff can be repack in a AVI (xivd..) file with some open source tools. Here, a little script to [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I discover that my <a class="reference" href="http://www.larsen-b.com/Article/258.html">M3100</a> player doesn&#8217;t know how to play <a class="reference" href="http://www.matroska.org/">Mastroka</a> files. <a class="reference" href="http://www.matroska.org/">Mastroka</a> files are really kool since the subtitles are embeded in .. but that&#8217;s it, my player refuse to play open it.</p>
<p>This stuff can be repack in a AVI (xivd..) file with some open source tools. Here, a little script to do the hard stuff ;)</p>
<p>You can find the script here : <a href="http://svn.pythonfr.org/public/pythonfr/utils/video/mkv2avi.py">http://svn.pythonfr.org/public/pythonfr/utils/video/mkv2avi.py</a></p>
<pre class="literal-block">#!/usr/bin/python
# Little script to depack Matroska file, and repack them
# in a AVI + subtitle format.

import sys
import os

def message(msg):
    print "=" * 78
    print "= %s" % msg
    print "=" * 78

def usage():
    print "Mastroka repacker script"
    print "  Usage: "+sys.argv[0]+ " filename"

if __name__ == "__main__":
    if len(sys.argv) &lt; 2:
       usage()
    else:
       filename = sys.argv[1]
       basename = filename[:-4]
       message("Unpacking file: %s" % filename)
       os.system("mkvextract tracks %s 1:temp_video.avi 2:temp_audio.ogg 3:%s.srt" % (filename,basename) )

       message("Repacking file: %s.avi" % basename)
       os.system("ffmpeg -i temp_audio.ogg  -i temp_video.avi  -vcodec copy  %s.avi" % (basename) )

       message("Cleaning files")
       os.system("rm temp_video.avi temp_audio.ogg")</pre>
<p><strong>/Enjoy Video</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/261.html/feed</wfw:commentRss>
		<slash:comments>36</slash:comments>
		</item>
		<item>
		<title>Howto change the sound in a video (divx)</title>
		<link>http://www.larsen-b.com/Article/237.html</link>
		<comments>http://www.larsen-b.com/Article/237.html#comments</comments>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[divx]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This afternoon, I compiled some video with Kino. This stuff works quite good. The main issue I had is that I want to have a nice music in background. I spend a little time, with transcode but I soon figured that FFmpeg can do that easily.
ffmpeg -i my_music.mp3 -i in_video.avi -vcodec copy  ouput.avi
You can [...]]]></description>
			<content:encoded><![CDATA[<p>This afternoon, I compiled some video with <a class="reference" href="http://www.kinodv.org">Kino</a>. This stuff works quite good. The main issue I had is that I want to have a nice music in background. I spend a little time, with <a class="reference" href="http://www.google.com/custom?domains=www.larsen-b.com&amp;q=mplayer&amp;sa=Search&amp;sitesearch=www.larsen-b.com&amp;client=pub-8410201928487718&amp;forid=1&amp;ie=ISO-8859-1&amp;oe=ISO-8859-1&amp;">transcode</a> but I soon figured that FFmpeg can do that easily.</p>
<pre class="literal-block">ffmpeg -i my_music.mp3 -i in_video.avi -vcodec copy  ouput.avi</pre>
<p>You can ever rework on the video after w/ <a class="reference" href="http://www.kinodv.org">Kino</a> to produce a fade out.</p>
<p><strong>Enjoy video editing on Linux :)</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/237.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extract soundtrack (MP3) from DVD with mplayer</title>
		<link>http://www.larsen-b.com/Article/186.html</link>
		<comments>http://www.larsen-b.com/Article/186.html#comments</comments>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[divx]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I &#8216;m wondering if i gonna add a mplayer tips here ? :)
To extract a mp3 from a DVD, the easy way is to use transcode
transcode -i /dev/dvd -x dvd -T 1,2,1 -a 0 -y raw -m track22.mp3
But sometimes, this doesn&#8217;t works.. in fact I get a random transcode segfault. As mplayer is the perfect [...]]]></description>
			<content:encoded><![CDATA[<p>I &#8216;m wondering if i gonna add a mplayer tips here ? :)</p>
<p>To extract a mp3 from a DVD, the easy way is to use transcode</p>
<pre class="literal-block">transcode -i /dev/dvd -x dvd -T 1,2,1 -a 0 -y raw -m track22.mp3</pre>
<p>But sometimes, this doesn&#8217;t works.. in fact I get a random transcode segfault. As mplayer is the perfect video kniffe. I decided to test this w/ mplayer</p>
<pre class="literal-block">mplayer -ao pcm dvd://1 -chapter 22</pre>
<p>This won&#8217;t build a .mp3 but a big wave file, not matter lame is my friend anyways.</p>
<p>PS: The latest <a class="reference" href="http://www.transcoding.org/cgi-bin/transcode">transcode</a> should fix the issue, but I&#8217;m unable to build it on my debian. libavcodec2-dev is broken. (Wondering why i&#8217;m still using this distro &#8230; :(</p>
<p>&#8211; thanks #mplayer for the help (as usual)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/186.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Building mpeg/avi/divx with a webcam</title>
		<link>http://www.larsen-b.com/Article/88.html</link>
		<comments>http://www.larsen-b.com/Article/88.html#comments</comments>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[divx]]></category>
		<category><![CDATA[webcam]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This is a small tips to build a avi/divx/mpeg/what you want, with webcam as input in realtime. Simply use mencoder (the encoder build by the mplayer team)
mencoder tv:// -tv driver=v4l:width=160:height=120  -ovc divx4 -o test.avi
Take care, that you should respect the width/height of the current webcam settings.
]]></description>
			<content:encoded><![CDATA[<p>This is a small tips to build a avi/divx/mpeg/what you want, with webcam as input in realtime. Simply use mencoder (the encoder build by the mplayer team)</p>
<pre class="literal-block">mencoder tv:// -tv driver=v4l:width=160:height=120  -ovc divx4 -o test.avi</pre>
<p>Take care, that you should respect the width/height of the current webcam settings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/88.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
