Re: [Vnc2swf-users] Sound problem...
Status: Alpha
Brought to you by:
euske
From: Yusuke S. <yu...@cs...> - 2005-08-05 18:00:51
|
Okay, I fixed it. Actually I was handling ID3 tags in a rather sloppy manner. Please replace the "mp3.py" file with the attached one. This fix will be released as upcoming version 0.6.4 soon.. And looking at your mp3 file, I noticed you're using "variable bitrate" (VBR) format, which is not supported by the flash player. So please re-encode the audio file without that feature (I think there's an option in Lame). Thanks Yusuke Javier Rojas Go?i/Parse <jr...@pa...> wrote: > Hi Yusuke, > > First of all, congratulations for your great work, vnc2swf is great !! > > I have a problem and hope you can help, I am trying to add MP3 sound to my > recorded swf. > > I am working in Windows XP, using Python 2.4.1 My Mp3 was recorded with > Windows Sound Recorder and converted using LAME 3.93.1. > > Here is the screen I got... > > C:\python>edit.py -d -o salida.swf -a j.mp3 -S 1000 freddy.swf > Using pygame 1.7.0 > Reading mp3 file: j.mp3... > Traceback (most recent call last): > File "C:\python\edit.py", line 144, in ? > if __name__ == "__main__": main(sys.argv[1:]) > File "C:\python\edit.py", line 112, in main > info.reg_mp3blocks(fp) > File "C:\python\movie.py", line 76, in reg_mp3blocks > MP3Reader(self.mp3).read_mp3file(fp, length, nsamples, seeksamples) > File "C:\python\mp3.py", line 137, in read_mp3file > assert (h & 0xffe00000L) == 0xffe00000L, '!Frame Sync: %r' % x > AssertionError: !Frame Sync: 'j\xb3P#' > > Thanks in advance !! > > Javier Rojas |