Page 1 of 1

no mp3 playable under windows and linux ?

Posted: Sat Jun 16, 2012 10:56 pm
by stefff285
hello andreas hello all

here is what i did to play a simple mp3 music

so
@SCREEN {Mode ="ask", depth=16}
@DISPLAY {title = "yogib33r delights / vitalmotion 2012 'control+c to quit'", Width = 800, Height = 600}
openmusic (1, "HappyQuest.mp3")
playmusic(1)
waitleftmouse()
as on windows as on linux openmusic is not recognize even
if i put the mp3 AND the codec (***.hws) next to the exe

i simply get mad and do not know how to make it work

pleaz help me

regards

steff

Re: no mp3 playable under windows and linux ?

Posted: Sun Jun 17, 2012 11:50 pm
by Clyde
You have to use the .hwp file, not hws.

Re: no mp3 playable under windows and linux ?

Posted: Mon Jun 18, 2012 10:59 am
by stefff285
hello clyde !

thanx a lot, i didn't found any in amigaguide
so yesssss i go to use it as this right now

regards

steff

Re: no mp3 playable under windows and linux ?

Posted: Tue Jun 19, 2012 10:48 pm
by stefff285
hello all hello andreas

humm sorry but mp3 doesn't work from my peg1 to pc

of course i did put the mp3 and the codec.hwp with

so then error on line 4 about openmusic with unknown format

pleaz help me

regards

Re: no mp3 playable under windows and linux ?

Posted: Wed Jun 20, 2012 12:01 am
by airsoftsoftwair
It must work. Upload the executable along with the source script somewhere and I'll check what's wrong there.

Re: no mp3 playable under windows and linux ?

Posted: Wed Jun 20, 2012 11:36 am
by stefff285
hello my dear andreas !

thanx a lot, sorry being so noob

then i do make you a mp

regards and thanx yet

steffan

Re: no mp3 playable under windows and linux ?

Posted: Wed Jun 20, 2012 5:24 pm
by airsoftsoftwair
Works here. Really no clue why it doesn't work for you. What Windows are you on?

Re: no mp3 playable under windows and linux ?

Posted: Wed Jun 20, 2012 9:42 pm
by stefff285
hello my dear andreas

i did test it under linux 64 opensuse 12.1 and it failed

i go tring the same under win vista 64 and go back to you

regards

ps: instead of openmusic if i write in code @MUSIC make the
mp3 being compiled in the exe yes ? regards to you

Re: no mp3 playable under windows and linux ?

Posted: Wed Jun 20, 2012 9:49 pm
by stefff285
okok !

pleaz accept a LOTTTTTTTTTTTTTTTTTTTT of apologies

for linux i do not know but on windows it works fine
even if it tells me that "avcodec.hwp isn't a executable"

so then it works !

cool

so many apologies to you, i go code something right now

regards

steff