2011-12-30, 03:35
I am trying to figure out audio codec flagging as I notice a bunch of my videos don't display all the flags. According to the wiki:
Not sure exactly what that means, but since the info is stored in the db I assumed that it reads it from there first, and if it's not there then reads the media file itself. The problem though is that I have a movie (TRON: Legacy) that doesn't display the audio codec flag. So I went into the db (MySQL db) and checked it's audio codec value in the streamdetails table. The value was 200 (whatever that is) so I assumed that was the problem and changed it to ac3, which is what XBMC displays when I hit "O" while playing the file. I then re-started XBMC and it still doesn't show the Dolby Digital flag. The Skin is Cirrus 2.06 and it shows the flag for other DD movies so that got me wondering if the value in the db is even referenced for flagging purposes. If not, how can I correct the videos that don't display a flag?
Another thing I'm wondering is where do the values in the db come from? I see many different values and multiples of the same codec (ac3 and ac-3 for example). I also see some strange values, 200 (mentioned above), microsoft, 128, 128, 130, etc. I only use Ember Media Manager to scrape my movies and I do have it get the metadata, but the nfos created for these strange values and have standard codecs listed (ac3, DTS). So where could these strange values and multiple values be coming from? Is it from XBMC reading the file itself? If so, why the different values for the same codec?
Quote:XBMC tries to read the meta information from the media file, after it was added to the Library.
Not sure exactly what that means, but since the info is stored in the db I assumed that it reads it from there first, and if it's not there then reads the media file itself. The problem though is that I have a movie (TRON: Legacy) that doesn't display the audio codec flag. So I went into the db (MySQL db) and checked it's audio codec value in the streamdetails table. The value was 200 (whatever that is) so I assumed that was the problem and changed it to ac3, which is what XBMC displays when I hit "O" while playing the file. I then re-started XBMC and it still doesn't show the Dolby Digital flag. The Skin is Cirrus 2.06 and it shows the flag for other DD movies so that got me wondering if the value in the db is even referenced for flagging purposes. If not, how can I correct the videos that don't display a flag?
Another thing I'm wondering is where do the values in the db come from? I see many different values and multiples of the same codec (ac3 and ac-3 for example). I also see some strange values, 200 (mentioned above), microsoft, 128, 128, 130, etc. I only use Ember Media Manager to scrape my movies and I do have it get the metadata, but the nfos created for these strange values and have standard codecs listed (ac3, DTS). So where could these strange values and multiple values be coming from? Is it from XBMC reading the file itself? If so, why the different values for the same codec?