I am thinking of building a media player that could read all the audio ,video file types as my final year project using java in the linux environment( fedora core 4).

But i don't know from where should i start, pls is there anyone who can help. I will be very glad.

Thanks in advance.

Dani AI

Generated

A media player is a solid final project, but scope and architecture matter more than trying to “support everything.” already has useful socket experience to reuse if you later add streaming; and were on the right track about starting small and planning features; rightly points out video and device capture add significant complexity. Below is a practical, exam‑friendly plan and a small design fragment to make progress fast.

Start-by-step practical plan

  • Define a minimal deliverable: a playback UI, file chooser, basic playback controls, and a tiny plugin mechanism so new codecs/backends can be added later.
  • Phase 1 (proof): implement the UI and a single simple backend that proves playback and control flows work. Keep UI and playback logic decoupled.
  • Phase 2 (expand): add a plugin API so you can drop in native-backed decoders or additional Java backends without changing the UI code.
  • Phase 3 (extras): playlists, simple visualisation, and — only if time permits — network streaming using the socket work you already have.

Example backend interface (keep playback logic testable and replaceable)

public interface MediaBackend {
    void open(File media) throws IOException;
    void play();
    void pause();
    void stop();
    long getPositionMillis();
    void setPositionMillis(long ms);
    boolean supports(String mimeOrExt);
}

Design and testing notes

  • Keep UI event handlers tiny: they should only call backend methods. That makes button work trivial for and others.
  • Log and test each backend with known sample files; measure CPU and latency early.
  • Use a plugin folder and reflection to discover backends at runtime so you can demo incremental progress.
  • Be explicit in the report: list which formats you support, how you integrated each backend, performance tradeoffs, and any licensing considerations for codecs.

Deliverables that impress examiners: working demo, architecture diagram, source split into clear modules, unit tests for non‑GUI logic, and a short video showing features and failure modes.

Recommended Answers

All 11 Replies

no idea? and you're in the final year??
well, if you're fixed on making a media player, you might start on the gui, easiest part I figure.
try to decide what formats you want to be able to play (all might be a little much :)) and what you need to get it played.
for instance, audio: to play wav files you need nothing added to your java install, but if you want to play .mp3 files, you might want to look into JavaMediaFramework or the JLayer1.0 package (open source code that easily allows you to play .mp3 files)

look into what you need (which classes, ..) and start creating, I guess :)

commented: A VERY good idea, nice thinking =) +2

no idea? and you're in the final year??
well, if you're fixed on making a media player, you might start on the gui, easiest part I figure.
try to decide what formats you want to be able to play (all might be a little much :)) and what you need to get it played.
for instance, audio: to play wav files you need nothing added to your java install, but if you want to play .mp3 files, you might want to look into JavaMediaFramework or the JLayer1.0 package (open source code that easily allows you to play .mp3 files)

look into what you need (which classes, ..) and start creating, I guess :)

A Media player would be a GREAT idea for a java project.

The concept is simple--

*let user specify file to play
*flag warning if incorrect format
*if correct format play the file
*allow commands such as pause, play at current pause location, time elapsed, etc

--

Hell, if you want to be more daring create a chatting program that allows video streams from one individuals webcam to the other.

That would be worthy of a true Final year project.

if you don't know how to play sounds i suggest you look here, it has all that you need to know to use the javax.sound to play sound, there are however additional APIs/plugins you will need to get if you really do want to play all file types, such as mp3, this site has a list, but there are probably more

video would be much harder, i don't know if java has an API for webcams.

in my seaches for java audio i also found Java Speech, an API for speech recognition and speech synthesis.

Thanks dudes,

And hey Alex, i have built an online community for LAN in my pre-final year mini project, there i have done all sorts of socket programming, session controls, etc. and it would be a great idea to add video conferencing to that project,

so if you can help pls refer me the sites where i could get the necessary belongings.

Hi guyz
Am a final year and also has the same problem identifying a final project. Your suggestions will be highly appreciated. :-/

i switch to building a compiler using JAVA and C? What do you think:)?

I am thinking of building a media player that could read all the audio ,video file types as my final year project using java in the linux environment( fedora core 4).

But i don't know from where should i start, pls is there anyone who can help. I will be very glad.

Thanks in advance.
i have same project
<snip email>

commented: Please read forum rules no emails in the posts. Also have look on appropriate use of tags. +10
commented: -1 to make up for Peter's mistake +0
commented: DON"T HIJACK threads +0
commented: Towards peter's intended rep. -2

Somebody was really lucky this morning as I'm still sleepy. This was supposed to be negative reputation
Please read forum rules - no emails in posts.
Have look on appropriate use of tags in the post

hello pls help me i know that you can hepl me on how to make a program that has three equation and three unknown
pls A.S.A.P

commented: First What? second post your own thread +0

hello pls help me i know that you can hepl me on how to make a program that has three equation and three unknown
pls A.S.A.P

Don't hijack threads. Start your own. Someone else started this thread to look for help; do you think it would be nice for people to start answering your questions instead of the one that started the thread?
And requests such as: "A.S.A.P" , don't work here

hey i m also in final year
n my project is also media player
i've created format supported by medeia player..
plz do u have any information about creating a buttons .plz give some idea about it yaar.

commented: the last post in this forum is almost a year old... make a new thread +0
commented: Another dumb-assed "me too" project wannabe hijacking a long dead thread. -7
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.