Skip to main content

Topic: Accelerated Ogg Vorbis encoder (Read 15455 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
This is aoTuV beta 5.7 vorbis encoder with some parts of Lancer project.

Patches: [ Specified attachment is not available ] [ Specified attachment is not available ]

No OpenMP support; some routines were changed from aoTuV beta 5 and remain unaccelerated.

You can download MSVS 2008 compiles with SSE, SSE2 and SSE3 support. SSE2/SSE3 versions are ~45% faster than "P4 Only" build from Rarewares and yet ~45% slower than original Lancer.
  • Last Edit: 20 February, 2012, 11:18:46 AM by lvqcl

Accelerated Ogg Vorbis encoder
Reply #1
Tested on Core Duo E6850, nice speedup indeed.
CUETools 2.1.4

Accelerated Ogg Vorbis encoder
Reply #2
Is it me, or is there a bug with --downmix implementation? I'm getting wierd noises when trying to downmix to mono.
CUETools 2.1.4

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #3
I mde mono.wav (44.1/24/1ch) out of stereo.wav (44.1/16/2ch) and encoded with the following settings:

oggenc2.exe -q1 --downmix stereo.wav -o 1.ogg
oggenc2.exe -q1 mono.wav -o 2.ogg

foobar2000 bit comparison:
Quote
All tracks decoded fine, no differences found.

Comparing:
"C:\0\1.ogg"
"C:\0\2.ogg"
No differences in decoded data found.

Accelerated Ogg Vorbis encoder
Reply #4
The file i used was actually stereo. The noise is very audible, doesn't require any ABXing.

Here's what i do: oggenc2_SSE3.exe -q0 oggtest.wav -o oggtest.ogg --downmix
Here's a source file, [ Specified attachment is not available ]
And here's the result: [ Specified attachment is not available ] - this file sounds severely distorted.

When i do the same with oggenc from rarewares: oggenc2.exe -q0 oggtest.wav -o oggtest2.ogg --downmix
In this case everything sounds fine: [ Specified attachment is not available ]

I'm running Windows Vista on Core 2 Duo E6850.
  • Last Edit: 24 November, 2009, 07:15:31 AM by Gregory S. Chudov
CUETools 2.1.4

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #5
I tested encoding of stereo files...  -q4: it encodes correctly; -q3.5: incorrectly.

Thanks for the report, I'll see what is wrong.

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #6
Problem with quality setting less than 4.0 was fixed. Thanks to Gregory for bug report.

  • john33
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #7
Problem with quality setting less than 4.0 was fixed. Thanks to Gregory for bug report.

Can you send me the updated patch please? Thanks in advance.  I'll try to get this tomorrow.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #8
Can you send me the updated patch please? Thanks in advance.

Updated files were already attached to the first post.

I'll try to get this tomorrow.

Excellent!
  • Last Edit: 25 November, 2009, 03:15:53 PM by lvqcl

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #9
minor fix in info.c (vorbis library): ENCODE_VENDOR_STRING should be without "\n" at the end.
Patch was updated.

  • john33
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #10
Can you send me the updated patch please? Thanks in advance.

Updated files were already attached to the first post.

I'll try to get this tomorrow.

Excellent!

Sorry, I didn't get to it and, as I'm away over the weekend, It'll be the early part of next week now.
John
----------------------------------------------------------------
My compiles and utilities are at http://www.rarewares.org/

Accelerated Ogg Vorbis encoder
Reply #11
I'm new to the various builds of Ogg Vorbis encoders. I would like to know what is the aoTuV 5.7 compile with the fastest encoding speed for a processor that supports up to SSE2 in a Windows system.

Am I also correct in understanding that john33's compiles are currently the fastest (because of the use of an Intel compiler)? If yes, are there compiles of john33's that are available for processors that support up to SSE2 and Windows?

I also would like to know if the current recommended Ogg Vorbis encoder in HA's Vorbis wiki refers to the aoTuV Beta 5 2006-10-24 version or does it mean the latest in the 5.x series, i.e. Beta 5.7 (2009-03-03).

I'm not really used to operating using the command line; I use dbPoweramp and just replace its default encoders (oggenc2.exe) with the latest ones from rarewares (I currently use the 5.7 P4 encoder).

  • lvqcl
  • [*][*][*][*][*]
  • Developer
Accelerated Ogg Vorbis encoder
Reply #12
Am I also correct in understanding that john33's compiles are currently the fastest (because of the use of an Intel compiler)? If yes, are there compiles of john33's that are available for processors that support up to SSE2 and Windows?


You mean http://www.hydrogenaudio.org/forums/index....st&p=670871 ?
  • Last Edit: 05 June, 2010, 05:58:29 AM by lvqcl

Accelerated Ogg Vorbis encoder
Reply #13
Thanks, anyway!
But I would be happy to see here accelerated libvorbis 1.3.1 also
  • Last Edit: 05 June, 2010, 12:12:02 PM by Steve Forte Rio

Accelerated Ogg Vorbis encoder
Reply #14
You mean http://www.hydrogenaudio.org/forums/index....st&p=670871 ?

I tried this, but it created zero-filesized .OGG files. Does it require SSE3? My processor supports only up to SSE 2.

I am currently using this: (oggenc2.7z - http://www.hydrogenaudio.org/forums/index....st&p=668288 ) in dBpoweramp.