If your media is used in a Moodle course as a resource module, you cannot delete the media. But, you can delete your media even if the media is embedded in Moodle course or other web sites by using embed-code.
If your media has incomplete transcoding file, you cannot delete the media.