What information can I get from MediaInfo?
- General: title, author, director, album, track number, date, duration...
- Video: codec, aspect, fps, bitrate...
- Audio: codec, sample rate, channels, language, bitrate...
- Text: language of subtitle
- Chapters: number of chapters, list of chapters
What format (container) does MediaInfo support?
- Video: MKV, OGM, AVI, DivX, WMV, QuickTime, Real, MPEG-1, MPEG-2, MPEG-4, DVD (VOB)...
(Codecs: DivX, XviD, MSMPEG4, ASP, H.264, AVC...) - Audio: OGG, MP3, WAV, RA, AC3, DTS, AAC, M4A, AU, AIFF...
- Subtitles: SRT, SSA, ASS, SAMI...
MediaInfo comes with a very easy to use GUI for Windows which, unfortunately is incomplete for Linux so Windows users can just use that, and I'm going to cover how to create the .nfo file in Linux using command-line. In Windows, just export the info to a .txt file and rename it to .nfo.
Using MediaInfo in Linux
mediainfo --LogFile=nfo_file_name.nfo movie.avi
(presuming you want to create a NFO file for an avi).
Just replace the text in bold with the appropriate values and that's it: