[mythtv-users] StartEncoding failed

Paul Bender pebender at san.rr.com
Tue Nov 10 03:54:11 UTC 2009


David Gabler wrote:
> Updated kernel and ivtv to newest  kernel-PAE-2.6.18-164.6.1.el5
> 
> Still having the problem and do not understand the error being thrown.
> 
> David
> 
> David Gabler wrote:
>> All,
>>
>> Just started noticing this error on my backend but can not seem to figure
>> it out.
>> Upgraded to 0.22 and still having the same problem.  Hardware consists of
>> a HP500 (video1-2) and HP150 (video0).
>>
>> Have removed and re-added tuners to no avail.
>> target directory (/data/videos/tv) exists and has enough space.
>>
>> What I can see it all boils down to is :
>> 2009-11-08 23:42:19.403 MPEGRec(/dev/video0): StartEncoding
>> 2009-11-08 23:42:19.403 MPEGRec(/dev/video0) Error: StartEncoding failed
>>                         eno: Invalid argument (22)
>> 2009-11-08 23:42:19.404 MPEGRec(/dev/video0) Error: Failed to start 
>> recording

I believe I may have found the problem and the fix. However, I cannot 
test it until I have time switch my system back to MythTV 0.22. Right 
now it is running MythTV 0.21 so that it can record.

Looking at the MythTV source, the problem appears to be with the statement
ioctl(fd, VIDIOC_ENCODER_CMD, &command)
However, VIDIOC_ENCODER_CMD is not present in the version of V4L in the 
2.6.18 kernel. I have been using the ATrpms ivtv driver package, so I am 
using the 2.6.18 V4L. However, ATrpms has a video4linux driver package, 
which has a V4L with VIDIOC_ENCODER_CMD. Therefore, I suspect switching 
from ATrpms ivtv driver package to the ATrpms video4linux driver package 
would fix the problem.


More information about the mythtv-users mailing list