2009-06-24, 22:09
nul7 Wrote:I am currently reworking media flagging support in Ember Media Manager to be more compatible with CapnBry's code, and wanted to make sure I have everything right. Is this still all that's needed for nfo support:
? Or are there more fields now?
Looks good, here is a export from my db:
Code:
<fileinfo>
<streamdetails>
<video>
<codec>h264</codec>
<aspect>2.352941</aspect>
<width>1920</width>
<height>816</height>
</video>
<audio>
<codec>dca</codec>
<language>eng</language>
<channels>6</channels>
</audio>
<audio>
<codec>ac3</codec>
<language>ger</language>
<channels>6</channels>
</audio>
<subtitle>
<language>eng</language>
</subtitle>
<subtitle>
<language>dut</language>
</subtitle>
<subtitle>
<language>ger</language>
</subtitle>
</streamdetails>
</fileinfo>
Video:
Code:
3iv2 avc1 div2 div3 divx dx50 flv h264 mp42 mp43 mp4v mpeg1video mpg4 xvid
Code:
aac ac3 dca mp1 mp2 mp3 pcm_s16le pcm_u8 vorbis wmav2
You can use it to convert the codecs returned by your method to the same ones returned by XBMC internally. It's probably not complete but should include many common codecs.