![]() ![]() But it is easier to do this directly via the terminal with the following command. You can download the latest version from here. Now we are ready to download MediaInfo to your instance. # Install library required to add CURL support to Mediainfo $ sudo yum groupinstall 'Development Tools' # Install Development Tools necessary to compile MediaInfo This is important later when it is time to access files on S3. The “–with-libcurl” option adds URL support to MediaInfo and allows you to pass a URL as an input. Development Tool we need to compile MediaInfo at the instance. Then we install the necessary libraries to compile MediaInfo. First of all we make an update on the instance. Now we have execute the following commands. The technical metadata is written to json and stored in S3 as a sidecare file.Using MediaInfo, the Lambda function then extracts the technical metadata from the multimedia file.MediaInfo downloads the minimum bytes necessary of the multimedia file stored on S3. The Lambda function generates a S3 signed URL, which is passed as an input to MediaInfo. ![]() The MediaInfo Lambda function, which we create below, is executed.Using S3 event notifications, S3 triggers a Lambda function.(from )Īfter we have also clarified this, let's get our hands dirty. Alternatively, applications can be written to be purely serverless and use no provisioned servers at all. ![]() ![]() Serverless code can be used in conjunction with code deployed in traditional styles, such as microservices. Scaling, capacity planning and maintenance operations may be hidden from the developer or operator. Serverless computing can simplify the process of deploying code into production. Pricing is based on the actual amount of resources consumed by an application, rather than on pre-purchased units of capacity. Serverless computing is a cloud computing execution model in which the cloud provider runs the server, and dynamically manages the allocation of machine resources. In this article I want to show you the currently most modern and coolest way to use MediaInfo and how easy and fast it is to deploy MediaInfo as serverless function at AWS Lambda even if you even if you are not a developer, as I am not too. This way of using MediaInfo is certainly known to many of us and installed thousands of times on various laptops and Linux servers, but what does it look like at modern service oriented cloud deployments and workflows? When we think about it, there is actually only one word to mention Serverless To do this there are many ways to integrate MediaInfo. MediaInfo is available with Graphical Interface (GUI), as Command Line Interface (CLI) or as Library (DLL) to use MediaInfo directly in a software - and there is also an online version available. For example, the decision whether the video content has to be converted into another format or not. The technical information can be used to carry out further processing steps. MediaInfo can also be used very well in various workflows for video processing. In most cases, it is possible to recognise why one file can be played back without problems with a media player, but another one just doesn't want to. The software provides information about the essential parameters of all audio and video formats used. The software knows standard formats and video codecs like AVI, WMV, QuickTime MOV and Real Media as well as MKV, OGM, DIVX or transport streams. Basic problems of playing and processing video files can be solved with MediaInfo. For films, the language, subtitles and individual chapters are also displayed. In addition to general information such as title and author, MediaInfo also shows bitrate, FPS and all channels. If you do not know MediaInfo yet - MediaInfo is an open source software and displays information about your audio and video files. One of them - and most of those who will read this now agree - is certainly MediaInfo. If you work in the media industry as an engineer you are accompanied in your work by many little cool helpers which are used almost daily and make your work much easier. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |