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.
I am working on an application that will play video in linux. The application is created using JMF (Java Media Framework). This program was built in Windows and works fine there. Now I have an x server installed in Linux (I'm using Gentoo 1.4) and I can start it and it comes up with the default desktop manager (I'm not sure what its called, I guess xdm?) and I can execute commands from one of the 4 terminal windows that come up.
When I try to run the java video application it starts and a new window appears, but then everything just freezes and I have to kill X.
My question is, does anyone have a clue as to what the requirements are to run java video related applications in linux, meaning do you simply need the X server running or do you also need a desktop manager as well (like kde or something else)
Assuming the player doesn't use KDE/GTK related UI stuff (which, since you're using Java and code originally designed on Windows, is a pretty safe assumption) then you should only need X running. For instance, I recently made a kiosk machine which ran only X and Mozilla, which didn't (afaik) need me to start any additional services. As well I have run Swing applications in such a manner. I don't know about JMF in X, though it's quite possible that it depends on external libraries.
I guess now my question is, how do I start X without any window managers?
And is there a way to route an application (in java or just using some shell commands) to a particular X server. Basically how do I tell my program where to look for the X server (I guess which terminal).
I hope these questions make sense, please let me know if they don't.
/usr/X11R6/bin/X :1 # start an X server on display 1
export DISPLAY=:1.0 # tell X we're starting programs on display 1
HTH, that will start just X (so it's that ugly gray checkered background and "X" mouse cursor), and then anything you run (that requires an X server) after the "export DISPLAY" will run in that display.
I have a problem here! I have been given a task to design and implement an open protocol/open source alternative to the proprietary streaming done using Microsoft tools, to be used as a tool for on-demand streaming in electronic malls or as a stepping stone towards video conferencing. Also, it will be used to distribute enrichment lectures from my Insitution to surrounding rural high schools.
I have been told or asked to use Linux as a platform for doing the development ( i.e. I should use linux as Operating Systems) and I'll use Java as development or programming language.
As I being the person who is used to window operating system and has never used linux before, does this project or topic require a strong knowledge of Linx and linux commands? Or I just need to know the basic linux commands? I was thinking of using Red Hat since it has a GUI. Could you please advise me on the better approach to this topic.
Does it also require strong java programming skills? I did Introduction to java and Advanced java.
I am so keen and interested in doing this topic becuase I am standing a chance to come up with my own different thing.
There is one thing that I forgot to state .This player is going to be used to transmit / distribute live events. As the lecturer or someone on the other side talks, the other one (students) should be listening and should be able interrupt the lecturer. They should either type as message or talk (voice). Thirdly, they should both lecturer and students be seing each other during the lecture.
I have got a fear that this scope is to wide and broad..Don't you think so?
Nomnganga, if you can design and implement a new protocol for video conferencing other then those already out there, then I am almost positive that you will be awarded Ph. D.'s from several universities plus a whole load of money in a form of licensing fees from a large number of companies.
Hope you don't take it as an insult, but to be able to design a new protocol for data communications, especially something that can handle video conferecing (taking into account the compression and packet synchronization), you MUST have an intricate knowledge of a wide variety of things (encryption, encoding, communication, etc., etc., etc.)
I hope this doesn't discourage you, but from what you posted I would definetly suggest starting a lot smaller and working from there.
I am also using JMF in linux system for video conferencing. However, when I try to transmit to another computer, the failed transmission number will start too, which means error in sending the packets, I think.
So, anyone had this problem too or can help to solve this problem?
Thanks. : )
I have been assigned to stream audio,video using JMF in Linux. Can anyone know how to capture audio from microphone using JMF?Somebody told me that there is problem with the compatibility of LINUX driver and JMF driver.Is it so? If anyone has the solution pls. let me know.