aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrikai2016-09-09 22:13:34 -0700
committerGitHub2016-09-09 22:13:34 -0700
commit2efa4cdcb08fc1e214a0dc7d5659f8b22cc3c693 (patch)
tree3da56c4d22b9a66ce96b1ce28b74662b3dc3aba2
parent2bd9557173e10d9d68e1cba9d78518e38bce4787 (diff)
Encoding settings compatibility updates
Using AAC, yuv420p & an mp4 container should provide much increased compatibility with hardware players as well as youtube.
-rw-r--r--video_thread.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/video_thread.py b/video_thread.py
index ed2af84..25b3b46 100644
--- a/video_thread.py
+++ b/video_thread.py
@@ -41,11 +41,12 @@ class Worker(QtCore.QObject):
'-i', '-', # The input comes from a pipe
'-an',
'-i', inputFile,
- '-acodec', "libmp3lame", # output audio codec
+ '-acodec', "libfdk_aac", # output audio codec
+ '-b:a', "192k",
'-vcodec', "libx264",
- '-pix_fmt', "yuv444p",
+ '-pix_fmt', "yuv420p",
'-preset', "medium",
- '-f', "matroska",
+ '-f', "mp4",
outputFile],
stdin=sp.PIPE,stdout=sys.stdout, stderr=sys.stdout)