<?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>Looking for the paradigm &#187; mpeg</title>
	<atom:link href="http://www.evanhoffman.com/evan/tag/mpeg/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.evanhoffman.com/evan</link>
	<description>So I can pass it off</description>
	<lastBuildDate>Thu, 26 Jan 2012 22:17:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ripping a DVD on Fedora Core 13</title>
		<link>http://www.evanhoffman.com/evan/2010/07/02/ripping-a-dvd-on-fedora-core-13/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ripping-a-dvd-on-fedora-core-13</link>
		<comments>http://www.evanhoffman.com/evan/2010/07/02/ripping-a-dvd-on-fedora-core-13/#comments</comments>
		<pubDate>Fri, 02 Jul 2010 05:16:57 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[fc13]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[libdvdcss]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[mpeg]]></category>
		<category><![CDATA[vob]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=413</guid>
		<description><![CDATA[TweetI thought this would be a pretty straightforward task. It was, though it took several minutes to track down the CSS library needed for decryption of the DVD. All I want to do is copy Talking Words Factory to my phone so my kid can watch it in the car if needed. It looked like [...]]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2010/07/02/ripping-a-dvd-on-fedora-core-13/&via=EvanHoffman&text=Ripping a DVD on Fedora Core 13&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2010/07/02/ripping-a-dvd-on-fedora-core-13/"></g:plusone></div><p>I thought this would be a pretty straightforward task.  It was, though it took several minutes to track down the CSS library needed for decryption of the DVD.  All I want to do is copy <a href="http://astore.amazon.com/evanhoffmasho-20/detail/B001U7NW20">Talking Words Factory</a> to my phone so my kid can watch it in the car if needed.  It looked like Brasero was the tool for the job, but I got some error about needing a plugin for it to be able to decrypt it.  I found <a href="http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/repo/13/x86_64/">libdvdcss here</a> and after installing the RPM, everything worked.  Now I just need to encode it with ffmpeg.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2010/07/02/ripping-a-dvd-on-fedora-core-13/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>One-click converting .avi to .mp4 for iPod or iPhone</title>
		<link>http://www.evanhoffman.com/evan/2009/05/27/one-click-converting-avi-to-mp4-for-ipod-or-iphone/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=one-click-converting-avi-to-mp4-for-ipod-or-iphone</link>
		<comments>http://www.evanhoffman.com/evan/2009/05/27/one-click-converting-avi-to-mp4-for-ipod-or-iphone/#comments</comments>
		<pubDate>Thu, 28 May 2009 02:06:42 +0000</pubDate>
		<dc:creator>Evan Hoffman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[avi]]></category>
		<category><![CDATA[conversion]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[encode]]></category>
		<category><![CDATA[ffmpeg]]></category>
		<category><![CDATA[ffmpeg.exe]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[mp4]]></category>
		<category><![CDATA[mpeg]]></category>
		<category><![CDATA[rip]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vob]]></category>

		<guid isPermaLink="false">http://www.evanhoffman.com/evan/?p=106</guid>
		<description><![CDATA[I found a way to convert my camera's .avi files to iPod and iPhone-compatible .mp4 files with minimal effort.  The .mp4 files are also significantly smaller.]]></description>
			<content:encoded><![CDATA[<div style="vertical-align: top; float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://www.evanhoffman.com/evan/2009/05/27/one-click-converting-avi-to-mp4-for-ipod-or-iphone/&via=EvanHoffman&text=One-click converting .avi to .mp4 for iPod or iPhone&related=EvanHoffman:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="plus-one-wrap"><g:plusone size="small" href="http://www.evanhoffman.com/evan/2009/05/27/one-click-converting-avi-to-mp4-for-ipod-or-iphone/"></g:plusone></div><p>After a lot of searching for an easy way to do this, I stumbled onto <a href="http://winff.org/html/">WinFF</a>, which is a gui wrapper around <a href="http://www.ffmpeg.org/">ffmpeg</a>, a GPL&#8217;d MPEG encoder.  It worked pretty well out of the box, but for all of the AVIs I&#8217;d recorded with my old camera (Canon Powershot A540) it would fail immediately with this error:</p>
<pre>Audio resampler only works with 16 bits per sample. patch welcome.</pre>
<p>After some searching it seems this is related to a <a href="https://roundup.mplayerhq.hu/roundup/ffmpeg/issue582">known bug</a> which was apparently fixed in February 2009.  I set out to find a newer ffmpeg.exe (which is what WinFF calls to do the actual conversion).  I found some Win32 builds of ffmpeg <a href="http://ffmpeg.arrozcru.org/builds/">here</a> but found that they all claimed to not know the &#8220;libfaac&#8221; codec.  After some more digging I learned that libfaac (the audio codec for MP4 for iPod/iPhone) is no longer considered free software and was dropped from the repository in mid-April.  Fortunately there were <a href="http://ffmpeg.arrozcru.org/autobuilds/ffmpeg/mingw32/static/">older builds available</a>, and I grabbed <a href="http://ffmpeg.arrozcru.org/autobuilds/ffmpeg/mingw32/static/ffmpeg-r18306-swscale-r29124-mingw32-static.tar.bz2">the one dated 2009-04-01</a>, extracted the ffmpeg.exe into my WinFF directory and voila, it worked.</p>
<p>Old ffmpeg.exe:</p>
<pre>C:\Documents and Settings\Evan>"C:\Program Files\WinFF\ffmpeg.exe" -version
FFmpeg version SVN-r15986, Copyright (c) 2000-2008 Fabrice Bellard, et al.
  configuration: --extra-cflags=-fno-common --enable-memalign-hack --enable-pthr
eads --enable-libmp3lame --enable-libxvid --enable-libvorbis --enable-libtheora
--enable-libspeex --enable-libfaac --enable-libgsm --enable-libx264 --enable-lib
schroedinger --enable-avisynth --enable-swscale --enable-gpl
  libavutil     49.12. 0 / 49.12. 0
  libavcodec    52. 6. 0 / 52. 6. 0
  libavformat   52.23. 1 / 52.23. 1
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 6. 1 /  0. 6. 1
  built on Dec  3 2008 01:59:37, gcc: 4.2.4
FFmpeg SVN-r15986
libavutil     49.12. 0 / 49.12. 0
libavcodec    52. 6. 0 / 52. 6. 0
libavformat   52.23. 1 / 52.23. 1
libavdevice   52. 1. 0 / 52. 1. 0
libswscale     0. 6. 1 /  0. 6. 1</pre>
<p>New ffmpeg.exe:</p>
<pre>C:\Documents and Settings\Evan>"C:\Program Files\WinFF\ffmpeg.exe" -version
FFmpeg version SVN-r18306, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-memalign-hack --prefix=/mingw --cross-prefix=i686-ming
w32- --cc=ccache-i686-mingw32-gcc --target-os=mingw32 --arch=i686 --cpu=i686 --e
xtra-cflags=-fno-common --enable-avisynth --enable-gpl --enable-zlib --enable-bz
lib --enable-libgsm --enable-libfaac --enable-pthreads --enable-libvorbis --enab
le-libmp3lame --enable-libopenjpeg --enable-libtheora --enable-libspeex --enable
-libxvid --enable-libfaad --enable-libschroedinger --enable-libx264
  libavutil     50. 2. 0 / 50. 2. 0
  libavcodec    52.22. 3 / 52.22. 3
  libavformat   52.32. 0 / 52.32. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libswscale     0. 7. 1 /  0. 7. 1
  built on Apr  2 2009 03:25:40, gcc: 4.2.4
FFmpeg SVN-r18306
libavutil     50. 2. 0 / 50. 2. 0
libavcodec    52.22. 3 / 52.22. 3
libavformat   52.32. 0 / 52.32. 0
libavdevice   52. 1. 0 / 52. 1. 0
libswscale     0. 7. 1 /  0. 7. 1</pre>
<p>This also works great for encoding videos to XviD, which shrinks them to about 10-20% of their original size, making it much faster (in some cases, possible) to upload them to sharing sites.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.evanhoffman.com/evan/2009/05/27/one-click-converting-avi-to-mp4-for-ipod-or-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

