MediaInfo | MacOS Finder Extension to show information | Video Utils library

 by   sbarex Swift Version: 1.7.1 License: No License

kandi X-RAY | MediaInfo Summary

kandi X-RAY | MediaInfo Summary

MediaInfo is a Swift library typically used in Video, Video Utils applications. MediaInfo has no bugs and it has low support. However MediaInfo has 1 vulnerabilities. You can download it from GitHub.

Extension to display information about multimedia (images, videos and audio), PDF and Office files in the Finder contextual menu. MediaInfo is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              MediaInfo has a low active ecosystem.
              It has 226 star(s) with 3 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 2 open issues and 12 have been closed. On average issues are closed in 65 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of MediaInfo is 1.7.1

            kandi-Quality Quality

              MediaInfo has no bugs reported.

            kandi-Security Security

              MediaInfo has 1 vulnerability issues reported (0 critical, 1 high, 0 medium, 0 low).

            kandi-License License

              MediaInfo does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              MediaInfo releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MediaInfo
            Get all kandi verified functions for this library.

            MediaInfo Key Features

            No Key Features are available at this moment for MediaInfo.

            MediaInfo Examples and Code Snippets

            No Code Snippets are available at this moment for MediaInfo.

            Community Discussions

            QUESTION

            Module not found: Error: You attempted to import babel-preset which falls outside of the project src/ directory
            Asked 2021-May-04 at 10:48

            I'm developing an application created using create-react-app

            But then I needed to use mediainfojs library, this library requires wasm files, and based on what I understood I couldn't add it using create-react-app, I had to eject it.

            After ejecting it, I went to mediainfo information on how to add the wasm on the webpack

            They use the CopyPlugin, but then when I tried to do that it complained about the versions of my webpack (4) and the CopyPlugin.... so, I decided to migrate to webpack 5

            That is when the pain starts... after follow their migration tutorial and do a bunch of modifications on my webpack.config I got to the following error while runing yarn build:

            Module not found: Error: You attempted to import /MyWorkspace/project/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/asyncToGenerator which falls outside of the project src/ directory. Relative imports outside of src/ are not supported.

            The only place calling this babel-preset-react-app are in the configuation

            Here:

            ...

            ANSWER

            Answered 2021-May-04 at 10:48

            I'm also attempting to upgrade an ejected CRA project to Webpack 5. I was able to move forward using babel-preset-react-app-webpack-5, only to encounter the next CRA-related issue.

            Be sure to replace calls like require.resolve("babel-preset-react-app/dependencies") with require.resolve("babel-preset-react-app-webpack-5/dependencies").

            Also, be aware the package does not appear to be production-ready, but my own project is still in early development.

            Source https://stackoverflow.com/questions/67324074

            QUESTION

            Why xaml keep saying "The given key "idiomas" was not present in the dictionary" when i call this user control?
            Asked 2021-Apr-16 at 19:18

            i have been reading all the similar questions to this one but i couldnt find how to solve it, so please i know this have been questioned a lot, but i cant find where the problem so i need help.

            First, i have a windows "MenuRecursos" (ResourcesMenu), this windows calls two types of UCs (User controls) one is just to have a nice look for buttons ->"ElementoRecursos" (ResourceElement), the other one is to show a pannel with the resources files -> "PanelMostrarArchivos" (ToShowFilesPannel).

            To use both of them i have this line in the xaml xmlns:uc="clr-namespace:ElEscribaDelDJ.Resources.UserControls.Resources"

            And this is how i call them

            ...

            ANSWER

            Answered 2021-Apr-16 at 19:18

            The error simple has gone, dont know why but now dont appears in the xaml, without doing any change

            Source https://stackoverflow.com/questions/67049736

            QUESTION

            Is there a way to get the frame width and frame height properties of a webm via javascript?
            Asked 2021-Apr-15 at 13:46

            Here are the properties I'm trying to access:

            propertyHelp001

            I've looked at mediainfo.js (https://github.com/buzz/mediainfo.js?files=1) and honestly I'm not able to figure it out.

            I've also seen people mention that it's possible to use 'media info' (https://mediaarea.net/en/MediaInfo) CLI to accomplish this but I can't find any instruction on how to accomplish this.

            I've also tried utilising wmic like so:

            ...

            ANSWER

            Answered 2021-Apr-15 at 13:46

            Here's a working (work on my machine™️) script in Node.js. Hope it helps. I use the test video from https://www.webmfiles.org/demo-files/

            Source https://stackoverflow.com/questions/67100557

            QUESTION

            Google Speech to Text Error: "Invalid recognition 'config': bad encoding.." for an MP3 file
            Asked 2021-Apr-06 at 21:28

            I'm recording audio in a react web app using the "mic-recorder-to-mp3" node package.

            I've used MediaInfo to look at the audio files produced using this library (here's a sample file) and it shows the following information:

            So it doesn't appear to be corrupted or anything...however, when I run Google's Speech to Text API with the following code, I get the error: "Invalid recognition 'config': bad encoding.."

            ...

            ANSWER

            Answered 2021-Apr-06 at 21:28

            I was able to reproduce the issue, seems that the encoding used is the root cause, I used the gcloud ml speech recognize command and I got no responses:

            Source https://stackoverflow.com/questions/66891203

            QUESTION

            Creating interlaced videos with ffmpeg-python
            Asked 2021-Mar-24 at 07:54

            I'm probably doing something wrong and/or there is something I don't understand but ...

            I have a progressive video (here failing1.mp4). Doing a mediainfo on that video confirms that "Scan type" is progressive.

            If I use the following code to get the same video interlaced:

            ...

            ANSWER

            Answered 2021-Mar-24 at 07:54

            Answering my own question. The following ffmpeg-python code works as expected:

            Source https://stackoverflow.com/questions/66769779

            QUESTION

            Difference in number of channels returned by mediainfo and ffprobe
            Asked 2021-Mar-16 at 16:21

            I was examining an audio file and noticed that the numbers of channels returned by mediainfo and ffprobe were different.

            The mediainfo command:

            ...

            ANSWER

            Answered 2021-Mar-16 at 10:16

            AAC content, announced as mono. But AAC may have an hidden Parametric Stereo feature which makes this announcement not the reality 99.99% of the time (HE-AAC is rarely used for mono content).

            FFmpeg is not able to switch from mono to stereo if stereo is detected after decoder init so it forces its output to stereo due to some anticipation of getting Parametric Stereo at some point.

            MediaInfo does not have this limitation so shows stereo only if Parametric Stereo is detected. Parametric Stereo is not detected in this file.

            In this case MediaInfo shows the correct value (mono) and FFmpeg shows an incorrect value (stereo). Not blaming FFmpeg here, their developers decided to do that for good reasons (decoding and handling lot of tools not able to deal with channel count change in the middle of a file), just not what you are looking for.

            If you are not convinced, try to decode each channel in a different file, and compare files. There is only 1 byte not same between the 2 files, it is the byte saying that this is the left channel vs the right channel. Audio data is same: your file is really mono and even FFmpeg agrees on that when it decodes (in practice it duplicates the mono channel).

            Jérôme, developer of MediaInfo.

            Source https://stackoverflow.com/questions/66650791

            QUESTION

            Attribute error when sending json with Requests from mediainfo AWS Lambda
            Asked 2021-Feb-22 at 15:31

            I m trying to send video metadata to MongoDB Atlas from an s3 bucket with media info as an AWS Lambda in Python 3.7. It works when I hardcode the data, but I receive either an object key error or an attribute error. I tried importing json and using json.loads() and json.dumps() and receive errors. Here's the code,

            ...

            ANSWER

            Answered 2021-Feb-22 at 14:34

            I still cannot drill into ingestData, but I managed to avoid the issue by passing bucketName and objectName to create the s3 URL to link to the upload data in mongo and passing the whole mediaAnalysis to mongo.

            Source https://stackoverflow.com/questions/66297752

            QUESTION

            Prevent ffmpeg from changing the intensity of colors while downscaling the resolution of the video
            Asked 2021-Feb-18 at 14:29

            I have a use case where I need to downscale a 716x1280 mp4 video to 358x640 (half of the original). Command that I used is

            ...

            ANSWER

            Answered 2021-Feb-18 at 14:29

            You need to use Bit Stream Video Filter for setting h264 metadata.

            When a video player plays a video file, it looks for metadata that attached to the video stream (h264 metadata for example).
            The H.264 metadata parameters that affects the colors and brightness are: video_format, colour_primaries, transfer_characteris and matrix_coefficients.

            If the parameters are not set, there are defaults.
            The defaults for low resolution video are "Limited Range" BT.601 (in most player - I am not sure about MAC OS).
            The default gamma curve (affects the brightness) is sRGB gamma curve.
            The player converts the pixels from YUV color space to RGB (for displaying the video). The conversion formula is done according to the metadata.

            Your input video file input.mp4 has H.264 metadata parameters that are far from the default.

            We can assume that scale video filter does not change the color characteristics (the filter applies the YUV elements without converting to RGB).

            The characteristics of input.mp4 applies BT.2020, and HLG gamma curve, but converted as if they were default (BT.601 and sRGB gamma), so the colors and brightness are very different from what they should have been.

            When FFmpeg encodes a video stream, it does not copy the metadata parameters from the input to the output - you need to set the parameters explicitly.

            The solution is using a Bit Stream Video Filter for setting the metadata parameters.

            Try using the following command:

            Source https://stackoverflow.com/questions/66240097

            QUESTION

            Retrofit doesn't show server response
            Asked 2021-Feb-16 at 07:01

            I use retrofit for async server requests. Below is declaration of API client:

            ...

            ANSWER

            Answered 2021-Feb-16 at 07:01

            After updating version of retrofit and okHttp it works!

            Source https://stackoverflow.com/questions/66213091

            QUESTION

            Batch files inside folder to create MediaInfo.nfo file
            Asked 2021-Feb-15 at 12:49

            I'm trying to create a Batch whose purpose is to use MediaInfo.exe (CLI) to create a single text file (.nfo) containing all the "mediainfo" of the video files contained in a folder.

            The Batch is executed from the context menu: right click on the folder containing the video files. To do so, the file will be placed in "shell:sendto".

            The generated .nfo file containing all the mediainfo has to be "placed/saved or move" in the folder containing the video files.

            A specificity is that i need to alter the final .nfo file, in order to delete all the path part of the lines "Complete name" :

            ...

            ANSWER

            Answered 2021-Feb-15 at 07:12
            1. Windows CMD versus PowerShell

            The Windows command processor (cmd.exe) is processing a batch file. Its successor is the much more powerful script interpreter PowerShell (powershell.exe). The usage of PowerShell within a batch file does not really make sense as in this case it would be better to do the entire task with a PowerShell script using PowerShell syntax. For that reason I wrote a pure Windows command processor solution.

            2. File/folder name not enclosed in double quotes

            A file/folder name should be always referenced enclosed in " as otherwise a batch file could fail to process file/folder names containing a space or one of these characters &()[]{}^=;!'+,`~. Most argument strings referencing a file or folder name are enclosed in double quotes in code posted in question, but some are not.

            See: Syntax error in one of two almost-identical batch scripts: “)” cannot be processed syntactically here

            3. Wrong usage of command DIR

            The first FOR loop is not working as it should:

            Source https://stackoverflow.com/questions/66190788

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install MediaInfo

            Head over to the releases page to view the latest version. Move the downloaded app on your Applications folder and launch it to set the monitored folders and the other settings. Then you need to enable the associated Finder Sync Extension on the System Preferences / Extensions. Now right click (or control click) on an image or video within a monitored folder to see the contextual menu with the media information. The precompiled application is not notarized or signed. The application is compiled as universal binary (Intel and Apple Silicon processor). When you download the precompiled app directly you must strip quarantine flag. The first time you can launch the app with right click (or ctrl click) on the app icon and choosing the open action. Alternatively, you can open System Preferences > Security & Privacy > General (tab) then clicking the Open Anyway button.
            Clone the repository (do not download the source code because break the required git submodule):. then open the Xcode project, change the signing team and build. First time the build process can be slow due to the compilation of ffmpeg. The required FFMpeg and WebP libraries are linked inside the extension and compiled within Xcode, so no others external dependency are required.
            MediaInfo Settings XPC: used by the main application to store the settings. This bypass the AppGroup functionality that require a signed app to works.
            MediaInfo Helper XPC: used by the Finder Extension to read the settings an analyze the selected file. The XPC process can access to files within mounted disks (external or network disks) that would not be accessible by the MediaInfo Finder Extension.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link