#112167 - 20/08/2002 22:49
Integer Ogg Vorbis works ... for free no less
|
addict
Registered: 03/07/2001
Posts: 663
Loc: Dallas, TX
|
ftp://ftp.arm.linux.org.uk/pub/linux/arm/people/nico/vorbis/
Compiling (with the cross compiler) the source yields a decoder that will successfully decode ogg files on the empeg.
The player they include 'vplay' is non-functioning, but we've got ways around that ...
That decoder took just under two minutes to decode (to a file) a 5 minute ogg song. I think it was 117 bit. But there won't be so much disk overhead when it's not having to write out a file while reading another from the same filesystem. And never the less it was still over twice as fast as it had to be for writing out to the audio device.
I got the resulting pcm file (from the decoder) to play using:
'dd if=Hydrate.pcm of=/dev/audio bs=4608'
And it sounds great.
Greg
_________________________
|
Top
|
|
|
|
#112168 - 20/08/2002 23:03
Re: Integer Ogg Vorbis works ... for free no less
[Re: grgcombs]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Very cool.
Wouldn't ``decoder < bitstream.ogg | dd of=/dev/audio obs=4608'' work?
_________________________
Bitt Faulk
|
Top
|
|
|
|
#112169 - 21/08/2002 03:07
Re: Integer Ogg Vorbis works ... for free no less
[Re: grgcombs]
|
old hand
Registered: 30/07/2001
Posts: 1115
Loc: Lochcarron and Edinburgh
|
In reply to:
a 5 minute ogg song. I think it was 117 bit
I'm impressed - if OGG encodes everything that small, I should be able to get my entire collection into RAM...
_________________________
Toby Speight 030103016 (80GB Mk2a, blue) 030102806 (0GB Mk2a, blue)
|
Top
|
|
|
|
#112170 - 21/08/2002 03:52
Re: Integer Ogg Vorbis works ... for free no less
[Re: tms13]
|
carpal tunnel
Registered: 17/01/2002
Posts: 3996
Loc: Manchester UK
|
In reply to:
I'm impressed - if OGG encodes everything that small, I should be able to get my entire collection into RAM...
Yeah, and pgrzelak's empeg would be able to hold all music that has ever been recorded!
_________________________
Cheers,
Andy M
|
Top
|
|
|
|
#112171 - 21/08/2002 04:48
Re: Integer Ogg Vorbis works ... for free no less
[Re: andym]
|
carpal tunnel
Registered: 15/08/2000
Posts: 4859
Loc: New Jersey, USA
|
Greetings!
Haven't we had that debate somewhere before??? Still, a free integer OGG raises some interesting possibilities. Does anyone know of a good OGG to MP3 comparison table or study?
_________________________
Paul Grzelak 200GB with 48MB RAM, Illuminated Buttons and Digital Outputs
|
Top
|
|
|
|
#112172 - 21/08/2002 06:52
Re: Integer Ogg Vorbis works ... for free no less
[Re: tms13]
|
addict
Registered: 03/07/2001
Posts: 663
Loc: Dallas, TX
|
I'm sure my measurement and description was supposed to be pretty scientific to satisfy you guys, but looking at it in the light of day ... there's something to be said for going to bed early.
Greg
_________________________
|
Top
|
|
|
|
#112173 - 21/08/2002 07:10
Re: Integer Ogg Vorbis works ... for free no less
[Re: wfaulk]
|
addict
Registered: 03/07/2001
Posts: 663
Loc: Dallas, TX
|
Well, something's not right then, cuz this produces no audio. Should that be bs=4608?
Greg
_________________________
|
Top
|
|
|
|
#112174 - 21/08/2002 09:01
Re: Integer Ogg Vorbis works ... for free no less
[Re: grgcombs]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Maybe. I'm not up on how the empeg's audio device works, nor am I a dd expert.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#112175 - 21/08/2002 20:15
Re: Integer Ogg Vorbis works ... for free no less
[Re: wfaulk]
|
carpal tunnel
Registered: 13/02/2002
Posts: 3212
Loc: Portland, OR
|
I think he's just double checking that you meant to type "bs=4608", as opposed to "obs=4608".
|
Top
|
|
|
|
#112176 - 21/08/2002 20:25
Re: Integer Ogg Vorbis works ... for free no less
[Re: canuckInOR]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
Well, I meant ``obs'', but ``bs'' might work better. I don't know. I was suggesting he try it the other way.
_________________________
Bitt Faulk
|
Top
|
|
|
|
#112177 - 22/08/2002 02:12
Re: Integer Ogg Vorbis works ... for free no less
[Re: wfaulk]
|
carpal tunnel
Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
|
Well, I meant ``obs'', but ``bs'' might work better.
You did mean "obs". Just setting "bs" doesn't do what you expect. The other thing to bear in mind is that you must have played audio from the player (since the last reboot) before doing this, so the player can unset the DSP mute, which is on by default.
Peter (BTDTGTTS)
|
Top
|
|
|
|
#112178 - 25/08/2002 00:50
Re: Integer Ogg Vorbis works ... for free no less
[Re: peter]
|
new poster
Registered: 09/02/2002
Posts: 15
|
The Empeg player has got to be upgraded to allow user-added decoders. If not, it's no better than a PhatBox or Neo.
|
Top
|
|
|
|
#112179 - 25/08/2002 10:56
Re: Integer Ogg Vorbis works ... for free no less
[Re: CityBeach]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
It can be upgraded to allow user-added decoders.
If you replace the player software. Or you do something clever in the kernel too fool the player software. Both are possible. Would you like to be the first to implement it?
|
Top
|
|
|
|
#112180 - 25/08/2002 11:22
Re: Integer Ogg Vorbis works ... for free no less
[Re: tfabris]
|
carpal tunnel
Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
|
I can be upgraded to allow user-added decoders. Aha!!! Proof!
We always knew you were a robot!
_________________________
Bitt Faulk
|
Top
|
|
|
|
#112181 - 25/08/2002 11:24
Re: Integer Ogg Vorbis works ... for free no less
[Re: wfaulk]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Ah, see, but in true Douglas Adams style, that's actually proof AGAINST my being a robot. Robots don't make typos.
(Corrected.)
|
Top
|
|
|
|
#112182 - 25/08/2002 15:25
Re: Integer Ogg Vorbis works ... for free no less
[Re: CityBeach]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
The Empeg player has got to be upgraded to allow user-added decoders. If not, it's no better than a PhatBox or Neo.
Oh yeah right
_________________________
Matt
|
Top
|
|
|
|
#112183 - 25/08/2002 20:51
Re: Integer Ogg Vorbis works ... for free no less
[Re: peter]
|
addict
Registered: 03/07/2001
Posts: 663
Loc: Dallas, TX
|
This is what the problem was. "obs" and the rest of bitt's command line was correct. After playing audio from the player, this command worked, as did the decoder. That mute thing has bitten my butt a couple of times before, you'd think I would remember it.
Greg
_________________________
|
Top
|
|
|
|
#112184 - 27/08/2002 04:52
Re: Integer Ogg Vorbis works ... for free no less
[Re: tfabris]
|
carpal tunnel
Registered: 14/01/2002
Posts: 2858
Loc: Atlanta, GA
|
'Ah, see, but in true Douglas Adams style, that's actually proof AGAINST my being a robot. Robots don't make typos.'
lol- probably my favorite part of any of his books BTW.
_________________________
-Jeff Rome did not create a great empire by having meetings; they did it by killing all those who opposed them.
|
Top
|
|
|
|
#112185 - 27/08/2002 10:56
Re: Integer Ogg Vorbis works ... for free no less
[Re: JeffS]
|
carpal tunnel
Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
|
Ah, that was easy.
(/me gets killed at the next crosswalk)
|
Top
|
|
|
|
|
|