<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>Well I have a workaround -- actually two workarounds:<br>
<br>
1. transcode-1.0.2 must be compiled with --disable-xio.&nbsp; (atrpms has
--enable-xio, freshrpms appears to use --disable-xio)<br>
<br>
There is a bug in the libxio implementation which manifests when the
open() call inside xio_open() returns a different file descriptor than
the xio descriptor returned by xio_open().&nbsp; The return value of
xio_open() is used in subsequent fdopen() calls.&nbsp; This happens
regularly when transcode is called from httpd, but not normally when
called from an xterm.<br>
<br>
By compiling --disable-xio, xio_open is #define'd to open, therefore
the file descriptor is always legal in fdopen().<br>
<br>
2. After applying workaround 1, you will get TONs of broken pipe
messages in mythburn.log when extracting thumbnails... BUT, you will
get good thumbnails.&nbsp; I haven't figured out why the pipes get broken,
but I figured out it is related to audio/video synchronization.&nbsp; Since
the thumbnails are .jpgs (no audio), I found that if you add "-M 0" to
the transcode line in extractthumbnail.sh, the audio sync stuff doesn't
get done.&nbsp; Therefore the broken pipe messages go away.<br>
<br>
With both workarounds applied I get good thumbnails -- both animated
and static.<br>
<br>
David.<br>
</tt><br>
Neil Bird wrote:
<blockquote cite="mid43F1CBAB.3090606@fnxweb.com" type="cite">
  <pre wrap="">Around about 13/02/06 22:14, David Asher typed ...
  </pre>
  <blockquote type="cite">
    <pre wrap="">Most things are working, but the thumbnails are all coming out green 
from transcode.  Here's the really odd part, however: the transcode 
command run from an xterm works correctly!  It only fails when run from 
mythweb.  To try and rule out permission issues, I su'ed to the apache 
user (switched to bash from nologin) and ran the same command and it 
still worked!  It ONLY produces green thumbnails when run from mythweb.  
I've run out of ideas how to debug this.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
   Ah, that's the last thing&#8224; I've got to look at on my system.  I assumed the 
'green' icons where indicative of a basic failure as opposed to an incorrect 
extraction.  Not looked at it yet, but glad to know I'm not alone!

   I got the same static greenies when trying to get animated thumbs.


&#8224; - not strictly true;  main 'main menu' seems to always be shorter than it 
ought to be (sometimes loops after only a few seconds).

  </pre>
</blockquote>
</body>
</html>