Hi,
I've a problem when convert swf to mpeg file.
The task and error message is this:
ruben@ubuntu:~/.Screencapture/pyvnc2swf-0.9.1$ python edit.py -o
out.mpg xsmall.swf
Using pygame 1.7.1release
Using pymedia 1.3.5
Input movie: version=5, size=512x384, framerate=12fps, frames=402,
duration=33.5s.
Output movie size: 512x384
Scanning source swf file: xsmall.swf...
Creating MPEG: 'out.mpg': codec=mpeg2video, size=512x384, framerate=12.0
.Traceback (most recent call last):
File "edit.py", line 238, in ?
if __name__ == "__main__": sys.exit(main(sys.argv[1:]))
File "edit.py", line 233, in main
mp3seek=mp3seek, mp3skip=mp3skip)
File "edit.py", line 85, in reorganize
builder.build(r)
File "/home/ruben/.Screencapture/pyvnc2swf-0.9.1/output.py", line
914, in build
self.stream.next_frame()
File "/home/ruben/.Screencapture/pyvnc2swf-0.9.1/output.py", line
806, in next_frame
self.out_file.write(encFrame.data)
AttributeError: 'str' object has no attribute 'data'
I'm using
pyvnc2swf-0.9.1
Pymedia 1.3.5.0 ( package pymedia_1.3.5_i686-py2.4.deb)
Ubuntu Dapper
Python 2.4
Can help me. Thanks
|