IPB

Welcome Guest ( Log In | Register )

13 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
Ogg Vorbis optimized for speed, ca. 1.5x faster than 1.1 original ver.
Sebastian Mares
post Nov 7 2004, 11:51
Post #26





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



QUOTE (john33 @ Nov 7 2004, 10:41 AM)
As QK says, there's very little use of double precision in libvorbis, so the use of SSE2 optimisation is virtually a waste of effort.
*


That explains why my SSE and SSE2 tests achieve the same result.


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
Poromenos
post Nov 8 2004, 11:31
Post #27





Group: Members
Posts: 15
Joined: 28-July 04
Member No.: 15854



OK, for the newb with no ability for critical thinking (me tongue.gif), would you recommend switching to this version from "OggEnc v2.3 (libvorbis 1.1.0)"? I'd like to have the extra speed, but if it introduces bugs I can wait smile.gif
I thought of encoding with both then comparing the files, but the size was a few bytes different and they were not identical (there were 80ish different bytes every Y bytes). What's that about?


--------------------
http://porocrom.poromenos.org
My wife read it for a month and lost 30 days.
Go to the top of the page
+Quote Post
QuantumKnot
post Nov 8 2004, 11:56
Post #28





Group: Developer
Posts: 1245
Joined: 16-December 02
From: Australia
Member No.: 4097



QUOTE (Poromenos @ Nov 8 2004, 08:31 PM)
OK, for the newb with no ability for critical thinking (me tongue.gif), would you recommend switching to this version from "OggEnc v2.3 (libvorbis 1.1.0)"? I'd like to have the extra speed, but if it introduces bugs I can wait smile.gif
I thought of encoding with both then comparing the files, but the size was a few bytes different and they were not identical (there were 80ish different bytes every Y bytes). What's that about?
*


IMO, it's best to stick to the normal compile of oggenc. More testing is required.
Go to the top of the page
+Quote Post
Sebastian Mares
post Nov 8 2004, 13:26
Post #29





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



I see no speed gain when compared to the Pentium 4 builds from RareWares.


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
Jens Rex
post Nov 8 2004, 14:20
Post #30





Group: Super Moderator
Posts: 605
Joined: 18-December 01
Member No.: 680



I'd be more interested in decoder speedups - especially for portable devices. Vorbis playback in my Tungsten T3 eats battery like crazy.
Go to the top of the page
+Quote Post
Gecko
post Nov 11 2004, 22:49
Post #31





Group: Members
Posts: 937
Joined: 15-December 01
From: Germany
Member No.: 662



Here's a late reply. I tested on two titles and the results look great. The sse2 version offers zero speed increase; the numbers are exactly the same. System: Athlon 64 3000. Turns out I've been previously using Ogg Vorbis 1.1 rc1 from rarewares. Oh well. Quality level is 5.

Die fantastischen Vier - Mein Schwert [hip hop-ish, CD rip]
1.1rc1 - 14,9936
sse/sse2 - 22,9893

G&M Project - Sunday Afternoon (Nu Nrg Mix) [trance, wav previously decoded from mpc q7]
1.1rc1 - 15,7454
sse/sse2 - 27,9919

I was evaluating if I should use ogg or mp3 on my soon to be shipped iRiver biggrin.gif, so I will do a lot of transcoding. I don't know if the fact that I am using an allready lossy source accounts for the speed increase.

These speeds even surpass mpc encoding (usually 22-23x)! Lame 3.96.1 clocks in at about 8x for aps and 17x for apfs.

BTW: version "Archer B04" is out, which is claimed to be even a bit faster.
edit2: well, not for me. Speeds are identical to B03.

This post has been edited by Gecko: Nov 11 2004, 22:53
Go to the top of the page
+Quote Post
[solid]
post Nov 12 2004, 01:05
Post #32





Group: Members
Posts: 40
Joined: 25-December 03
Member No.: 10701



how should i apply the patch? i get all hunks failed...
using linux, official libvorbis-1.1.0 and the same happens for both B03 and B04
Go to the top of the page
+Quote Post
ak
post Nov 12 2004, 10:36
Post #33


Musepack Developer


Group: Members
Posts: 359
Joined: 17-October 01
Member No.: 309



I remeber trying to apply it, there were bunch of whitespace diffs, so try 'patch -l ...'

Oops, actually, it was the case with current svn.

For 1.1.0 running dos2unix on patch should do.

This post has been edited by ak: Nov 12 2004, 10:45
Go to the top of the page
+Quote Post
[solid]
post Nov 12 2004, 10:58
Post #34





Group: Members
Posts: 40
Joined: 25-December 03
Member No.: 10701



QUOTE (ak @ Nov 12 2004, 10:36 AM)
For 1.1.0 running dos2unix on patch should do.
*

oh crap it was that simple... haven't thought of that, thanks. compiling right now cool.gif
Go to the top of the page
+Quote Post
nyaochi
post Nov 12 2004, 21:44
Post #35





Group: Members
Posts: 169
Joined: 30-September 01
From: Tokyo, Japan
Member No.: 99



QUOTE (Sebastian Mares @ Nov 8 2004, 09:26 PM)
I see no speed gain when compared to the Pentium 4 builds from RareWares.
*

Weird...

QUOTE (Gecko @ Nov 12 2004, 06:49 AM)
BTW: version "Archer B04" is out, which is claimed to be even a bit faster.
edit2: well, not for me. Speeds are identical to B03.
*

I got slight speed increase (23.73x) from B03 (23.37x).
Go to the top of the page
+Quote Post
Benjamin Lebsanf...
post Nov 12 2004, 22:15
Post #36





Group: Members
Posts: 761
Joined: 29-September 01
Member No.: 40



on the first run i got 38.2381x, on the second run 33.4583 which is the same as B03

This post has been edited by Benjamin Lebsanft: Nov 12 2004, 22:15
Go to the top of the page
+Quote Post
jg123
post Nov 15 2004, 17:53
Post #37





Group: Members
Posts: 6
Joined: 23-July 03
Member No.: 7940



It looks like the resample option is broken? I get a crash using the resample option on B04. I'm trying to resample a 16 kHZ stereo wav file to a -q0 44100 ogg.
Go to the top of the page
+Quote Post
kuniklo
post Nov 15 2004, 18:15
Post #38





Group: Developer (Donating)
Posts: 193
Joined: 9-May 02
From: Emeryville, CA
Member No.: 2010



Does anyone have the sse optimizations in the form of a patch to 1.1?

I'd like to try building a linux binary of this.
Go to the top of the page
+Quote Post
Bogalvator
post Nov 15 2004, 19:02
Post #39





Group: Members
Posts: 19
Joined: 25-February 04
Member No.: 12250



The patch is the first file on the project web page:
http://homepage3.nifty.com/blacksword/


This is great stuff by the way, I hope that development / testing continues.
Go to the top of the page
+Quote Post
maacruz
post Nov 16 2004, 18:21
Post #40





Group: Members
Posts: 16
Joined: 13-November 04
Member No.: 18120



QUOTE (Bogalvator @ Nov 15 2004, 08:02 PM)
The patch is the first file on the project web page:
http://homepage3.nifty.com/blacksword/


This is great stuff by the way, I hope that development / testing continues.
*


I have tryed it and doesn't work for me.
It does compile after some editing, but both enconding and playback are badly broken.

This post has been edited by maacruz: Nov 16 2004, 18:29
Go to the top of the page
+Quote Post
nyaochi
post Nov 17 2004, 09:18
Post #41





Group: Members
Posts: 169
Joined: 30-September 01
From: Tokyo, Japan
Member No.: 99



QUOTE (maacruz @ Nov 17 2004, 02:21 AM)
It does compile after some editing, but both enconding and playback are badly broken.
*

Could you give a better description of "badly broken"? Actually I didn't complie B04, but my own compile (ICL8.1) of B03 worked fine.
Go to the top of the page
+Quote Post
nyaochi
post Nov 17 2004, 16:30
Post #42





Group: Members
Posts: 169
Joined: 30-September 01
From: Tokyo, Japan
Member No.: 99



QUOTE (jg123 @ Nov 16 2004, 01:53 AM)
It looks like the resample option is broken? I get a crash using the resample option on B04. I'm trying to resample a 16 kHZ stereo wav file to a -q0 44100 ogg.
*

Archer Beta05 is released mainly to solve this problem.
- Use of libogg 1.1.2 (version up from 1.1.1)
- Fixed a crash (16 byte-alignement exception) of resample/downmix routines in audio.c (for oggenc and oggdropXPd)
- Update build script for automake/autoconf
- Activated FLAC reading suport in oggenc, using FLAC 1.1.1 (ICL compile)

QUOTE (nyaochi @ Nov 17 2004, 05:18 PM)
QUOTE (maacruz @ Nov 17 2004, 02:21 AM)
It does compile after some editing, but both enconding and playback are badly broken.
*

Could you give a better description of "badly broken"? Actually I didn't complie B04, but my own compile (ICL8.1) of B03 worked fine.
*

One thing I forget to mention. It is strongly recommended to use gcc 3.3. The patch does not work with gcc 3.4 and other versions.
Go to the top of the page
+Quote Post
Benjamin Lebsanf...
post Nov 17 2004, 18:05
Post #43





Group: Members
Posts: 761
Joined: 29-September 01
Member No.: 40



Could anybody please provide a linux binary. As my box is using gcc 3.4.3 I am not able to compile it on my own smile.gif
Thanks
Go to the top of the page
+Quote Post
maacruz
post Nov 17 2004, 18:59
Post #44





Group: Members
Posts: 16
Joined: 13-November 04
Member No.: 18120



QUOTE (nyaochi @ Nov 17 2004, 05:30 PM)
QUOTE (jg123 @ Nov 16 2004, 01:53 AM)
It looks like the resample option is broken? I get a crash using the resample option on B04. I'm trying to resample a 16 kHZ stereo wav file to a -q0 44100 ogg.
*

Archer Beta05 is released mainly to solve this problem.
- Use of libogg 1.1.2 (version up from 1.1.1)
- Fixed a crash (16 byte-alignement exception) of resample/downmix routines in audio.c (for oggenc and oggdropXPd)
- Update build script for automake/autoconf
- Activated FLAC reading suport in oggenc, using FLAC 1.1.1 (ICL compile)

QUOTE (nyaochi @ Nov 17 2004, 05:18 PM)
QUOTE (maacruz @ Nov 17 2004, 02:21 AM)
It does compile after some editing, but both enconding and playback are badly broken.
*

Could you give a better description of "badly broken"? Actually I didn't complie B04, but my own compile (ICL8.1) of B03 worked fine.
*

One thing I forget to mention. It is strongly recommended to use gcc 3.3. The patch does not work with gcc 3.4 and other versions.
*


Hi nyaochi

I have tested right now B05 and it applyed and compiled cleanly, but it does have the same problem than B04.
It encodes, but the result is a big file which sounds as noise (using normal oggenc castanets2.ogg is 97247 bytes, using oggenc-sse it is 221705 bytes).
Playing normal ogg files doesn't work either, it sounds as noise too, and segfaults when reaching the end of the file. Vorbisgain segfaults when reaching the end of a file.

I'm on a suse 9.1 linux system, gcc 3.3.3, glibc 2.3.3, libogg 1.1.2, athlon xp 2600 (Barthon core).


This is the gdb output
(gdb) run castanets2.ogg
Starting program: /usr/bin/ogg123 castanets2.ogg
Reading symbols from /usr/lib/libvorbisfile.so.3...(no debugging symbols found)...done.
...
Dispositivo de sonido: Advanced Linux Sound Architecture (ALSA) output

[New Thread 1087495088 (LWP 27008)]
Reproduciendo: castanets2.ogg
Ogg Vorbis stream: 2 channel, 44100 Hz
Tiempo: 00:06,63 [00:00,00] de 00:06,63 ( 0,0 kbps) B˙fer de Salida 0,0% (EOS (Fin de flujo))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1077510816 (LWP 27005)]
0x402e51bd in _int_free () from /lib/tls/libc.so.6
(gdb) bt
#0 0x402e51bd in _int_free () from /lib/tls/libc.so.6
#1 0x402e55fb in free () from /lib/tls/libc.so.6
#2 0x400552ed in vorbis_comment_clear () from /usr/lib/libvorbis.so.0
#3 0x00000000 in ?? ()
#4 0x400386f0 in ?? () from /usr/lib/libvorbisfile.so.3
#5 0x08070590 in ?? ()
#6 0x00000001 in ?? ()
#7 0x40036a96 in ov_clear () from /usr/lib/libvorbisfile.so.3
...
Go to the top of the page
+Quote Post
nyaochi
post Nov 17 2004, 20:53
Post #45





Group: Members
Posts: 169
Joined: 30-September 01
From: Tokyo, Japan
Member No.: 99



QUOTE (maacruz @ Nov 18 2004, 02:59 AM)
Hi nyaochi

I have tested right now B05 and it applyed and compiled cleanly, but it does have the same problem than B04.
It encodes, but the result is a big file which sounds as noise (using normal oggenc castanets2.ogg is 97247 bytes, using oggenc-sse it is 221705 bytes).
Playing normal ogg files doesn't work either, it sounds as noise too, and segfaults when reaching the end of the file. Vorbisgain segfaults when reaching the end of a file.

I'm on a suse 9.1 linux system, gcc 3.3.3, glibc 2.3.3, libogg 1.1.2, athlon xp 2600 (Barthon core).
*

Thank you for the detailed information. I've just got an email from the author. He found a bug around ov_read function that probably causes your crash. He also told me that he doesn't use Makefile generated by configure script but uses Makefile in Win32_MinGW that is based on a converted project from MSVC to compile it by gcc version 3.3.1 (mingw special 20030804-1).

I suppose linux support of B05 is not enough/adequate at present. So we have to inspect what causes bitrate-bloat/noise problem. Although I have Fedora Core 1 with gcc 3.3.1, unfortunately I'm not familiar with linux programing and have little time to debug it now. sad.gif The author recognizes this problem but anyone can solve this problem?

This post has been edited by nyaochi: Nov 17 2004, 20:53
Go to the top of the page
+Quote Post
Sebastian Mares
post Nov 17 2004, 21:50
Post #46





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



QUOTE (nyaochi @ Nov 12 2004, 09:44 PM)
QUOTE (Sebastian Mares @ Nov 8 2004, 09:26 PM)
I see no speed gain when compared to the Pentium 4 builds from RareWares.
*

Weird...
*


In fact, the SSE/SSE2 optimized versions are slower by about 1x as seen here:

*


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
vearutop
post Dec 9 2004, 05:27
Post #47





Group: Members
Posts: 8
Joined: 17-March 04
Member No.: 12793



does anyone have binary aotuvb3 oggenc w/ sse patch applied?


--------------------
thematrixhasyou
Go to the top of the page
+Quote Post
skamp
post Dec 11 2004, 06:48
Post #48





Group: Developer
Posts: 1408
Joined: 4-May 04
From: France
Member No.: 13875



QUOTE (vearutop @ Dec 9 2004, 05:27 AM)
does anyone have binary aotuvb3 oggenc w/ sse patch applied?
*

I've uploaded linux binaries in this thread.


--------------------
See my profile for measurements, tools and recommendations.
Go to the top of the page
+Quote Post
vearutop
post Dec 15 2004, 05:15
Post #49





Group: Members
Posts: 8
Joined: 17-March 04
Member No.: 12793



thank you

do you have one for windows?


--------------------
thematrixhasyou
Go to the top of the page
+Quote Post
QuantumKnot
post Dec 15 2004, 05:22
Post #50





Group: Developer
Posts: 1245
Joined: 16-December 02
From: Australia
Member No.: 4097



QUOTE (vearutop @ Dec 15 2004, 02:15 PM)
thank you

do you have one for windows?
*


Have a look at this page

http://homepage3.nifty.com/blacksword/

smile.gif
Go to the top of the page
+Quote Post

13 Pages V  < 1 2 3 4 > » 
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: 22nd July 2014 - 14:13