Results 1 to 10 of 12
I would like to write my own Media Player using QT4 and was wondering if there is any possible way of writing one without using some sort of Media Player ...
- 10-29-2008 #1Just Joined!
- Join Date
- May 2008
- Posts
- 34
Media Player
I would like to write my own Media Player using QT4 and was wondering if there is any possible way of writing one without using some sort of Media Player Support??? I'm talking about writing one from scratch, nothing else, no ToolKits or SDKs involved, thanks for the help
- 10-29-2008 #2Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
It's hard to understand what exactly do you want.
Since you do say that you want to use qt4, I will assume that "no toolkits" means really "no multimedia backends".
You can implement your own backends from scratch, of course, the question is why would anyone want to do that. You would need a vast knowledge about the internals of every possible multimedia format and container, and about video and audio in general.
Try to explain a bit better what exactly do you want to do and we might be able to give better help.
- 10-29-2008 #3Just Joined!
- Join Date
- May 2008
- Posts
- 34
Media Player
Alright, on your suggestions. what would be the best back bone to use for a Media ToolKit type thing? I want to have a Media Library, Internet Lookups for CD's DVDs a Play List, a Play List Editor, and so on so forth...
- 10-29-2008 #4Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
As media backend you could use whatever you preffer. There's not absolute best, it's about preferences: gstreamer, xine, mplayer, ffmpeg... If you are going the qt4 way, you might be interested in using phonon, and letting it do the work or handling backends instead of interacting with them directly. Yet another layer

I don't know much about media libraries, but I know that it would involve using a database if you want to support large collection efficiently. Amarok for one can use mysql or sqlite. About cd lookup and tags, musicbrainz and libcddb can come in handy.
Playlists can be implemented in a number of ways and shouldn't be particularly difficult to do it. It all depends on the features you want. But all in all, it seems like you want to do yet another amarok clone. And that's not a trivial task.
- 10-29-2008 #5Just Joined!
- Join Date
- May 2008
- Posts
- 34
Media Player
Well no 92 not another Amarok Clone, another RhythmBox Clone
- 10-30-2008 #6Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513

I just said amarok because you mentioned the qt toolkit. They are all good players that share a lot of things in common, though a bit too heavy for my tastes. But they are good for those wanting lots of features.
- 10-30-2008 #7Just Joined!
- Join Date
- May 2008
- Posts
- 34
Media Player
Is there some sort of Plugin I have to downoad for QT Toolkit?
- 10-30-2008 #8Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
I don't understand the question. Try rephrasing it.
First you need to decide what exactly is going to be the scope of your project and what libraries are you going to use. If you intend to finish a project of a considerable size, like this, you need to study it deeper.
Besides using qt for the interface, you are going to need one or many multimedia backends, depending on what do you want to do. Plus some other libraries for the rest of the stuff you said. That is, unless you are insane enough to code all of this yourself, in which case, I see you on 2015 (unless you have a decent crew of programmers to do everything from scratch). Then you'll need to install all the libraries and start coding.
- 10-30-2008 #9Just Joined!
- Join Date
- May 2008
- Posts
- 34
Media Player
No just me, it would take too long to do it by scratch, I would like to have a Media PlayList Editor, a replay, stop, play, shuffle buttons, a section for the library to view all the albums and artists and song titles... I really don't know how to explain it any easier.... I would like to use a Tabbed Control, meaning, one tab can have a song list only, another tab can have artists only, and another tab can have album names only for fast music searching within the Media Library... I guess I could can include cdda for the Music Lookup Database...
- 10-30-2008 #10Linux Guru
- Join Date
- Nov 2007
- Location
- Córdoba (Spain)
- Posts
- 1,513
Yes. I understand that. The bit I didn't understand was that about the QT plugin that you asked. I don't know what plugin you were talking about, or for what purpose.
Having a look at the source code for Amarok 2.x could give you some pointers, though it's a bit too big... Maybe you could look at the source code for juk, if it has been ported to kde4, which I don't know right now.I would like to use a Tabbed Control, meaning, one tab can have a song list only, another tab can have artists only, and another tab can have album names only for fast music searching within the Media Library... I guess I could can include cdda for the Music Lookup Database...


Reply With Quote
