IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Can get speex to work better than ogg for books. Why?
junglemike
post May 31 2006, 15:46
Post #1





Group: Members
Posts: 8
Joined: 20-May 06
Member No.: 30992



Hi', since speex decoder is available now for Palm OS also, I was wondering if I can get some good results for audio books . Currently I'm using 22khz around 20kbps (q -2 ) with ogg.
Whatever settings i tried (quality/ bitrate/complexity) - I can't bet speex to sound better ogg per same bitrate. This doesn't make any sence, because speex is supposed to be tuned specially for speach.
Moreover, it doesn't obey my commands, for example I wanted to force it to use bitrate of 10 kbps
QUOTE
--bitrate 10 --vbr --comp 6 o:\test\16khz.wav o:\out.spx

Instead, i get bitrate of arund 20, which sound much worse than ogg@20kbps. Why?
Can anybody help me?
Go to the top of the page
+Quote Post
kjoonlee
post May 31 2006, 16:47
Post #2





Group: Members
Posts: 2526
Joined: 25-July 02
From: South Korea
Member No.: 2782



I think --vbr and --bitrate 10 are not meant for each other.


--------------------
http://blacksun.ivyro.net/vorbis/vorbisfaq.htm
Go to the top of the page
+Quote Post
junglemike
post May 31 2006, 19:23
Post #3





Group: Members
Posts: 8
Joined: 20-May 06
Member No.: 30992



QUOTE (kjoonlee @ May 31 2006, 09:47) *
I think --vbr and --bitrate 10 are not meant for each other.

Can you recommend some good settings than? I've tried sample files from speex.org site , and they are pretty good, even at 10kbps. I just can't get even close to it.
Go to the top of the page
+Quote Post
de Mon
post May 31 2006, 21:18
Post #4





Group: Members
Posts: 474
Joined: 1-December 02
Member No.: 3940



Speex is not meant to be used at 20 kbs. But when somebody has to encode at about 5 kbs - Speex is a very good solution.


--------------------
Ogg Vorbis for music and speech [q-2.0 - q6.0]
FLAC for recordings to be edited
Speex for speech
Go to the top of the page
+Quote Post
jmvalin
post Jun 1 2006, 00:58
Post #5


Xiph.org Speex developer


Group: Developer
Posts: 482
Joined: 21-August 02
Member No.: 3134



QUOTE (junglemike @ Jun 1 2006, 00:46) *
Moreover, it doesn't obey my commands, for example I wanted to force it to use bitrate of 10 kbps
QUOTE
--bitrate 10 --vbr --comp 6 o:\test\16khz.wav o:\out.spx

Instead, i get bitrate of arund 20, which sound much worse than ogg@20kbps. Why?
Can anybody help me?


Are you sure you want to encode at 10 *bits* per seconds. Also, the option is --abr when you want to control the vbr rate, so using --bitrate 10000 will already work much better. Although I personaly recommend --vbr --quality X (with X around 6 maybe?) instead. Using 16 kHz, I *think* Speex should be better than Vorbis when you use bit-rate below ~32 kbps. Above that, Vorbis would probably be better.
Go to the top of the page
+Quote Post
TheGrishnav
post Dec 5 2006, 00:37
Post #6





Group: Members
Posts: 1
Joined: 3-December 06
Member No.: 38334



I've been doing voice encoding of radio traffic with ogg vorbis (-q -1) and speex for quite a while now. The speex files come out worse sounding and larger than the ogg's every single time.

Plus the speex encoder is hella unstable.

I blame the problems on the speex encoder's immaturity. Maybe I should see if there is a newer version out (I've just been using vorbis for the past several months... gave up on speex)

The sad part is that the agc and the denoising are _really_ helpful.

Nothing scientific, just a bit of anecdotal evidence that may be helpful. sad.gif

arecord -f S16_LE -r 16000 | oggenc -q -1 - -o "`date +"%F %Hhr %Mmn %Ssc %Z"`.ogg"
arecord -f S16_LE -r 16000 | speexenc -w --quality 6 --vbr --denoise --agc -V - "`date +"%F %Hhr %Mmn %Ssc %Z"`.spx"

This post has been edited by TheGrishnav: Dec 5 2006, 00:38
Go to the top of the page
+Quote Post
JEdwardP
post Dec 5 2006, 20:10
Post #7





Group: Members
Posts: 30
Joined: 1-December 05
Member No.: 26129



I've also given up on Speex, at least temporarily, in favor of Vorbis. I'd been using Speex to encode my audiobook CD's and cassettes ever since Windows binaries of it first appeared, and found its superiority to LAME easily ABX-able (LAME almost always produced an annoying metalic noise at lower bitrates, which Speex did not).

The latest Speex beta, I've found, often produces a similarly annoying noise, which Vorbis does not, and was again easily ABX-able. Ultimately, I found that while Speex is SUPPOSED to be optimized for bitrates up to 44kbps and sampling rates of 8, 16, and 32khz, it only seems to work consistently well at 8khz.

Even for those cases in which I cannot ABX a difference between Speex and Vorbis, I've found that Vorbis rarely produces significantly larger files, so I saw no reason to continue with Speex.

I've wondered if it's the case that most modern audiobook recordings can't be considered "pure speech", even when no background music or sound effects are used.
Go to the top of the page
+Quote Post
albatros
post Feb 20 2007, 00:19
Post #8





Group: Members
Posts: 2
Joined: 18-February 07
Member No.: 40723



http://www.vorbis.com/faq/#speech
So... do they tell lies?
Go to the top of the page
+Quote Post
Mangix
post Feb 20 2007, 02:35
Post #9





Group: Members
Posts: 589
Joined: 26-February 06
Member No.: 28077



i think it kind of depends which encoder is used. the one at xiph.org isn't that great compared to aoTuV.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 04:59