Re: [swfmill] mp3 import bug

2008-04-20 Thread Rostislav Hristov
>  I've improved the error messages for mp3s with a wrong sampling rate in
>  the svn version.

Great! I hope someone will find it useful.


Cheers,
Rostislav



>  > I happen to know that the Flash player itself won't handle MP3s (loaded
>  > with sound.loadSound, not via the IDE) that are not 11,025, 22,050, or
>  > 44,100 khz. It plays them either too fast or too slow... sort of
>  > interesting, really.
>  >
>  > -alex
>
>
>
>
> ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-20 Thread Ralf Fuest
Doesn't MP3 only support 32kHz, 44.1kHz and 48kHz sampling rates?
The only common sampling rate between mp3 and flash seems to be 44.1kHz.

@Rostislav:
I've improved the error messages for mp3s with a wrong sampling rate in
the svn version.

Ralf

> I happen to know that the Flash player itself won't handle MP3s (loaded 
> with sound.loadSound, not via the IDE) that are not 11,025, 22,050, or 
> 44,100 khz. It plays them either too fast or too slow... sort of 
> interesting, really.
> 
> -alex


___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-20 Thread Alex H
I happen to know that the Flash player itself won't handle MP3s (loaded 
with sound.loadSound, not via the IDE) that are not 11,025, 22,050, or 
44,100 khz. It plays them either too fast or too slow... sort of 
interesting, really.

-alex

Rostislav Hristov wrote:
> Thanks for the info Ralf. Sounds reasonable.
>
> 44KHz is good enough for me and I haven't tried how the 48KHz one will
> sound in the Flash Player.
>
> Probably a more descriptive error message will be helpful.
>
>
> Thanks again,
> Rostislav
>
>   
>

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-20 Thread Rostislav Hristov
Thanks for the info Ralf. Sounds reasonable.

44KHz is good enough for me and I haven't tried how the 48KHz one will
sound in the Flash Player.

Probably a more descriptive error message will be helpful.


Thanks again,
Rostislav



On Sun, Apr 20, 2008 at 3:27 PM, Ralf Fuest <[EMAIL PROTECTED]> wrote:
> It's not a bug, it's a feature. Flash doesn't seem to support mp3 files
>  with more than 48 kHz sampling rate. I'm not sure how the flashplayer
>  handles mp3 sounds with a wrong sampling rate, perhaps there will be a
>  change in pitch.
>
>  Ralf
>
>
>  > The problematic mp3 is actually 48KHz and the ones that work are 44KHz.
>  >
>  > I changed the frequency and now it works well, but it seems that the
>  > recent changes has introduced a bug with 48KHz files.
>  >
>  >
>  >
>  > Best,
>  > Rostislav
>
>
>
>
>
> ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-20 Thread Ralf Fuest
It's not a bug, it's a feature. Flash doesn't seem to support mp3 files
with more than 48 kHz sampling rate. I'm not sure how the flashplayer
handles mp3 sounds with a wrong sampling rate, perhaps there will be a
change in pitch.

Ralf

> The problematic mp3 is actually 48KHz and the ones that work are 44KHz.
> 
> I changed the frequency and now it works well, but it seems that the
> recent changes has introduced a bug with 48KHz files.
> 
> 
> 
> Best,
> Rostislav



___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-20 Thread Rostislav Hristov
The problematic mp3 is actually 48KHz and the ones that work are 44KHz.

I changed the frequency and now it works well, but it seems that the
recent changes has introduced a bug with 48KHz files.



Best,
Rostislav



On Sat, Apr 19, 2008 at 11:49 PM, Rostislav Hristov
<[EMAIL PROTECTED]> wrote:
> Hey guys,
>
>  it's me again. I found an issue that I can reproduce only with
>  0.2.12.6 but not with 0.2.12 or 0.2.12.4.
>
>  I get the following message:
>
>  WARNING: this file is not a valid MP3 1-7-d-1-Voice.mp3
>  xmlXPathCompiledEval: evaluation failed
>  runtime error: element apply-templates
>  Failed to evaluate the 'select' expression.
>
>
>  I have uploaded the test case at http://www.asual.com/swfmill-mp3.zip
>  The archive includes one mp3 that works fine and one that fails.
>
>
>  Best,
>  Rostislav
>
>
>
>
>
>
>
>  On Fri, Apr 11, 2008 at 3:27 PM, Daniel Fischer <[EMAIL PROTECTED]> wrote:
>  > quoting "Zárate" <[EMAIL PROTECTED]>:
>  >  > Yes, we *really* need a new release of SWFMill...
>  >  >
>  >  > The version on SVN is a lot more advanced than the current release.
>  >  > There are quite a few of us using swfmill on a daily basis and not all
>  >  > people is capable of compiling from sources. Last time i tried in
>  >  > Ubuntu i couldn't, can't even remember why.
>  >
>  >  for linux distributions, packaging work should go into
>  >  distribution-specific binary packages, not into a binary release on
>  >  swfmill.org. and it really should compile quite easily,
>  >  if it doesnt, please report a bug.
>  >
>  >  -dan
>  >
>  >
>  >
>  >  ___
>  >  swfmill mailing list
>  >  swfmill@osflash.org
>  >  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>  >
>
>
>
>  --
>
>
> Asual - Open software that pushes the limits
>  http://www.asual.com/
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-19 Thread Rostislav Hristov
Hey guys,

it's me again. I found an issue that I can reproduce only with
0.2.12.6 but not with 0.2.12 or 0.2.12.4.

I get the following message:

WARNING: this file is not a valid MP3 1-7-d-1-Voice.mp3
xmlXPathCompiledEval: evaluation failed
runtime error: element apply-templates
Failed to evaluate the 'select' expression.


I have uploaded the test case at http://www.asual.com/swfmill-mp3.zip
The archive includes one mp3 that works fine and one that fails.


Best,
Rostislav





On Fri, Apr 11, 2008 at 3:27 PM, Daniel Fischer <[EMAIL PROTECTED]> wrote:
> quoting "Zárate" <[EMAIL PROTECTED]>:
>  > Yes, we *really* need a new release of SWFMill...
>  >
>  > The version on SVN is a lot more advanced than the current release.
>  > There are quite a few of us using swfmill on a daily basis and not all
>  > people is capable of compiling from sources. Last time i tried in
>  > Ubuntu i couldn't, can't even remember why.
>
>  for linux distributions, packaging work should go into
>  distribution-specific binary packages, not into a binary release on
>  swfmill.org. and it really should compile quite easily,
>  if it doesnt, please report a bug.
>
>  -dan
>
>
>
>  ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-11 Thread Daniel Fischer
quoting "Zárate" <[EMAIL PROTECTED]>:
> Yes, we *really* need a new release of SWFMill...
> 
> The version on SVN is a lot more advanced than the current release.
> There are quite a few of us using swfmill on a daily basis and not all
> people is capable of compiling from sources. Last time i tried in
> Ubuntu i couldn't, can't even remember why.

for linux distributions, packaging work should go into
distribution-specific binary packages, not into a binary release on
swfmill.org. and it really should compile quite easily,
if it doesnt, please report a bug.

-dan

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-11 Thread Mark Winterhalder
Zárate,

if you like, I can send you my binary. Not sure if that would work,
but it might be worth a shot.
It's built on Gentoo for Pentium-M.

Mark




On Fri, Apr 11, 2008 at 9:49 AM, Zárate <[EMAIL PROTECTED]> wrote:
> Yes, we *really* need a new release of SWFMill...
>
>  The version on SVN is a lot more advanced than the current release.
>  There are quite a few of us using swfmill on a daily basis and not all
>  people is capable of compiling from sources. Last time i tried in
>  Ubuntu i couldn't, can't even remember why.
>
>  What about SWFMill 0.4??
>
>
>
>  On Thu, Apr 10, 2008 at 10:15 PM, Rostislav Hristov
>  <[EMAIL PROTECTED]> wrote:
>  > Ralf, thanks a million! This version fixes my problem.
>  >
>  >  Do you know why it's not available on http://swfmill.org/pre/? Does
>  >  Dan know about your builds?
>  >
>  >
>  >  Thanks again!
>  >
>  >  Rostislav
>  >
>  >
>  >
>  >
>  >  On Thu, Apr 10, 2008 at 8:43 PM, Ralf Fuest <[EMAIL PROTECTED]> wrote:
>  >  > The 0.2.12.4 version you tried is to old and doesn't contain the fixed
>  >  >  mp3 support. You can find a newer svn build at:
>  >  >  http://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip
>  >  >
>  >  >  Ralf
>  >  >
>  >  >
>  >  >  > Thank you for your interest guys!
>  >  >  >
>  >  >  > I started preparing the test case and it turned out that all the mp3s
>  >  >  > are lacking about 2-3 seconds from the beginning.
>  >  >  > The audio is a recorded speech and I haven't noticed that the first
>  >  >  > few words are missing. I was able to catch only the one that 
> truncates
>  >  >  > one of the words.
>  >  >  >
>  >  >  > I'm trying it with the 0.2.12 and 0.2.12.4 windows binaries. If
>  >  >  > somebody has the exact stereo/bitrate/crc settings that should work
>  >  >  > please let me know.
>  >  >  >
>  >  >  > The binary way works but I'd better start learning jsfl.
>  >  >  >
>  >  >  >
>  >  >  > Thanks,
>  >  >  > Rostislav
>  >  >
>  >  >
>  >  >
>  >  >
>  >  >
>  >  > ___
>  >  >  swfmill mailing list
>  >  >  swfmill@osflash.org
>  >  >  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>  >  >
>  >
>  >
>  >
>  >
>  > --
>  >  Asual - Open software that pushes the limits
>  >  http://www.asual.com/
>  >
>  >  ___
>  >
>  >
>  > swfmill mailing list
>  >  swfmill@osflash.org
>  >  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>  >
>
>
>
>  --
>  Juan Delgado - Zárate
>  http://zarate.tv
>  http://dandolachapa.com
>  http://loqueyosede.com
>
>
>
>  ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-11 Thread Zárate
Yes, we *really* need a new release of SWFMill...

The version on SVN is a lot more advanced than the current release.
There are quite a few of us using swfmill on a daily basis and not all
people is capable of compiling from sources. Last time i tried in
Ubuntu i couldn't, can't even remember why.

What about SWFMill 0.4??

On Thu, Apr 10, 2008 at 10:15 PM, Rostislav Hristov
<[EMAIL PROTECTED]> wrote:
> Ralf, thanks a million! This version fixes my problem.
>
>  Do you know why it's not available on http://swfmill.org/pre/? Does
>  Dan know about your builds?
>
>
>  Thanks again!
>
>  Rostislav
>
>
>
>
>  On Thu, Apr 10, 2008 at 8:43 PM, Ralf Fuest <[EMAIL PROTECTED]> wrote:
>  > The 0.2.12.4 version you tried is to old and doesn't contain the fixed
>  >  mp3 support. You can find a newer svn build at:
>  >  http://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip
>  >
>  >  Ralf
>  >
>  >
>  >  > Thank you for your interest guys!
>  >  >
>  >  > I started preparing the test case and it turned out that all the mp3s
>  >  > are lacking about 2-3 seconds from the beginning.
>  >  > The audio is a recorded speech and I haven't noticed that the first
>  >  > few words are missing. I was able to catch only the one that truncates
>  >  > one of the words.
>  >  >
>  >  > I'm trying it with the 0.2.12 and 0.2.12.4 windows binaries. If
>  >  > somebody has the exact stereo/bitrate/crc settings that should work
>  >  > please let me know.
>  >  >
>  >  > The binary way works but I'd better start learning jsfl.
>  >  >
>  >  >
>  >  > Thanks,
>  >  > Rostislav
>  >
>  >
>  >
>  >
>  >
>  > ___
>  >  swfmill mailing list
>  >  swfmill@osflash.org
>  >  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>  >
>
>
>
>
> --
>  Asual - Open software that pushes the limits
>  http://www.asual.com/
>
>  ___
>
>
> swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



-- 
Juan Delgado - Zárate
http://zarate.tv
http://dandolachapa.com
http://loqueyosede.com

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-10 Thread Rostislav Hristov
Ralf, thanks a million! This version fixes my problem.

Do you know why it's not available on http://swfmill.org/pre/? Does
Dan know about your builds?


Thanks again!

Rostislav


On Thu, Apr 10, 2008 at 8:43 PM, Ralf Fuest <[EMAIL PROTECTED]> wrote:
> The 0.2.12.4 version you tried is to old and doesn't contain the fixed
>  mp3 support. You can find a newer svn build at:
>  http://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip
>
>  Ralf
>
>
>  > Thank you for your interest guys!
>  >
>  > I started preparing the test case and it turned out that all the mp3s
>  > are lacking about 2-3 seconds from the beginning.
>  > The audio is a recorded speech and I haven't noticed that the first
>  > few words are missing. I was able to catch only the one that truncates
>  > one of the words.
>  >
>  > I'm trying it with the 0.2.12 and 0.2.12.4 windows binaries. If
>  > somebody has the exact stereo/bitrate/crc settings that should work
>  > please let me know.
>  >
>  > The binary way works but I'd better start learning jsfl.
>  >
>  >
>  > Thanks,
>  > Rostislav
>
>
>
>
>
> ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-10 Thread Ralf Fuest
The 0.2.12.4 version you tried is to old and doesn't contain the fixed
mp3 support. You can find a newer svn build at:
http://pep-mp.de/swfmill/swfmill-0.2.12.6-win32.zip

Ralf

> Thank you for your interest guys!
> 
> I started preparing the test case and it turned out that all the mp3s
> are lacking about 2-3 seconds from the beginning.
> The audio is a recorded speech and I haven't noticed that the first
> few words are missing. I was able to catch only the one that truncates
> one of the words.
> 
> I'm trying it with the 0.2.12 and 0.2.12.4 windows binaries. If
> somebody has the exact stereo/bitrate/crc settings that should work
> please let me know.
> 
> The binary way works but I'd better start learning jsfl.
> 
> 
> Thanks,
> Rostislav



___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-09 Thread Rostislav Hristov
Thank you for your interest guys!

I started preparing the test case and it turned out that all the mp3s
are lacking about 2-3 seconds from the beginning.
The audio is a recorded speech and I haven't noticed that the first
few words are missing. I was able to catch only the one that truncates
one of the words.

I'm trying it with the 0.2.12 and 0.2.12.4 windows binaries. If
somebody has the exact stereo/bitrate/crc settings that should work
please let me know.

The binary way works but I'd better start learning jsfl.


Thanks,
Rostislav



On Wed, Apr 9, 2008 at 9:01 AM, Jonas Nyström <[EMAIL PROTECTED]> wrote:
> Hi Rostislav!
>
> How is it going?
> Very interresting that you got it working the binary way..! Maybe I could
> use that approach myself... I would be happy to see your test case.
>
> Regards / Jonas
>
>
> ___
>  swfmill mailing list
>  swfmill@osflash.org
>  http://osflash.org/mailman/listinfo/swfmill_osflash.org
>
>



-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-08 Thread Jonas Nyström
Hi Rostislav!

How is it going?
Very interresting that you got it working the binary way..! Maybe I could
use that approach myself... I would be happy to see your test case.

Regards / Jonas
___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


Re: [swfmill] mp3 import bug

2008-04-05 Thread Ralf Fuest
Which version of swfmill did you use? There was a problem with truncated
mp3 files, but this was fixed some time ago.

Ralf

> Hey guys,
> 
> I started using swfmill again after about 2 years pause. The project
> requires about 200 movies and using swfmill is the best option
> available.
> 
> All works great except a strange bug with the mp3 import.
> 
> The first prototype used 2 mp3s and after converting them from joint
> stereo to normal stereo they work fine.
> One of the 2 mp3s in the second prototype get imported somewhere from
> the middle. It's the same like the others and it's 14 seconds long.
> 
> I was able to fix the situation using Flash, swf2xml and xml2swf to
> change the binary representation of the sound asset and finally get a
> good SWF.
> 
> If anyone is interested in looking into the issue I will prepare a
> test case of 4 similar mp3s including a buggy one.
> 
> 
> 
> Best,
> Rostislav



___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org


[swfmill] mp3 import bug

2008-04-04 Thread Rostislav Hristov
Hey guys,

I started using swfmill again after about 2 years pause. The project
requires about 200 movies and using swfmill is the best option
available.

All works great except a strange bug with the mp3 import.

The first prototype used 2 mp3s and after converting them from joint
stereo to normal stereo they work fine.
One of the 2 mp3s in the second prototype get imported somewhere from
the middle. It's the same like the others and it's 14 seconds long.

I was able to fix the situation using Flash, swf2xml and xml2swf to
change the binary representation of the sound asset and finally get a
good SWF.

If anyone is interested in looking into the issue I will prepare a
test case of 4 similar mp3s including a buggy one.



Best,
Rostislav


-- 
Asual - Open software that pushes the limits
http://www.asual.com/

___
swfmill mailing list
swfmill@osflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org