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 d1125f7 commit 5fffe8bCopy full SHA for 5fffe8b
README.md
@@ -817,7 +817,7 @@ $media = FFMpeg::fromDisk('videos')->open('video.mp4');
817
818
// The 'getStreams' method will be called on the underlying Media object since
819
// it doesn't exists on this object.
820
-$codec = $media->getStreams()->first()->get('codec_name');
+$codec = $media->getVideoStream()->get('codec_name');
821
```
822
823
If you want direct access to the underlying object, call the object as a function (invoke):
0 commit comments