Questions tagged [media-info]

32 questions
6
votes
2 answers

How to get the duration of multiple video files in Mac OS X 10.10 (Yosmite)

A folder of 10 video files, how to get the total duration of them? BTW, I have tried (Command+Control+I) and it doesn’t show the total duration.
M. A.
  • 109
5
votes
1 answer

Get subtitle list using mediainfo in Windows

I'm using mediainfo in order to see the media information about a mkv file. I see that it give me the details about subtitle like: Text #1 ID : 3 Format : PGS Muxing mode …
2
votes
1 answer

Difference of meta-data between mdls and mediainfo

I was wondering what are the difference between the type of metadata returned by mdls and by mediainfo. Why are they different? For exemple why the creation date is different on the same file? Thanks! $ mediainfo PLOUF.MOV General Complete name …
Romain
  • 121
2
votes
1 answer

How can I extract tags from a MP4 file with MP4Box or mediainfo on the command line

I want to extract tag information like title, author, encoded date, tagged date and so on from several video, audio and subtitle tracks in .mp4 files (for later use in mkvmerge). I need the extracted information in a text or xml file and searching…
Endoro
  • 3,014
2
votes
1 answer

Media Information for Constant and Variable bit rate of Video files

What is this Maximum bit rate for a .mp4 format file whose bit rate mode is Constant? Media information displayed for MP4 (Using MediaInfo Tool) ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : Baseline@L3.0 Format settings,…
cpx
  • 1,425
2
votes
0 answers

How can I get resolution, bit rate, and codec from a video file that has missing metadata?

I have thousands of videos with metadata missing. Tools like ffprobe and mediainfo rely on that metadata, and even using filebot has't resolved this problem. How can I process thousands of video files, all in different folders, and get the actual…
2
votes
1 answer

Trying to install MediaInfo Python 3.13 (Ubuntu) and it is not working out as expected

I am trying to install MediaInfo Python 3.13 (Ubuntu) and it is not working out as expected. https://pymediainfo.readthedocs.io/en/stable/ from pymediainfo import MediaInfo media_info = MediaInfo.parse('/video.mp4') for track in media_info.tracks: …
2
votes
0 answers

ffprobe reading wrong frame rate, any workarounds besides MediaInfo?

I want to check the frame rate of many videos to double it. I use ffprobe to get r_frame_rate which is evaluated to a decimal, then fed into ffmpeg as rscale -r {2*fps}, or into mkvmerge as 0:{2*fps}fps. And so, I start with: ffprobe -v error…
Minty
  • 263
2
votes
1 answer

get audio duration of file with multiple audio mediainfo

I am using mediainfo to get the audio duration (in ms) .\mediainfo.exe --Output='Audio;%Duration%' file.mkv Example for mkv with 1 audio: 1367130 Example for mkv with 2 audio tracks: 13671301367130 if the file has several audio tracks,I only want…
2
votes
1 answer

Mediainfo: How to obtain color range information?

I'm using mediainfo to obtain several aspects of an input video such as resolution and framerate. I'm using the --inform option for that with values such as "Video;%FrameRate%" "Video;%Format/Info%" However, i'm not being able to obtain the…
otiteb
  • 23
2
votes
1 answer

Mediainfo recognising jpg files as video. Glitch or jpg fie issue?

So i've just scanned a bunch of photos and the resulting files are just standard JPG but for some reason MediaInfo is picking them up as Video? For instance i have a 1.86mb jpg file (according to windows properties) but mediainfo hover over tooltip…
FoxyFish
  • 123
2
votes
2 answers

MediaInfo's 'Overall bit rate' vs 'Maximum Overall bit rate'

I'm comparing duplicate media files using MediaInfo, so that I can keep the one with the best quality and delete the other one. However, I'm confused by some of the information. One Duplicate Another Duplicate Of course Overall bit rate mode:…
oldboy
  • 413
  • 2
  • 6
  • 21
2
votes
1 answer

The number of audio channels in a given mp4 with Mediainfo

I am trying to find the number of channels in a given .mp4 file. I run mediainfo, but it shows it as 8! Basically it should either be a 2 channel, or 5.1 showing as 6. And many of my files look like this. I guess many of the channels might be filled…
Tina J
  • 579
2
votes
1 answer

HE AACv2 Audio profile on MediaInfo

I have a SDI input encoder with audio configuration as Coding : AAC/HE-AAC Coding Mode : MPEG-4 HE AAC v2 Mode : Stereo (2/0) Sameple Rate : 48KHz ES Bitrate : 64Kbps Transport Format : ADTS And, When I captured a encoder's output and put the file…
Andrei Kim
  • 61
  • 1
  • 5
2
votes
1 answer

Apply MediaInfo batch for multiple files

I frequently use the following command: MediaInfo.exe "--Output=Text;%ID%: %Format%$if(%Language/String%, SUBTiTLE: .............. %Language/String%)\r\n" File.mkv This will output the subtitle streams of a video vile in the format: 5: UTF-8 6:…
Arete
  • 1,600
1
2 3