Hello,
I am new to the dm355. Our company is doing a design based upon the leopardboard and I have been put on a project to get camera output to a 320x240 LCD screen. I have downloaded and got everything for the RidgeRun SDK linux (Make a ubuntu server, compiled everything, etc...). I have the RidgeRun linux up and running on the devlopment leoparboard and our hardware.
Now, I would like to display output on my screen from the camera. (On the leopardboard first...)
I am more of an embedded sw eng and have used u-boot for years. I am able to open an OSD window and display an image I created at 320x240 on my screen at a known memory addrss. Linux is another ballgame...
I am able to view the RidgeRun graphic on composite output and see the pretty color bar test (VDPRO.CBMD = 1) on the composite output also. :-)
I have been in contact with David Baughman and he told me about this community...so I'm asking for some help/pointers.
I want to start with the leopardboard first...then move to our board. Our board is based upon the leopardboard. But, lets get the leopardboard displaying video on composite first....then I'll try to the that working on my board...then try to get the output on the lcd screen.
I believe that I need to open a video window (VPFE) then attach that to a memory window (VPBE). I have had some, but success doing this at the register level. We want to do this in linux and also record video to mp4's.
Our leopardboard has a 5M camera (LI-5M03 camera board)...not the standard vga.
My main question deals with GStreamer. How to link the VPFE to the VPBE through GStreamer?
I have seen Gstreamer commands like:
gst-launch -v videotestsrc ! video/x-raw-yuv,format=\(fourcc\)UYVY,width=720,height=480 ! TIDmaiVideoSink videoStd=D1_NTSC videoOutput=composite accelFrameCopy=FALSE sync=false
I see a color pattern on the screen...not sure if I'm seeing the correct one...but I do see what appears to be a color test on the composite output.
When I try to see output from the camera...I found this command from RidgeRun...but they say it only works with the VGA camera:
gst-launch -e v4l2src always-copy=false ! dmaiaccel ! TIDmaiVideoSink sync=false displayStd=v4l2 displayDevice=/dev/video2
Question: I believe I have to modify the 5m camera driver...yes? If so...can someone point me to the correct files?
Question: I believe the default input for v4l2src is /dev/video0. In my /dev directory I see: Is /dev/video0 my camera? If so, what is the driver...and what (high-level) do I have to do to make it work with v4l2src??
crw-rw---- 1 root root 81, 0 Jan 1 00:00 video0 <---Camera input??
crw-rw---- 1 root root 81, 1 Jan 1 00:00 video2 <---Composite output??
crw-rw---- 1 root root 81, 2 Jan 1 00:00 video3 <--- ???
Any insights or helpful comments/web pages to review would be great!
Thanks everyone...
Tim Liebau
tliebau@visual-ii.com