lordmulder / LameXP

Audio Encoder Front-End
http://lordmulder.github.io/LameXP
Other
184 stars 18 forks source link

Vorbis decoding #59

Closed Envergure closed 6 years ago

Envergure commented 6 years ago

Hello,

This is a feature request. I am trying to convert a collection of drum samples and sound effects that are Vorbis encoded but in a .wav container. I am basically downloading all the audio converters I can find until one works lol. In LameXP, the files fail to convert because the input CODEC is not supported.

An example file that failed to convert is attached. Change the extension back to .wav before opening, because GitHub only allows certain extensions for attachments!

(FYI, VLC says this file is MP3, not Vorbis, but VLC can't play the file so I am assuming Vorbis is correct.)

hit_1

Regards, Chris

lordmulder commented 6 years ago

Hello.

Please download MediaInfo here, then run this command from the Terminal:

MediaInfo.x86-i686.exe --Output=XML "c:\path\to\your\input.wav" > output.xml

Then please send me the resulting "output.xml" file!

Regards, MuldeR

Envergure commented 6 years ago

Here is the XML file. output.xml.txt

Just to add: These audio files all do open and play in Audacity and in FL Studio. They aren't corrupt or anything like that.

lordmulder commented 6 years ago

So, this is really Vorbis stream wrapped in WAV container.

This is very unusual, as the "native" container for Vorbis is Ogg. It is commonly called "Ogg/Vorbis".

What software was used to create this "exotic" file? :question:

I have been able to create such a file with FFmpeg, by adding -c:a libvorbis and -f wav options.

However nothing is able to play this. Neither MPlayer, nor VLC Player, nor MPC-HC :angry:

Also, OggDec, which is the Vorbis decoder used by LameXP, doesn't recognize WAV/Vorbis file either:

>oggdec.exe -w out.wav e:\vorbis.wav

OggDec v1.10.1 (libVorbis 1.3.5) Compiled on: Mar 19 2015
Input e:\vorbis.wav does not appear to be an Ogg bitstream.
********** Done decoding all input files. **********

Not even FFmpeg will read the file that it created itself:

>ffmpeg.exe -i e:\vorbis.wav e:\out.wav

ffmpeg version N-85469-gf1d80bc Copyright (c) 2000-2017 the FFmpeg developers
Press [q] to stop, [?] for help
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.peed=0.0328x
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
[vorbis @ 00000000046a5f80] Not a Vorbis I audio packet.
Error while decoding stream #0:0: Invalid data found when processing input
... and so on ...

Looks like a lost case to me... :weary:

Regards, MuldeR