[mythtv-users] StartEncoding failed

David Gabler dg-mythtv.org at gablerfamily.org
Tue Nov 10 02:16:25 UTC 2009


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
> 
> but I have no clue what "eno: Invalid argument (22)" is.  Any thoughts?
> 
> Thank you,
> 
> David
> 
> mythbackend.log:
> 
> Here is the default logging level output (0.21)
> 
> 2009-11-08 22:01:02.557 TVRec(6): Changing from None to RecordingOnly
> 2009-11-08 22:01:02.569 TVRec(6): HW Tuner: 6->6
> 2009-11-08 22:01:02.618 Channel(/dev/video1): SetInputAndFormat() failed
> 2009-11-08 22:01:02.621 TVRec(6) Error: Failed to set channel to 3.
> Reverting to kState_None
> 2009-11-08 22:01:02.622 TVRec(6): Changing from RecordingOnly to None
> 
> 
> "-v most" output (0.22)
> 2009-11-08 23:42:19.121 Channel(/dev/video0): Device name 'Hauppauge WinTV
> PVR-150' driver 'ivtv'.
> 2009-11-08 23:42:19.136 ChannelBase(17): Input #19: 'Tuner 1' schan(6)
> sourceid(1) ccid(17)
> 2009-11-08 23:42:19.144 ChannelBase(17): Current Input #19: 'Tuner 1'
> 2009-11-08 23:42:19.145 Global TVFormat Setting 'NTSC'
> 2009-11-08 23:42:19.145 Channel(/dev/video0): Input #19: 'Tuner 1'
> schan(6) tun() v4l1(NTSC) v4l2(NTSC)
> 2009-11-08 23:42:19.146 Channel(/dev/video0): SetFormat(Default) fmt(NTSC)
> input(19)
> 2009-11-08 23:42:19.147 Channel(/dev/video0)::SwitchToInput(in 19, '')
> 2009-11-08 23:42:19.156 Channel(/dev/video0): SetInputAndFormat(19, NTSC)
> (v4l v2)
> 2009-11-08 23:42:19.161 Channel(/dev/video0): SetChannelByString(6)
> 2009-11-08 23:42:19.163 Channel(/dev/video0): SetFormat(Default) fmt(NTSC)
> input(19)
> 2009-11-08 23:42:19.164 Channel(/dev/video0)::TuneTo(6):
> curList[4].freq(83250)
> 2009-11-08 23:42:19.164 Channel(/dev/video0): Tune(83250000, , analog,
> analog)
> 2009-11-08 23:42:19.191 Channel(/dev/video0)::Tune(): Frequency is now
> 83250000
> 2009-11-08 23:42:19.192 Channel(/dev/video0):
> InitPictureAttribute(brightness):  128
>                         [    0,  255] dflt(  128, 0.50, 128)
> 2009-11-08 23:42:19.195 Channel(/dev/video0): InitPictureAttribute( 
> contrast):  63
>                         [    0,  127] dflt(   64, 0.50, 257)
> 2009-11-08 23:42:19.198 Channel(/dev/video0): InitPictureAttribute(   
> colour):  63
>                         [    0,  127] dflt(   64, 0.50, 257)
> 2009-11-08 23:42:19.202 Channel(/dev/video0): InitPictureAttribute(      
> hue):  0
>                         [ -128,  127] dflt(    0, 0.50, 128)
> 2009-11-08 23:42:19.204 TVRec(17): ClearFlags(NeedToStartRecorder,) ->
> RunMainLoop,RingBufferReady,
> 2009-11-08 23:42:19.204 TVRec(17): SetFlags(NeedToStartRecorder,) ->
> RunMainLoop,NeedToStartRecorder,RingBufferReady,
> 2009-11-08 23:42:19.205 TVRec(17): Starting Recorder
> 2009-11-08 23:42:19.214 Using profile 'Default' to record
> 2009-11-08 23:42:19.224 MythSocket(8d21ad0:37): new socket
> 2009-11-08 23:42:19.229 RecBase(17:/dev/video0): SetRingBuffer(0xae5200c0)
> '/data/videos/tv/1006_20091108234200.mpg'
> 2009-11-08 23:42:19.235 MythSocket(8d21ad0:37): setSocket: 36
> 2009-11-08 23:42:19.237 RecBase(17:/dev/video0): SetRecording(0x8e0c4e8)
> title(Paid Programming)
> 2009-11-08 23:42:19.239 MythSocket(8d21ad0:36): state change Idle ->
> Connected
> 2009-11-08 23:42:19.245 Channel(/dev/video0):
> InitPictureAttribute(brightness):  128
>                         [    0,  255] dflt(  128, 0.50, 128)
> 2009-11-08 23:42:19.252 MythSocket(8d21ad0:36): UpRef: 1
> 2009-11-08 23:42:19.256 MythSocketThread(sock 0x8d21ad0:36): socket is
> readable
> 2009-11-08 23:42:19.256 Channel(/dev/video0): InitPictureAttribute( 
> contrast):  63
>                         [    0,  127] dflt(   64, 0.50, 257)
> 2009-11-08 23:42:19.258 MythSocketThread(sock 0x8d21ad0:36): calling
> m_cb->readyRead()
> 2009-11-08 23:42:19.280 MythSocket(8d21ad0:36): UpRef: 2
> 2009-11-08 23:42:19.280 Channel(/dev/video0): InitPictureAttribute(   
> colour):  63
>                         [    0,  127] dflt(   64, 0.50, 257)
> 2009-11-08 23:42:19.281 MythSocket(8d21ad0:36): read  <- 36 35      ANN
> Monitor spit.x.org 1
> 2009-11-08 23:42:19.288 MainServer::ANN Monitor
> 2009-11-08 23:42:19.289 Channel(/dev/video0): InitPictureAttribute(      
> hue):  0
>                         [ -128,  127] dflt(    0, 0.50, 128)
> 2009-11-08 23:42:19.293 adding: spit.gablerfamily.org as a client (events: 1)
> 2009-11-08 23:42:19.296 MPEGRec(/dev/video0): usingv4l2(1) has_v4l2_vbi(1)
> has_buggy_vbi(1)
> 2009-11-08 23:42:19.297 MythSocket(8d21ad0:36): write -> 36 2       OK
> 2009-11-08 23:42:19.301 MythSocket(8d21ad0:36): DownRef: 1
> 2009-11-08 23:42:19.301 MythSocketThread(sock 0x8d21ad0:36): socket is
> readable
> 2009-11-08 23:42:19.302 MPEGRec(/dev/video0) Warning: Audio sample rate
> 32000 Hz
>                         is not supported by ivtv driver, using 48000 Hz
> instead.
> 2009-11-08 23:42:19.319 MythSocketThread(sock 0x8d21ad0:36): calling
> m_cb->readyRead()
> 2009-11-08 23:42:19.327 MythSocket(8d21ad0:36): UpRef: 2
> 2009-11-08 23:42:19.328 MythSocket(8d21ad0:36): read  <- 36 19     
> QUERY_GETALLPENDING
> 2009-11-08 23:42:19.399 DevRdB(/dev/video0): buffer size 9400 KB
> 2009-11-08 23:42:19.401 MPEGRec(/dev/video0): DRB ready
> 2009-11-08 23:42:19.402 MPEGRec(/dev/video0): Initial startup of recorder
> 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
> 
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 



More information about the mythtv-users mailing list