Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Ogg Vorbis optimized for speed (Read 255128 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Ogg Vorbis optimized for speed

Reply #300
Steve Jobs disappointed me by not coming out with a 100 Gb iPod to hold the 9,800 M4As I'd spent since Christmas transcoding from FLAC to Nero M4As.
So I've set to re-encoding as Ogg Vorbis q 4.5 in hopes that can make them fit on my 60 Gb Cowon iAudio.
It's proceeding right now on the Sony Vaio 2 GHz Core Duo notebook I bought Tuesday.
OMG, is it ever fast with the SSE3 MT build! I'm surprised how much faster it is than using SSE2 optimization on the Athlon64 3300+ desktop under Win X64.
Thanks so much to all the developers!

Ogg Vorbis optimized for speed

Reply #301
Good choice, more people should give Steve Jobs the finger.

Ogg Vorbis optimized for speed

Reply #302
New Vorbis optimization project here, check it out ! 

Ogg Vorbis optimized for speed

Reply #303
Someone test it and tell us how it compares to Lancer.

Ogg Vorbis optimized for speed

Reply #304
Someone test it and tell us how it compares to Lancer.


They tuned Xiph Vorbis 1.0.1 and boast a performance increase of 18%. I can't seem to find a date on their page or in the documentation. Also, the download size for the "binaries" package is an impressive 90MiB. Nothing to see here, move along...

Ogg Vorbis optimized for speed

Reply #305
i tested it and on their intel-optimized binary, the radio.wav file which was included took 45 seconds to encode on -q10. the non-intel binary took 49.

i also tested out Lancer's builds(SSE2-Threaded one) and i got 22 seconds.

as MedO said, nothing to see here.

Ogg Vorbis optimized for speed

Reply #306
Steve Jobs disappointed me by not coming out with a 100 Gb iPod to hold the 9,800 M4As I'd spent since Christmas transcoding from FLAC to Nero M4As.


Honestly, do you need to carry 9800 songs with you?

Ogg Vorbis optimized for speed

Reply #307
Need isn't as significant as the ability to do so.  It gives one the greatest variety of music when not tethered to their PC.

Ogg Vorbis optimized for speed

Reply #308
Some people travel and are not at home for weeks or months at a time.  iTunes says my 55 gb "checked playlist" lasts 30.7 days. It was enough for the last time I was out of town for 3 weeks, and it's nice to know I didn't run out of music.

Ogg Vorbis optimized for speed

Reply #309
How much faster are SSE2 and SSE3 versions of lancer compared to SSE? My CPU only supports SSE, and I would like to know how much boost I can expect from a CPU upgrade.

Are the MT versions ~twice as fast on a dual core cpu, e.g. Core2Duo / Athlon64 X2 ?

FLAC -> OGG conversion runs at 21x on my system (Athlon XP-M 2600+ @ 10x200), how much can I expect from an Athlon64 X2 3800+ ?

Ogg Vorbis optimized for speed

Reply #310
How much faster are SSE2 and SSE3 versions of lancer compared to SSE?

SSE2/3 has less importance on lancer. But MT enables ~1.4 times faster encoding.
Benchmark on Athlon64 X2 and Core2Duo FYI.

Lancers MT makes use of up to 2 core per encoding. If you have quad core, you have to run 2 instances at a time, Lancer is enough fast tho

Ogg Vorbis optimized for speed

Reply #311

How much faster are SSE2 and SSE3 versions of lancer compared to SSE?

SSE2/3 has less importance on lancer. But MT enables ~1.4 times faster encoding.
Benchmark on Athlon64 X2 and Core2Duo FYI.

Lancers MT makes use of up to 2 core per encoding. If you have quad core, you have to run 2 instances at a time, Lancer is enough fast tho


I kind of wonder why you don't just run two single-threaded encoders instead of the multithreaded one. Usually you'll encode multiple files anyway. That way it'd be ~2x as fast instead of 1.4x...

Ogg Vorbis optimized for speed

Reply #312
I kind of wonder why you don't just run two single-threaded encoders instead of the multithreaded one. Usually you'll encode multiple files anyway. That way it'd be ~2x as fast instead of 1.4x...
We techheads will do that. But simpler users (i.e. the overwhelming majority of PC users) tend to encode one at a time.

Ogg Vorbis optimized for speed

Reply #313
ye, new problems are coming up, there are 4-core cpu`s on the market, and early will be 8. We need a solution, unlike:
1. lancer need`s to check out how many cores in system
2. use them all
3. it will be bad idea to limit him on 8 cores...(maybe this is not the end?)

Ogg Vorbis optimized for speed

Reply #314
ye, new problems are coming up, there are 4-core cpu`s on the market, and early will be 8. We need a solution, unlike:
1. lancer need`s to check out how many cores in system
2. use them all
3. it will be bad idea to limit him on 8 cores...(maybe this is not the end?)

and add SSE5 and SSE6 support!!!

Ogg Vorbis optimized for speed

Reply #315
Does anyone know if there are lancer static-built binaries for windows I can download anywhere? This would be very useful, thanks.

Ogg Vorbis optimized for speed

Reply #316
Does anyone know if there are lancer static-built binaries for windows I can download anywhere? This would be very useful, thanks.


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

http://translate.google.com/translate?u=ht...Flanguage_tools (same page translated by Google)
Opus 96 kb/s (Android) / Vorbis -q5 (PC) / WavPack -hhx6m (Archive)

Ogg Vorbis optimized for speed

Reply #317
Can someone who owns the Intel compiler please build and make available windows static library binaries ( static-link libraries (*.lib) that do not depend on any ogg/vorbis dll at run time ) ?  Ideally these would be compiled using the release multi--threaded version of MSVCRT, thanks!

Re: Ogg Vorbis optimized for speed

Reply #318
The Lancer's webpage isn't available more, but you can use a copy on the Web Archive:
https://web.archive.org/web/20100217183320/http://homepage3.nifty.com/blacksword/
The fastest versions:
https://web.archive.org/web/20100217183320/http://homepage3.nifty.com/blacksword/oggenc283_sse3_lancer20061110.zip (SSE3, single threaded)
https://web.archive.org/web/20100217183320/http://homepage3.nifty.com/blacksword/oggenc283_sse3mt_lancer20061110.zip (SSE3, multi threaded)

Still the fastest Ogg Vorbis encoder. What a pity that the author abandoned this project.

Re: Ogg Vorbis optimized for speed

Reply #319
I think very few people care about audio encoder speed in the era of fast multicore processors. 

Re: Ogg Vorbis optimized for speed

Reply #320
I think very few people care about audio encoder speed in the era of fast multicore processors. 
Hi
Currently I'm using...
Quote
$ oggenc -v
OggEnc v2.83 (Lancer [Nov 14 2009](SSE) based on aoTuV b5)

With a single-core machine.
Is there anything faster out there - for LINUX?

Re: Ogg Vorbis optimized for speed

Reply #321
I think very few people care about audio encoder speed in the era of fast multicore processors. 
I'd rather wait for 3-4 times less time with almost the same quality.

oggenc_general_x64 - http://www.rarewares.org/files/ogg/oggenc2.88-1.3.5-x64.zip
oggenc_lancer_sse3mt - https://web.archive.org/web/20100217183320/http://homepage3.nifty.com/blacksword/oggenc283_sse3mt_lancer20061110.zip

Code: [Select]
C:\Users\VEG\Desktop>oggenc_general_x64 -q 0 test.wav
Opening with wav module: WAV file reader
Encoding "test.wav" to
         "test.ogg"
at quality 0.00
        [100.0%] [ 0m00s remaining] -

Done encoding file "test.ogg"

        File length:  9m 51.0s
        Elapsed time: 0m 12.0s
        Rate:         49.2648
        Average bitrate: 51.8 kb/s


C:\Users\VEG\Desktop>oggenc_lancer_sse3mt -q 0 test.wav
Opening with wav module: WAV file reader
Encoding "test.wav" to
         "test.ogg"
at quality 0.00
        [100.0%] [ 0m00s remaining] -

Done encoding file "test.ogg"

        File length:  9m 51.0s
        Elapsed time: 0m 3.841s
        Rate:         153.912430
        Average bitrate: 57.6 kb/s

12.0 seconds vs. 3.8 seconds for one song.

I'm using it for coding of music for my phone.

Re: Ogg Vorbis optimized for speed

Reply #322
You mean from multithreading? I can get an 8-10x speed up using foobar and the stock encoder with no loss of quality. I don't think using the mt version makes sense.

Anyway, if you are interested in encoding speed, you should work on it. Multithreading may not make sense but further x64 asm or see intrinsics would likely help a lot.