Fix: the metadata add create a copy stream error bc of ffmpeg

This commit is contained in:
Flokami
2022-04-18 22:56:10 +04:00
parent b18b9a960f
commit 981de48df8

View File

@@ -68,8 +68,8 @@ class Youtube
{
if (Helper::ffmpegInstalled()) {
$this->addOption('--prefer-ffmpeg');
$this->addOption('--add-metadata');
$this->setOption('--metadata-from-title', "%(artist)s-%(title).64s");
// $this->addOption('--add-metadata');
// $this->setOption('--metadata-from-title', "%(artist)s-%(title).64s");
$this->addOption('--extract-audio');
} else {
$this->audioFormat = "m4a";