[Vnc2swf-users] edit.py rejects certain mp3
Status: Alpha
Brought to you by:
euske
From: Andy L. <les...@ya...> - 2006-10-26 16:11:22
|
Hi,=0AI see following crash:=0A=0A$ python24 edit.py -c -t shape -s 0.75 -a= t10_000.swf.mp3 -o abc t10_000.swf=0AUsing pygame 1.7.1release=0AUsing pym= edia 1.3.7.0=0AReading mp3 file: t10_000.swf.mp3...=0ATraceback (most recen= t call last):=0A File "edit.py", line 234, in ?=0A if __name__ =3D=3D "= __main__": main(sys.argv[1:])=0A File "edit.py", line 155, in main=0A i= nfo.reg_mp3blocks(fp)=0A File "d:\src_mirror\pyvnc2swf-0.8.2al\movie.py", = line 106, in reg_mp3blocks=0A MP3Reader(self.mp3).read_mp3file(fp, lengt= h, nsamples, seeksamples)=0A File "d:\src_mirror\pyvnc2swf-0.8.2al\mp3.py"= , line 174, in read_mp3file=0A assert (h & 0x00060000L) =3D=3D 0x0002000= 0L, '!Layer3'=0AAssertionError: !Layer3=0A=0A=0ACloser look reveals that (h= & 0x00060000L) is equal to '0x00060000L', not desired '0x00020000L'.=0A=0A= I have to admit I first time in life see mp3 code so any insight or clue wo= uld be desired :-).=0A=0A=0AFor the record: my current work around it to la= me(unlame(it)).=0A=0AThx in advance,=0A-- =0Aalf=0A=0A=0A=0A=0A |