<div class="gmail_quote">On 5 October 2012 09:46, Paul Gardiner <span dir="ltr">&lt;<a href="mailto:lists@glidos.net" target="_blank">lists@glidos.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div>On 04/10/2012 23:18, Martin Moores wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Running that line &quot;/home/user/mythtranscode.sh --chanid &quot;1004&quot;<br>
--starttime &quot;20120429205500&quot; --title &quot;Homeland&quot; --subtitle &quot;The Vest&quot;<br>
--outdir /media/media/Videos/Other/<u></u>Transcoded --passthrough&quot; in the<br>
terminal, I get:<br>
<br>
&quot;Failed to derive fifo formats&quot;<br>
<br>
Which I can see in the script, but not entirely sure what it means.  The<br>
script has ran successfully on one of the Homeland recordings before,<br>
when I was testing it out, so don&#39;t think the source video is bad.<br>
</blockquote>
<br></div>
The script runs mythtranscode twice, the first time with the --fifoinfo<br>
flag just to get a report of the recording&#39;s details, such as width<br>
height etc. That error message above says that doing so failed. I&#39;d<br>
guess mythtranscode was crashing or stopping with an error. The<br>
script should produce a log in /var/log/mytharXXXXXX. Do you have<br>
any such files?<div><div><br>
<br>
Cheers,<br>
        Paul.<br><br></div></div></blockquote><div>Thanks Paul,<br><br>The log file just shows the same error message.  Although I did notice the following line in the terminal when running the command:<br><br>/var/log/mythtv/mythar2012-10-07-20:14:09.log: Permission denied<br>

<br>Removing the log file and then re-running the script makes no difference, log file appears again with the same error line, odd.<br><br>I came to the conclusion that this message also appears when the script is given a non-existant program to work on.  Giving &quot;--starttime&quot; a junk value returns the same error message.<br>


<br>So I looked into the possibility that the recording did not exist in the database.  The filename in /var/lib/mythtv/recordings matches what is going into the script:<br><br>1004_20120429205500.mpg<br><br>But in the database, the start time is listed as:<br>


<br>2012-04-29 19:55:00<br><br>Which I imagine is due to the UTC time conversion in 0.26 and me being in the UK, with daylight savings etc<br><br>Trying the same recording, but with mythtranscode, I get:<br><br>mythtranscode --chanid &quot;1004&quot; --starttime 20120429205500 --honorcutlist -m -v -o /media/media/Videos/Other/Transcoded/new.mpg<br>


<br>&quot;Couldn&#39;t find recording for chanid 1004 @ 2012-04-29T20:55:00Z&quot;<br></div></div><br>Which backs this up.<br><br>I don&#39;t know the workings of mythtranscode etc, but should it not convert accordingly to get the correct time for the recording start?<br>


<br>Paul, I realise this may now be beyond your script and more of a general mythtv issue<br><br>Any thought&#39;s anyone?<br><br>Cheers<br><br>Martin<br>