李帅

1.ffmpeg命令微调

...@@ -612,7 +612,7 @@ class MakeVideo implements ShouldQueue ...@@ -612,7 +612,7 @@ class MakeVideo implements ShouldQueue
612 612
613 $drawtext .= 'drawtext="'. 613 $drawtext .= 'drawtext="'.
614 'fontfile=' . escapeshellarg($font) . ':' . 614 'fontfile=' . escapeshellarg($font) . ':' .
615 - 'text=' . escapeshellcmd($content) . ':' . 615 + 'text=' . escapeshellarg($content) . ':' .
616 'fontsize=' . $this->calcFontSize($component->font_size,$content) . ':' . 616 'fontsize=' . $this->calcFontSize($component->font_size,$content) . ':' .
617 'fontcolor=' . $text_color . '@1.0:' . 617 'fontcolor=' . $text_color . '@1.0:' .
618 'x=' . escapeshellarg(VideoTemp::POSITION_FFMPEG[$component->position][0]) . ':' . 618 'x=' . escapeshellarg(VideoTemp::POSITION_FFMPEG[$component->position][0]) . ':' .
......