Move `-an` after the input arg because it is an output option
This commit is contained in:
parent
8a8209796d
commit
2865ccfdc4
|
@ -83,9 +83,9 @@ class Movie extends Provider {
|
||||||
$tmpPath = \OC::$server->getTempManager()->getTemporaryFile();
|
$tmpPath = \OC::$server->getTempManager()->getTemporaryFile();
|
||||||
|
|
||||||
if (self::$avconvBinary) {
|
if (self::$avconvBinary) {
|
||||||
$cmd = self::$avconvBinary . ' -an -y -ss ' . escapeshellarg($second) .
|
$cmd = self::$avconvBinary . ' -y -ss ' . escapeshellarg($second) .
|
||||||
' -i ' . escapeshellarg($absPath) .
|
' -i ' . escapeshellarg($absPath) .
|
||||||
' -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) .
|
' -an -f mjpeg -vframes 1 -vsync 1 ' . escapeshellarg($tmpPath) .
|
||||||
' > /dev/null 2>&1';
|
' > /dev/null 2>&1';
|
||||||
} else {
|
} else {
|
||||||
$cmd = self::$ffmpegBinary . ' -y -ss ' . escapeshellarg($second) .
|
$cmd = self::$ffmpegBinary . ' -y -ss ' . escapeshellarg($second) .
|
||||||
|
|
Loading…
Reference in New Issue