>>>>> Some time ago, when I looked into something similar, all the  
>>>>> supported
>>>>> cards that I found could only record incomming video at 1/2 res max.
>>>>> Whether this is a limitation of the bt848 chipset, I didnt bother to
>>>>> verify.
>>>>
>>>> what do you mean by 1/2 res?
>>>>
>>>> the bt8x8 (also conexant fusion 878) chips can capture full  
>>>> resolution
>>>> NTSC (640x480) or PAL (768x576).
>>>
>>> By half res, I mean 360x240.
>>
>> hmm, 360 is not a multiple of 16, nor is 360/240 == 4/3.  sure you  
>> don't
>> mean 320x240?
>
> Sorry, yes of course. that's a typo.
>
>>
>>> It must have only been a limitation of the various cards I could find
>>> info on.
>>>
>>> I should perhaps clarify that this limitation only applied to the  
>>> video
>>> input from the external video connectors, not to the tuner output,  
>>> which
>>> could be recorded at full resolution on all the cards I looked at.
>>> That may not have been clear from my use of the term 'incomming  
>>> video'.

Seems I am experiencing something similar.

Capturing on OpenBSD 4.6 (dmesg below), trying
both the ffmpeg package and the latest SVN version,
if I specify bigger '-s' than 'qvga' (320x240), I get

FFmpeg version SVN-r20569, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Nov 21 2009 15:42:46 with gcc 3.3.5 (propolice)
  configuration: 
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  TVTUNER_SAUDIO: Input/output error

and nothing else happens. With
ffmpeg -y -an -v 1 -f bktr -r 25 -s qvga -i /dev/bktr0 /media/NEW/video.avi
I can capture the video (black-and-white, though):


FFmpeg version SVN-r20569, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  built on Nov 21 2009 15:42:46 with gcc 3.3.5 (propolice)
  configuration: 
  libavutil     50. 4. 0 / 50. 4. 0
  libavcodec    52.41. 0 / 52.41. 0
  libavformat   52.39. 2 / 52.39. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0. 7. 1 /  0. 7. 1
  TVTUNER_SAUDIO: Input/output error
Input #0, bktr, from '/dev/bktr0':
  Duration: N/A, start: 1258810793.022359, bitrate: N/A
    Stream #0.0: Video: rawvideo, yuv420p, 320x240, 25 tbr, 1000k tbn, 25 tbc
Compiler did not align stack variables. Libavcodec has been miscompiled
and may be very slow or crash. This is not a bug in libavcodec,
but in the compiler. You may try recompiling using gcc >= 4.2.
Do not report crashes to FFmpeg developers.
Output #0, avi, to '/media/NEW/video.avi':
  Stream #0.0: Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/s, 25 tbn, 25 tbc
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 4747 fps= 25 q=15.2 Lsize=    4860kB time=189.88 bitrate= 209.7kbits/s   
video:4741kB audio:0kB global headers:0kB muxing overhead 2.514040%

Is there a way to tell for sure that the 320x240 is the limitation
of my card, or does this limit come from elsewhere?

What could be the reason the captured video is black-and-white
(the tape is deffinitely in color)?

If I don't specify any -target option, I just get the 320x240 mpeg4
stream. If I specify -target dvd, I get

Output #0, dvd, to '/media/NEW/video.avi':
  Stream #0.0: Video: mpeg2video, yuv420p, 720x576, q=2-31, 6000 kb/s, 90k tbn 
, 25 tbc

Does that mean ffmpeg somehow scales the captured 320x240 to 720x576
on the fly, as it writes video.avi? If that is the case, am I better
off saving just the 320x240 stream and do the scaling/converting later,
in non-real time, with clever ffmpeg options?

        Jan


OpenBSD 4.6-stable (GENERIC) #0: Sat Nov 21 15:58:26 CET 2009
    r...@alz.stare.cz:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 2500+ ("AuthenticAMD" 686-class, 512KB L2 cache) 1.84 
GHz
cpu0: 
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem  = 804810752 (767MB)
avail mem = 768880640 (733MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 05/16/03, BIOS32 rev. 0 @ 0xfdad0, SMBIOS 
rev. 2.3 @ 0xf0630 (22 entries)
bios0: vendor American Megatrends Inc. version "Version 07.00T" date 04/02/01
bios0: MSI MS-6712
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7fc0/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xec00
cpu0 at mainbus0: (uniprocessor)
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8377 PCI" rev 0x80
viaagp0 at pchb0: v3
agp0 at viaagp0: aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0 "VIA VT8377 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 MX 440 AGP" rev 0xa4
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
emu0 at pci0 dev 6 function 0 "Creative Labs SoundBlaster Live" rev 0x08: irq 10
ac97: codec id 0x54524123 (TriTech Microelectronics TR28602)
audio0 at emu0
"Creative Labs PCI Gameport Joystick" rev 0x08 at pci0 dev 6 function 1 not 
configured
bktr0 at pci0 dev 8 function 0 "Brooktree BT878" rev 0x02: irq 5
bktr0: Warning - card vendor 0x0000 (model 0x0000) unknown.
bktr0: Detected a dpl3...@-@0 at 0x84
bktr0: Intel Smart Video III/VideoLogic Captivator PCI, <no> tuner, dpl3518a 
dolby.
"Brooktree BT878 Audio" rev 0x02 at pci0 dev 8 function 1 not configured
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 10
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 5
ehci0: timed out waiting for BIOS
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 "VIA EHCI root hub" rev 2.00/1.00 addr 1
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
iic0: addr 0x1b 06=f0 0b=fc 0c=08 0d=08 0e=f0 0f=07 10=0c 11=03 12=05 14=55 
15=55 17=ff 18=ff 1c=02 20=ff 22=07 26=30 29=ff words 00=00ff 01=00ff 02=00ff 
03=00ff 04=00ff 05=00ff 06=f0ff 07=00ff
iic0: addr 0x2f 04=00 06=03 07=00 0c=00 0d=07 0e=84 0f=00 10=c0 11=11 12=00 
13=60 14=14 15=62 16=01 17=06 words 00=ffff 01=ffff 02=ffff 03=ffff 04=00ff 
05=ffff 06=03ff 07=00ff
spdmem0 at iic0 addr 0x50: 256MB DDR SDRAM non-parity PC3200CL3.0
spdmem1 at iic0 addr 0x51: 256MB DDR SDRAM non-parity PC3200CL3.0
spdmem2 at iic0 addr 0x52: 256MB DDR SDRAM non-parity PC2700CL2.5
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133, channel 
0 configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: <ST320011A>
wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors
atapiscsi0 at pciide0 channel 0 drive 1
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <LITE-ON, DVDRW SOHW-1693S, KS06> ATAPI 5/cdrom 
removable
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5
cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 4
wd1 at pciide0 channel 1 drive 0: <Maxtor 6L300R0>
wd1: 16-sector PIO, LBA48, 286188MB, 586114704 sectors
wd2 at pciide0 channel 1 drive 1: <MAXTOR STM3200820A>
wd2: 16-sector PIO, LBA48, 190782MB, 390721968 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 6
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio1 at auvia0
vr0 at pci0 dev 18 function 0 "VIA RhineII-2" rev 0x74: irq 11, address 
00:0c:76:55:85:56
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface, rev. 8: OUI 0x004063, 
model 0x0032
usb1 at uhci0: USB revision 1.0
uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb2 at uhci1: USB revision 1.0
uhub2 at usb2 "VIA UHCI root hub" rev 1.00/1.00 addr 1
usb3 at uhci2: USB revision 1.0
uhub3 at usb3 "VIA UHCI root hub" rev 1.00/1.00 addr 1
isa0 at mainbus0
isadma0 at isa0
com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
wbsio0 at isa0 port 0x2e/2: W83697HF rev 0x12
lm1 at wbsio0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ff65 netmask ff65 ttymask ffff
mtrr: Pentium Pro MTRR support
softraid0 at root
root on wd0a swap on wd0b dump on wd0b

Reply via email to