|
|
2006-07-16
, 06:30
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#32
|
That would be probably the best solution. Now I'm getting familiar with gstreamer and testing some simple programs with it.

|
|
2006-07-16
, 20:20
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#33
|
Also as you are interested in color conversion, you can try to optimize this part of code. So looks like we have several options: check what videocontroller is capable of, try to make some use of DSP (from the links you provided, looks like YUV->RGB conversion involves many multiply and accumulate operations and DSP should be good at that), also it might be interesting to try getting the best possible performance with grayscale video decoding.
There is nothing to show at this moment (I mean no working mplayer build yet). Appears that Nokia 770 has 'dspmp3sink' gstreamer sink for playing mp3 data. It can't work as gstreamer source, so we can't transcode mp3 using it and are quite limited because of that. By the way, though dspmp3sing has license 'unknown', dspaacsink shows 'LGPL' license when running 'gst-inspect dspaacsink' (in order to use gst-inspect tool, you need to 'apt-get install gstreamer-tools' first). I wonder where we can get the sources? But nevertheless there seems to be a solution to use DSP audio decompression in mplayer anyway
mplayer has hardware ac3 decompression for some soundcards (-ac hwac3), it is implemented as a hack to send compressed audio data chunks directly to audio card, see more details here. So we can use this one-way gstreamer sink. I have modified one of the gstreamer examples and now it can play mp3 by writing data to a socket, this crude hack is attached here. So we can treat this socket as such soundcard capable of decoding mp3 in hardware
Implementation will involve parsing mp3 headers in mplayer code, splitting it into mp3 frames, but passing through without decompression. That all requires some work, but I'm quite optimistic
MP3 format description is here: http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm
|
|
2006-07-17
, 23:42
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#34
|
).
|
|
2006-07-18
, 08:41
|
|
|
Posts: 1,463 |
Thanked: 81 times |
Joined on Oct 2005
@ UK
|
#35
|
|
|
2006-07-19
, 07:20
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#36
|
|
|
2006-07-21
, 01:20
|
|
Posts: 474 |
Thanked: 30 times |
Joined on Jan 2006
|
#37
|
|
|
2006-07-21
, 21:39
|
|
Posts: 503 |
Thanked: 267 times |
Joined on Jul 2006
@ Helsinki
|
#38
|
A known limitation is unavailability of volume control for gstreamer output module '-ao gst', it will be fixed later.
|
|
2006-07-22
, 10:03
|
|
Posts: 14 |
Thanked: 0 times |
Joined on Jul 2006
|
#39
|
So now ARM core definitely has more cycles free for video decoding
|
|
2006-07-22
, 13:32
|
|
Posts: 220 |
Thanked: 19 times |
Joined on Jun 2006
|
#40
|
http://sourceforge.net/projects/zfaad
this one is for aac can you make use of it
thankyou