[Vnc2swf-users] converting swf to flv/mpeg
Status: Alpha
Brought to you by:
euske
From: Darie N. <dar...@gm...> - 2009-06-02 19:59:20
|
Hello there, im new to list but i hope you will help me, so here it is : i installed everything, but i cannot get the conversion work, here is the output when i try to convert swf to .mpg root@vps536 [/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf]# ./edit.py -o test.mpg vplayer.swf Using PIL 1.1.7b1 Using pymedia 1.3.5 Input movie: version=9, size=480x400, framerate=30fps, frames=1, duration=0.0s. Output movie size: 480x400 Scanning source swf file: vplayer.swf... Creating MPEG: 'test.mpg': codec=mpeg2video, size=480x400, framerate=30.0 .Traceback (most recent call last): File "./edit.py", line 248, in ? if __name__ == "__main__": sys.exit(main(sys.argv)) File "./edit.py", line 243, in main debug=debug) File "./edit.py", line 92, in reorganize builder.build(r) File "/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf/output.py", line 1016, in build self.stream.next_frame() File "/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf/output.py", line 808, in next_frame self.out_file.write(encFrame.data) AttributeError: 'str' object has no attribute 'data' root@vps536 [/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf]# However when i try to convert SWF to FLV i get no error, but the flv generated is 2k, empty root@vps536 [/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf]# ./edit.py -o test.flv vplayer.swf Using PIL 1.1.7b1 Using pymedia 1.3.5 Input movie: version=9, size=480x400, framerate=30fps, frames=1, duration=0.0s. Output movie size: 480x400 Scanning source swf file: vplayer.swf... .1 frames written (duration=0.0s) root@vps536 [/usr/local/convert/pyvnc2swf-0.9.5/pyvnc2swf]# Ive tested on multiple swf files. Hope that anybody can help me with this problem. Regards, Nicolae |