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

Directing same output from a 'for' loop to two files?

Mission: search the drive using variables %folder% and %wildcards%. The files found are compared by path-to-file|filesize to entries in database.txt. If a match is found, it is copied to workinglist.txt and if not, a new entry is created. The point…
Bricktop
  • 533
  • 3
  • 22
0
votes
1 answer

List of file and the file size using cmd or media info/ffmpeg

We can use to get the file name dir /b>list.txt using windows CMD. is there anyway we can get the file size info with name using cmd/mediainfo/ffmpeg or other app? CMD can generate the file size but it's in "bytes" formate. i am looking for KB/MB/GB…
firekid2018
  • 143
  • 11
0
votes
1 answer

Is there a way to get the frame width and frame height properties of a webm via javascript?

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

Implementation mediainfo.js with dropzone on success

I would like to use this javascript: https://github.com/buzz/mediainfo.js I want to implement in the Dropzone success event a call to the functions present in mediainfo.js var varFunc_Dropzone = function () { var dzone_upload_show_poster =…
0
votes
0 answers

MediaInfo Batch, get rid of the file path in the line "Complete name"

I currently have a batch file to create an nfo of all file inside a folder. Now I'm looking to add a function for a "single file". i have a part that works but the nfo file text includes the path of the file in the "Complete name" line. I would like…
0
votes
1 answer

Getting text into variables not working from mediainfo

I am building a simple script that I will be adding ffmpeg to after this part works. @echo off setlocal disabledelayedexpansion for /R %%B in (*.mp4,*.mkv) do ( mediainfo.exe "--Inform=Video;%%Format%%" "%%B" > temp.txt for /f %%G in…
dcol
  • 11
  • 5
0
votes
1 answer

How to do mediainfo on m3u8 files

My mediainfo CLI version 19 was working fine until now on single files. But I am really surprised that it is not working with M3u8. It only gives file level information. It is not giving me underlying child M3u8 info and their resolutions etc; and…
Tarun
  • 517
  • 4
  • 9
  • 24
0
votes
1 answer

Does MediaPlayer only play mp3 files that have bit rate mode: variable?

I'm building an mp3 player app and certain mp3 files won't play. It's the same mp3 files every time that wont play. No errors are thrown and when I click to play them, everything works as if the audio is about to play, but then no audio comes out,…
Tedious
  • 75
  • 6
0
votes
3 answers

Mediainfo.js integration in Angular 8

I'm trying to use Mediainfo.js to get some video info on the frontend of an Angular 8 project. But I'm getting the errors below: GET https://192.168.25.177:4200/MediaInfoModule.wasm 404 (Not Found) wasm streaming compile failed: TypeError: Failed to…
Nelson Teixeira
  • 6,297
  • 5
  • 36
  • 73
0
votes
1 answer

How to create video with incorrect mediainfo?

I need to create some correct videos with incorrect mediainfo for testing. For example, halved bitrate or framerate, resolution 1920x1000 instead of 1920x1080. How can I edit mediainfo? I tried: VLC media player - it only allows to edit "author",…
Latorus
  • 23
  • 1
  • 6
0
votes
2 answers

How to remove "wrting library" from an MP3 file using ffmpeg?

I tried to remove the "writing library" entry from some of my mp3 files with ffmpeg, and this is the command I used: ffmpeg -i input.mp3 -map_metadata -1 -c copy output.mp3 The command removed all the other tags, but the "writing library" still…
aveceux
  • 31
  • 5
0
votes
1 answer

Get multiple tracks from Spotify API using ISRC code

There is a solution to fetch a single track by querying the Spotify search API with ISRC. But, I didn't find any way to fetch multiple tracks for the same. I tried these ways but nothing worked: Comma-separated:…
Saru
  • 863
  • 1
  • 15
  • 23
0
votes
1 answer

Input string was not in a correct format - MediaInfoLib

var mi = new MediaInfoLib.MediaInfo(); mi.Open(Server.MapPath(Model.TimeLineListArray[j].TimeLineMedia)); int width = int.Parse(mi.Get(MediaInfoLib.StreamKind.Video, 0, "Width")); This code returns error in server, but in local system…
saveesh p m
  • 33
  • 10
0
votes
0 answers

AWS Lambda Python - Push part of MediaInfo function response to SNS

firstly I am relatively new to code and attempting to teach myself what I need! I have managed to butcher bits of example code that I have found on various forums to get to where I am now. I am running an AWS Lambda function that triggers when a new…
0
votes
1 answer

Mediainfo does not handle AWS S3 url with special characters in S3 keys

I am using latest mediainfo. mediainfo --version shows MediaInfoLib - v17.12 When using special character in filename, it shows valid output. >mediainfo 'mini & bar.mp4' Complete name : mini & bar.mp4 Format …
Swati
  • 577
  • 6
  • 15