ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
@ John VV: What I have now can directly get the video data from the camera to the LCD. The camera has been set to RGB in order to display to the LCD. Now I have to put a network in between the camera and the LCD so that a client can log on to the network and get the video data displayed on the LCD. This is where my current challenge is because the network format is JPEG and in order to display on the LCD, I have to convert from JPEG to RGB for the LCD.
There's no such thing as JPEG video. You probably meant MJPEG. Nor is there such a thing as a network that requires video to be in JPEG or MJPEG format. You might have switched from uncompressed to MJPEG to save bandwidth, but that's not the same as the "network format" being MJPEG.
It sounds like you're streaming MJPEG video over the network, and you need help playing the video client-side.
Just look up the Motion JPEG Wikipedia article. It covers streaming MJPEG video over HTTP, and also links to existing implementations.
I used the servfox program as my server and the spcaview client as my client since I read from elsewhere that sdl could help me and spcaview uses sdl and jpeg.It works well on the computer with the display very clear; but when I tried it on the FriendlyArm LCD; the video display is not good; it moves very fast. Any help or suggestions?
The source code for spcaview and servfox can be got here http://www.linuxpackages.net/pkg_details.php?id=13274.
@John VV: Please I used the spcaview source code because after searching on the internet for sometime I got to know SDL (Simple DirectMedia Layer) could help me stream video over the network to an LCD display and its a cross platform API. The spcaview source code uses SDL. It works perfectly on the computer but does not display well on the FriendlyARM LCD screen.
No, the use of the spcaview is not a 100% must but since it came so close to what I want to do; I felt I needed some help to get me there.
The hardware am displaying on is the FriendlyARM9's LCD screen and am streaming the video from a webcam.