Mediainfo: ottenere informazioni sui video tramite terminale

In certi casi può essere necessario identificare i codec necessari per riprodurre/editare un file video e ottenere il maggior numero di informazioni necessarie. Per Windows esiste una nota utility free chiamata GSpot in grado di provvedere a questo compito.

Per Ubuntu esistono invece delle utility equivalenti che consentono di ricavare praticamente le stesse informazioni ottenibili con Gspot oltre a fornire alcune funzionalità aggiuntive. Nel precedente post abbiamo parlato dell’interfaccia grafica AVInaptic2. Ma è possibile ottenere le stesse informazioni tramite terminale utilizzando l’utility Mediainfo. Fra le tante informazioni che è in grado di fornire ci sono: codec audio, codec video, frequenza di campionamento, risoluzione video, framerate, bitrate, rapporto d’aspetto e tantissime altre informazioni.

Per installare mediainfo basta eseguire i seguenti comandi in successione:

sudo apt-get update && sudo apt-get install mediainfo

Per analizzare un video basta eseguire:

mediainfo nomefile_video.avi

Che ci fornirà un output di questo tipo:

General
Complete name : filmino nomefile_video.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 697 MiB
Duration : 1h 30mn
Overall bit rate mode : Variable
Overall bit rate : 1 075 Kbps
Writing application : Nandub v1.0rc2
Writing library : Nandub build 1852/release

 

Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple@L5
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 1h 30mn
Bit rate : 936 Kbps
Width : 624 pixels
Height : 336 pixels
Display aspect ratio : 1.857
Frame rate : 25.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.179
Stream size : 607 MiB (87%)
Writing library : XviD 1.1.2 (UTC 2006-11-01)

 

Audio
ID : 1
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 1h 30mn
Bit rate mode : Variable
Bit rate : 128 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 81.7 MiB (12%)
Alignment : Aligned on interleaves
Interleave, duration : 24 ms (0.60 video frame)
Interleave, preload duration : 359 ms


Leave a Reply

 

Login

Google Pagerank

...loading

Friend Site

PaperblogIl BloggatoreGiornaleBlog Notizie Blog di Informatica e Internethttp://www.wikio.itAdd to Technorati FavoritesSegnala FeedVero GeekTecnolandiaAggregatore di blogAggregati a KikkeMania.comSmilla MagazineColombo’S Blogiwinuxfeed.altervista.orgFeedelissimobloghissimoAggregatore di feedMiglior AggregatoreBlogItalia.itIscritto su Mondo Geek.it- aggregatore di news sulle tecnologieAggregatore Blogtua notiziaWebShake – tecnologiaWebsoblipperaggregatuttolimegatorMarco Robutti - Software Newseppoliano.net Blognotiziedalweb map of RSS
Wikio - Top dei blog - Linux

Blogroll

    '); ?>

Help us!

contact us map of RSS


Calendar

Aprile 2024
L M M G V S D
1234567
891011121314
15161718192021
22232425262728
2930