| | |
my first project - a media player
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: Jul 2008
Posts: 13
Reputation:
Solved Threads: 0
Ok, ok - seems I've opened a can of worms here. Sorry for doing so.
The project is very complex and involes:
i) A media player which can perform shot detection and update a SQL database with shots and start and end frame numbers. (At this point it is likely that the AVI will have to be broken out into an image sequence, but I want to avoid this if at all possible)
ii) within a shot, on a selected frame, perform marked watershed detection to identify a shape, then put the selected shape into a septerate area, then break out a luminance table from the pixels used. (image will be in greyscale). (Here's an article on watershed detection using MATLAB and I have access to a copy of this if required: http://www.mathworks.com/products/im...watershed.html)
ii) the greyscale map shown to the user as a 2-column table where the user can assign an RGB colour value to each grey. (see Walker effects colorize plugin for After Effects for an idea as to what this should look like).
And if any of you think I'm completely crazy (though you may be right), here's a paper I wrote some years ago detailing the process, but using existing third-party software:
http://colourisation.pbwiki.com/f/Co...MJB_ver1_2.htm
I'll leave this with you. Please let me know that your thoughts are - is this doable and if it does need to be broken down, could I break it down in to further stages?
Best regards,
Matthew
The project is very complex and involes:
i) A media player which can perform shot detection and update a SQL database with shots and start and end frame numbers. (At this point it is likely that the AVI will have to be broken out into an image sequence, but I want to avoid this if at all possible)
ii) within a shot, on a selected frame, perform marked watershed detection to identify a shape, then put the selected shape into a septerate area, then break out a luminance table from the pixels used. (image will be in greyscale). (Here's an article on watershed detection using MATLAB and I have access to a copy of this if required: http://www.mathworks.com/products/im...watershed.html)
ii) the greyscale map shown to the user as a 2-column table where the user can assign an RGB colour value to each grey. (see Walker effects colorize plugin for After Effects for an idea as to what this should look like).
And if any of you think I'm completely crazy (though you may be right), here's a paper I wrote some years ago detailing the process, but using existing third-party software:
http://colourisation.pbwiki.com/f/Co...MJB_ver1_2.htm
I'll leave this with you. Please let me know that your thoughts are - is this doable and if it does need to be broken down, could I break it down in to further stages?
Best regards,
Matthew
Last edited by mattybennett; Jul 31st, 2008 at 1:45 pm.
•
•
Join Date: Jul 2008
Posts: 13
Reputation:
Solved Threads: 0
I must just also say to CoolGamer48 that its not a job but is a passion. You may even say 'religion' as this project has hounded me for the past 14 years.
Its taken this long for me to get this far.
Take a look at http://www.colourisation.net/ and see for yourself.
Its taken this long for me to get this far.
Take a look at http://www.colourisation.net/ and see for yourself.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
•
•
Join Date: Jul 2008
Posts: 60
Reputation:
Solved Threads: 3
•
•
•
•
I learned BASIC in 1982, hacked 8-bit machine code in the mid 80's, focussed on networking during the 90's, ran my own web company in 2000 - 2004, have a PostGrad degree in rich media and used to build shockwave and flash sites and have been teaching IT for 8 years.
Last edited by Wiki_Tiki; Jul 31st, 2008 at 4:45 pm.
- The C++ fatal n00b
Do you need us to lay out the steps of what you need to do? I thought you had already planned that? You want to know how to make a Windows looking GUI? Windows API or MFC, if you've bought it. Here's a quick tut on the API, don't know much about MFC. Do you want to know how to how to load an AVI file? A site I was referred to on this forum. Want to know how to interface with SQL databses? Google is your friend.
This isn't a substitute for a search engine. You've given us a complex program, and are asking us what you should do. You've laid out the basics of what you want - decide to work on one of the components of your program and go look some stuff up. If you have more specific questions then, ask them. But unless someone has recently worked on an AVI loader that does the things you want and doesn't mind sharing, no one is going to go out and make one just to give you an idea of where to start.
•
•
•
•
If thats all your forum has for me then I'll leave, disappointed.
I'm a student. If my statements seem too absolute, feel free to coat them with "In my opinion..." or "I believe...".
•
•
Join Date: Jul 2008
Posts: 13
Reputation:
Solved Threads: 0
Ok - hang on, I'll try to answer some of these if I may.
First, to Ancient Dragon, I came to this forum to seek advice for what is clearly a complex project. I'm not asking for people to write it for me and have found lots of code snippets already, but its all over the place, in different languages and not really doing what I want them to do. Advice from friends over here has been supportive but not really helped direct me to one language or approach over another. I must say that from a moderator, I expected less sniping or insulting behaviour and am sorry to have taken up your valuable time.
To Wiki Tiki, yes you'd think so, but I don't teach programming and these languages are alien to me, or at least as far as the project is concerned I can see which one would be the best to start with. Also, fine - making an AVI player isn't difficult, but I'm not talking about a simple windows form with a control here - I need to rasterise each frame and perform image analysis on the frame. This goes beyond what you'd be able to do from a normal simple AVI player. But no - I don't agree that after 30 years I'd know anything at all about programming because I've not had to. I teach different aspects of ICT - sorry.
And to coolgamer48, yes- - I do need someone to be able to look at the project and help me to realise what the steps are. These steps will be different depending on the approach, and language. I just realise that I don't want to pick the wrong language and then find myself having to start again from scratch because that particular language can't do what I want it to.
Ok - lets start with the media player then. I have a code snipper of how to make one in VB, but its not really helping. Videolan's VLC media player is open source and I can download the code and build it, but you know these things don't come with instruction manuals!
So please - less of the carping. I realise this is a weak area for me. Not everyone in the world is a programmer, but I am trying to learn. I'm asking for help. If your forum are not willing to then ok we'll leave it there, but please don't slate me for trying.
First, to Ancient Dragon, I came to this forum to seek advice for what is clearly a complex project. I'm not asking for people to write it for me and have found lots of code snippets already, but its all over the place, in different languages and not really doing what I want them to do. Advice from friends over here has been supportive but not really helped direct me to one language or approach over another. I must say that from a moderator, I expected less sniping or insulting behaviour and am sorry to have taken up your valuable time.
To Wiki Tiki, yes you'd think so, but I don't teach programming and these languages are alien to me, or at least as far as the project is concerned I can see which one would be the best to start with. Also, fine - making an AVI player isn't difficult, but I'm not talking about a simple windows form with a control here - I need to rasterise each frame and perform image analysis on the frame. This goes beyond what you'd be able to do from a normal simple AVI player. But no - I don't agree that after 30 years I'd know anything at all about programming because I've not had to. I teach different aspects of ICT - sorry.
And to coolgamer48, yes- - I do need someone to be able to look at the project and help me to realise what the steps are. These steps will be different depending on the approach, and language. I just realise that I don't want to pick the wrong language and then find myself having to start again from scratch because that particular language can't do what I want it to.
Ok - lets start with the media player then. I have a code snipper of how to make one in VB, but its not really helping. Videolan's VLC media player is open source and I can download the code and build it, but you know these things don't come with instruction manuals!

So please - less of the carping. I realise this is a weak area for me. Not everyone in the world is a programmer, but I am trying to learn. I'm asking for help. If your forum are not willing to then ok we'll leave it there, but please don't slate me for trying.
![]() |
Similar Threads
- Media Player Interface (C#)
- media player in vb6 (Visual Basic 4 / 5 / 6)
- media player object (Visual Basic 4 / 5 / 6)
- making media player (Community Introductions)
- Windows Media Player (Visual Basic 4 / 5 / 6)
- media player interface for volume controls and events (C#)
- media player (Website Reviews)
- Equalizer problem in Windows Media Player (Visual Basic 4 / 5 / 6)
Other Threads in the C++ Forum
- Previous Thread: inputting a fraction
- Next Thread: Find index in string
| Thread Tools | Search this Thread |
Tag cloud for C++
6 add api array arrays beginner binary bmp c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll download dynamic encryption error file forms fstream function functions game givemetehcodez google graph gui iamthwee ifstream input int java lib library lines linkedlist linker linux loop looping loops map math matrix memory microsoft newbie news number output pointer problem program programming project python random read recursion recursive reference return string strings struct studio system temperature template templates test text text-file tree unix url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets






