[mythtv-users] switching to composite input kills backend

Robert M. Riches Jr. rm.riches at jacob21819.net
Sat Dec 31 02:50:42 UTC 2011


(New subscriber, so apologies if I'm out of order...)

On Mageia 1, I got MythTV set up with a Hauppauge HVR-1950, model
1192.  The mageia package version number is
mythtv-backend-0.24.1-20111019.0.1.mga1.  After a reading a bunch
of documentation and Googling for additional answers, it records
and views ATSC programs quite well.  Now, I'm trying to set up so
I can use the composite (and S-Video) inputs to digitize some old
VHS tapes.  Running mythtv-setup as root, I have this:

    two capture cards:
        V4L for baseband analog
        DVB for ATSC

    three sources:
        antenna-digital with EIT-only grabber
        composite with no grabber
        s-video with no grabber

    three input connections: 
        [ V4L : /dev/video0 ] (television) -> (None)
        [ V4L : /dev/video0 ] (composite) -> composite
        [ V4L : /dev/video0 ] (s-video) -> s-video
        [ DVB : /dev/dvb/adapter0/frontend0 ] (DVBInput) -> antenna-digital
        (Starting channels for composite and s-video are 201 and
        202, respectively.)

    channel editor:
        ...
        channel 201 Composite
        channel 202 S-video

Then, I ran mythfilldatabase, which churned for around 3-5
minutes.  I successfully started the backend and watched live
ATSC TV.

As a user, I configured a 'Default' channel group and made it my
default channel group.

However, when I do 'y' in the frontend to change to one of the
baseband channels, the frontend screen goes black, even when I am
feeding a signal into the composite input.  After a while, I
control-C the frontend.  Checking the backend, I find that the
backend has died with the attached text at the end of the log
file.  I checked device node permissions, and mythtv can read and
write /dev/video0.  My hunch is that when the backend is actively
talking with the DVB, it shuts itself out from talking with the
analog /dev/video0.

Is there something I'm missing in the setup?  Do I need to do
something else to tell the backend that the two cards are
mutually exclusive?

Or, is this a reportable (or reported) bug.  I'm afraid I'm so
new to MythTV I likely couldn't tell from a bug report scan
whether this was already reported.

Any other suggestions?

Thanks,

Robert
-------------- next part --------------
2011-12-30 17:35:24.617 TVRec(2): HW Tuner: 2->2
2011-12-30 17:35:24.896 LoadFromScheduler(): Error, called from backend.
2011-12-30 17:35:24.899 AutoExpire: CalcParams(): Max required Free Space: 3.0 GB w/freq: 14 min
2011-12-30 17:35:25.246 Finished recording Fetch! With Ruff Ruffman: channel 1101
2011-12-30 17:35:25.429 MainServer::ANN Monitor
2011-12-30 17:35:25.481 adding: one.localnet as a client (events: 0)
2011-12-30 17:35:25.543 MainServer::ANN Monitor
2011-12-30 17:35:25.601 adding: one.localnet as a client (events: 1)
2011-12-30 17:35:26.019 TVRec(2): RingBufferChanged()
2011-12-30 17:35:28.563 RecBase(2:/dev/dvb/adapter0/frontend0): GetKeyframePositions(37,9223372036854775807,#0) out of 1
2011-12-30 17:35:28.986 RecBase(2:/dev/dvb/adapter0/frontend0): GetKeyframePositions(37,9223372036854775807,#0) out of 1
Error in my_thread_global_end(): 1 threads didn't exit
2011-12-30 17:35:41.881 TVRec(2): Changing from WatchingLiveTV to None
2011-12-30 17:35:42.209 MainServer::ANN Playback
2011-12-30 17:35:42.232 adding: one.localnet as a client (events: 0)
2011-12-30 17:35:42.250 TVRec(1): Changing from None to WatchingLiveTV
2011-12-30 17:35:42.301 TVRec(1): HW Tuner: 1->1
2011-12-30 17:35:42.324 Channel(/dev/video0)::Open(): Can't open video device, error "Operation not permitted"
2011-12-30 17:35:42.342 LoadFromScheduler(): Error, called from backend.
2011-12-30 17:35:42.344 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2011-12-30 17:35:42.517 Channel(/dev/video0) Error: SetInputAndFormat(1, NTSC) 
                        while setting input (v4l v2)
                        eno: Bad file descriptor (9)
2011-12-30 17:35:42.549 Channel(/dev/video0) Error: SetInputAndFormat(1, NTSC) 
                        while setting format (v4l v2)
                        eno: Bad file descriptor (9)
2011-12-30 17:35:42.581 Channel(/dev/video0) Error: SetInputAndFormat(1, ATSC) 
                        while setting input (v4l v2)
                        eno: Bad file descriptor (9)
2011-12-30 17:35:42.607 Channel(/dev/video0) Error: SetInputAndFormat(1, ATSC) 
                        while setting format (v4l v2)
                        eno: Bad file descriptor (9)
2011-12-30 17:35:42.641 Channel(/dev/video0): SetInputAndFormat() failed
2011-12-30 17:35:42.666 Channel(/dev/video0)::Open(): Can't open video device, error "Operation not permitted"
2011-12-30 17:35:42.767 LoadFromScheduler(): Error, called from backend.
2011-12-30 17:35:42.770 AutoExpire: CalcParams(): Max required Free Space: 2.0 GB w/freq: 15 min
2011-12-30 17:35:42.793 recording already exists...
2011-12-30 17:35:42.909 Finished recording : channel 1492
2011-12-30 17:35:43.037 NVR(/dev/video0): Unknown video codec.  Please go into the TV Settings, Recording Profiles and setup the four 'Software Encoders' profiles.  Assuming RTjpeg for now.
2011-12-30 17:35:43.067 NVR(/dev/video0) Error: Unknown audio codec
2011-12-30 17:35:43.138 Channel(/dev/video0) Error: InitPictureAttribute(brightness): failed to query controls.
                        eno: Bad file descriptor (9)
2011-12-30 17:35:43.370 NVR(/dev/video0) Error: Can't open video device: /dev/video0
open video:: Operation not permitted



More information about the mythtv-users mailing list