[Vnc2swf-users] Res: Problems adding a an mp3 file to a recorded movie
Status: Alpha
Brought to you by:
euske
From: <lfk...@ya...> - 2007-10-03 17:40:24
|
Hi,=0A=0Afrom the swf specification:=0A"SWF file format supports sample rat= es of 5.5, 11, 22 and 44 kHz in both stereo and mono".=0AMust be one of the= se. How were you supposed to know that, huh?=0A=0AYusuke, I think this info= rmation should be added to the description of the -a option of edit.py in t= he web.=0A=0ARegards,=0A=0ALuis Fernando=0A=0A----- Mensagem original ----= =0ADe: Neal Holtz <nh...@do...>=0APara: General discussion about vnc2= swf <vnc...@li...>=0AEnviadas: Quarta-feira, 3 de Ou= tubro de 2007 13:43:56=0AAssunto: Re: [Vnc2swf-users] Problems adding a an = mp3 file to a recorded movie=0A=0AAah. yes. I've encountered this as well.= edit.py seems not to=0Asupport an audio bitrate of 8000. I don't know if= this is=0Ahard to change -- I suspected it was so I've recorded=0Aall my a= udio at 11025 bps. If you've converted from a=0Arecord wav to mp3, you can= usually convert the bitrate=0Aas well during the conversion process. Easy= using lame.=0A=0Aneal=0A=0A=0AOn Wednesday 03 October 2007, Angelo Gelmi w= rote:=0A> Hi, =0A> in our Lug, yesterday night we've recorded an intro reg= arding GIMP.=0A> We've used pyvnc2swf and the video has been recorded corr= ectly. Now=0A> i've to link an audio file to that video. =0A> I read the do= cumentation and gave this command:=0A> =0A> ./edit.py -c -o withaudio.swf -= a test.mp3 -K 500 video.swf =0A> =0A> =0A> =0A> but some error came up. = I've already looked onto google but I was=0A> unabled to find out something= useful.=0A> Here is the log of the error encountered:=0A> =0A> Reading mp3= file: test.mp3...=0A> Input movie: version=3D5, size=3D1024x768, framerate= =3D12fps, frames=3D52120,=0A> duration=3D4343.3s.=0A> Output movie size: 10= 24x768=0A> Scanning source swf file: video.swf...=0A> Creating movie: 'with= audio.swf': version=3D5, size=3D1024x768,=0A> framerate=3D12.0, compression= =3DNone=0A> Traceback (most recent call last):=0A> File "./edit.py", line= 244, in <module>=0A> if __name__ =3D=3D "__main__": sys.exit(main(sys.= argv[1:]))=0A> File "./edit.py", line 239, in main=0A> mp3seek=3Dmp3s= eek, mp3skip=3Dmp3skip)=0A> File "./edit.py", line 86, in reorganize=0A> = builder.build(r)=0A> File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc= 2swf/output.py", line=0A> 999, in build=0A> self.start()=0A> File "/h= ome/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line=0A> 942, in s= tart=0A> self.stream.open()=0A> File "/home/angelo/Desktop/pyvnc2swf-= 0.9.3/pyvnc2swf/output.py", line=0A> 518, in open=0A> SWFOutputStream.o= pen(self)=0A> File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output= .py", line=0A> 366, in open=0A> rate =3D MP3_RATE[self.info.mp3.sample_= rate]=0A> KeyError: 8000=0A> =0A> What can I do?=0A> Thank you in advance.= =0A> =0A> Buon lavoro,=0A=0A=0A=0A-- =0ANeal Holtz = http://cee.carleton.ca/~nholtz=0ADept. of Civil and Environmental Engin= eering, Carleton University, =0AOttawa, Ontario, Canada K1S 5B6. = nh...@do...=0A=0A=0A-------------------------------------= ------------------------------------=0AThis SF.net email is sponsored by: S= plunk Inc.=0AStill grepping through log files to find problems? Stop.=0ANo= w Search log events and configuration files using AJAX and a browser.=0ADow= nload your FREE copy of Splunk now >> http://get.splunk.com/=0A____________= ___________________________________=0AVnc2swf-users mailing list=0AVnc2swf-= us...@li...=0Ahttps://lists.sourceforge.net/lists/listinfo/= vnc2swf-users=0A=0A=0A=0A=0A=0A=0A=0A Abra sua conta no Yahoo! Mail, o= =FAnico sem limite de espa=E7o para armazenamento!=0Ahttp://br.mail.yahoo.= com/ |