We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ec3ffb commit 0662e5eCopy full SHA for 0662e5e
modules/thumb/thumb.php
@@ -80,10 +80,10 @@
80
//-rtsp_transport tcp // -rtsp_transport tcp
81
$stream_options = '-timelimit 15 -y -i ' . escapeshellarg($url) . ($resize) . ' -r 5 -f image2 -vframes 1'; //-ss 00:00:01.500
82
if ($debug_mode) {
83
- $stream_options = '-v verbose ' . escapeshellarg($stream_options);
+ $stream_options = '-v verbose ' . $stream_options;
84
}
85
if ($transport) {
86
- $stream_options = '-rtsp_transport ' . escapeshellarg($transport) . ' ' . escapeshellarg($stream_options);
+ $stream_options = '-rtsp_transport ' . escapeshellarg($transport) . ' ' . $stream_options;
87
88
$cmd = PATH_TO_FFMPEG . ' ' . $stream_options . ' ' . escapeshellarg($img);
89
0 commit comments