

If you have ever converted your personal (S)VCD,DVD disks to MKV (Matroska container) - or AVI, MPEG back in the days - you surely noticed that ffmpeg is the defacto tool for converting/parsing media files. We looked at ffmpeg and MediaInfo for this. So what are the options? Metadata parsing

But would you really want to parse and read files in the JVM? The short answer is no, you don't want all this crud in your Java memory. There are libraries like Netflix Photon and. We looked for libraries that could parse video files (in this case we were talking MXF files) to extract the metadata. We aren't talking about a Netflix streaming platform here, just some basic audio/video streaming. In short we had to parse metadata for all kinds of audio and video assets and then render this media file to the customer. if the bitrate or other metadata was not adequate). The page also showed some metadata from the media asset and files would be rejected after upload (e.g. Recently we were involved in a project where we had to display and play audio/video files which had been uploaded by a customer. These libraries are also what we use in our ImageServer Across Module to generate thumbnails and variants for images, PDFs. At the end of the line you are better off with open source libraries specifically written for image processing, like ImageMagick and GraphicsMagick. ImageIO classes have come a long way since JDK7 - together with the usual SDK bugs - not always giving you what you expect (bad image quality, not always supporting all types of JPEG standards. Processing of images - let alone videos - within the Java JVM has always been a challenging task.
