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

What is the fastest way to get a media file's duration?

I am working on a program that scans drop folders for files, and registers them to another system that requires a duration for the file. The best solution I've been able to find so far is to use MediaInfo to get the duration from the header, but for…
Magrias
  • 275
  • 1
  • 3
  • 14
4
votes
1 answer

Python error using MediaInfo plus wrapper

I'm currently trying to get the module pymediainfo, which is installed on every machine i try this on and installs with no errors. For more info on pymediainfo go here (There isn't a lot hence why i'm here):…
4
votes
3 answers

Renaming my video files as per the resoltuion using batch

I would like to rename my video files as per the resolution they are in, e,g for a video 'bla bla.mp4' in 1080p, I would like to rename it to 'bla bla [H.264 1080p]. The script should automatically be able to detect the resolution of the video, and…
4
votes
3 answers

ffmpeg vs mediainfo for getting thumbnail and metadata

I need to extract the metadata information from a video file as well as a thumbnail for that file. For this I have tried ffmpeg and the metadata (such as duration, resolution, codecs, creation_time etc) is seen on the stdout. If I need to use…
Spottsworth
  • 395
  • 5
  • 12
3
votes
1 answer

How to get MediaInfo in AWS lambda using nodeJs

I‘m currently working with video on demand process using aws lambda in nodeJs. I want to create video on demand with settings based on video file im storing inside S3 bucket. To make such a thing i would need to extract informations(like framerates,…
3
votes
2 answers

Getting video metadata of a video stored in s3 bucket using aws lambda node js

I have a video stored in aws s3 bucket I want to get the metadata of the video (like framerate, resolution, etc) inside aws lambda which is using node js runtime. It will be better if this can be done in memory instead of downloading the whole video…
3
votes
2 answers

MediaInfo check AudioStreams dynamically in C#

I am using MediaInfo.dll with Wrapper-Class to check Video-Files for Audio-Codecs. Can someone tell me how I can check COUNT of the Audio-Streams of the File? string pfad = Console.ReadLine(); string[] verzeichnisse =…
comidos
  • 123
  • 1
  • 12
3
votes
1 answer

How can I (or is it possible to) convert the AVC codec profile and level to the MIME codec definition?

In my use-case I have to provide codec specification within the HTML5 video source's MIME type. But even a type="video/mp4; codecs=avc1" is not detailed enough for Firefox. Firefox needs the extra detail of for example type="video/mp4;…
Csaba Toth
  • 10,021
  • 5
  • 75
  • 121
3
votes
1 answer

FFprobe reports Invalid sample_count on very large .mov file

I have a 1.1TB ProRes 422 MOV file (a bit more than 24 hours of recording). When running ffprobe -v error -print_format xml -select_streams v:0 -show_format -show_streams "Metadata Error.mov" I get the following: [mov,mp4,m4a,3gp,3g2,mj2 @…
Pablo Montilla
  • 2,941
  • 1
  • 31
  • 35
3
votes
1 answer

Lambda nodejs - mediainfo w/ libcurl byte range not supported

I have created a Lambda function to create thumbnail images from mp4 video files using ffmpeg and Mediainfo which works great for smaller files. So far, I have been successful in creating a thumbnail image for files sized 372.5 KB and 73.4 KB, but…
pruhter
  • 517
  • 4
  • 6
3
votes
1 answer

How do I properly reduce the resolution of a 360 video using ffmpeg?

I have tried reduction with the following technique from a scale of 2048:1024 with something like: ffmpeg -i eagle360half.mp4 -vf scale=1024:512 video360_1024.mp4 however the playback then becomes warped and warbly (visually similar to a bad vhs…
3
votes
1 answer

AWS Lambda: Using executable with python

Hello this tutorial pretty much describes exactly what I need to do and explains it pretty well, but it just doesn't work for me. Isearched for similar cases and even found others having trouble with it but their solutions did not help me. I changed…
3
votes
1 answer

Why won't MediaInfo CLI let me isolate "Inform='Other'" tags?

I'm trying to use MediaInfo CLI (v0.7.77 on Mac OS X 10.9.5) to grab the first-frame timecode of QuickTime files using this Inform= syntax: mediainfo --Inform="Other;%TimeCode_FirstFrame%" FILENAME.MOV But it seems that MediaInfo ignores the…
3
votes
2 answers

Get bits per each second FFmpeg/Mediainfo

Is there any way to get how many bits per second are in any video? ej: ffmpeg/mediainfo -commands input.mkv Result: sec 1 - 500bits sec 2 - 600bits sec 3 - 300bits Thanks!
3
votes
1 answer

It is posible to cast or stream (Android-Chromecast) a local File?

I am developing a little music Player and I am trying to cast the current song to Chromecast. My app is based on Folders, so I manage mp3 or flac Files as songs. I am following this Google Developers tutorial and I have written my Android Sender…
Juanjo
  • 298
  • 1
  • 15
1
2
3
12 13