I spent several evenings trying to figure out what is wrong with my mythexport. It just wouldn&#39;t import into itunes... They would jsut show up with an error in iTunes. So I installed handbrake-cli and then hacked at the mythexport daemon. All I really did was install handbrake-cli then change the line that executes ffmpeg and change it to work with handbrake.<br>

<br><br><br>This is what I did on my UBUNTU system (if you are using something else then you can find a different way to install handbrake-cli):<br><br><br>1) sudo add-apt-repository ppa:stebbins/handbrake-snapshots<br>
<br>
2) sudo apt-get install handbrake-cli   <br>
<br>
3) then &#39;sudo vi /usr/bin/mythexport-daemon&#39;<br>
<br><br><br>
 foreach (@args){<br>
        if($_ =~ m/\/dev\/null/){<br>
            $_ = &quot;nice -n19 ffmpeg -i $filename $_&quot;;<br>
        }<br>
        else{<br>
<b>            $_ = &quot;nice -n19 HandBrakeCLI -i $filename -o &#39;$newfilename&#39; --preset=\&quot;iPhone &amp; iPod Touch\&quot; 2&gt;&amp;1&quot;;<br>
</b># ADD THE LINE ABOVE AND ADD A HASH TO THE ONE BELOW <br>
#          $_ = &quot;nice -n19 ffmpeg -i $filename $_ &#39;$newfilename&#39; 2&gt;&amp;1&quot;;<br>
        }<br>
    }<br>
<br>
<br>
<br>
then restart mythexport &#39;sudo /etc/init.d/mythexport restart&#39;<br><br><br><br><br><br><br><div class="gmail_quote">On Mon, Apr 26, 2010 at 8:34 AM, jedi <span dir="ltr">&lt;<a href="mailto:jedi@mishnet.org">jedi@mishnet.org</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Apr 25, 2010 at 05:54:10PM +1000, Christopher Kerr wrote:<br>
&gt; On Sun, Apr 25, 2010 at 5:43 PM, Nicolas Will &lt;<a href="mailto:nico@youplala.net">nico@youplala.net</a>&gt; wrote:<br>
&gt; &gt; On Sun, 2010-04-25 at 02:34 -0500, Douglas Wagner wrote:<br>
&gt; &gt;&gt; I am intrigued sir! :)<br>
&gt; &gt;<br>
&gt; &gt; Don&#39;t be<br>
&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; So basically this is &quot;download/compile this thing and it will xcode<br>
&gt; &gt;&gt; what you<br>
&gt; &gt;&gt; need for you.&quot;<br>
&gt; &gt;<br>
&gt; &gt; Yes, it takes any file, even DVDs, and spit a directly usable file for<br>
&gt; &gt; your iPod Touch/iPhone via iTunes or whatever (gtkpod, etc...).<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; is that basically what I&#39;m hearing?<br>
&gt; &gt;<br>
&gt; &gt; Yes, very straightforward.<br>
&gt;<br>
&gt; You&#39;ll want to use Mythlink.pl (<br>
&gt; <a href="http://www.mythtv.org/wiki/Mythlink.pl" target="_blank">http://www.mythtv.org/wiki/Mythlink.pl</a> ) to create some human-readable<br>
&gt; filenames first. Then you can easily feed those through handbrake.<br>
&gt;<br>
&gt; Personally, I think the handbrake iPod Touch preset is wrong - it<br>
&gt; should be 320 pixels high and lock the aspect ratio, not 480 pixels<br>
&gt; wide. Why does this matter? Well, for movies which are presented in<br>
&gt; 2.11:1, fixing the width leaves you with only 228 pixels of vertical<br>
&gt; resolution, wasting about a third of the screen. Fixing the height at<br>
&gt; 320 still allows you to view the content that way if you so desire<br>
&gt; (except slightly horizontally cropped, because the iPod Touch can&#39;t<br>
&gt; handle videos wider than 640 pixels), but also allows you to view it<br>
&gt; &quot;zoomed in&quot; without any stretching.<br>
<br>
</div>    I ran into the same exact problem when my original more aggressive config<br>
led to a file that was &quot;too wide&quot; because it was a widescreen recording that<br>
was genuinely wider and not just anamorphic. It was an HD-PVR that was something<br>
like 850x480. When that scaled at the right aspect ratio, iTunes refused to sync<br>
it.<br>
<div><div></div><div class="h5">_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>