MediaInfo | MacOS Finder Extension to show information | Video Utils library
kandi X-RAY | MediaInfo Summary
kandi X-RAY | MediaInfo Summary
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
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MediaInfo
MediaInfo Key Features
MediaInfo Examples and Code Snippets
Community Discussions
Trending Discussions on MediaInfo
QUESTION
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:48I'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.
QUESTION
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:18The error simple has gone, dont know why but now dont appears in the xaml, without doing any change
QUESTION
Here are the properties I'm trying to access:
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:46Here'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/
QUESTION
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:28I 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:
QUESTION
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:54Answering my own question. The following ffmpeg-python code works as expected:
QUESTION
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:16AAC 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.
QUESTION
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:34I 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.
QUESTION
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:29You 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:
QUESTION
I use retrofit for async server requests. Below is declaration of API client:
...ANSWER
Answered 2021-Feb-16 at 07:01After updating version of retrofit and okHttp it works!
QUESTION
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:12The 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.
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.
The first FOR loop is not working as it should:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MediaInfo
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
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page