Pascal Schirrmann wrote:
> Hi,
> 
> I'm using a PVR-150 card as input on my freevobox, and encounter a 
> trouble when shifting from SECAM to PAL.
> Until now, it didn't bother me so much, but now that the ivtv_xine 
> plugin starts to deal with the TV_VIDEO_GROUP, I really would like to 
> use that functionality.
> 
> So here is the trouble :
> 
> I basically receive via the cable operator 23 tv channels. 21 are in 
> SECAM, and 2 in PAL. I also receive via my ADSL box a bunch of TV 
> programs, all in PAL. These programs come in via the composite input of 
> the PVR-150 card.
> The best results I have so far : Setting the default standard as secam, 
> I can receive the 21 SECAM channels. If I want to watch one of the ADSL 
> program, I stop freevo (ouch), send the following command :
> v4l2-ctl --set-standard=pal --set-input=2
> then
> xine --stdctl pwr:///home2/media/tmp/xine-buf-
> 
> So, everything is ok (At least, until the standard change is 
> incorporated in ivtv_xine_tv.py)
> If I try to watch one of the pal antenna program, hoverer, I'm not able 
> to do something relevant.
> For instance, I start via freevo to watch a PAL program. Since Freevo 
> doesn't select pal, I can watch my program, but in a very nice kind of 
> purple...
> I then stop freevo, do my v4l2-ctl --set-standard=pal and then launch 
> xine, I have the sound (not good) but only a snow storm as picture.
> 
> Do you have any idea of the reason ? I suspect that in this case, I have 
> something else to do to setup the tuner, but didn't find anything relevant.
> BTW, my system is running Mandriva 2008, with a 2.6.22-9 kernel, the 
> embedded drivers for the PVR card and the 1.0.3 set of ivtv tools.

Try this patch:
Index: src/tv/channels.py
===================================================================
--- src/tv/channels.py  (revision 10012)
+++ src/tv/channels.py  (working copy)
@@ -190,6 +190,7 @@
             # Lets set the freq ourselves using the V4L device.
             try:
                 vd = tv.v4l2.Videodev(vg.vdev)
+                vd.setfreq(vg.input_num)
                 try:
                     vd.setfreq(freq)
                 except:

Then you will need a VideoGroup for each tuner input.
If it works and has no unwanted side effects then I can commit it

Duncan


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to