Hi
I am trying to find the forum where development issues for Cinelerra are
looked at.  I hope this is the right list.  Please point me in the right
direction if it is not.

I have been trying to get Cinelerra to work with my Pinnacle DC10plus
video capture card using the above system which includes the Zoran
drivers.  In trying to find the fault I contacted Ronald S. Bultje at
[EMAIL PROTECTED] who has helped me establish that Cinelerra
does not support multiple palettes. Only UYVY.
He has asked me to submit a request to the developers and to cc him our
correspondence.
I have included our correspondence below with my log print as requested
by Ronald.  (The last email is first).
Does Cinelerra have a way of using this card?  Or can I ask that the
palette is included in a fix please.
My PC is :
AMD Athlon XP 1800+
Architecture i386
System Open SUSE 10.2

Thanks
Garth Kay-Hards
-----------------------------------------------------
Hi Garth,

On Apr 24, 2007, at 11:51 PM, Garth Kay-Hards wrote:
> DC10plus[0]: VIDIOCGWIN
> DC10plus[0]: VIDIOCGPICT
> DC10plus[0]: VIDIOCSPICT - bri=32440, hue=32440, col=32440,  
> con=32440, dep=3, pal=4
> DC10plus[0]: VIDIOCSPICT - Invalid palette 4
> DC10plus[0]: VIDIOCGPICT
> DC10plus[0]: VIDIOCGMBUF

So, this tells me the application only supports a single palette  
(UYVY), which is what I already suspected from your previous log  
(this just confirms it). I'd suggest to take this up with the  
application author and ask to add support for YUYV. Kernel is _not_  
supposed to do this for the app, this is very explicit in the v4l/ 
v4l2 docs. Applications are responsible for this themselves.

You can CC me in the discussion with the application author if you  
want, I can back up some of the stuff that you're saying, maybe it  
convinces him easier. :-).

Cheers,
Ronald
---------------------------
Sorry Romald
Here's the log after staring the Cinelerra application and try to
record.
Garth

Linux video capture interface: v2.00
Zoran MJPEG board driver version 0.9.5
PCI: Enabling device 0000:01:07.0 (0000 -> 0002)
ACPI: PCI Interrupt 0000:01:07.0[A] -> Link [APC4] -> GSI 19 (level,
high) -> IRQ 177
MJPEG[0]: Zoran ZR36067 (rev 2) irq: 177, memory: 0xe4100000
MJPEG[0]: subsystem vendor=0x1031 id=0x7efe
MJPEG[0]: find_zr36057() - trying to autodetect card type
MJPEG[0]: find_zr36057() - card DC10plus detected
DC10plus[0]: Initializing i2c bus...
DC10plus[0]: i2c_client_register() - driver id = 22
DC10plus[0]: i2c_client_register() - driver id = 48
DC10plus[0]: Initializing videocodec bus...
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888
ZORAN: 1 card(s) found
DC10plus[0]: zr36057_init() - initializing card[0], zr=e0eedd40
DC10plus[0]: dc10plus_init()
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
DC10plus[0]: enable_jpg(IDLE)
DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x11
DC10plus[0]: Detecting guests activity, please wait...
DC10plus[0]: Guests: 0x10 0x10 0x10 0x10 0x10 0x10 0x11
DC10plus[0]:   6835: 7 => 0x13
DC10plus[0]:    417: 7 => 0x10
DC10plus[0]:  19587: 7 => 0x12
DC10plus[0]:    418: 7 => 0x11
DC10plus[0]:  19570: 7 => 0x13
DC10plus[0]:    419: 7 => 0x10
DC10plus[0]:  19600: 7 => 0x12
DC10plus[0]:    419: 7 => 0x11
DC10plus[0]: interrupts received: GIRQ1:50 queue_state=0/0/0/0
DC10plus[0]: procfs entry /proc/zoran0 allocated. data=e0eedd40
DC10plus[0]: zoran_open(cinelerra, pid=[29619]), users(-)=0
DC10plus[0]: dc10plus_init()
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
DC10plus[0]: enable_jpg(IDLE)
DC10plus[0]: VIDIOCGCHAN - channel=0
DC10plus[0]: VIDIOCGCHAN - channel=1
DC10plus[0]: VIDIOCGCHAN - channel=2
DC10plus[0]: VIDIOCGCHAN - channel=3
DC10plus[0]: VIDIOCGCHAN - channel=4
DC10plus[0]: VIDIOCGCHAN on not existing channel 4
DC10plus[0]: zoran_close(cinelerra, pid=[29619]), users(+)=1
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
DC10plus[0]: enable_jpg(IDLE)
DC10plus[0]: interrupts received: GIRQ1:1 queue_state=0/0/0/0
DC10plus[0]: zoran_open(cinelerra, pid=[29619]), users(-)=0
DC10plus[0]: dc10plus_init()
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0x81008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0x89008888
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
DC10plus[0]: enable_jpg(IDLE)
DC10plus[0]: UNKNOWN ioctl cmd: 0x80287610
DC10plus[0]: UNKNOWN ioctl cmd: 0x80287610
DC10plus[0]: UNKNOWN ioctl cmd: 0x40287611
DC10plus[0]: VIDIOCGWIN
DC10plus[0]: VIDIOCSWIN - x=0, y=0, w=720, h=480, clipcount=0
DC10plus[0]: setup_window() - frame buffer has to be set first
DC10plus[0]: VIDIOCGWIN
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCSPICT - bri=32440, hue=32440, col=32440, con=32440,
dep=3, pal=4
DC10plus[0]: VIDIOCSPICT - Invalid palette 4
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCGMBUF
DC10plus[0]: mmap(V4L) of 0xb6764000-0xb67a4000 (size=262144)
DC10plus[0]: VIDIOCGCHAN - channel=0
DC10plus[0]: VIDIOCSCHAN - channel=0, norm=0
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCSPICT - bri=32768, hue=32768, col=32768, con=32768,
dep=3, pal=4
DC10plus[0]: VIDIOCSPICT - Invalid palette 4
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCGCHAN - channel=0
DC10plus[0]: VIDIOCSCHAN - channel=0, norm=0
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCSPICT - bri=32768, hue=32768, col=32768, con=32768,
dep=3, pal=4
DC10plus[0]: VIDIOCSPICT - Invalid palette 4
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: zoran_open(cinelerra, pid=[29619]), users(-)=1
DC10plus[0]: VIDIOCGCHAN - channel=0
DC10plus[0]: VIDIOCGCHAN - channel=1
DC10plus[0]: VIDIOCGCHAN - channel=2
DC10plus[0]: VIDIOCGCHAN - channel=3
DC10plus[0]: VIDIOCGCHAN - channel=4
DC10plus[0]: VIDIOCGCHAN on not existing channel 4
DC10plus[0]: zoran_close(cinelerra, pid=[29619]), users(+)=2
DC10plus[0]: zoran_open(cinelerra, pid=[29619]), users(-)=1
DC10plus[0]: UNKNOWN ioctl cmd: 0x80287610
DC10plus[0]: UNKNOWN ioctl cmd: 0x80287610
DC10plus[0]: UNKNOWN ioctl cmd: 0x40287611
DC10plus[0]: VIDIOCGWIN
DC10plus[0]: VIDIOCSWIN - x=0, y=0, w=720, h=480, clipcount=0
DC10plus[0]: setup_window() - frame buffer has to be set first
DC10plus[0]: VIDIOCGWIN
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCSPICT - bri=32440, hue=32440, col=32440, con=32440,
dep=3, pal=4
DC10plus[0]: VIDIOCSPICT - Invalid palette 4
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCGMBUF
DC10plus[0]: mmap(V4L) of 0xb6724000-0xb6764000 (size=262144)
DC10plus[0]: VIDIOCGCHAN - channel=0
DC10plus[0]: VIDIOCSCHAN - channel=0, norm=0
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: VIDIOCSPICT - bri=32768, hue=32768, col=32768, con=32768,
dep=3, pal=4
DC10plus[0]: VIDIOCSPICT - Invalid palette 4
DC10plus[0]: VIDIOCGPICT
DC10plus[0]: munmap(V4L)
DC10plus[0]: munmap(V4L)
DC10plus[0]: zoran_close(cinelerra, pid=[29564]), users(+)=2
DC10plus[0]: zoran_close(cinelerra, pid=[29564]), users(+)=1
DC10plus[0]: jpeg_codec_sleep() - wake GPIO=0xc9008888
DC10plus[0]: jpeg_codec_sleep() - sleep GPIO=0xc1008888
DC10plus[0]: enable_jpg(IDLE)
DC10plus[0]: interrupts received: GIRQ1:23 queue_state=0/0/0/0
[EMAIL PROTECTED]:~> 

-----------------------------------------
Hi Garth,


no need to, just re-load the current driver (/sbin/modprobe -r zr36067
&& /sbin/modprobe zr36067 debug=3) and check that the output in dmesg
changed into more verbose babbling.


Cheers,
Ronald

On Apr 23, 2007, at 2:16 PM, Garth Kay-Hards wrote:

Okay thanks
> I can try to load a new driver and set the debug level as you
recommend.  My Suse 10.2 release has the drivers for this card preloaded
so presumed it would just work.  I wonder if SLED the Novell stable
release has got it right?  Anyway I will try removing the current driver
and re-installing a new one and see how it goes.
> Garth
> 
> On Mon, 2007-04-23 at 14:00 -0400, Ronald S. Bultje wrote: 


Hi Garth,


load the module zr36067 with a higher debug to get more output, e.g.
debug=2 or debug=3 (as option when loading it). doing so should give
more information about what it does.


My impression is that it tries to capture video with invalid options,
which works for some cheap tv cards but not this one (only allows YUYV
capture, it's trying UYVY). You should take that up with the authors of
the application, there's nothing I can do about this, the hardware just
doesn't support it. Applications (according to v4l/v4l2 specs) are
supposed to handle the conversion themselves.


There's some applications known to work fine with this card, again, see
the docs for more details. Try some of them, maybe they do what you want
this application to do for you.


Cheers,
Ronald

On Apr 23, 2007, at 1:53 PM, Garth Kay-Hards wrote:

Thanks Ronald
> This is what dmeg gives regarding the DC10plus
> 
> DC10plus[0]: zoran_open(X, pid=[4959]), users(-)=0
> DC10plus[0]: UNKNOWN ioctl cmd: 0x800476c6
> DC10plus[0]: VIDIOCSPICT - Invalid palette 9
> DC10plus[0]: UNKNOWN ioctl cmd: 0x80287610
> DC10plus[0]: zoran_close(X, pid=[4959]), users(+)=1
> 
> Regards
> Garth



Hi Garth,


I'd recommend to check your kernel logs (type dmesg in a terminal) and
see if the card was actually detected. I think you'll need some module
options (see the documentation) to get it to work (probably b/c it's an
older model that we don't autodetect).


Cheers,
Ronald

On Apr 11, 2007, at 2:16 PM, Garth wrote:

Hi Ronald
> I'm pulling my hair out trying to work out what is wrong with the
video capture setup on my PC
> I use Open Suse 10.2 and have downloaded the latest Cinelerra editor.
> I have had the DC10plus (PAL) card for some time and used to use it in
Windows with Pinnacle Studio software.  I am trying to cut away
completely from windows to Linux but there is always a little thing that
wont work. 
> I actually can't find a lot of help seaching for problems with the
dc10 card. I seem to have all the correct drivers for the card.
> I have for instance looked at the video0 file in /dev and it's empty.
The setup in Cinelerra seems to point to the device /dev/video0 in the
video setup. But nowhere can I find the source for the DC10 card.  If I
click on record, the program just closes down.
> Is there someone who could help me work through the setup on my
machine?
> Thanks
> Garth
> 



_______________________________________________
Cinelerra mailing list
[email protected]
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra

Reply via email to