We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I need to get meta data from a file in S3.
Is there an easy way like FFprobe::fromDisk('s3') ?
I tried :
Thanks in advance for your help.
Previously it was easy because the file was in my filesystem :
$ffprobe = FFProbe::create(); $media_file = $ffprobe->streams($fullFilePath); $codec_type = $media_file->first()->get('codec_type'); if ($codec_type === 'audio') { $codec_name = $media_file->audios()->first()->get('codec_name'); if ($codec_name !== 'aac') { return 'Non valid audio codec, we only accept aac'; } } else { $codec_name = $media_file->videos()->first()->get('codec_name'); if ($codec_name !== 'h264') { return 'Non valid video codec, we only accept h264'; } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I need to get meta data from a file in S3.
Is there an easy way like FFprobe::fromDisk('s3') ?
I tried :
Thanks in advance for your help.
Previously it was easy because the file was in my filesystem :
The text was updated successfully, but these errors were encountered: