libopus support.

Website, builds, or other suggestions.
LithosZA
Posts: 14
Joined: Sun Apr 14, 2013 4:32 pm

Re: libopus support.

Post by LithosZA » Fri Dec 06, 2013 5:04 am

Opus 1.1 released on the 5th: http://www.opus-codec.org/

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: libopus support.

Post by Zeranoe » Fri Dec 06, 2013 8:16 am

Thanks for the report, Opus 1.1 has been added to the latest builds (20131206-git-4a0d827)

Ajaja
Posts: 69
Joined: Fri Mar 08, 2013 2:00 pm

Re: libopus support.

Post by Ajaja » Fri Dec 06, 2013 3:11 pm

BTW. I compared decoding opus file with opusdec and ffmpeg. They are different by default. But with parameter --no-dither opusdec produce the same result as ffmpeg. It's mean that ffmpeg does not use dithering. The question is how to force ffmpeg to use dithering while decoding opus (or other lossy audio) to lossless?

rogerdpack
Posts: 1876
Joined: Fri Aug 05, 2011 9:56 pm

Re: libopus support.

Post by rogerdpack » Mon May 05, 2014 8:18 pm

Zeranoe wrote:Thanks for the report, Opus 1.1 has been added to the latest builds (20131206-git-4a0d827)
When I attempt to add opus 1.1 to my builds, it breaks shared builds, @zeranoe do you do any special processing for libopus?
Thanks!
-roger-

User avatar
Zeranoe
Site Admin
Posts: 703
Joined: Sat May 07, 2011 7:12 pm
Contact:

Re: libopus support.

Post by Zeranoe » Wed May 07, 2014 5:55 pm

Answered here: http://ffmpeg.zeranoe.com/forum/viewtop ... 1947#p6674

But posting it again here for visibility:

Code: Select all

diff -uprN ./opus-1.1.orig/include/opus_defines.h ./opus-1.1/include/opus_defines.h
--- ./opus-1.1.orig/include/opus_defines.h	2013-11-29 15:17:15.000000000 -0500
+++ ./opus-1.1/include/opus_defines.h	2013-12-06 01:44:24.656150129 -0500
@@ -65,11 +65,7 @@ extern "C" {
 
 #ifndef OPUS_EXPORT
 # if defined(WIN32)
-#  ifdef OPUS_BUILD
-#   define OPUS_EXPORT __declspec(dllexport)
-#  else
 #   define OPUS_EXPORT
-#  endif
 # elif defined(__GNUC__) && defined(OPUS_BUILD)
 #  define OPUS_EXPORT __attribute__ ((visibility ("default")))
 # else

Post Reply
'