[mythtv-users] Mythtranscode starttime

Michael Wisniewski mikewiz38 at gmail.com
Fri Mar 11 20:17:02 UTC 2016


On Fri, Mar 11, 2016 at 1:59 PM, Michael Wisniewski <mikewiz38 at gmail.com>
wrote:

> Hi!  I'm starting to go crazy over here.  :)  I'm trying to debug a
> userjob that's a shell script to transcode the video using ffmpeg.
> Unfortunately, the job is failing on mythtranscode.  Looking at the backend
> logs, I can see it's getting executed with:
>
> Mar 11 13:41:33,snoopy,3,23,mythbackend:, mythbackend[32236]: E
> UserJob_1846 jobqueue.cpp:2444 (DoUserJobThread) JobQueue: User Job
> '/mnt/mythtv/scripts/mythtv-transcode-x264-high.sh
> "/mnt/mythtv/default/1189_20160311193900.mpg" "/mnt/mythtv/default/2
> (WBBMDT) - 20160311133900.mkv" "1189" "20160311133900"' failed.
>
> When I run mythtranscode by hand with:
>
> $ mythtranscode --chanid 1189 --starttime 20160311133900 --mpeg2
>
> It errors out with this:
>
> 2016-03-11 13:47:12.815803 E  Couldn't find recording for chanid 1189 @
> 2016-03-11T13:39:00Z
>
> However, if I run mythtranscode with the date in a different format like
> this:
>
> $ mythtranscode --chanid 1189 --starttime "2016-03-11 19:39:00" --mpeg2
>
> It works fine.  So unfortunately, the %STARTTIME% in the job is putting
> the date in as just the numbers while mythtranscode likes the date in the
> full format.
>
> Is there something that I'm doing wrong since it seems to be failing?
> Thanks!
>

Please ignore this...sorry about it.  I have a habit of getting it fixed
right after posting in a forum.  :)

For others that are interested, you have to use %STARTTIMEUTC% instead of
%STARTTIME% in the user job.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160311/14b7b2b5/attachment-0001.html>


More information about the mythtv-users mailing list