[mythtv-users] After Upgrade from 0.24 to 0.26 Commflag Error 140?

Karl Newman siliconfiend at gmail.com
Thu May 9 17:34:30 UTC 2013


On Thu, May 9, 2013 at 10:00 AM, Drew Tomlinson <drew at mykitchentable.net>wrote:

> Update: I did some more searching and learned how to run mythcommflag
> manually.  I can run it successfully as the mythtv user.  Thus something
> must be off in how the backend calls mythcommflag?
>
> I ran mythtv-setup.  This is my "Commercial Detection Command" in the
> general settings:
>
> /usr/bin/ionice -c 2 -n 7 /usr/bin/mythcommflag
>
> Does this need to be modified?  This command works manually as the mythtv
> user:
>
> mythtv at mythfe01 ~ $ /usr/bin/ionice -c 2 -n 7 /usr/bin/mythcommflag -f
> /tv0/record/1010_**20130509035900.mpg
> 2013-05-09 09:58:01.915880 C  mythcommflag version: fixes/0.26 [v0.26.0]
> www.mythtv.org
> 2013-05-09 09:58:01.915930 C  Qt version: compile: 4.8.4, runtime: 4.8.4
> MythTV Commercial Flagger, flagging commercials for:
>     Modern Family - My Hero
>  32%/ 851fps
>
> Thanks,
>
> Drew
>
>
> On 5/9/2013 9:09 AM, Drew Tomlinson wrote:
>
>> After not touching my Mythbox for 2 years, I finally dove into it and
>> upgraded from 0.24 to 0.26.  While I have some nagging issues, the main one
>> for me right now is that all commflag jobs exit with an error status of
>> 140.  I've searched the web and found some reference to others seeing this
>> intermittently but without resolution beyond "restart the backend and it
>> goes away for a while".  In my case, I get this error every time on every
>> job no matter how many times I restart the backend.
>>
>> I looked in the log for clues but don't find any I understand. Here's a
>> snippet of my logs:
>>
>> 2013-05-06 17:03:00.129237 I [2451/5244] Commflag_80787 jobqueue.cpp:2281
>> (DoFlagCommercialsThread) - JobQueue: Commercial Detection Starting for
>> "The People's
>> Court":"Breast-Pump Purchase Lands a Father in Court" recorded from
>> channel 1031
>>  at 2013-05-06T23:00:00Z
>>
>> 2013-05-06 17:03:00.827687 E [2451/5244] Commflag_80787 jobqueue.cpp:2367
>> (DoFlagCommercialsThread) - JobQueue: Commercial Detection Errored: "The
>> People's Court":"Breast-Pump Purchase Lands a Father in Court" recorded
>> from channel 1031 at 2013-05-06T23:00:00Z (Failed with exit status 140)
>>
>> How can I fix this?
>>
>> Thanks,
>>
>> Drew
>>
>
Do you have the option set to start comm flagging when the recording
starts? If so, you may need to disable that because there's allegedly a
race condition that causes the comm flagger to error out when it hits the
end of the file (as it will frequently if it's trying to work on the file
while it's being recorded). This may not be your problem, but it's
something to try.

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130509/2f89bb5c/attachment.html>


More information about the mythtv-users mailing list