Histogram/Spectrum Analysis
Posted: 06 Apr 2010 22:51
This is my first post here. So here's a little background about me: I've been using VLC over five years now on multiple platforms and architectures. I'm highly interested in software development and engineering. I'm currently doing a Master Electronics and IT engineering course.
I was thinking it could be handy to show a histogram of the current image frame (so it's live when you play a movie) in the Video Effects (not sure, I translated from my dutch VLC). The same goes for a spectrum analysis for audio (Audio Effects). I think it would be pretty handy to be able to view your adjustments live in a histogram or spectrum analysis for image/sound. I'am aware both require quite some computing power: a histogram requires height*width*depth*intensity bit size sums (this can be optimized of course, HD example: 1 920 * 1 080 * 3 * 8 = 49 766 400) and a spectrum analysis requires mainly a fourier transformation over n samples. Sample size relates directly to computing requirements afaik.
Could we maybe abuse GIMP's libraries in order to implement this? How are the current Video and Audio equilizer options implemented? This would open possibilities to implement auto AV correction which would be a first in media player land afaik.
I was thinking it could be handy to show a histogram of the current image frame (so it's live when you play a movie) in the Video Effects (not sure, I translated from my dutch VLC). The same goes for a spectrum analysis for audio (Audio Effects). I think it would be pretty handy to be able to view your adjustments live in a histogram or spectrum analysis for image/sound. I'am aware both require quite some computing power: a histogram requires height*width*depth*intensity bit size sums (this can be optimized of course, HD example: 1 920 * 1 080 * 3 * 8 = 49 766 400) and a spectrum analysis requires mainly a fourier transformation over n samples. Sample size relates directly to computing requirements afaik.
Could we maybe abuse GIMP's libraries in order to implement this? How are the current Video and Audio equilizer options implemented? This would open possibilities to implement auto AV correction which would be a first in media player land afaik.