PDA

View Full Version : ffdshow - Vorbis decoding horribly distorted


IvS
9th October 2005, 18:00
Both the tremor library based and libavcodec based Vorbis decoders in ffdshow produce horrible distortion, Tremor especially. I did notice the "low accuracy mode enabled for Tremor", no idea why it's enabled.. Either way, the libavcodec decoder distorts too and it shouldn't.
This dosen't happen with neither VLC nor MPlayer.
I used both 20050930 builds from here (http://www.aziendeassociate.it/cd.asp?dir=/ffdshow).
If you want to check it out for yourself, the beginning of the audio track from ASD's Aphorism for the Masses (ftp://ftp.scene.org/pub/parties/2005/breakpoint05/demo/asd-aphorism_for_the_masses.zip) demo is perfect for that.

IvS
2nd December 2005, 20:24
This problem still persists in recent versions, including Milan's latest build, only now the tremor decoder's quality is even worse! The libavcodec decoder still has very bad distortion as well. I don't understand how this remains unnoticed or ignored.
CoreVorbis decodes just fine, in case you'd like to compare.

MacAddict
3rd December 2005, 05:26
You using DirectSound or WaveOut?

IvS
3rd December 2005, 19:30
That, of course, doesn't matter. You can check it by yourself instead of assuming.

ExtraEye
3rd December 2005, 21:08
yes i noticed it too.

breez
3rd December 2005, 21:23
Libavcodec in Milan's latest (nov 29) works fine. Using Athlon XP.

MacAddict
4th December 2005, 13:29
That, of course, doesn't matter. You can check it by yourself instead of assuming.
What part of my question led you to believe I assumed anything? Toggle between the two and I'll think you will _clearly_ see it does matter. You should hear more of an 'echo effect' on one or the other.

IvS
5th December 2005, 01:00
MacAddict: Hah... I'm really sorry, excuse me. I didn't think there could actually be such a difference. I thought you were maybe thinking about sound card resampling or something.
There is indeed a difference between the two outputs for me as well and with the track from the ASD demo (first post) I get lots of scratching with WaveOut..

breez: It doesn't here on an Athlon 64 3200+ Venice. Not in the official build from Nov 29th and not in the gcc4 build on x264.nl from Dec 1st. Are you sure it's fine? Maybe you're not noticing the distortion. Try the above mentioned track if you haven't. Undistorted, the beginning should sound much smoother. Also, try WaveOut as well.

MacAddict
5th December 2005, 02:00
IvS, it's no problem :-) I noticed the scratching type effect on the track as well. Hopefully this can be addressed soon! I haven't checked the latest GCC build and wont have a chance until the weekend when I arrive home.

breez
5th December 2005, 14:09
breez: It doesn't here on an Athlon 64 3200+ Venice. Not in the official build from Nov 29th and not in the gcc4 build on x264.nl from Dec 1st. Are you sure it's fine? Maybe you're not noticing the distortion. Try the above mentioned track if you haven't. Undistorted, the beginning should sound much smoother. Also, try WaveOut as well.

I already reverted back to celtic's oct 13, but I tried the waveout with it and there's some nasty scratching. Works fine with DSound. Weird problem...

CoRoNe
5th December 2005, 14:33
What splitter are you guys using if I might ask?
The RadLight OGG Splitter together with tremor (ffdshow) works fine overhere :s

breez
5th December 2005, 14:43
What splitter are you guys using if I might ask?
The RadLight OGG Splitter together with tremor (ffdshow) works fine overhere :s

MPC internal splitter.

CoRoNe
5th December 2005, 15:47
I tried this OGG file as posted by TS with FFDShow and CoreVorbis, and I can hear some differences too, but nothing special. At the beginning there's some noise in the background. So yeah, milan_cutka could work a little on the quality of "tremor" in the FFDShow Audio Decoder. And perhaps could fix the "Current input bitrate: 0 kbps"-thing. (It's always 0 :s)

IvS
5th December 2005, 22:32
CoRoNe: It's definitely not "some noise" here with tremor, it's very strong and annoying. And definitely annoying distortion with libavcodec as well. Either way, annoying or less annoying, there should be no distortion at all, as with CoreVorbis.

Now what's really strange, in addition to the WaveOut compared to DS issue, when using the RadLight Ogg splitter instead of the internal mplayerc splitter, the distortion is reduced for some reason, especially noticeable with libavcodec in ffdshow, but, it cuts a bit from the beginning of the track...

What a mess, I'm confused.

CoRoNe
5th December 2005, 23:00
The cutting thing seems to be a known issue with the RadLight Splitter, I've already mentioned it to them, so let's see what they'll do. But perhaps my hearing isn't what it used to be because I don't hear much big differences.

falcon2000eg
6th December 2005, 10:59
i gust found this

08:23 today ffdshow
Commit by milan_cutka :: ffdshow/src/ffmpeg/libavcodec/vorbis.c:
hack in vorbis decoder

IvS
8th December 2005, 20:04
falcon2000eg: I've checked the latest build on x264.nl from today, nothing changed in regards to this.