LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-24-2006, 04:33 AM   #1
anthp
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Rep: Reputation: 0
embedded media player


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.

Regards

Tony
 
Old 01-24-2006, 06:31 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
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.
 
Old 01-24-2006, 06:52 AM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
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.

linky-loo
 
Old 01-24-2006, 10:13 AM   #4
KimVette
Senior Member
 
Registered: Dec 2004
Location: Lee, NH
Distribution: OpenSUSE, CentOS, RHEL
Posts: 1,794

Rep: Reputation: 46
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.
 
Old 01-25-2006, 01:50 AM   #5
anthp
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
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

Thanks again

Regards

Tony
 
Old 01-25-2006, 05:37 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

Rep: Reputation: 57
GTK - good info on home page
 
Old 01-25-2006, 09:51 AM   #7
anthp
LQ Newbie
 
Registered: Jan 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks all

Regards


Tony
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
embedded browser media player for linux tzouse Linux - Software 9 08-08-2005 08:13 PM
embedded windows media in firefox? webpage won't load hedpe Linux - General 1 04-28-2005 06:07 PM
Embedded media in browser (Firefox) Jaster150 Linux - Software 2 12-07-2004 12:05 PM
Is there an audio player with content library like Media Player? Merlin53 Linux - Software 4 11-24-2004 06:42 PM
how to make mplayer the default embedded firefox player for real media files hkl8324 Linux - Newbie 0 08-10-2004 01:07 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration