[mythtv-users] Strating automatic transcoding

Mitko Haralanov voidtrance at comcast.net
Tue Oct 5 00:28:17 EDT 2004


On Sat, 2 Oct 2004 17:40:17 -0400
Donavan Stanley <GeckoFiend at gmail.com> wrote:

> Check the output of yoru backend.  Chances are you'll see something
> like "transcode aborted due to cutlist update".  Run mythcommflag
> --force --file on that file and things should be fine from that point
> forward.

All right!! Since there are no responses on my question, I am going to
post more information and hopefully someone can, at least, point me to
where to look...

I straced the backend and it appears that the it is not even attempting
to launch the mythtranscode command:

read(9, "\1\0\0\t", 4)                  = 4
read(9, "\376", 1)                      = 1
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(9, 0x90719d0, 8192)                = -1 EAGAIN (Resource
temporarily unavailable) fcntl64(9, F_SETFL, O_RDWR)             = 0
write(9, "W\0\0\0\3SELECT status FROM transcod"..., 91) = 91
read(9, "\1\0\0\1", 4)                  = 4
read(9, "\1", 1)                        = 1
read(9, "\35\0\0\2", 4)                 = 4
read(9, "\vtranscoding\6status\3\v\0\0\1\3\3\0\0\0", 29) = 29
read(9, "\1\0\0\3", 4)                  = 4
read(9, "\376", 1)                      = 1
read(9, "\1\0\0\4", 4)                  = 4
read(9, "\376", 1)                      = 1
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
read(9, 0x90719d0, 8192)                = -1 EAGAIN (Resource
temporarily unavailable) fcntl64(9, F_SETFL, O_RDWR)             = 0
write(9, "z\0\0\0\3INSERT into transcoding (ch"..., 126) = 126
read(9, "\5\0\0\1", 4)                  = 4
read(9, "\0\1\0\2\0", 5)                = 5
futex(0x9055704, FUTEX_WAKE, 1)         = 0
select(22, [16 17 19 20 21], [], [], NULL) = 1 (in [17])
read(17, "\0", 1)                       = 1
select(22, [16 17 19 20 21], [], [], NULL) = 1 (in [17])
read(17, "\0", 1)                       = 1
select(22, [16 17 19 20 21], [], [], NULL) = 1 (in [20])
ioctl(20, FIONREAD, [593])              = 0


This small little chunk from the strace log shows what strace captured
while I manually started and stopped the transcoding. As you can see
nowhere in that chuck is there an exec line.

That leads me to two ideas: 1. either the backend is just not starting
the transcoding, or 2. some requirements have not been satisfied and
that is why the backend is not starting the process. I, personally, am
leaning toward the second option.

I know that there are enough people on this list that are familiar with
the code (I am not!) that will be able to tell me what the requirements
are for the mythtranscode process to be launched.

I would appreciate it very much if someone/anyone can point me in the
right direction??

Thanx

-- 
Mitko Haralanov
voidtrance at comcast dot net
http://voidtrance.home.comcast.net
==========================================
HOST SYSTEM RESPONDING, PROBABLY UP...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20041004/57b75d48/attachment.pgp


More information about the mythtv-users mailing list