On Sun, Apr 13, 2008 at 2:56 AM, Jeff Simpson &lt;<a href="mailto:jeffsimpson@alum.wpi.edu">jeffsimpson@alum.wpi.edu</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sat, Apr 12, 2008 at 8:57 PM, Nick F &lt;<a href="mailto:nikos.f@gmail.com">nikos.f@gmail.com</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I&#39;ve been trying to get Jeff&#39;s video2ipod script to work and been running<br>
&gt; into some problems getting it to run. &nbsp;Specifically I&#39;m having an issue with<br>
&gt; the Term::ReadLine call in line 251<br>
&gt;<br>
&gt; It&#39;s spitting out an error message: Cannot do `initialize&#39; in<br>
&gt; Term::ReadLine::Gnu at /usr/local/bin/video2ipod line 251<br>
&gt;<br>
&gt; line 251 is : $term = new Term::ReadLine &#39;name&#39;;<br>
&gt;<br><br>
</div>The preput error is perfectly fine. Really it&#39;s just a warning, and<br>
you can safely ignore it. All of the Term::Readline stuff is just for<br>
when you run it from the commandline and do tagging. If you have<br>
preput, it will give you the default tag and let you edit it on the<br>
line before saving it. If you don&#39;t have preput, you have to just type<br>
the whole tag. For myth it doesn&#39;t matter, since it&#39;s being run as a<br>
script anyway.<br>
<div class="Ih2E3d"><br>
&gt; I started with a stock Fedora 8 perl installation, and even upgraded perl to<br>
&gt; 5.10 to try to get a newer Term::ReadLine<br>
&gt;<br>
&gt; I&#39;m not sure what to do now - I&#39;m sure I&#39;m doing something trivially wrong,<br>
&gt; but don&#39;t know that much about perl, so I&#39;m stabbing around in the dark a<br>
&gt; bit.<br>
<br>
</div>I&#39;ll make that error a little clearer in the next release!<br>
<br></blockquote><div><br>Thanks Jeff for the quick response!&nbsp;&nbsp; I thought I should get it working on the command line before trying to run it as a user job.<br><br>If I go past that&nbsp; (still as a user job), it does this:<br>
<br>[root@oscar tv]# video2ipod -i 7316_20080302220000.mpg -o /data/nikos/iphone/Mad_Men.mp4<br>video2ipod: [i] Filename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 7316_20080302220000.mpg<br>video2ipod: [i] Resolution:&nbsp;&nbsp;&nbsp; 720x576<br>video2ipod: [i] Framerate:&nbsp;&nbsp;&nbsp;&nbsp; 25.000 fps<br>
video2ipod: [i] Audio Rate&nbsp;&nbsp;&nbsp;&nbsp; 48000 Hz<br>video2ipod: [i] Video Bitrate&nbsp; 7980000 bps<br>video2ipod: [i] Video Format&nbsp;&nbsp; 0x10000002<br>video2ipod: [o] Filename:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /data/nikos/iphone/Mad_Men.mp4<br>video2ipod: [o] Resolution:&nbsp;&nbsp;&nbsp; 720x576<br>
video2ipod: [o] Framerate:&nbsp;&nbsp;&nbsp;&nbsp; 25.000<br>video2ipod: [o] Audio Codec:&nbsp;&nbsp; libfaac<br>video2ipod: [o] Audio Bitrate: 128k<br>video2ipod: [o] Video Codec:&nbsp;&nbsp; mpeg4<br>video2ipod: [o] Video Bitrate: 2500k<br>video2ipod: [o] Cropping:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0<br>
<br>and then stops and doesn&#39;t proceed - no further error message<br><br>I&#39;m actually mucking about on my server from another continent (bored in my hotel room) and it&#39;s easier to do some command line stuff via ssh than try to set up user jobs (which are either graphical via mythtv-setup, or direct poking in the database which I don&#39;t want to do).<br>
<br>Anyway - it looks to be an awesome script and I can&#39;t wait to get it working previously.&nbsp; My previous kludges to get recordings encoded for my iPhone worked, required too many manual steps, so looking forward to this one.<br>
<br>One more small thing, on your wiki - you mention Linguas::EN::Keywords as a dependency - I assume you meant Lingua (without the s).<br><br>Cheers,<br>Nick<br></div></div>