[mythtv-commits] Re: Ticket #427: channel change/format change

MythTV mythtv at cvs.mythtv.org
Tue Oct 25 23:13:18 UTC 2005


#427: channel change/format change
-------------------------------------+--------------------------------------
 Reporter:  jacques.facquet at free.fr  |        Owner:  danielk
     Type:  defect                   |       Status:  new    
 Priority:  minor                    |    Milestone:  unknown
Component:  mythtv                   |      Version:  0.18.1 
 Severity:  medium                   |   Resolution:         
-------------------------------------+--------------------------------------
Comment (by jacques.facquet at free.fr):

 >Can you reproduce this with the latest SVN?

 worst with the latest unstable svn :
 SVideo/PAL
 Input #0: 'Composite 0'
 Input #1: 'Composite 1'
 Input #2: 'Composite 2'
 Input #3: 'Composite 3'
 Input #4: 'Tuner 0'
 Input #5: 'Composite 4'
 Input #6: 'S-Video 0'
 Input #7: 'S-Video 1'
 Input #8: 'S-Video 2'
 Input #9: 'S-Video 3'
 Channel is correct.

 changing for tuner SECAM :

 Channel(/dev/v4l/video0)::SwitchToInput(in 4): Error -1 while setting
 video mode 'PAL' (v2), "Périphérique ou ressource occupé", trying v4l
 v1
 Channel(/dev/v4l/video0)::SwitchToInput(in 4): Error -1 while setting
 video mode 'PAL' (v1): Périphérique ou ressource occupé
 TVRec(1) Error: Failed to set channel to 1. Reverting to kState_None
 TVRec(1): Changing from WatchingLiveTV to None

 That's all :-(


 > Also what is the global format? SECAM or PAL? What are the formats of
 the two channels?
 Global format is SECAM.
 format for tuners channels is SECAM, for SVideo channels is PAL.

  >If this bug still exists, please attach a backend log with "-v
 record,channel" where you switch from SECAM->PAL->SECAM where it fails on
 that second switch.

 latest stable svn
 switch to SVideo/PAL :
 Failed to find channel(309) on current input (Tuner 0) of card (1).
 Found channel(309) on another input (S-Video 0) of card (1).
 Failed to find channel(309) on current input (Tuner 0) of card (1).
 Found channel(309) on another input (S-Video 0) of card (1).
 Channel(/dev/v4l/video0)::SwitchToInput(in 6)
 Channel(/dev/v4l/video0)::SwitchToInput() setting video mode to SECAM
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 0, name = Composite 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 1, name = Composite 1
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 2, name = Composite 2
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 3, name = Composite 3
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 4, name = Tuner 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 5, name = Composite 4
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 6, name = S-Video 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 7, name = S-Video 1
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 8, name = S-Video 2
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 9, name = S-Video 3
 Channel(/dev/v4l/video0)::TuneTo(K06): curList[5].freq(184000)
 Channel(/dev/v4l/video0)::TuneToFrequency(2944)

 switch to SECAM :
 Failed to find channel(1) on current input (S-Video 0) of card (1).
 Found channel(1) on another input (Tuner 0) of card (1).
 Failed to find channel(1) on current input (S-Video 0) of card (1).
 Found channel(1) on another input (Tuner 0) of card (1).
 Channel(/dev/v4l/video0)::SwitchToInput(in 4)
 Channel(/dev/v4l/video0)::SwitchToInput() setting video mode to PAL
 Channel(/dev/v4l/video0)::SwitchToInput(in 4): Error -1 while setting
 video mode (v2), "Périphérique ou ressource occupé", trying v4l v1
 Channel(/dev/v4l/video0)::SwitchToInput() setting video mode to PAL
 Channel(/dev/v4l/video0)::SwitchToInput(in 4): Error -1 while setting
 video mode (v1): Périphérique ou ressource occupé
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 0, name = Composite 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 1, name = Composite 1
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 2, name = Composite 2
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 3, name = Composite 3
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 4, name = Tuner 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 5, name = Composite 4
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 6, name = S-Video 0
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 7, name = S-Video 1
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 8, name = S-Video 2
 Channel(/dev/v4l/video0):SetFormat(): Probed input: 9, name = S-Video 3
 Channel(/dev/v4l/video0)::TuneTo(28): curList[52].freq(527250)
 Channel(/dev/v4l/video0)::TuneToFrequency(8436)

 As you can see, if I switch to PAL mythtv want switch to SECAM, and if I
 switch to SECAM, mythtv want switch to PAL .....
 I have a patch to force SECAM format on tuner, so, It's working fine but
 ...
 I have tried a code which force SECAM when I reveive PAL or SECAM when I
 receive PAL, it's working too :-(

  >BTW to use the SVideo input you probably need to attach a source to that
 input with a single channel in the video mode you need.
 Yes, it's a dummy channel with PAL format.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/427>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list