Webm video file conversion to wav creating audio distortion

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Rods
New Cone
New Cone
Posts: 5
Joined: 22 Sep 2020 02:57
VLC version: 3.0.12
Operating System: Win Mac

Webm video file conversion to wav creating audio distortion

Postby Rods » 14 Mar 2021 05:07

Webm video files have better audio quality (20kHz) than mp4(15kHz)
So I have been downloading various webm video files and transcoding the audio with VLC Convert/Save feature using the Audio CD setting 44.1khz 2 channel wave encoder.
However I now am noticing that with certain media content (maybe all) I can hear a ringing distortion in the audio!
Note I had been previously converting MP4 to wav with the same process and could not hear this distortion!
Note MP4 audio sample rate is 44.1k and webm uses 48k so was thinking VLC sample rate conversion is causing the problem??
I have tried all setting in the "Audio resampler" preferences makes no difference

https://youtu.be/4nRtK2hyd-s
using the above link I can with other software download a mp4 and a webm file version of the media.
With VLC using the mp4 file the resulting wave audio does not have the ringing distortion
with VLC using the webm file the resulting wave does have the ringing distortion.
If you play either source file with VLC no distortion!
Its particularly noticeable at 1:40 but i can actually hear it from the beginning of the track.
I'm now noticing it with other content if I really concentrate and perform source and result file comparison.

I have actually found another free converter that does not have this issue but I rather use VLC its workflow is nicer and it is quicker.

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Webm video file conversion to wav creating audio distortion

Postby Lotesdelere » 14 Mar 2021 08:54

Try with completly disabling both audio resampling and time-stretching audio features.

Rods
New Cone
New Cone
Posts: 5
Joined: 22 Sep 2020 02:57
VLC version: 3.0.12
Operating System: Win Mac

Re: Webm video file conversion to wav creating audio distortion

Postby Rods » 14 Mar 2021 10:17

Thanks Lotesdelere
disabling both audio resampling and time-stretching audio features results in a 0 size wav file
disabling time-stretching audio feature results the same distortion as before
disabling resampling audio feature results in a 0 size wav file
I am using 32bit version 3.0.12 VLC

Lotesdelere
Cone Master
Cone Master
Posts: 9964
Joined: 08 Sep 2006 04:39
Location: Europe

Re: Webm video file conversion to wav creating audio distortion

Postby Lotesdelere » 15 Mar 2021 14:57

Please open Tools -> Messages (set Verbosity to 2) before you start the conversion, and then paste the full resulting log here or on Pastebin.com if it's too long.

Also upload a short sample of your original source file to Zippyshare.com or to WeTransfer.com and then post the link to the file here.
https://www.zippyshare.com
https://wetransfer.com

If needed cut it with DGsplit and read here about how to do it:
https://forum.videolan.org/viewtopic.ph ... 35#p193335
100 MB max should be enough.

Rods
New Cone
New Cone
Posts: 5
Joined: 22 Sep 2020 02:57
VLC version: 3.0.12
Operating System: Win Mac

Re: Webm video file conversion to wav creating audio distortion

Postby Rods » 16 Mar 2021 02:02

Thanks Lotesdelere I have sorted it!
Ok the best setting for VLC resampler is Speex with setting of 10 it takes a long time but worth it.
I gave up on listening tests and found a nice 48K frequency sweep 10 sec test signal here
https://www.audiocheck.net/audiofrequen ... _sweep.php
then I found a nice Spectrum Anaylser app named Spek!
http://spek.cc/
Refer following results and images
https://youtu.be/vfhAk1qJpY0
You pointed me in the right direction thanks again!


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 53 guests