Motion stalling in Ubuntu 9.04
Question
I am a complete beginner when it comes to all this stuff so pleas bear with me. I currently have Ubuntu 9.04 installed, and I have also installed Motion 3.2.11-1 I have a custom config file and when I try to run motion using "sudo motion -n -c ~/motion/motion.conf" it loads and gets to this point
[0] Processing thread 0 - config file /home/mav3rek/motion/motion.conf
[0] Motion 3.2.11 Started
[0] ffmpeg LIBAVCODEC_BUILD 3352064 LIBAVFORMAT_BUILD 3344896
[0] Thread 1 is from /home/mav3rek/motion/motion.conf
[1] Thread 1 started
[1] cap.driver: "zc3xx"
[1] cap.card: "USB Camera (046d:08af)"
[1] cap.bus_info: "0000:00:13.1"
[1] cap.capabilities=0x05000001
[1] - VIDEO_CAPTURE
[1] - READWRITE
[1] - STREAMING
[1] Supported palettes:
[1] 0: JPEG (JPEG)
[1] index_format 3 Test palette JPEG (320x240)
[1] Using palette JPEG (320x240) bytesperlines 320 sizeimage 29390 colorspace 00000007
[1] found control 0x00980900, "Brightness", range 0,255
[1] "Brightness", default 128, current 128
[1] found control 0x00980901, "Contrast", range 0,256
[1] "Contrast", default 128, current 128
[1] found control 0x00980910, "Gamma", range 1,6
[1] "Gamma", default 4, current 4
[1] found control 0x00980912, "Auto Gain", range 0,1
[1] "Auto Gain", default 1, current 1
[1] mmap information:
[1] frames=4
[1] 0 length=32768
[1] 1 length=32768
[1] 2 length=32768
[1] 3 length=32768
[1] Using
V4L2[1] Resizing pre_capture buffer to 1 items
And then it just hangs and does nothing else. I'm completely stumped and have researched this for quite a while. Any help is greatly appreciated. Thanks.
Environment
Motion version: |
3.2.11 |
ffmpeg version: |
|
Libraries: |
ffmpeg, mysql, postgresql |
Server OS: |
|
--
DaveTackett - 01 May 2009
Answer
- Insufficient informations about your "hangs". Maybe you should read here :
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionLog
http://www.lavrsen.dk/foswiki/bin/view/Motion/ErrorLogging
http://www.lavrsen.dk/foswiki/bin/view/Motion/TuningMotion
about logging errors and "how to initially setup Motion". (can you see the video stream with Firefox at "http://localhost:8081/" address ???)
- Don't forget the drivers for your usb camera :
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideOneLargeDocument#video4linux_V4L_devices
http://www.lavrsen.dk/foswiki/bin/view/Motion/WorkingDevices
http://www.lavrsen.dk/foswiki/bin/view/Motion/MotionGuideOneLargeDocument#Supported_Hardware
--
FlorinAnton - 01 May 2009