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
0
votes
1 answer

Need to get audio video structure for automation ffmpeg or ffprobe

I need to get video audio stream information in separate form. I have tried ffprobe and mediainfo, but they give full information which needs to be parsed. I think there could be option like, where I do not need to parse the full information and…
0
votes
1 answer

MediaInfo (CLI) and Batch Files fail to work

I'm trying to learn how to use MediaInfo (CLI). In the process, I stumbled onto this thread that provided some promising value. MediaInfo CLI (Command Line Interface) Syntax Teaching Me Once & For All However, when I try to script it in a batch…
timetriad
  • 3
  • 3
0
votes
0 answers

I am attempting to move from mediainfo CLI to pymediainfo but I am having a difficult time getting the correct information

I use the MediaInfo CLI to write up some basic information from groups of video files. I currently use a batch file that runs a MediaInfo CLI template. Here is a template (I call it "template.txt'): General;%FileSize/String%" &…
olpdog
  • 1
  • 4
0
votes
1 answer

detect dolby atmos audio/video from meta data

I'm using mediainfo to extract metadata from audio and video files. I need to find whether the file supports dolby atmos. What are the properties on the meta data that I can use to detect the dolby atmos supported audio or video files. Thanks in…
murari_sabavath
  • 175
  • 4
  • 12
0
votes
1 answer

New line or comma after each output of 'mediainfo'

for i in /Volumes/foo ; do mediainfo --Inform="Video;%Duration%" "$i" done give me all the durations of my files but with no breaks in between…
Bleakley
  • 653
  • 2
  • 9
  • 19
0
votes
0 answers

An attempt was made to load a program with an incorrect format Error when running program using MediaInfo

I have a C# WinForms program developed in VS 2022 on Win 11 which uses MediaInfoDotNet 0.7.79.40925 installed from NuGet. On the development machine, the program works OK, but when I create an installer for x64 and install on a Win 10 test machine,…
Jay Li
  • 31
  • 3
0
votes
1 answer

Where to install MediaInfo CLI in Windows?

I don't feel very confident about permissions and security in Windows. I have just dowloaded and unzipped the .zip that contains MediaInfo CLI (not the full installer). It works flawlessly from the download folder (pointing the terminal to that…
Nacho B
  • 1,573
  • 1
  • 12
  • 16
0
votes
1 answer

VideoCompress Mediainfo error with flutter

Hello I am having an issue where when trying to set the type of a variable mediainfo flutter requires that VideoCompress.compressVideo(); returns a type of Future Syntax Error is as follows A value of type 'Future' can't be…
JoeCodes
  • 35
  • 6
0
votes
1 answer

Run console app(MediaInfo.exe), and put output to variable

CMD: MediaInfo.exe -h Output - help information Ps: $res = MediaInfo.exe -h $res - help information (ok) CMD: MediaInfo.exe --Output=Audio;%StreamKindPos%^|%Language/String%^|%Title% video.mkv Output - audio information ps: $res = MediaInfo.exe…
Lexxy
  • 457
  • 2
  • 11
0
votes
1 answer

Various profiles and settings in H264 AVC codec

When I convert a video with ffmpeg, and use mediaInfo to review the metadata, I see the followings for the video codec: Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L3.1 Format settings : 1 Ref Frames Whereas for…
Tina J
  • 4,983
  • 13
  • 59
  • 125
0
votes
1 answer

Get the streaming HTML Video details from a direct URL without downloading it

I've listed direct URLs to the video files on the server from its front page, now I want to get the video details (like height and width, duration, file size, etc) without downloading it! (as it's possible to stream via direct URL, e.g.…
Ali Abdi
  • 408
  • 7
  • 21
0
votes
1 answer

How to export multiple Mediainfo exports of video and audio files with pymediainfo?

I have a Python script that I want to use to export specific mediainfo information in multiple subfolders of video and audio files. My problem now is that Python gives me an error message when an audio file in a MOV container does not contain a…
ramic
  • 3
  • 1
0
votes
1 answer

MediaInfo output to stdout

I have used MediaInfo before to extract information in a shell script in CygWin. #!/bin/bash IFS=$'\n'; for file in $(ls *.mp3 /.mp3 ); do count="C:/Program Files/MediaInfo/MediaInfo.exe" $file | grep "Bit rate mode" | grep "Variable" | wc -l; if […
0
votes
1 answer

MediaInfo get subtitles more sensibly

I making windows forms application with MediaInfo Wrapper and I can't find any good solution to get all subtitles and put them in to the array or string. Because if I hard code subtitle1, subtitle2, subtitle3, subtitle4 etc... and there is no…
m00tor
  • 3
  • 5
0
votes
0 answers

How do I correctly modify my bash script to use for loops?

I am rewriting my bash script for transcoding videos using ffmpeg to allow for batch processing instead of individual processing, and having trouble with for loops reading files for metadata. Any assistance would be appreciated. Basically, I am…