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

This commit is contained in:
Thomas Müller 2013-11-22 12:20:06 +01:00
parent 926b274200
commit c22019dec5
1 changed files with 1 additions and 1 deletions

View File

@ -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 {