Brandon Rader wrote:
> The only reason I have "v4l" instead "v4l2" is because I had tried v4l2
> several times already and was just desperate and tried it without the 2,
> as well as several other different things that might show up in the
> log.  With only v4l I remember getting even more errors, so v4l2 is the
> correct one.  I downloaded v4ltest you mentioned and here's what I'm
> getting.

v4ltest is really only for me to test the v4l ioctl's.

The v4ltune will allow you to tune the card by rounding the frequency to
the correct value. Then you can tune the card before running mencoder.

The best way to check the capabilities of you card is with v4lctl from
the xawtv package. For my bttv card at /dev/video1 I get:
# v4lctl -c /dev/video1 list
attribute  | type   | current | default | comment
-----------+--------+---------+---------+-------------------------------------
norm       | choice | PAL     | PAL     | PAL NTSC SECAM PAL-Nc PAL-M
PAL-N NTSC-JP PAL-60
input      | choice | Televis | Televis | Television Composite1 S-Video
Composite3
audio mode | choice | stereo  | mono    | mono stereo lang1 lang2
bright     | int    |   32768 |   32768 | range is 0 => 65535
contrast   | int    |   32768 |   32768 | range is 0 => 65535
color      | int    |   32768 |   32768 | range is 0 => 65535
hue        | int    |   32768 |   32768 | range is 0 => 65535
volume     | int    |   58880 |   65535 | range is 0 => 65535
Bass       | int    |   32768 |   32768 | range is 0 => 65535
Treble     | int    |   32768 |   32768 | range is 0 => 65535
mute       | bool   | on      | off     |
chroma agc | bool   | off     | off     |
combfilter | bool   | off     | off     |
automute   | bool   | on      | off     |
luma decim | bool   | off     | off     |
agc crush  | bool   | on      | off     |
vcr hack   | bool   | off     | off     |
whitecrush | int    |     207 |     207 | range is 0 => 255
whitecrush | int    |     127 |     127 | range is 0 => 255

If your card works with the tv applications then you should have no
problem with mencoder, so long as you have the arguments correct. ;-)

*** When you run the mencoder command what do you get as output?

> Using tune, I'm getting the same frequency for every channel.  I don't
> remember this being the case yesterday, so I think it's acting wacky but
> it could just be my own poor memory.

tune is a bash script that I use for my channels, because they don't fit
into the normal chanlist. It uses names so you can run ./tune bbc or
./tune sf1. You would need to edit this for you own channel list.

Duncan

> [EMAIL PROTECTED]:~/v4ltest-0.1.2$ ./tune 20 /dev/video0
> v4ltune /dev/video0 203850
> frequency=3262 "203850"
> v4ltune /dev/video0
> frequency=3262 "203875"
> [EMAIL PROTECTED]:~/v4ltest-0.1.2$ ./tune 46 /dev/video0
> v4ltune /dev/video0 203850
> frequency=3262 "203850"
> v4ltune /dev/video0
> frequency=3262 "203875"
> 
> v4ltest results... I find it odd that it's only showing PAL and no NTSC,
> but I don't know how this program works so it might mean nothing.
> [EMAIL PROTECTED]:~/v4ltest-0.1.2$ v4ltest
> general info
>     VIDIOC_QUERYCAP
>         driver                  : "bttv"
>         card                    : "BT848A video (Aimslab Video Hig"
>         bus_info                : "PCI:0000:03:00.0"
>         version                 : 0.9.16
>         capabilities            : 0x5010015
> [VIDEO_CAPTURE,VIDEO_OVERLAY,VBI_CAPTURE,TUNER,READWRITE,STREAMING]
> 
>     VIDIOC_G_STD
>         std                     : 0xff
> [PAL_B,PAL_B1,PAL_G,PAL_H,PAL_I,PAL_D,PAL_D1,PAL_K]
> 
> VIDIOC_QUERYCAP           cmd=0x80685600  dir=2  type='V'  nr= 0 
> size=104 104
> VIDIOC_ENUM_FMT           cmd=0xC0405602  dir=3  type='V'  nr= 2  size=
> 64  64
> VIDIOC_G_FMT              cmd=0xC0D05604  dir=3  type='V'  nr= 4 
> size=208 208
> VIDIOC_S_FMT              cmd=0xC0D05605  dir=3  type='V'  nr= 5 
> size=208 208
> VIDIOC_REQBUFS            cmd=0xC0145608  dir=3  type='V'  nr= 8  size=
> 20  20
> VIDIOC_QUERYBUF           cmd=0xC0585609  dir=3  type='V'  nr= 9  size=
> 88  88
> VIDIOC_G_FBUF             cmd=0x8030560A  dir=2  type='V'  nr=10  size=
> 48  48
> VIDIOC_S_FBUF             cmd=0x4030560B  dir=1  type='V'  nr=11  size=
> 48  48
> VIDIOC_OVERLAY            cmd=0xC004560E  dir=3  type='V'  nr=14  size= 
> 4   4
> VIDIOC_QBUF               cmd=0xC058560F  dir=3  type='V'  nr=15  size=
> 88  88
> VIDIOC_DQBUF              cmd=0xC0585611  dir=3  type='V'  nr=17  size=
> 88  88
> VIDIOC_STREAMON           cmd=0x40045612  dir=1  type='V'  nr=18  size= 
> 4   4
> VIDIOC_STREAMOFF          cmd=0x40045613  dir=1  type='V'  nr=19  size= 
> 4   4
> VIDIOC_G_PARM             cmd=0xC0CC5615  dir=3  type='V'  nr=21 
> size=204 204
> VIDIOC_S_PARM             cmd=0x40CC5616  dir=1  type='V'  nr=22 
> size=204 204
> VIDIOC_G_STD              cmd=0x80085617  dir=2  type='V'  nr=23  size= 
> 8   8
> VIDIOC_S_STD              cmd=0x40085618  dir=1  type='V'  nr=24  size= 
> 8   8
> VIDIOC_ENUMSTD            cmd=0xC0485619  dir=3  type='V'  nr=25  size=
> 72  72
> VIDIOC_ENUMINPUT          cmd=0xC050561A  dir=3  type='V'  nr=26  size=
> 80  80
> VIDIOC_G_CTRL             cmd=0xC008561B  dir=3  type='V'  nr=27  size= 
> 8   8
> VIDIOC_S_CTRL             cmd=0x4008561C  dir=1  type='V'  nr=28  size= 
> 8   8
> VIDIOC_G_TUNER            cmd=0xC054561D  dir=3  type='V'  nr=29  size=
> 84  84
> VIDIOC_S_TUNER            cmd=0x4054561E  dir=1  type='V'  nr=30  size=
> 84  84
> VIDIOC_G_AUDIO            cmd=0xC0345621  dir=3  type='V'  nr=33  size=
> 52  52
> VIDIOC_S_AUDIO            cmd=0x40345622  dir=1  type='V'  nr=34  size=
> 52  52
> VIDIOC_QUERYCTRL          cmd=0xC0445624  dir=3  type='V'  nr=36  size=
> 68  68
> VIDIOC_QUERYMENU          cmd=0xC02C5625  dir=3  type='V'  nr=37  size=
> 44  44
> VIDIOC_G_INPUT            cmd=0x80045626  dir=2  type='V'  nr=38  size= 
> 4   4
> VIDIOC_S_INPUT            cmd=0xC0045627  dir=3  type='V'  nr=39  size= 
> 4   4
> VIDIOC_G_OUTPUT           cmd=0x8004562E  dir=2  type='V'  nr=46  size= 
> 4   4
> VIDIOC_S_OUTPUT           cmd=0xC004562F  dir=3  type='V'  nr=47  size= 
> 4   4
> VIDIOC_ENUMOUTPUT         cmd=0xC0485630  dir=3  type='V'  nr=48  size=
> 72  72
> VIDIOC_G_AUDOUT           cmd=0xC0345631  dir=3  type='V'  nr=49  size=
> 52  52
> VIDIOC_S_AUDOUT           cmd=0x40345632  dir=1  type='V'  nr=50  size=
> 52  52
> VIDIOC_G_MODULATOR        cmd=0xC0445636  dir=3  type='V'  nr=54  size=
> 68  68
> VIDIOC_S_MODULATOR        cmd=0x40445637  dir=1  type='V'  nr=55  size=
> 68  68
> VIDIOC_G_FREQUENCY        cmd=0xC02C5638  dir=3  type='V'  nr=56  size=
> 44  44
> VIDIOC_S_FREQUENCY        cmd=0x402C5639  dir=1  type='V'  nr=57  size=
> 44  44
> VIDIOC_CROPCAP            cmd=0x802C563A  dir=2  type='V'  nr=58  size=
> 44  44
> VIDIOC_G_CROP             cmd=0xC014563B  dir=3  type='V'  nr=59  size=
> 20  20
> VIDIOC_S_CROP             cmd=0x4014563C  dir=1  type='V'  nr=60  size=
> 20  20
> VIDIOC_G_JPEGCOMP         cmd=0x808C563D  dir=2  type='V'  nr=61 
> size=140 140
> VIDIOC_S_JPEGCOMP         cmd=0x408C563E  dir=1  type='V'  nr=62 
> size=140 140
> VIDIOC_QUERYSTD           cmd=0x8008563F  dir=2  type='V'  nr=63  size= 
> 8   8
> VIDIOC_TRY_FMT            cmd=0xC0D05640  dir=3  type='V'  nr=64 
> size=208 208
> 
> Brandon


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to