Fix: the metadata add create a copy stream error bc of ffmpeg
This commit is contained in:
@@ -68,8 +68,8 @@ class Youtube
|
|||||||
{
|
{
|
||||||
if (Helper::ffmpegInstalled()) {
|
if (Helper::ffmpegInstalled()) {
|
||||||
$this->addOption('--prefer-ffmpeg');
|
$this->addOption('--prefer-ffmpeg');
|
||||||
$this->addOption('--add-metadata');
|
// $this->addOption('--add-metadata');
|
||||||
$this->setOption('--metadata-from-title', "%(artist)s-%(title).64s");
|
// $this->setOption('--metadata-from-title', "%(artist)s-%(title).64s");
|
||||||
$this->addOption('--extract-audio');
|
$this->addOption('--extract-audio');
|
||||||
} else {
|
} else {
|
||||||
$this->audioFormat = "m4a";
|
$this->audioFormat = "m4a";
|
||||||
|
|||||||
Reference in New Issue
Block a user