mIRC Homepage
Posted By: TheArkive OGG Support - 26/03/07 12:09 AM
I've seen references that state mIRC can play OGG with /splay command. Is this correct? I have yet to get it to work. I can play MP3s and WAVs, but not OGGs.

I have tried OGGs with Vorbis tags, ID3v2 tags, and no tags... still nothing.
Posted By: RusselB Re: OGG Support - 26/03/07 12:38 AM
The only reference that I was able to find in the help file, didn't apply to playing OGG's, but rather allowing OGG's as an option for the $sound identifier
Quote:
$sound(type)

Returns the directory specified in the Sound Requests section of the Options dialog, where type can be wave, midi, mp3, wma, or ogg.



To my knowledge, the /splay command only works with wav, mid, and mp3 files (make sure you're using the correct switch to match the type of file)
Posted By: TheArkive Re: OGG Support - 26/03/07 12:43 AM
I'll quote a few references I've found that seem to be part of the changelog. Unfortunately, the lastest version of mIRC does not include the full change log, but I've found a few places that at least go back to v6.0.

As of mIRC v6.0:

Quote:
80.Added WMA/OGG support to sounds dialog, /splay and /sound
commands, and added new identifiers.

$sound(filename|type)
Returns information about the specified file if a filename
was specified, or the associated folder for a filename or
file type, where type can be wave, midi, mp3, wma, ogg.

When used with an mp3 files it supports the same properties
as $mp3().

Note: this replaces $wavedir, $mididir, $mp3dir, and $mp3().
These are still supported for now but no longer documented.

$insong
Returns information about the mp3, wma, or ogg file that
is being played, same properties as $inmp3.

Note: this replaces $inmp3, which is still supported for
now but no longer documented.


Do you recall such an entry in the change log by any chance?
Posted By: RoCk Re: OGG Support - 26/03/07 12:46 AM
Quote:
I'll quote a few references I've found that seem to be part of the changelog. Unfortunately, the lastest version of mIRC does not include the full change log,
but I've found a few places that at least go back to v6.0.


http://www.mirc.co.uk/versions.txt
Posted By: TheArkive Re: OGG Support - 26/03/07 12:48 AM
Yep, oddly enough, it is listed there as well, and I found a reference on mIRC.com

http://www.mirc.com/faq.html

Says "Added WMA/OGG support..."

cry

Are there any known issues with the OGG support feature?
Posted By: RoCk Re: OGG Support - 26/03/07 12:53 AM
I really couldn't say but I do notice that there is no switch
for OGG or WMA, I see switches for MP3 WAV MID only.

Also there are no events for OGG and WMA like the other three.
Posted By: TheArkive Re: OGG Support - 26/03/07 12:55 AM
Yah I know cry

Poopy...

Man I hope this is a quick fix.
Posted By: RoCk Re: OGG Support - 26/03/07 12:57 AM
Maybe they just fall under the MP3 category. Did you
get any kind of errors or anything when you tried it?
Posted By: TheArkive Re: OGG Support - 26/03/07 01:06 AM
Yes I did:

* /splay: unable to play 'test.ogg'

I have test.ogg in the mIRC dir for simplicity sake. I've even put some other test files (WAV and MP3) on C:\ just to try and be more thurough with using a full path. WAVs and MP3s play just fine. I also tried using all the switches for all the file types listed in the help file. All attempts gave me the same error message.

BTW, the WAVs and MP3s played fine without the switches to specify.
Posted By: starbucks_mafia Re: OGG Support - 26/03/07 01:20 AM
mIRC uses Windows Media Player to play audio files with /splay and retrieve information about them with $sound(). So mIRC does support OGG files but you need the relevant OGG codecs for WMP for it to work.

Because WMP auto-identifies the file type /splay's switches are no longer relevant. AFAIK they're just a throwback to when mIRC used internal routines for audio playback, which is why there's no switch for OGG files.
Posted By: TheArkive Re: OGG Support - 26/03/07 01:51 AM
Thankyou VERY VERY much... that clears up a lot of misunderstanding for me grin
© mIRC Discussion Forums