Motion - Mjpeg To YUV 420p Patch
You are here: Foswiki>Motion Web>MjpegToYUV420pPatch (19 Nov 2007, AngelCarpintero)Edit Attach

mjpegtoyuv420p patch for Logitech Quickcam Pro

Description of Patch

Posted by KennethLavrsen from posting on MailingList

Hi

To use my Logitech Quickcam Pro for Notebooks had written a mjpegtoyuv420p function, with the help of libmjpegtools [1]. With this patch and the v4l2-patch im can use it with the linux-uvc driver.

Aditionaly i had to set LDFLAGS to "-lmjpegutils -llavjpeg"

Marius

No need to change or anything in motion , just get svn version , get the patch and apply it.

This patch requieres that you have installed mjpegtools package.

-- AngelCarpintero - 20 Feb 2007

Installation of Patch

  • Get the current svn version of motion

     mkdir motion-svn
     cd motion-svn
     svn co http://www.lavrsen.dk/svn/motion/trunk .

  • Get the patch a apply
    patch < mjpeg2-r184.patch

Change History of Patch

  • 1.0 Initial revision
  • 1.1 Added a new diff against current svn version ( svn r172 )
  • 1.2 Added a new diff against current svn version ( svn r184 ) , 3.2.8-beta1

Discussion and Comments

If you have a camera that uses MJPEG as default palette please apply MJPEGDUMP-V42L patch to get a dump of one image captured , it will be saved as /tmp/MJPEG-dump.motion, and attatch that image to this topic.

-- AngelCarpintero - 18 Mar 2007

This patch is discontinued after motion-3.2.8 release.

-- AngelCarpintero - 24 Jul 2007

Use this topic MjpegColorIssue

-- AngelCarpintero - 24 Jul 2007

released in 3.2.9

-- AngelCarpintero - 19 Nov 2007
I Attachment Action Size Date Who Comment
MJPEGDUMP-V4L2.diffdiff MJPEGDUMP-V4L2.diff manage 1 K 18 Mar 2007 - 09:44 AngelCarpintero This patch provides a easy way to save the MJPEG captured from your webcam to help us to improve MJPEG decoding.
mjpeg2-r184.patchpatch mjpeg2-r184.patch manage 3 K 29 Apr 2007 - 20:07 AngelCarpintero svn r184 ( 3.2.8-beta1 )
Topic revision: r9 - 19 Nov 2007, AngelCarpintero
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.