Motion - Bug Report 2009x 04x 28x 122327
You are here: Foswiki>Motion Web>BugReports>BugReport2009x04x28x122327 (03 Jun 2012, AngelCarpintero)Edit Attach

BUG: Garbage with AverMedia TV Phone and PAL NonColor cam.

In Debian lenny - motion not work with Aver TV Phone (bt848) and Pal NON-Color cam. I'm retrieve motion-3.2.11 ant get same behavior.

Selecting "norm 0" (PAL) and "norm 3" (PAL NC no color) give the same garbaged images. workaround is starting xawtv and selecting source and TV norm = PAL-Nc - then motion work until next restart and initialising v4l.

How can i resolve this problem?


motion output:
#./motion -c /etc/motion/motion.conf -n
[0] Processing thread 0 - config file /etc/motion/motion.conf
[0] Unknown config option "sql_log_image"
[0] Unknown config option "sql_log_snapshot"
[0] Unknown config option "sql_log_mpeg"
[0] Unknown config option "sql_log_timelapse"
[0] Unknown config option "sql_query"
[0] Motion  Started
[0] ffmpeg LIBAVCODEC_BUILD 3357184 LIBAVFORMAT_BUILD 3411968
[0] Thread 1 is from /etc/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: "bttv"
[1] cap.card: "BT878 video (AVerMedia TVPhone)"
[1] cap.bus_info: "PCI:0000:01:00.0"
[1] cap.capabilities=0x05010015
[1] - VIDEO_CAPTURE
[1] - VIDEO_OVERLAY
[1] - VBI_CAPTURE
[1] - TUNER
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: GREY (8 bpp, gray)
[1] 1: HI24 (8 bpp, dithered color)
[1] 2: RGBO (15 bpp RGB, le)
[1] 3: RGBQ (15 bpp RGB, be)
[1] 4: RGBP (16 bpp RGB, le)
[1] 5: RGBR (16 bpp RGB, be)
[1] 6: BGR3 (24 bpp RGB, le)
[1] 7: BGR4 (32 bpp RGB, le)
[1] 8: RGB4 (32 bpp RGB, be)
[1] 9: YUYV (4:2:2, packed, YUYV)
[1] 10: YUYV (4:2:2, packed, YUYV)
[1] 11: UYVY (4:2:2, packed, UYVY)
[1] 12: 422P (4:2:2, planar, Y-Cb-Cr)
[1] 13: YU12 (4:2:0, planar, Y-Cb-Cr)
[1] Selected palette YU12
[1] index_format 8 Test palette YU12 (320x240)
[1] Using palette YU12 (320x240) bytesperlines 320 sizeimage 115200 colorspace 00000000
[1] found control 0x00980900, "Brightness", range 0,65535
[1]     "Brightness", default 32768, current 32768
[1] found control 0x00980901, "Contrast", range 0,65535
[1]     "Contrast", default 32768, current 32768
[1] found control 0x00980902, "Saturation", range 0,65535
[1]     "Saturation", default 32768, current 32768
[1] found control 0x00980903, "Hue", range 0,65535
[1]     "Hue", default 32768, current 32768
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x00000000, "42", range 0,0 !DISABLED!
[1]     "42", default 0, current 0
[1] found control 0x08000000, "chroma agc", range 0,1
[1]     "chroma agc", default 0, current 0
[1] found control 0x08000001, "combfilter", range 0,1
[1]     "combfilter", default 0, current 0
[1] mmap information:
[1] frames=4
[1] 0 length=118784
[1] 1 length=118784
[1] 2 length=118784
[1] 3 length=118784
[1] Using V4L2
[1] Resizing pre_capture buffer to 1 items
[0] motion-httpd/ running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] Started stream webcam server in port 8081

Environment

Motion version: 3.2.11
ffmpeg version: SVN-r13582
Shared libraries: ffmpeg, mysql, postgresql
Server OS: Debian lenny, kernel 2.6.26-1-xen-686
-- OlegFrolkov - 28 Apr 2009

Follow up

- Maybe you should read here :

http://www.lavrsen.dk/foswiki/bin/view/Motion/WorkingDevices#AVerMedia_LX5004_4_port_4xbt878

http://www.lavrsen.dk/foswiki/bin/view/Motion/WorkingDevices#Cheap_BT878_Cards_from_ebay

about loading bttv driver.

-- FlorinAnton - 28 Apr 2009


Please provide more detailed information about messages of kernel when bttv is loaded.

-- AngelCarpintero - 10 Aug 2009

Fix record

Lack of information.

-- AngelCarpintero - 03 Jun 2012
Topic revision: r4 - 03 Jun 2012, AngelCarpintero
Copyright © 1999-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.