xiph / opus-tools

A set of tools to encode, inspect, and decode audio in the Opus format.
https://opus-codec.org/
Other
214 stars 78 forks source link

Audio artifacts when encoded using opusenc. #35

Closed arun54321 closed 5 years ago

arun54321 commented 5 years ago

I hear artifacts when audio is encoded by opusenc but not through libopus(ffmpeg). I used same bitrate and complexity on both tools.

http://goo.gl/zzF4z7

when encoded using opusenc there is sudden skips on 01:41 and 3:59.

theonlycure commented 5 years ago

Having same problem with opusenc and latest ffmpeg 4.0.2 does same thing. Not every encode but many. Skips and some other artifacts. Using libopus 1.3-rc. Ubuntu Server 18.04.1

moisespr123 commented 5 years ago

Which rc version are you using? You can verify using opusenc.exe -V.

For example, it should output something like this:

opusenc opus-tools 0.1.10-80-g1a646c4-dirty (using libopus 1.3-rc-22-g4a643d98-dirty)
Copyright (C) 2008-2018 Xiph.Org Foundation

That first line tells the version used.

I've been compiling the source code whenever a commit is done and I don't head any artifacts with the latest commits done.

theonlycure commented 5 years ago

opusenc opus-tools 0.1.10 (using libopus 1.3-rc)

opusenc -V doesn't give anything more specific on Linux apparently. Oh crumbs, when I built it didn't use git repository. Not every encode has artifact. Maybe less than 10% for me.

arun54321 commented 5 years ago

Not all encodes have artifacts. I have used latest opus-tools from arch linux repos. If I use ffmpeg, there are no skips and artifacts.

opusenc -V opusenc opus-tools 0.1.10 (using libopus 1.2.1) Copyright (C) 2008-2017 Xiph.Org Foundation

theonlycure commented 5 years ago

OK rebuilt from git. opusenc opus-tools 0.1.10 (using libopus 1.3-rc-22-g4a643d98) Back to do some encodes

theonlycure commented 5 years ago

Seems to have fixes my issues. Off topic but the encodes seem to sound better, old and new ones alike. Great Job.

mark4o commented 5 years ago

It appears that this issue was resolved when rebuilding with the latest version, so I will go ahead and close this. Please re-open if you feel there is still an issue in opusenc. Thanks!