]> git.parisson.com Git - telecaster-server.git/commitdiff
increase bitrate
authorGuillaume Pellerin <yomguy@parisson.com>
Mon, 5 Jun 2023 13:41:57 +0000 (15:41 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Mon, 5 Jun 2023 13:41:57 +0000 (15:41 +0200)
bin/remux_fix_media.py

index f5693a688055a9ed8d7d709075ac29edb3149903..895fc934c1e0ebd5ec13221f1ce25c4a07adc3d5 100644 (file)
@@ -52,7 +52,7 @@ class FixCheckMedia(object):
     def hard_fix_webm(self, path):
         try:
             tmp_file = self.tmp_dir + 'out.webm '
-            command = 'ffmpeg -loglevel 0 -i "'+ path + '" -vcodec libvpx -vb 500k -acodec libvorbis -aq 7 -f webm -y "' + tmp_file + '" > /dev/null'
+            command = 'ffmpeg -loglevel 0 -i "'+ path + '" -vcodec libvpx -vb 1500k -acodec libvorbis -aq 7 -f webm -y "' + tmp_file + '" > /dev/null'
             print(command)
             os.system(command)
             command = 'mv '  + tmp_file + path