I don't know if it'd break in some cases (seems to be ok for the couple of Adobe Connect recordings I looked at but perhaps that's because people always share screens). Otherwise, another way could be to sort cameraVoip_ _.xml / screenshare_ _.xml, then map the first cameraVoip_ _.xml with the first screenshare_ _.xml, the second cameraVoip_ _.xml with the first screenshare_ _.xml, etc. This allows to map the screenshare_ _.xml with the correct cameraVoip_ _.xml.Į.g., in, from cameraVoip_1_11.xml, line 21: One could look at the cameraVoip_ _.xml / screenshare_ _.xml to get the timestamps of when the audio / screen share video began. Regarding mapping the cameraVoip_ _.xml to the correct screenshare_ _.xml, in case there is more than one: If you want to keep the webcam video and place it in some corner of the video screen sharing: ffmpeg -i cameraVoip_1_11.flv -i screenshare_2_10.flv \ Foxit PDF Editor Windows 79.00 1 License Per Year Foxit PDF Editor Pro Windows 149.00 1 License Per Year Foxit PDF Editor Mac Starting at 14.99 1 License Per Month Foxit PDF Editor Pro Mac 149.00 1 License Per Year Free Trial OmniPage Standard 156.00 1 License With One-Time Purchase OmniPage Ultimate 524. -shortest: cut the audio or video in case cameraVoip_1_11.flv and screenshare_2_10.flv don't have the same length.-map 1:v:0: map the second input file to be used just for the video.-map 0:a:0: map the first input file to be used just for the audio.To merge them, you can use ffmpeg (I took the ffmpeg commands from Oliver Wang / Yannick Hold-Geoffroy / Aaron Hertzmann): ffmpeg -i cameraVoip_1_11.flv -i screenshare_2_10.flv -c copy -map 0:a:0 -map 1:v:0 -shortest output.flv screenshare_ _.xml contains the audio webcam if any.cameraVoip_ _.xml contains the audio webcam if any.If output = b'' and process.poll() is not None:ĭef create_folder_if_not_exists(directory):Ĭreate the folder if it doesn't exist already. Process = subprocess.Popen(shlex.split(command), stdout=subprocess.PIPE) Print('running command: '.format(command)) Please email Franck Dernoncourt if you improve this code. Python connect2vid_v2.py -output_filename=" Understanding how the Network impacts your service" wget, unzip, and ffmpeg accessible from command line. I wrote this Python script to export an Adobe Connect recording as a video: '''
0 Comments
Leave a Reply. |