Hello, Today out of the blue, the 'motion' (ver 3.2.12-3.2) application on my Debian Testing (kernel 3.2.0-3-amd64) box has stopped working. It appears as if it cannot find the necessary av codec.
It doesn't matter what video output format I choose (avi, flv, swf, etc.), or if I run it with "sudo motion", the error is the same: avcodec_open - could not open codec: Invalid argument [1] ffopen_open error creating (new) file [/usr/local/motionvideo/01-20121020213958.swf]: Invalid argument Can somebody suggest how to troubleshoot this one? The console has the following lines when I start up motion: ---------------------------------------- [0] Processing thread 0 - config file /etc/motion/motion.conf [0] Motion 3.2.12 Started [0] ffmpeg LIBAVCODEC_BUILD 3482368 LIBAVFORMAT_BUILD 3478784 [0] Thread 1 is from /etc/motion/motion.conf [1] Thread 1 started [1] cap.driver: "uvcvideo" [1] cap.card: "UVC Camera (046d:0990)" [1] cap.bus_info: "usb-0000:00:12.2-2" [1] cap.capabilities=0x04000001 [1] - VIDEO_CAPTURE [1] - STREAMING [1] Config palette index 8 (YU12) doesn't work. [1] Supported palettes: [1] 0: MJPG (MJPEG) [1] 1: YUYV (YUV 4:2:2 (YUYV)) [1] Selected palette YUYV [0] motion-httpd/3.2.12 running, accepting connections [0] motion-httpd: waiting for data on port TCP 8080 [1] Test palette YUYV (640x480) [1] Using palette YUYV (640x480) bytesperlines 1280 sizeimage 614400 colorspace 00000008 [1] found control 0x00980900, "Brightness", range 0,255 [1] "Brightness", default 128, current 128 [1] found control 0x00980901, "Contrast", range 0,255 [1] "Contrast", default 32, current 32 [1] found control 0x00980902, "Saturation", range 0,255 [1] "Saturation", default 32, current 32 [1] found control 0x00980913, "Gain", range 0,255 [1] "Gain", default 0, current 0 [1] mmap information: [1] frames=4 [1] 0 length=614400 [1] 1 length=614400 [1] 2 length=614400 [1] 3 length=614400 [1] Using V4L2 [1] Resizing pre_capture buffer to 1 items [1] Started stream webcam server in port 60080 [1] avcodec_open - could not open codec: Invalid argument [1] ffopen_open error creating (new) file [/usr/local/motionvideo/01-20121020213958.swf]: Invalid argument [1] File of type 1 saved to: /usr/local/motionvideo/01-20121020213958-01.jpg [1] Thread exiting [1] Calling vid_close() from motion_cleanup [1] Closing video device /dev/video0 [0] Motion thread 1 restart [1] Thread 1 started [1] cap.driver: "uvcvideo" [1] cap.card: "UVC Camera (046d:0990)" [1] cap.bus_info: "usb-0000:00:12.2-2" [1] cap.capabilities=0x04000001 [1] - VIDEO_CAPTURE [1] - STREAMING [1] Config palette index 8 (YU12) doesn't work. [1] Supported palettes: [1] 0: MJPG (MJPEG) [1] 1: YUYV (YUV 4:2:2 (YUYV)) [1] Selected palette YUYV [1] Test palette YUYV (640x480) [1] Using palette YUYV (640x480) bytesperlines 1280 sizeimage 614400 colorspace 00000008 [1] found control 0x00980900, "Brightness", range 0,255 [1] "Brightness", default 128, current 128 [1] found control 0x00980901, "Contrast", range 0,255 [1] "Contrast", default 32, current 32 [1] found control 0x00980902, "Saturation", range 0,255 [1] "Saturation", default 32, current 32 [1] found control 0x00980913, "Gain", range 0,255 [1] "Gain", default 0, current 0 [1] mmap information: [1] frames=4 [1] 0 length=614400 [1] 1 length=614400 [1] 2 length=614400 [1] 3 length=614400 [1] Using V4L2 [1] Resizing pre_capture buffer to 1 items [1] Started stream webcam server in port 60080 ^C^C[0] httpd - Finishing [0] httpd Closing [0] httpd thread exit ^C[1] Thread exiting [1] Calling vid_close() from motion_cleanup [1] Closing video device /dev/video0 [0] Motion terminating ----------------------------------------------------- -- Please reply to this list only. I read this list on its corresponding newsgroup on gmane.org. Replies sent to my email address are just filtered to a folder in my mailbox and get periodically deleted without ever having been read. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/k5vkji$v8g$1...@ger.gmane.org