[#4650] The color of captured video via VS6624 is not correct

Document created by Aaronwu Employee on Aug 29, 2013
Version 1Show Document
  • View in full screen mode

[#4650] The color of captured video via VS6624 is not correct

Submitted By: Vivi Li

Open Date

2008-11-18 05:01:17     Close Date

2009-01-07 05:06:47

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Rejected

Uboot version or rev.:

    Toolchain version or rev.:

gcc4.1 2008_Nov_13

App binary format:

N/A     

Summary: The color of captured video via VS6624 is not correct

Details:

 

The color of captured video via VS6624 is not correct and it's green all over the screen.

 

Bellow is the log and video is attached.

--

root:/> modprobe blackfin-cam

Linux video capture interface: v2.00

VS6624: detecting client on address 0x20

VS6624: Firmware Version 0.12

VS6624: Patch Version 0.0

VS6624: V4L driver Blackfin CMOS Camera now ready

VS6624: i2c driver ready

root:/>

root:/> ffmpeg -r 20 -f video4linux -s 352x288 -i /dev/video0 -an -f avi /var/camera.avi

FFmpeg version SVN-r7356, Copyright (c) 2000-2007 Fabrice Bellard, et al.

  configuration: --prefix=/usr --source-path=/home/test/work/cruise/checkouts/uclinux-dist/lib/ffmpeg/build/../ffmpeg-svn-11114 --target-os=Linux --cpu=bfin --arch=bfin --extra-ldflags=    -mcpu=bf537-0.2 --enable-static --enable-shared --enable-gpl --enable-pp --disable-strip --cross-prefix=bfin-linux-uclibc-

  libavutil version: 49.5.0

  libavcodec version: 51.48.0

  libavformat version: 52.1.0

  built on Nov 18 2008 15:07:13, gcc: 4.1.2 (ADI svn)

Input #0, video4linux, from '/dev/video0':

  Duration: N/A, start: 1341.560000, bitrate: 32440 kb/s

    Stream #0.0: Video: rawvideo, uyvy422, 352x288 [PAR 0:1 DAR 0:1], 32440 kb/s, 20.00 tb(r)

Output #0, avi, to '/var/camera.avi':

    Stream #0.0: Video: mpeg4, yuv420p, 352x288 [PAR 0:1 DAR 0:1], q=2-31, 200 kb/s, 20.00 tb(c)

Stream mapping:

  Stream #0.0 -> #0.0

Press [q] to stop encoding

frame=   11 fps=  0 q=3.4 size=     183kB time=0.6 bitrate=2729.9kbits/s

video:71kB audio:0kB global headers:0kB muxing overhead 787.505842%

root:/>

--

 

Follow-ups

 

--- Michael Hennerich                                        2008-11-28 10:41:24

Works for me pretty well.

 

Please SET BF537-STAMP/EZKIT

 

SW4

1 OFF

2 ON

3 OFF

4 ON

 

and try again.

-Michael

 

--- Vivi Li                                                  2009-01-07 05:06:47

It's OK now. Close it. Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

camera.avi    application/octet-stream    446216    Vivi Li

Attachments

Outcomes