Hans Verkuil wrote:
> On Monday 18 December 2006 22:32, Duncan Webb wrote:
>> Hans Verkuil wrote:
>>> Hi all,
>>>
>>> Can someone make a stream available for download for me that
>>> contains a recording of a bilingual channel? I used to have a
>>> bilingual channel but it was apparently removed by the cable
>>> company. Very annoying as it was very useful for testing.
>>>
>>> First set the input to bilingual: 'v4l2-ctl -t bilingual'. Next
>>> select a channel that is NOT bilingual. Start recording. After
>>> 10-20 seconds switch to a bilingual channel. Continue recording for
>>> 30 seconds. Switch back to a non-bilingual channel. Continue
>>> recording for 10 seconds and then break off the recording.
>>>
>>> You can test whether a channel is bilingual by running 'v4l2-ctl
>>> -T'. You should see an entry 'lang2' in the 'Available subchannels'
>>> line.
>> I can do this when the Simpson is next transmitted, it has subtitles
>> too :)
>>
>> Which version of the driver do you want testing. my kernel is
>> 2.6.18.5. 0.8.2 or svn branch?
> 
> 2.6.18 is fine! Thanks for helping me out!

No problem, it the least I can do, for all you work :D

Here's the script:

#!/bin/bash
/usr/local/bin/v4l2-ctl -t bilingual
/usr/local/bin/v4ltune /dev/video0 133250
/usr/local/bin/v4l2-ctl -T
/bin/cat /dev/video0 > /tmp/simpsons.mpeg &
sleep 15
/usr/local/bin/v4ltune /dev/video0 210937
/usr/local/bin/v4l2-ctl -T
sleep 30
/usr/local/bin/v4ltune /dev/video0 133250
sleep 10
kill %1

And here's the output:

frequency=2132 "133250"
Tuner:
  Capabilities         : 62.5 kHz multi-standard stereo lang1 lang2
  Frequency range      : 44.0 MHz - 958.0 MHz
  Signal strength      : 99%
  Current audio mode   : bilingual
  Available subchannels: stereo
frequency=3375 "210937"
Tuner:
  Capabilities         : 62.5 kHz multi-standard stereo lang1 lang2
  Frequency range      : 44.0 MHz - 958.0 MHz
  Signal strength      : 99%
  Current audio mode   : bilingual
  Available subchannels: lang1 lang2
frequency=2132 "133250"


Is this the sort of thing you are looking for?

Duncan


_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to