Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add audio metadata filter #281
What's in this PR?
Adds a new Audio Filter. Using ffmpeg -metadata utility we can set metadata values such as title, artist, album etc...
A simple way to add metadata or album artwork to audio files
$ffmpeg = new FFMpeg\FFMpeg::create(); $audio = $ffmpeg->open($file_path); $audio->addMetadata([ "title" => "Some Title", "album" => "Some Album", "artwork" => "/path/to/some/file.jpg" ]);
Here are my comments:
Otherwise, it looks good to me. Nice job.
Now someone needs to merge your branch. I've asked @romainneutron if he's ok with your contribution. I can do it, but since I'm new to administrating this bundle, I prefer to refer to him for now.
Then, once it's merged, you can delete your branch, but github will invite you to do so.
Then, I think that Romain needs to prepare a new version with the feature, for it to be available on Packagist.