ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I was advised to place my post here so here I am
I am completely new to linux so I am as green as green.
I wish to write a dvd player program in Linux
How and what do I use to embed a media player into my application.
depends on a thousand different things, you've provided so so little information. I'd personally build a gtk2 based ui and use a GtkSocket to embed the external process (i'd use mplayer) in the window. Wouldn't have a clue if this is relevant to you though, as you told us nothing useful about your environment.
Based on this thread from the same user I'm guessing something similar in the way that embedding an ActiveX control in a VB app on Windows works
Sounds like acid's idea is a good one for you, using straight C might be a bit hard coming from VB, maybe try Python/PyGTK. It allows you to do the same thing from a scripting language that is probably much easier to pick up.
Mplayer and Xine are two embeddable players you can use as a starting point - almost every GUI player you see (noatune, xine, gxine, kaffiene, Mplayer, etc.) are just gui wrappers which embed those controls.
Hi all,
And thanks alot for all your advise and help, I have developed a mpeg player in vb6 which works great - for stability I wish to learn and develop one in Linux. As I am very green on Linux (I am not sure what gtk2 is) I have a lot of reading and learning to do. We all have to start somewhere
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.