Questions tagged [mediainfo]

MediaInfo is a convenient unified display of the most relevant technical and tag data for video and audio files.

The MediaInfo data display includes

  • Container: format, profile, commercial name of the format, duration, overall bit rate, writing application and library, title, author, director, album, track number, date, duration.
  • Video: format, codec id, aspect, frame rate, bit rate, color space, chroma subsampling, bit depth, scan type, scan order.
  • Audio: format, codec id, sample rate, channels, bit depth, language, bit rate.
  • Text: format, codec id, language of subtitle.
  • Chapters: count of chapters, list of chapters.
181 questions
2
votes
0 answers

Mediainfo Java wrapper from filebot does not work in my code

I want to get information about video so I come to know that, mediainfo is good option. I try to use it java. So I fins the MediaInfo.java a wrapper around the native library mediainfo.s.0 I have ubuntu 16.04 64bit and the library are also 64bit. I…
Dhaval Bhoot
  • 241
  • 1
  • 5
  • 18
2
votes
1 answer

MediaInfo DLL for files in remote server

MediaInfo DLL is working as expected for local files. Is there any way to get info for files hosted in my storage similar to the way ffmpeg works? If we give url to ffmpeg as input, it gets the info. Similarly, can we get the MediaInfo DLL for…
RecklessSergio
  • 806
  • 3
  • 10
  • 34
2
votes
0 answers

Get aspect ratio from HLS video stream

I need to improve my app to keep aspect ratio for video streams. Sometimes resolution is not in right ratio so I need to lean on aspect ratio written in media info. To play videos I'm using Exo Player 1. I can't find way to read aspect ratio from…
Luka
  • 472
  • 4
  • 18
2
votes
1 answer

Mediainfo CLI: Custom template Output

I want to use Mediainfo with a bat file. It should write the Media Info into a textfile, then rename the file to *.nfo That works quite good, but I always get the complete "standart" Media Info, not a custom one that I need. Here is my code so…
Mueslie
  • 21
  • 1
  • 2
2
votes
3 answers

using output from mediainfo as variable in another command

So I'm trying to setup an easy way of starting videos with a bat file, and having that run Mediainfo first to get the length of the video so it can then stop vlc or whatever else when it's done playing. Complete name :…
2
votes
2 answers

Get Image File Information using MediaInfo library in Inno Setup Pascal Script

I have been trying for more than two days to get JPEG Image and MP4 Video File Information using MediaInfo.DLL in my Pascal Script. But I keep getting error Runtime Error (at 6:366) - Access Violation at address 0042FD23. Read of address…
Blueeyes789
  • 543
  • 6
  • 18
2
votes
2 answers

Bash: Failure to go through all files in a directory with mediainfo

I have a music directory on a debian computer, which from time to time gets too big files in it. To help me with eventual deleting of these files, I've installed mediainfo and made a script, that should go through all the files with in music…
TukeDuke
  • 21
  • 2
2
votes
2 answers

libmediainfo: qt5 project undefined symbol errors

I am trying to use libmediainfo with my qt5 project and am getting the following error Undefined symbols for architecture x86_64: "MediaInfoLib::MediaInfo::Open(std::basic_string, std::allocator >…
Neal
  • 197
  • 1
  • 16
2
votes
1 answer

Python 2.7 mediainfo --inform outputs full info rather than one string

Using the following in powershell produces the expected output of 01:22:02:03: MediaInfo --Language=raw --Full --Inform="Video;%Duration/String4%" filename My following python 2.7 script always gives the full mediainfo output with every piece of…
Tandy Freeman
  • 528
  • 5
  • 15
2
votes
1 answer

Script calling shell command works in CLI not in web context

I have a very simple script that works in the CLI environment, but not in the FPM environment, although both configuration files are the exact same. Here is what it looks like:
Roukmoute
  • 681
  • 1
  • 11
  • 26
2
votes
1 answer

Using the MediaInfo.dll within C# project

I am attempting to use the MediaInfo.dll within an MVC4 project designed in c# but I am having difficulty in getting this working. I found the following page: http://teejeetech.blogspot.co.uk/2013/01/mediainfo-wrapper-for-net-projects.html and…
Jay
  • 3,012
  • 14
  • 48
  • 99
2
votes
2 answers

How to understand MediaInfo CSV files

There are several CSV files in the Developers/List_Of_Parameters folder, but I'm not sure how to decipher them. Take the following string for instance: BitRate/String;;;Y NT;;;Bit rate (with measurement); I infer that BitRate/String is the exact…
ohseekay
  • 795
  • 3
  • 20
  • 37
2
votes
2 answers

C# publish application with MediaInfo.dll

I have build a program that will read some video and audio information of a mkv file using MediaInfo.dll. The program is working perfect when running from source, with the dll placed in the bin folder. Now i want to publish my app and be able to…
sebastian.roibu
  • 2,579
  • 7
  • 37
  • 59
2
votes
1 answer

Cannot get BitRate_Mode from mediainfo CLI

Following is my bat file: @echo off mediainfo --Inform=file://template.txt "in.mp4" >info.txt Following is my template.txt General;File is: %FileName%\r\n Video;\r\nFormat: %Format%\r\nCodecID: %CodecID%\r\nResolution: %Width%x%Height%\r\nDAR:…
nightcrawler
  • 275
  • 5
  • 16
2
votes
0 answers

Using MediaInfo.dll with lua?

Is there any code to get media tags using mediainfo.dll in lua programming , if there is a way to call the dll , how you'd return it's args??
Shkar T. Noori
  • 263
  • 2
  • 6