Commit c22019de authored by Thomas Müller's avatar Thomas Müller
Browse files

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

parent 926b2742
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment