summaryrefslogtreecommitdiff
path: root/mediabrowser/ffmpeg.py
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2016-05-26 21:46:37 +0200
committerYves Fischer <yvesf-git@xapek.org>2016-05-26 21:46:37 +0200
commit3f55f3348788cbcbe2b47dfe0971b5e3ea5858af (patch)
tree73aacae83793735ea11617fabb902f4ee60bf3bc /mediabrowser/ffmpeg.py
parent8f0481fa1e3c54430ab79c0d1164c55b30c62049 (diff)
downloadflask-mediabrowser-3f55f3348788cbcbe2b47dfe0971b5e3ea5858af.tar.gz
flask-mediabrowser-3f55f3348788cbcbe2b47dfe0971b5e3ea5858af.zip
kodi plugin
Diffstat (limited to 'mediabrowser/ffmpeg.py')
-rw-r--r--mediabrowser/ffmpeg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediabrowser/ffmpeg.py b/mediabrowser/ffmpeg.py
index d4ad699..dfdc619 100644
--- a/mediabrowser/ffmpeg.py
+++ b/mediabrowser/ffmpeg.py
@@ -41,7 +41,7 @@ def stream(ospath, ss, t):
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=480"
- " -f mpegts"
+ " -shortest -f mpegts"
" -output_ts_offset {output_ts_offset:.6f} -t {t:.6f} pipe:%d.ts".format(**locals())),
stdout=PIPE)
return cutter