On Sun, Apr 13, 2008 at 2:56 AM, Jeff Simpson <<a href="mailto:jeffsimpson@alum.wpi.edu">jeffsimpson@alum.wpi.edu</a>> 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 <<a href="mailto:nikos.f@gmail.com">nikos.f@gmail.com</a>> wrote:<br>
> Hi,<br>
><br>
> I've been trying to get Jeff's video2ipod script to work and been running<br>
> into some problems getting it to run. Specifically I'm having an issue with<br>
> the Term::ReadLine call in line 251<br>
><br>
> It's spitting out an error message: Cannot do `initialize' in<br>
> Term::ReadLine::Gnu at /usr/local/bin/video2ipod line 251<br>
><br>
> line 251 is : $term = new Term::ReadLine 'name';<br>
><br><br>
</div>The preput error is perfectly fine. Really it'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't have preput, you have to just type<br>
the whole tag. For myth it doesn't matter, since it's being run as a<br>
script anyway.<br>
<div class="Ih2E3d"><br>
> I started with a stock Fedora 8 perl installation, and even upgraded perl to<br>
> 5.10 to try to get a newer Term::ReadLine<br>
><br>
> I'm not sure what to do now - I'm sure I'm doing something trivially wrong,<br>
> but don't know that much about perl, so I'm stabbing around in the dark a<br>
> bit.<br>
<br>
</div>I'll make that error a little clearer in the next release!<br>
<br></blockquote><div><br>Thanks Jeff for the quick response! 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 (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: 7316_20080302220000.mpg<br>video2ipod: [i] Resolution: 720x576<br>video2ipod: [i] Framerate: 25.000 fps<br>
video2ipod: [i] Audio Rate 48000 Hz<br>video2ipod: [i] Video Bitrate 7980000 bps<br>video2ipod: [i] Video Format 0x10000002<br>video2ipod: [o] Filename: /data/nikos/iphone/Mad_Men.mp4<br>video2ipod: [o] Resolution: 720x576<br>
video2ipod: [o] Framerate: 25.000<br>video2ipod: [o] Audio Codec: libfaac<br>video2ipod: [o] Audio Bitrate: 128k<br>video2ipod: [o] Video Codec: mpeg4<br>video2ipod: [o] Video Bitrate: 2500k<br>video2ipod: [o] Cropping: 0<br>
<br>and then stops and doesn't proceed - no further error message<br><br>I'm actually mucking about on my server from another continent (bored in my hotel room) and it'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't want to do).<br>
<br>Anyway - it looks to be an awesome script and I can't wait to get it working previously. 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>