See:
https://github.com/JamesHeinrich/getID3
for getID3 support
https://github.com/JamesHeinrich/phpThumb
for phpThumb support