<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2>I think I know part of the answer to my question-- I think
the error is caused by the fact that myth2ipod is using the
nuvexport --transcode switch when it is run as a "User Job" in Myth, but
not when it is run from the command line. That creates the error below
because</FONT></SPAN><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2> xvid does not appear as an option when using the
--transcode switch.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2>So assuming the above is true, my questions would be:
</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2>1. Why is nuvexport using transcode instead of ffmpeg just
because it's being started by Mythtv? Is that normal
behavior?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=785592400-23052006><FONT face=Arial
color=#0000ff size=2>2. What can I do to change the behavior or add the
appropriate functionality to mythtranscode?</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> mythtv-users-bounces@mythtv.org
[mailto:mythtv-users-bounces@mythtv.org] <B>On Behalf Of </B>Jon
Larson<BR><B>Sent:</B> Monday, May 22, 2006 3:57 PM<BR><B>To:</B>
mythtv-users@mythtv.org<BR><B>Subject:</B> [mythtv-users] myth2ipod script
problems....<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>I'm running
Knoppmyth R5B7, and I have set up the myth2ipod script and accompanying
settings, but I can't get it to finish when running as a "User Job" at the end
of a recording. When I examine the mythbackend log, I see the process start and
get to the point where the transcoding begins, then it
shows this:</FONT></SPAN></DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>ffmpeg had critical
errors:</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>Unknown video codec
'xvid'</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>Nuvexport encoding
seems to have failed<BR></FONT></SPAN></DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>Before you conclude
that ffmpeg isn't compiled with xvid support, you should know
that </FONT></SPAN><SPAN class=024041321-22052006><FONT face=Arial size=2>I
can run the myth2ipod script from the command prompt and it works fine.
</FONT></SPAN><SPAN class=024041321-22052006><FONT face=Arial size=2>When I do
this, I use the mythtv user account and run the exact same command as provided
on the site, except that I fill in the FOLDER and FILE variables:
/usr/local/bin/myth2ipod "/myth/tv"
"1007_20060522115500.mpg" </FONT></SPAN></DIV>
<DIV><SPAN class=024041321-22052006></SPAN> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>Since
that works perfectly I open mythtv-setup and entered that exact same
command as a seperate user job--just in case it is a problem with the FOLDER and
FILE variables. That job failed just like the first user
job.</FONT></SPAN></DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>The final bit of
testing I did was to pull the full formatted command that myth2ipod uses to
execute nuvexport out of the failed job in the mythbackend log, and run it
manually: /usr/local/bin/nuvexport --chanid=1007 --start=20060522115500
--mode=iPod --nice=19 --nodenoise --nodeinterlace --nomultipass
--filename=1007_20060522115500.temp --path=/myth/ipodfeed/
<---</FONT></SPAN><SPAN class=024041321-22052006><FONT face=Arial size=2>This
also works. </FONT></SPAN></DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=024041321-22052006><FONT face=Arial size=2>So now I'm not sure
where else to look... Any ideas? If it would help to see the complete entry from
mythbackend.log or anything else I can post that, but all the mythbackend log
really shows (in addition to the above error) is the job setup that preceeds the
error, and the subsequent failure of MP4Box, etc., which depend on the
successful transcode--i.e. nothing out of the ordinary.</FONT></SPAN><SPAN
class=024041321-22052006><FONT face=Arial
size=2></DIV></FONT></SPAN></BODY></HTML>