Working on a chunked video can result in a broken frame index the option -vsync 1 can heal that

remotes/origin/stable6
Thomas Müller 11 years ago
parent 926b274200
commit c22019dec5
  1. 2
      lib/private/preview/movies.php

@ -52,7 +52,7 @@ if (!\OC_Util::runningOnWindows()) {
if (self::$avconvBinary) {
$cmd = self::$avconvBinary . ' -an -y -ss 5'.
' -i ' . escapeshellarg($absPath) .
' -f mjpeg -vframes 1 ' . escapeshellarg($tmpPath) .
' -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) .
' > /dev/null 2>&1';
}
else {

Loading…
Cancel
Save