2007-11-11, 03:23 | Link #1 | |
Panda bear extraordinaire
|
Difficulties with audio? (Game files)
This isn't an issue with a fansub per se, but I am having difficulty playing .wav files I've ripped from the Crisis Core game from the psp. All of the files are naturally in .wav format, but here's the error I came up with when I attempted to use Media Player Classic to play one of the files:
Quote:
I wonder how much of that is garbage? Guwah! I hope that information is relevant to the cause. Anywho, I do recall that when I first attempted to play the movies that I had a codec issue.... Anyway, can anyone come up with a solution for this? Because that would seriously rock my socks all over the place. |
|
2007-11-11, 04:59 | Link #2 | |
Panda bear extraordinaire
|
Ack, double-postage. Forgot to add one detail, though - I'll also receive this error trying to play different .wav files from the same game:
Quote:
|
|
2007-11-11, 17:58 | Link #3 | |
Aria feels good....
Join Date: Jun 2007
Location: In my cube (it looked kinda rectangular though, he says)...
Age: 35
|
Quote:
well, there's a couple of possible diagnosys: 1) You might have a codec problem (Audio: RealAudio ATRC 44100Hz stereo 66Kbps), try searching for that audio type 2) Your rip was unsuccessful, there's not much I can suggest here... Grab a microphone and record it I guess xD 3) One possible solution: convert to either another type of audio or file PS: edit your post instead of double posting
__________________
|
|
2007-11-11, 19:11 | Link #4 |
Panda bear extraordinaire
|
Eheh. Oops. Call it a noobie's mistake. ^^ Profuse apologies!
Anywho, I think I understand what you're saying in point #1... Honestly, I thought that might be the problem as well. I'll try to locate a codec with that description. ^^ Thank you for the help! |
2007-11-12, 07:28 | Link #5 |
Banned
|
If I'm not mistaken, that type of audio file has the "new" lossless audio compression that Sony uses (ATRAC3). It belongs to RealNetworks.
This might help: http://multimedia.cx/eggs/atrac3-decoder/ |
2007-11-16, 01:02 | Link #6 | |
Panda bear extraordinaire
|
Quote:
Can anyone give me a layman's definition of "WAVE_FORMAT_EXTENSIBLE" and how I can play it or at least convert it into something usable? That would rock socks. I tried doing a Google search on my own (hey, I don't expect to be spoon-fed!), but I wasn't able to wade past the technical jargon. |
|
2007-11-16, 09:01 | Link #7 |
Banned
|
lol
My bad, I forgot to answer the first one. As far as I know, Wave Format Extensible is the more commonly called Ogg Vorbis format. If I'm not mistaken, the regular Ogg Vorbis codec should do. Try this: http://www.vorbis.com/setup_windows/ |
2007-11-16, 23:56 | Link #8 | ||
Panda bear extraordinaire
|
Quote:
Quote:
|
||
2007-11-17, 09:17 | Link #9 |
Banned
|
Haha lovely.
I went along with Ogg since the Audio information and the tag (0xfffe) corresponded to it. I'm not too knowledgeable when it comes to audio problems, unfortunately. Anyhow, I searched and, as you said, saw similar problems. Even though it doesn't make much sense to me why it'd make it work, you can try installing AC3 and AAC codecs. You've got nothing to lose, since it'll only increase the amount of audio files you can play, so it's the worth the try. |
2007-11-17, 15:16 | Link #10 | |
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
WAVE_FORMAT_EXTENSIBLE is just a header in an AVI or WAV file that tells the parser that the audio isn't stored in any of the predefined formats (like for example uncompressed 16-bits-per-sample PCM (WAVE_FORMAT_PCM) or 8-bit ITU-T G.711 A-law (WAVE_FORMAT_ALAW)) but instead is compressed with some kind of codec; which codec exactly is stored somewhere else (namely in the SubFormat (also known as wFormatTag) header). In this case it's set to 0xFFFE which is just a shorthand for WAVE_FORMAT_EXTENSIBLE and hence meaningless (= not a registered format). The most complete list of SubFormat's I've been able to find is ffmpeg's. From libavformat/riff.h: Code:
const AVCodecTag codec_wav_tags[] = { { CODEC_ID_MP2, 0x50 }, { CODEC_ID_MP3, 0x55 }, { CODEC_ID_AC3, 0x2000 }, { CODEC_ID_DTS, 0x2001 }, { CODEC_ID_PCM_S16LE, 0x01 }, { CODEC_ID_PCM_U8, 0x01 }, /* must come after s16le in this list */ { CODEC_ID_PCM_S24LE, 0x01 }, { CODEC_ID_PCM_S32LE, 0x01 }, { CODEC_ID_PCM_ALAW, 0x06 }, { CODEC_ID_PCM_MULAW, 0x07 }, { CODEC_ID_ADPCM_MS, 0x02 }, { CODEC_ID_ADPCM_IMA_WAV, 0x11 }, { CODEC_ID_ADPCM_YAMAHA, 0x20 }, { CODEC_ID_ADPCM_G726, 0x45 }, { CODEC_ID_ADPCM_IMA_DK4, 0x61 }, /* rogue format number */ { CODEC_ID_ADPCM_IMA_DK3, 0x62 }, /* rogue format number */ { CODEC_ID_WMAV1, 0x160 }, { CODEC_ID_WMAV2, 0x161 }, { CODEC_ID_AAC, 0x706d }, { CODEC_ID_AAC, 0xff }, { CODEC_ID_VORBIS, ('V'<<8)+'o' }, //HACK/FIXME, does vorbis in WAV/AVI have an (in)official id? { CODEC_ID_SONIC, 0x2048 }, { CODEC_ID_SONIC_LS, 0x2048 }, { CODEC_ID_ADPCM_CT, 0x200 }, { CODEC_ID_ADPCM_SWF, ('S'<<8)+'F' }, { CODEC_ID_TRUESPEECH, 0x22 }, { CODEC_ID_FLAC, 0xF1AC }, { CODEC_ID_IMC, 0x401 }, { CODEC_ID_GSM_MS, 0x31 }, { CODEC_ID_ATRAC3, 0x270 }, { CODEC_ID_VOXWARE, 0x75 }, /* FIXME: All of the IDs below are not 16 bit and thus illegal. */ // for NuppelVideo (nuv.c) { CODEC_ID_PCM_S16LE, MKTAG('R', 'A', 'W', 'A') }, { CODEC_ID_MP3, MKTAG('L', 'A', 'M', 'E') }, { CODEC_ID_MP3, MKTAG('M', 'P', '3', ' ') }, { 0, 0 }, }; Anyway the point is kinda moot, you can't really store Vorbis in WAV and it doesn't have a real wFormatTag. Hence it's definitely not Vorbis. It's most likely another ATRAC3 file but in another container than WAV. Try poking at it in a hex editor or something and see if you see something suspicious that could indicate what it really is. Or rename it to .at3 and see if you can play it in something that plays ATRAC3+ files. Edit: there's also the official Microsoft list from mmreg.h in the platform SDK: Code:
/* WAVE form wFormatTag IDs */ #define WAVE_FORMAT_UNKNOWN 0x0000 /* Microsoft Corporation */ #define WAVE_FORMAT_ADPCM 0x0002 /* Microsoft Corporation */ #define WAVE_FORMAT_IEEE_FLOAT 0x0003 /* Microsoft Corporation */ /* IEEE754: range (+1, -1] */ /* 32-bit/64-bit format as defined by */ /* MSVC++ float/double type */ #define WAVE_FORMAT_IBM_CVSD 0x0005 /* IBM Corporation */ #define WAVE_FORMAT_ALAW 0x0006 /* Microsoft Corporation */ #define WAVE_FORMAT_MULAW 0x0007 /* Microsoft Corporation */ #define WAVE_FORMAT_OKI_ADPCM 0x0010 /* OKI */ #define WAVE_FORMAT_DVI_ADPCM 0x0011 /* Intel Corporation */ #define WAVE_FORMAT_IMA_ADPCM (WAVE_FORMAT_DVI_ADPCM) /* Intel Corporation */ #define WAVE_FORMAT_MEDIASPACE_ADPCM 0x0012 /* Videologic */ #define WAVE_FORMAT_SIERRA_ADPCM 0x0013 /* Sierra Semiconductor Corp */ #define WAVE_FORMAT_G723_ADPCM 0x0014 /* Antex Electronics Corporation */ #define WAVE_FORMAT_DIGISTD 0x0015 /* DSP Solutions, Inc. */ #define WAVE_FORMAT_DIGIFIX 0x0016 /* DSP Solutions, Inc. */ #define WAVE_FORMAT_DIALOGIC_OKI_ADPCM 0x0017 /* Dialogic Corporation */ #define WAVE_FORMAT_MEDIAVISION_ADPCM 0x0018 /* Media Vision, Inc. */ #define WAVE_FORMAT_YAMAHA_ADPCM 0x0020 /* Yamaha Corporation of America */ #define WAVE_FORMAT_SONARC 0x0021 /* Speech Compression */ #define WAVE_FORMAT_DSPGROUP_TRUESPEECH 0x0022 /* DSP Group, Inc */ #define WAVE_FORMAT_ECHOSC1 0x0023 /* Echo Speech Corporation */ #define WAVE_FORMAT_AUDIOFILE_AF36 0x0024 /* */ #define WAVE_FORMAT_APTX 0x0025 /* Audio Processing Technology */ #define WAVE_FORMAT_AUDIOFILE_AF10 0x0026 /* */ #define WAVE_FORMAT_DOLBY_AC2 0x0030 /* Dolby Laboratories */ #define WAVE_FORMAT_GSM610 0x0031 /* Microsoft Corporation */ #define WAVE_FORMAT_MSNAUDIO 0x0032 /* Microsoft Corporation */ #define WAVE_FORMAT_ANTEX_ADPCME 0x0033 /* Antex Electronics Corporation */ #define WAVE_FORMAT_CONTROL_RES_VQLPC 0x0034 /* Control Resources Limited */ #define WAVE_FORMAT_DIGIREAL 0x0035 /* DSP Solutions, Inc. */ #define WAVE_FORMAT_DIGIADPCM 0x0036 /* DSP Solutions, Inc. */ #define WAVE_FORMAT_CONTROL_RES_CR10 0x0037 /* Control Resources Limited */ #define WAVE_FORMAT_NMS_VBXADPCM 0x0038 /* Natural MicroSystems */ #define WAVE_FORMAT_CS_IMAADPCM 0x0039 /* Crystal Semiconductor IMA ADPCM */ #define WAVE_FORMAT_ECHOSC3 0x003A /* Echo Speech Corporation */ #define WAVE_FORMAT_ROCKWELL_ADPCM 0x003B /* Rockwell International */ #define WAVE_FORMAT_ROCKWELL_DIGITALK 0x003C /* Rockwell International */ #define WAVE_FORMAT_XEBEC 0x003D /* Xebec Multimedia Solutions Limited */ #define WAVE_FORMAT_G721_ADPCM 0x0040 /* Antex Electronics Corporation */ #define WAVE_FORMAT_G728_CELP 0x0041 /* Antex Electronics Corporation */ #define WAVE_FORMAT_MPEG 0x0050 /* Microsoft Corporation */ #define WAVE_FORMAT_MPEGLAYER3 0x0055 /* ISO/MPEG Layer3 Format Tag */ #define WAVE_FORMAT_CIRRUS 0x0060 /* Cirrus Logic */ #define WAVE_FORMAT_ESPCM 0x0061 /* ESS Technology */ #define WAVE_FORMAT_VOXWARE 0x0062 /* Voxware Inc */ #define WAVEFORMAT_CANOPUS_ATRAC 0x0063 /* Canopus, co., Ltd. */ #define WAVE_FORMAT_G726_ADPCM 0x0064 /* APICOM */ #define WAVE_FORMAT_G722_ADPCM 0x0065 /* APICOM */ #define WAVE_FORMAT_DSAT 0x0066 /* Microsoft Corporation */ #define WAVE_FORMAT_DSAT_DISPLAY 0x0067 /* Microsoft Corporation */ #define WAVE_FORMAT_SOFTSOUND 0x0080 /* Softsound, Ltd. */ #define WAVE_FORMAT_RHETOREX_ADPCM 0x0100 /* Rhetorex Inc */ #define WAVE_FORMAT_CREATIVE_ADPCM 0x0200 /* Creative Labs, Inc */ #define WAVE_FORMAT_CREATIVE_FASTSPEECH8 0x0202 /* Creative Labs, Inc */ #define WAVE_FORMAT_CREATIVE_FASTSPEECH10 0x0203 /* Creative Labs, Inc */ #define WAVE_FORMAT_QUARTERDECK 0x0220 /* Quarterdeck Corporation */ #define WAVE_FORMAT_FM_TOWNS_SND 0x0300 /* Fujitsu Corp. */ #define WAVE_FORMAT_BTV_DIGITAL 0x0400 /* Brooktree Corporation */ #define WAVE_FORMAT_OLIGSM 0x1000 /* Ing C. Olivetti & C., S.p.A. */ #define WAVE_FORMAT_OLIADPCM 0x1001 /* Ing C. Olivetti & C., S.p.A. */ #define WAVE_FORMAT_OLICELP 0x1002 /* Ing C. Olivetti & C., S.p.A. */ #define WAVE_FORMAT_OLISBC 0x1003 /* Ing C. Olivetti & C., S.p.A. */ #define WAVE_FORMAT_OLIOPR 0x1004 /* Ing C. Olivetti & C., S.p.A. */ #define WAVE_FORMAT_LH_CODEC 0x1100 /* Lernout & Hauspie */ #define WAVE_FORMAT_NORRIS 0x1400 /* Norris Communications, Inc. */ // // the WAVE_FORMAT_DEVELOPMENT format tag can be used during the // development phase of a new wave format. Before shipping, you MUST // acquire an official format tag from Microsoft. // #define WAVE_FORMAT_DEVELOPMENT (0xFFFF)
__________________
|
|
2007-11-17, 17:20 | Link #11 | ||||
Aria feels good....
Join Date: Jun 2007
Location: In my cube (it looked kinda rectangular though, he says)...
Age: 35
|
As you read, he said
Quote:
Quote:
I shall link you here to broaden your knowledge of that format. And on a side note. It's not a header, it's a part of the header. Just look at the code you linked, analyse get_wav_header function and you'll understand (or not) what I'm talking about. Quote:
Quote:
Official list my ass, that's an header file. (sigh, youngsters these days)... this has it in a more informative way and it might help.
__________________
|
||||
2007-11-17, 18:40 | Link #12 | ||||
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
If you wanted to be really anal about it and not actually trying to get people to understand what the christ you're talking about you should say that WAVEFORMATEXTENSIBLE is really a complex data structure in the RIFF header of an AVI or WAV file and blah blah blah. I don't see the point though? Quote:
Quote:
Quote:
Your link is pretty convenient though, I didn't find anything like it earlier.
__________________
|
||||
2007-11-17, 18:54 | Link #13 | |||
Aria feels good....
Join Date: Jun 2007
Location: In my cube (it looked kinda rectangular though, he says)...
Age: 35
|
Quote:
Quote:
Quote:
__________________
Last edited by Caldron; 2007-11-17 at 19:04. |
|||
2007-11-17, 19:04 | Link #14 | ||
Banned
|
Oh, so it's Anal Day today and I haven't been informed?
Quote:
I know how to post lines of code, as well, though, wouldn't trying to figure out the problem be slightly more useful? I know logic hurts. And, what do you know? I actually figured out one of them with my blatant misinformation instead of ranting. Quote:
On a side-note: Try poking at it in a hex editor or something and see if you see something suspicious that could indicate what it really is. <--- Best solution you could ever give, really (and that's sarcasm...I think). Sorry about the derailing in the topic, TC. It was well-needed. |
||
2007-11-17, 19:09 | Link #15 | |
Aria feels good....
Join Date: Jun 2007
Location: In my cube (it looked kinda rectangular though, he says)...
Age: 35
|
Quote:
For informative uses, #define is a macro for coders to use the tag, so the compiler replaces it with whatever comes next in all places in the code. So it makes it easier to code, while also making the code readable for both coder and analyser.
__________________
|
|
2007-11-17, 20:42 | Link #16 | |||
Excessively jovial fellow
Join Date: Dec 2005
Location: ISDB-T
Age: 37
|
Quote:
lookit at that there backpedaling What part of "A list of registered format tags appears in public header file mmreg.h" is hard to understand? In case you missed it, said mmreg.h is a part of the Microsoft platform SDK. The list of #defines IS THE LIST OF ALL OFFICIALLY REGISTERED FORMATS. Microsoft owns the AVI format, they make the rules, and their OFFIFICAL FUCKING DOCUMENTATION POINTS TO SAID HEADER FILE IN A PUBLIC PART OF THEIR OWN CODE BASE. Are you illiterate or something? Not that it matters since you don't need to register formats with Microsoft anymore, but it's still the official list of all registered formats. The other more complete list in ksmedia.h is much harder to read so I didn't bother including it. Quote:
Quote:
It's the only attempt at a valid attempt to solve the problem I've seen so far. I tried searching for the CLSID's (both in my own registry and on the internet) but I couldn't find anything interesting (except a 2004 post on some PSP blog that seemed to indicate it was indeed ATRAC) so it's not like we have any other interesting information to base further speculations on. If you have any other ideas feel free to contribute them but I'd say the best plan would be for the OP to just upload a sample file somewhere for the general public to poke at.
__________________
|
|||
2007-11-17, 20:53 | Link #17 | |||
Banned
|
Quote:
Also, only part of it was wrong and it wouldn't screw up anything in TC's PC, hence why I posted. The time used to try out what I said was the time it took you to get here. Again, you make no sense whatsoever. Quote:
Quote:
I see you doing nothing but bitching in this topic. Grow up. You're being pathetic ever since you got here. |
|||
2007-11-18, 13:16 | Link #18 |
Weapon of Mass Discussion
Fansubber
Join Date: Feb 2003
Location: New York, USA
|
Isn't it nice when a simple discussion of a technical problem can devolve into name calling and cursing. Spankings have been handed out and hopefully people can try to actually solve the problem instead of fighting. All three of you are behaving like toddlers.
In hopes of cutting through the clutter, I should note that TheFluff is one of the best informed and capable encoders on our forum. If he says something is true, then you should sit up and start taking notes. He's not a god, but he is much more likely to be correct about related problems than most people.
__________________
|
2007-11-19, 22:20 | Link #19 | |
King of Hosers
Join Date: Dec 2005
Age: 41
|
Quote:
People with an urge to help soooo much...but unfortunately have no real knowledge to help the person . If you really want to help someone, make sure you actually know what you are talking about beforehand. That way you can actually help them. Instead of ignorantly believing your goodwill and sheer determination will somehow mystically be able to solve the problem. You are no good to somehow mildly commenting on what you might/maybe/think would be right, and you are as likely to help them as you are to randomly cause more trouble because you don't know what you are talking about. |
|
2007-11-21, 21:55 | Link #20 |
Panda bear extraordinaire
|
Hopefully this will help solve the problem somewhat.
http://download.yousendit.com/8CEC46B35B314435 I'm just going into this blind - should anyone get the file to work, I apologize in advance if it should end up being something... uh, weird. Like static, or random jabber. Or something. Alternatively, I think I might be able to solve the problem myself, since TheFluff also provided that header list. Tried poking at the file with a Hex editor; garbage. Bleh. How can I look at the header information? Last edited by rebmastu; 2007-11-22 at 20:50. Reason: forgot to point out my own incompetency T_T |
Thread Tools | |
|
|