<div class="gmail_quote">On 5 October 2012 09:46, Paul Gardiner <span dir="ltr"><<a href="mailto:lists@glidos.net" target="_blank">lists@glidos.net</a>></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 "/home/user/mythtranscode.sh --chanid "1004"<br>
--starttime "20120429205500" --title "Homeland" --subtitle "The Vest"<br>
--outdir /media/media/Videos/Other/<u></u>Transcoded --passthrough" in the<br>
terminal, I get:<br>
<br>
"Failed to derive fifo formats"<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'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's details, such as width<br>
height etc. That error message above says that doing so failed. I'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 "--starttime" 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 "1004" --starttime 20120429205500 --honorcutlist -m -v -o /media/media/Videos/Other/Transcoded/new.mpg<br>
<br>"Couldn't find recording for chanid 1004 @ 2012-04-29T20:55:00Z"<br></div></div><br>Which backs this up.<br><br>I don'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's anyone?<br><br>Cheers<br><br>Martin<br>