2008-04-06, 10:57
Well, NFO would be a nice option but should not really be needed, IMO best would be if XBMC could collect the media-information of each video when it is first scanned into the database (on the initial scan). Media-information such as; horisonatal & vertical pixel resolution, number of audio-streams with the language and type of those streams (DTS, Dolby Digital, 2.0, 5.1, 7.1, etc.), and also number of subtitle-streams and the language of those subtitle streams.
I believe JMarshall quickly looked into implemnting the MediaInfo library as a DLL but was unsuccessfull?
http://mediainfo.sourceforge.net
http://forum.xbmc.org/showthread.php?tid=12721
I believe JMarshall quickly looked into implemnting the MediaInfo library as a DLL but was unsuccessfull?
http://mediainfo.sourceforge.net
http://forum.xbmc.org/showthread.php?tid=12721
Gamester17 Wrote:MediaInfo library?Good idea?
See this request for MediaInfo tag reader library for DVDPlayer for more information => http://trac.xbmc.org/ticket/3824
MediaInfo supplies technical and can read tag information about a video or audio file containers.
MediaInfo is coded in C++, is cross-platform (Win32 and Linux), open source code (GPL/LGPL dual-license), and can be compiled into a DLL (Dynamic Link Library) or CLI (Command Line Interface).
What information MediaInfo will get from looking at a container:
General: Title, Author, Director, Album, Track Number, Date, Duration, and much more.
Video: Codec, Resolution, Pixel Aspect Ratio, FPS, Bit-rate, and much more.
Audio: Codec, Sample Rate, Channels, Language, Bit-rate, ReplayGain, and much more.
Text Language of Subtitles (SRT, SSA, ASS, SAMI, )
Chapters: Number of Chapters, List of Chapters (names)
Examples of just some of the supported formats:
Video: AVI, MKV, OGM, DV (RAW), MPEG-1, MPEG-2, MPEG-TS, MPEG-4, WMV, MOV, IFO/VOB (DVD-Video), CDXA (VCD/SVCD), Blu-ray, and more.
Audio: MP3 (Id3v2), OGG, WAV, PCM, RA, AC3, DTS, AAC, M4A, AU, AIFF, WMA, APE/MAC, FLAC, and more.
Checkout the MediaInfo website for more information:
http://mediainfo.sourceforge.net
Source code (and SVN):
http://sourceforge.net/projects/mediainfo