mIRC Home    About    Download    Register    News    Help

Print Thread
#236849 28/03/12 10:26 AM
Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
Everything is absolutely fine with playing WAV files... but MP3s? Nope. mIRC freezes instantly.

I haven't, as far as I remember, had this issue before, and it seems other people can't reproduce this either... so I'm not exactly sure if this is a bug or not. I just really wish to solve this...

This:
Code:
//echo -a $version $os $md5($mircexe,2) $file($mircexe).sig $dll(0) $script(0)

returns:
Code:
7.22 7 912dfaee60f144853a33231688312686 ok 0 16


http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Give information about the mp3:

Code:
$sound(filename)

Returns either the directory for that file type, as above, or information about the sound file. Currently, only mp3 files are supported with the following properties.

Properties: album, title, artist, year, comment, genre, track, length, version, bitrate, vbr, sample, mode, copyright, private, crc, .id3, .tag, .tags.


List as much of the properties of the file as you can.

Also, have you tried this in a clean copy of the public beta? I see you have 16 scripts loaded, which might be related (but might not).


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
I've tried it in a clean copy of the current version too. I haven't tried the beta, will definately try this out.

I've written a little script to give as much information about the file, as you said.

the script (for those who care):

Code:
alias mp3test {
    var %f $scriptdirmusic.mp3
    var %s album title artist year comment genre track length version bitrate vbr sample mode copyright private crc id3 tag tags
    var %c 1
    while (%c <= $numtok(%s, 32)) {
        echo -s $gettok(%s, %c, 32) - $sound(%f). [ $+ [ $gettok(%s, %c, 32) ] ]
        inc %c
    }
}


the output:

Code:
album -
title -
artist -
year -
comment -
genre -
track - -1
length - 106004
version - MPEG 1.0 Layer 3
bitrate - 192
vbr - $false
sample - 44100
mode - Joint Stereo
copyright - $false
private - $false
crc - $false
id3 -
tag - 0
tags -



http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Does this happen with all MP3s, or only some? Can you play the MP3s in Windows Media Player?


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
I can play the MP3s fine with foobar2k...
let's check if they work with windows media player... yep...
The exact file that makes mIRC freeze works fine in windows media player.

Time to try out the beta.

EDIT: mIRC still freezes if I try to play a MP3 with the 7.23 beta.

Last edited by Knoeki; 29/03/12 12:08 PM.

http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Dec 2002
Posts: 5,431
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,431
mIRC plays MP3 files through the Windows API, so it depends on Windows to play the file. The most common reason for this type of issue is that there is something wrong with the Windows Media Player installation. You mention that the MP3s play fine through foobar2k - is it possible that foobar2k is the cause of the issue? If you shut down as many applications (including anti-virus software) as you can and then try to play the MP3 again through mIRC, does that make a difference? Be sure to test this in a clean install of mIRC by running the mIRC installer and choosing the "portable" install option.

Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
Originally Posted By: Khaled
mIRC plays MP3 files through the Windows API, so it depends on Windows to play the file. The most common reason for this type of issue is that there is something wrong with the Windows Media Player installation.


Not sure what could be wrong exactly; I have tried to play the file in WMP, and it worked fine.

Quote:
You mention that the MP3s play fine through foobar2k - is it possible that foobar2k is the cause of the issue?


I have my doubts; I've used foobar2000 as my music player for years, and it has not caused this issue in the past.

Quote:
If you shut down as many applications (including anti-virus software) as you can and then try to play the MP3 again through mIRC, does that make a difference?


I suppose I can give that a try. I'm running Microsoft Security Essentials as my virusscanner, which also doesn't produce this issue on my main PC, as far as I know.

Quote:
Be sure to test this in a clean install of mIRC by running the mIRC installer and choosing the "portable" install option.


I already have both the current and the beta installed clean, as portable, so far, both of them have reproduced the same issue.


I'll give it a shot to play the MP3 again after a clean reboot.


EDIT: Just tried it again after rebooting, virusscan off and no programs running (apart from the usual system and driver related services), but the problem persists.

Very very strange.

Last edited by Knoeki; 29/03/12 10:14 PM.

http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
Just tried it again after rebooting, virusscan off and no programs running (apart from the usual system and driver related services), but the problem persists.

Very very strange.


http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Is this still one file or multiple files? I've had some issues with MP3s that have corrupted ID3 tags before, though it never caused mIRC to freeze.


Invision Support
#Invision on irc.irchighway.net
Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
I've tried multiple files. The end result is always the same.

Kind of a strange issue.


http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
If this is happening for multiple files, your Windows install is corrupt somehow. Try reinstalling windows media player and/or your sound card drivers.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2002
Posts: 5,431
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,431
If you test this with mIRC v6.35, available through the mIRC download page, do you see the same issue?

Joined: Jan 2009
Posts: 116
Knoeki Offline OP
Vogon poet
OP Offline
Vogon poet
Joined: Jan 2009
Posts: 116
I've just tried it with 6.35. Still the same crash.

I will try re-installing audio drivers and WMP and test again.


http://zowb.net

/server -m irc.p2p-network.net -j #zomgwtfbbq
(ssl on port 6697 and 7000)

Link Copied to Clipboard