Re: [Vnc2swf-users] Res: Problems adding a an mp3 file to a recorded movie
Status: Alpha
Brought to you by:
euske
From: Neal H. <nh...@do...> - 2007-10-03 23:50:37
|
And, in fact pyvncswf seems only to support 11, 22 and 44 (or 11025, 22050, 44100, to be precise). neal On Wednesday 03 October 2007 1:40:16 pm lfk...@ya... wrote: > Hi, > > from the swf specification: > "SWF file format supports sample rates of 5.5, 11, 22 and 44 kHz in both stereo and mono". > Must be one of these. How were you supposed to know that, huh? > > Yusuke, I think this information should be added to the description of the -a option of edit.py in the web. > > Regards, > > Luis Fernando > > ----- Mensagem original ---- > De: Neal Holtz <nh...@do...> > Para: General discussion about vnc2swf <vnc...@li...> > Enviadas: Quarta-feira, 3 de Outubro de 2007 13:43:56 > Assunto: Re: [Vnc2swf-users] Problems adding a an mp3 file to a recorded movie > > Aah. yes. I've encountered this as well. edit.py seems not to > support an audio bitrate of 8000. I don't know if this is > hard to change -- I suspected it was so I've recorded > all my audio at 11025 bps. If you've converted from a > record wav to mp3, you can usually convert the bitrate > as well during the conversion process. Easy using lame. > > neal > > > On Wednesday 03 October 2007, Angelo Gelmi wrote: > > Hi, > > in our Lug, yesterday night we've recorded an intro regarding GIMP. > > We've used pyvnc2swf and the video has been recorded correctly. Now > > i've to link an audio file to that video. > > I read the documentation and gave this command: > > > > ./edit.py -c -o withaudio.swf -a test.mp3 -K 500 video.swf > > > > > > > > but some error came up. I've already looked onto google but I was > > unabled to find out something useful. > > Here is the log of the error encountered: > > > > Reading mp3 file: test.mp3... > > Input movie: version=5, size=1024x768, framerate=12fps, frames=52120, > > duration=4343.3s. > > Output movie size: 1024x768 > > Scanning source swf file: video.swf... > > Creating movie: 'withaudio.swf': version=5, size=1024x768, > > framerate=12.0, compression=None > > Traceback (most recent call last): > > File "./edit.py", line 244, in <module> > > if __name__ == "__main__": sys.exit(main(sys.argv[1:])) > > File "./edit.py", line 239, in main > > mp3seek=mp3seek, mp3skip=mp3skip) > > File "./edit.py", line 86, in reorganize > > builder.build(r) > > File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line > > 999, in build > > self.start() > > File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line > > 942, in start > > self.stream.open() > > File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line > > 518, in open > > SWFOutputStream.open(self) > > File "/home/angelo/Desktop/pyvnc2swf-0.9.3/pyvnc2swf/output.py", line > > 366, in open > > rate = MP3_RATE[self.info.mp3.sample_rate] > > KeyError: 8000 > > > > What can I do? > > Thank you in advance. > > > > Buon lavoro, > > > -- Neal Holtz http://www.docuweb.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nh...@do... Key: http://www.docuweb.ca/~nholtz/pubkey.asc |