Browse files

* Added platform check at start-up to inform that this version is not…

… WindowsXP supported but Windows7 and more(see issue 1)

* Added a warning popup if ffmpeg encoding didn't stop properly
* Added version number to 1.23
  • Loading branch information...
1 parent a577248 commit 56273e0f07cd4ca297736542cb19447526f247e7 @metadirective metadirective committed Jan 31, 2014
Showing with 18 additions and 4 deletions.
  1. +16 −2
  2. +2 −2 win-installer/installeur.iss
@@ -24,11 +24,11 @@
## Python import (base Python 2.4)
import sys,os,time,datetime,tarfile,ConfigParser,threading,shutil,gettext,zipfile,pickle
-import subprocess, socket, winsound, traceback, webbrowser
+import subprocess, socket, winsound, traceback, webbrowser, platform
from thread import start_new_thread, exit
from urllib2 import urlopen
from os import chdir
@@ -513,6 +513,7 @@ def ffmpegVideoRecord():
## TODO : add a check to be sure there's at least one video source ?
print "FfmpegVideoRecord video input set to:", videoinputName
print "FfmpegVideoRecord audio input set to:", audioinputName
if videoFormatFFMPEG=="flv":
#hide DOS console:
print "LIVE IS >>>>>>>>>>>>>>>>>>>>", live
@@ -843,6 +844,9 @@ def stopFFMPEG():
print "WARNING: Can't stop properly FFMPEG subprocess, attempting forced taskkill, media may not be directly readable..."
+ text=_("WARNING: Can't stop properly FFMPEG subprocess,\n attempting forced stop, media may not be readable.")
+ dialog=wx.MessageDialog(None,message=text,caption="WARNING",style=wx.OK|wx.ICON_INFORMATION)
+ dialog.ShowModal()
writeInLogs("- WARNING: Can't stop properly FFMPEG subprocess, attempting forced taskkill, media may lack header as a result and may not be directly readable... "+ str("\n")
os.popen("taskkill /F /IM ffmpeg.exe")
@@ -2689,5 +2693,15 @@ def getAudioVideoInputFfmpeg(pathData=pathData):
print 'switching remote port to '+str(remotePort)+' for standalone usage'
print "Launching integrated server with port", remotePort, "for hosts", hosts
+ # platform check and warning for XP
+ if ("XP" or "xp") in platform.platform():
+ dialogText= "This version is incompatible with Windows XP (works for Windows 7 and above).\n "\
+ "For Windows XP please use a previous versions of Audiovideocast (2.1 or below)."
+ print dialogText
+ dialog=wx.MessageDialog(None,message=dialogText,
+ dialog.ShowModal()
@@ -6,8 +6,8 @@
-AppVerName=audiovideocast 2.2
+AppVerName=audiovideocast 2.3
AppPublisher=(C) University of Strasbourg 2006-2014

0 comments on commit 56273e0

Please sign in to comment.