[Vnc2swf-users] Recording audio using pymedia
Status: Alpha
Brought to you by:
euske
From: David F. <da...@sj...> - 2006-07-06 14:45:13
|
Hi I posted a message earlier, "pyvnc2swf sound recording using pymedia", before I was subscribed to the list... this is an updated version, along with some installers I've written an extension that enables recording sound alongside the screen capture. It uses the pymedia library for the recording This is similar to using the -S option, but it does it in-process using python code. I've attached a diff to vnc2swf.py and the new file record_sound.py. The extra dependencies are on pymedia (I used 1.3.5.0) and the builtin threading module The recording is started in a separate thread and gets stopped in a similar way to the subprocess getting stopped (it uses the same interface) I added a new option -a filename.mp3 for the recording, and -m to automatically merge the sound back into the video after recording (using edit.py) The diffs are to my restructured pyvnc2swf 0.8.2 that I posted about earlier To convert the audio and combine it I run as follows python vnc2swf.py -n -o recording.swf -a recording.mp3 -m vnchost I've been reading around the web and it seems having this ability incorporated within pyvnc2swf would make it more useful for a lot of people - there doesn't seem to be an open source tool out there that handles recording audio alongside screen captures nicely, so I hope this is suitable for inclusion I have built installers tentatively called 0.8.2.1 due to interest in this from ShowMeDo.com, they are at http://davidf.sjsoft.com/files/pyvnc2swf/ pyvnc2swf-0.8.2.1.tar.gz - source tarball pyvnc2swf-0.8.2.1.zip - source zip file pyvnc2swf-0.8.2.1-py2.4.egg - Python egg (from setuptools) pyvnc2swf-0.8.2.1-1.noarch.rpm - RPM for Python 2.4 pyvnc2swf-0.8.2.1-1.src.rpm - Source RPM pyvnc2swf-0.8.2.1.win32.exe - installer for installing Python package under Windows pyvnc2swf-0.8.2.1-setup.exe - standalone installer for installing py2exe package under Windows (includes Python libraries and all dependencies, doesn't require Python) If anyone wants to try them out, please give feedback... Regards David |