Motion - Motion Release 3x 2x 8beta 1

Motion Beta Release 3.2.8 beta1

Release Notes

3.2.8 beta1 - 29 Apr 2007

Beta Release 1

This release has been driven and stabilized by Angel Carpintero

Changes since 3.2.7



Next Steps

  • Release

Known Problems


GPG Signature

Kenneth Lavrsen's public key can be found on keyservers or on this non-wiki webpage.

Version: GnuPG v1.4.5 (GNU/Linux)


Bug Reports

Problem with MJPEG patch : 

[1] Thread started
[1] cap.driver: "uvcvideo"
[1] cap.card: "USB Video Class device"
[1] cap.bus_info: "0000:00:1f.2"
[1] cap.capabilities=0x04000001
[1] v4l2_select_input: name = "Camera", type 0x00000002, status 00000000
[1] - CAMERA
[1] Device doesn't support VIDIOC_G_STD
[1] Supported palettes:
[1] 0: MJPG (MJPEG)
[0] motion-httpd/3.2.8 running, accepting connections
[0] motion-httpd: waiting for data on port TCP 8080
[1] VIDIOC_TRY_FMT failed for format MJPG (Input/output error).
[1] ioctl(VIDIOCGMBUF) - Error device does not support memory map
[1] V4L capturing using read is deprecated!
[1] Motion only supports mmap.
[1] Capture error calling vid_start
[1] Thread finishing...

Works fine with a march daily snapshot and mjpeg2.patch from AngelCarpintero

-- JeromeV - 23 Apr 2007

I guess that problem has been reported before ... it was not a problem of motion code , well maybe a obcure race condiction , it was solved recompiling motion ... but the problem could be related to uvcvideo. Let me know if you can solve the problem and reproduce the problem later.


-- AngelCarpintero - 23 Apr 2007

Recompiling motion solved a part of the problem : motion now starts but image is ugly as I previouslay said in ths mailing list :

It seems that mjpeg patch as not been applied in beta.

-- JeromeV - 25 Apr 2007

As i asked in that post the patch is not planned to be released unless we cannot fix that issue using ffmpeg. Anyway i've create a patch against latest beta and svn trunk.

-- AngelCarpintero - 29 Apr 2007

So it will be impossible to have a mjpeg webcam and another normal webcam driven by the same motion instance ?

-- JeromeV - 30 Apr 2007

Yes , the patch only changes the behaviour of MJPEG palette ,

3.2.8-beta1 handles MJPEG with ffmpeg  
3.2.8-beta1 + MjpegToYUV420pPatch handles MJPEG with mjpegtools

-- AngelCarpintero - 30 Apr 2007

I have successfully compiled & tested 3.2.8beta1 on Linksys NSLU2 with Unslung 6.8. (This is a Linux re-flashed onto a Linksys NAS device).

I had to execute the following shell commands prior to 'configure' :
export LDFLAGS='-L/opt/lib'
export CCFLAGS='-I /opt/include'

I do this every time, I guess becuase Unslung is a somewhat non-standard Linux.

I also had to edit the Makefile to add '-lavutil' before '-lavformat -lavcodec'. This also has always been necessary. I don't know why - is it a mistake the 'configure' script is making becuase of the non-standard Linux? If it cannot be fixed, then there is no problem, I am writing it here to help others.

-- SimonW - 02 May 2007

-- AngelCarpintero - 29 Apr 2007
I Attachment Action Size Date Who Comment
motion-3.2.8_beta1.tar.gzgz motion-3.2.8_beta1.tar.gz manage 384 K 29 Apr 2007 - 19:45 AngelCarpintero Motion 3.2.8_beta1 + uvc compilation fix
Topic revision: r8 - 02 May 2007, SimonW
Copyright © 1999-2024 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.