diff --git a/src/FFMPEG.php b/src/FFMPEG.php index 629edd4..5b09d83 100644 --- a/src/FFMPEG.php +++ b/src/FFMPEG.php @@ -15,10 +15,11 @@ final class FFMPEG { } public static function grabFirstAudioCover(string $url): Stream { - return new ProcessStream( + return self::grabFirstVideoFrame($url); + /*return new ProcessStream( sprintf('ffmpeg -i %s -an -c:v png -f image2pipe -', escapeshellarg($url)), 'rb' - ); + );*/ } public static function probe(string $url): ?object {