Re: [Vnc2swf-users] 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 16:44:07
|
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://cee.carleton.ca/~nholtz Dept. of Civil and Environmental Engineering, Carleton University, Ottawa, Ontario, Canada K1S 5B6. nh...@do... |