Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ivtv: users

Changing Inputs Does Not Work

 

 

ivtv users RSS feed   Index | Next | Previous | View Threaded


tomcw at adelphia

Oct 24, 2007, 5:35 AM

Post #1 of 2 (684 views)
Permalink
Changing Inputs Does Not Work

Hello,

I have a PVR-150 on openSUSE 10.2 and am using ivtv 0.10.6.

I am trying to change the input from Tuner 1 (input 0) to S-Video (tuner 1).
I am using v4l2-ctl --set-input=1 to switch form 0 to 1. I have noticed that
if I am using my card (e.g. cat/dev/video0 > test.mpg, xine pvr:/, or using
mythtv) I cannot change my input.

With it already set to input 0 I started cat /dev/video0 > test.mpg

then:

linux:~ # v4l2-ctl --set-input=1
linux:~ # v4l2-ctl --set-input=0
Video input set to 0 (Tuner 1)

Notice that there was no reply from changing to input 1. The input never
changed. When watching the video I can confirm that it recorded the same
input the whole time.

After I stop the recording:
linux:~ # v4l2-ctl --set-input=1
Video input set to 1 (S-Video 1)
linux:~ # v4l2-ctl --set-input=0
Video input set to 0 (Tuner 1)

Notice I get the reply? I also can record video before switching back to
input 0 and see that it did change.

Is this intended, known behavior or is there a problem with my setup?

Best regards,

Tom Weichmann


for good measure:

ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.10.6 (tagged release) loading
ivtv: Linux version: 2.6.18.8-0.7-default SMP mod_unload 586 REGPARM gcc-4.1
ivtv: In case of problems please include the debug info between
ivtv: the START INIT IVTV and END INIT IVTV lines, along with
ivtv: any module options, when mailing the ivtv-users mailinglist.
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
ivtv0: loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
i2c-algo-bit.o: ivtv i2c driver #0 passed test.
ivtv0: Autodetected Hauppauge WinTV PVR-150
tuner 1-0043: chip found @ 0x86 (ivtv i2c driver #0)
tuner 1-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 1-0044: cx25843-23 found @ 0x88 (ivtv i2c driver #0)
wm8775 1-001b: chip found @ 0x36 (ivtv i2c driver #0)
ivtv0: Registered device video0 for encoder MPEG (4 MB)
ivtv0: Registered device video32 for encoder YUV (2 MB)
ivtv0: Registered device vbi0 for encoder VBI (1 MB)
ivtv0: Registered device video24 for encoder PCM audio (1 MB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized Hauppauge WinTV PVR-150, card #0
ivtv: ==================== END INIT IVTV ====================


_______________________________________________
ivtv-users mailing list
ivtv-users [at] ivtvdriver
http://ivtvdriver.org/mailman/listinfo/ivtv-users


sander.sweers at gmail

Oct 24, 2007, 10:38 AM

Post #2 of 2 (612 views)
Permalink
Re: Changing Inputs Does Not Work [In reply to]

On wo, 2007-10-24 at 08:35 -0400, Tom Weichmann wrote:
> With it already set to input 0 I started cat /dev/video0 > test.mpg
>
> then:
>
> linux:~ # v4l2-ctl --set-input=1
> linux:~ # v4l2-ctl --set-input=0
> Video input set to 0 (Tuner 1)
>
> Notice that there was no reply from changing to input 1. The input never
> changed. When watching the video I can confirm that it recorded the same
> input the whole time.
>
> After I stop the recording:
> linux:~ # v4l2-ctl --set-input=1
> Video input set to 1 (S-Video 1)
> linux:~ # v4l2-ctl --set-input=0
> Video input set to 0 (Tuner 1)
>
> Notice I get the reply? I also can record video before switching back to
> input 0 and see that it did change.
>
> Is this intended, known behavior or is there a problem with my setup?

AFAIK you can not change input while doing a capture. Frequency/channel
changes are no problem but not input.

I do agree that it should return some sort of error message that the
device is busy capturing.

Greets
Sander


_______________________________________________
ivtv-users mailing list
ivtv-users [at] ivtvdriver
http://ivtvdriver.org/mailman/listinfo/ivtv-users

ivtv users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.