diff --git a/pythonbits.py b/pythonbits.py index bbca0e3..cf92d02 100755 --- a/pythonbits.py +++ b/pythonbits.py @@ -652,7 +652,7 @@ def upload(self): count=0 for stop in stops: imgs.append(TMPDIR+"screen%d.png" % count) - subprocess.Popen([r"ffmpeg","-ss",str((self.duration * stop)/100), "-vframes", "1", "-i", self.path , "-y", "-sameq", "-f", "image2", imgs[-1] ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT).wait() + subprocess.Popen([r"ffmpeg","-ss",str((self.duration * stop)/100), "-i", self.path , "-vframes", "1", "-y", "-qscale", "0", "-f", "image2", imgs[-1] ], stdout=subprocess.PIPE, stderr=subprocess.STDOUT).wait() count+=1 except OSError: sys.stderr.write("Error: Ffmpeg not installed, refer to http://www.ffmpeg.org/download.html for installation") diff --git a/uninstall.sh b/uninstall.sh new file mode 100755 index 0000000..c9156f4 --- /dev/null +++ b/uninstall.sh @@ -0,0 +1,5 @@ +#! /bin/sh +rm /usr/local/bin/BeautifulSoup.py +rm /usr/local/bin/MultipartPostHandler.py +rm /usr/local/bin/microdata.py +rm /usr/local/bin/pythonbits