summaryrefslogtreecommitdiff
path: root/mediabrowser
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2015-12-31 00:19:18 +0100
committerYves Fischer <yvesf-git@xapek.org>2016-01-08 20:38:18 +0100
commit5b7326d3a5e35a1f80277b6062d14f0b7a30b0e0 (patch)
tree851ebbd37c1f9f8a5124e287b03fcbc6519148a9 /mediabrowser
parentd0158aa0c5f13ce55f64fa7c3029171d6bfe304f (diff)
downloadflask-mediabrowser-5b7326d3a5e35a1f80277b6062d14f0b7a30b0e0.tar.gz
flask-mediabrowser-5b7326d3a5e35a1f80277b6062d14f0b7a30b0e0.zip
set audio bitrate to 64
Diffstat (limited to 'mediabrowser')
-rw-r--r--mediabrowser/ffmpeg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediabrowser/ffmpeg.py b/mediabrowser/ffmpeg.py
index 841c203..1f7fb18 100644
--- a/mediabrowser/ffmpeg.py
+++ b/mediabrowser/ffmpeg.py
@@ -33,7 +33,7 @@ def stream(ospath, ss, t):
cutter = LoggedPopen(
shlex.split("ffmpeg -ss {ss:.6f} -i ".format(**locals())) +
[ospath] +
- shlex.split("-c:a aac -strict experimental -ac 2 -b:a 44k"
+ shlex.split("-c:a aac -strict experimental -ac 2 -b:a 64k"
" -c:v libx264 -pix_fmt yuv420p -profile:v high -level 4.0 -preset ultrafast -trellis 0"
" -crf 31 -vf scale=w=trunc(oh*a/2)*2:h=360"
" -f mpegts"