2009-06-17, 22:08
CapnBry Wrote:Oh wait I'm thinking of the wrong thing. MediaInfo does some badass file scanning stuff, MediaInfoPlus I dunno where it gets its info from.
Are you sure MIP doesn't do streamdetails? I worked with Fekker like 4 months ago to get it in there. Has there been a release since then?
Sure MIP does create a streamdetails section, and after having a second look at it, it does include a scantype tag:
Code:
<streamdetails>
<video>
<width>592</width>
<height>320</height>
<codec>MPEG-4 Visual</codec>
<formatinfo>MPEG-4 Visual</formatinfo>
<duration>1h 33mn 15s 595ms</duration>
<bitrate>903 Kbps</bitrate>
<bitratemode />
<bitratemax />
<container>.avi</container>
<codecid>XVID</codecid>
<codecidinfo />
<scantype>Progressive</scantype>
<aspectdisplayratio>1.850</aspectdisplayratio>
</video>
<audio>
<language />
<codec>MPEG Audio</codec>
<channels>2</channels>
<bitrate>130 Kbps</bitrate>
</audio>
</streamdetails>
Some other things i noticed, the current code in xbmc reads the video <codec> field instead of the <codecid>.
Also it seems it's not grabbing the info from the <aspectdisplayratio> field, at least it didn't work for me.
Not sure if this is expected behavior ?