Kodi Community Forum
High-Definition Video Flagging (library filtering/sorting & skin thumbnails overlay)? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Feature Requests (https://forum.kodi.tv/forumdisplay.php?fid=9)
+--- Thread: High-Definition Video Flagging (library filtering/sorting & skin thumbnails overlay)? (/showthread.php?tid=30419)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43


- CapnBry - 2009-06-11

Ok sorry about that.

Patch 0x0b patch keeps getting smaller and smaller somehow.

-- MultiThreaded scanner re-enabled for faster ... scanning!
-- Now prefers video fourcc when present, fallback to decoder codec when not.
-- Adds the "540" video resolution for videos between 721 and 960 pixels wide.

Note that if you already have streamdetails in your database the scanner won't probe them again. You can either manually refresh every item (ugh) or delete them from your video database (while XBMC isn't running):
delete from streamdetails;

EDIT: My Movies, went from all mpeg4 and h264 to:
1|avc1
4|div3
2|dx50
108|h264
1|mp4v
176|xvid


- ekim232 - 2009-06-11

I have several tv show episodes that I have ripped into iso format and they don't show video resolution flagging. At first I wondered why, so I put in a line to list the resolutions to see what it was and it came up blank. When I play the video it does not show any information on the resolution in terms of yuv480p or 720p. Does anyone know why iso formats would not be showing this information?

It shows mpeg2video, 720x480


- bidossessi - 2009-06-11

using the latest, r282, my extrathumbs don't get listed (although i have them)


- CapnBry - 2009-06-11

ekim232: Any media that is considered by XBMC to be "DVD media" isn't supported at this time. The issue is that I'm not all that familiar with how to parse title information in order to determine which title to base the probe on.

bidossessi: I'm not even sure what an extra thumb is, or what r282 is. Can you elaborate?


- ekim232 - 2009-06-11

[quote=CapnBry]ekim232: Any media that is considered by XBMC to be "DVD media" isn't supported at this time. The issue is that I'm not all that familiar with how to parse title information in order to determine which title to base the probe on.

QUOTE]

Thanks for pointing that out. Do you feel that it will be a feature in the near future or would you suggest I look to make these files into a different format. For me it is important to have a consistent look within the skin and if I have a lot of gaps with the flagging for all my dvd media it will not look right.


- HexusOdy - 2009-06-11

CapnBry Wrote:ekim232: Any media that is considered by XBMC to be "DVD media" isn't supported at this time. The issue is that I'm not all that familiar with how to parse title information in order to determine which title to base the probe on.

bidossessi: I'm not even sure what an extra thumb is, or what r282 is. Can you elaborate?

Bidossessi posted in the wrong thread, he's talking about Ember Media Manager


- CapnBry - 2009-06-11

I can't really give you a timeline on when DVD scanning will be supported. I haven't looked into how complex it will be at all.

External Subtitle People Does XBMC know what language external subs are? Is it in the file or something? I don't have any subs at all in my collection so I'm not sure how they work; the best I can figure out it only knows the filenames of the subs so how does that translate to a language?


- Nazgulled - 2009-06-11

I'm not sure how XBMC handles it, all I know is that by standard definition, you either have for a single subtitle:
Movie.avi
Movie.srt

This way, there will be no way to tell the subtitle language (unless parsing the content but that would be too much pointless work, in my opinion). But I believe that most people that use external subtitles, will probably just use one like this. The important thing to notice on this situation is that subtitles are available, no matter the language.

But for multiple external subtitles:
Movie.avi
Movie.en.srt (for English subs)
Movie.pt.srt (for Portuguese subs)

And so on... I also think that using full names like "english" instead of "en", is also supposed to work. Like I said, I'm not sure how XBMC handles this, maybe someone else has a better idea.


- Gamester17 - 2009-06-11

CapnBry Wrote:External Subtitle People Does XBMC know what language external subs are? Is it in the file or something?
It depends on the subtitle type. If it is a VobSub external subtitile, (as in .sub and .idx ripped from a DVD-Video keeping the same format), then yes.
http://en.wikipedia.org/wiki/Vobsub

If I am not mistaken the .idx which is the 'index' file contains the language name listings of it, you can try edit it with DVDSubedit or Subrip:
http://forum.videohelp.com/topic267416.html

Otherwise for normal text-based external subtitles I believe that this naming standard must be used, see:
http://wiki.xbmc.org/?title=Videos#Using_Multi_Language_Subtitles

Example:
Movie.avi
Movie.English.avi
Movie.Swedish.avi

...I am not sure if XBMC supports converting two or three letter ISO 639 language and ISO 3166 country codes for subtitles, but I doubt it(?).
http://en.wikipedia.org/wiki/ISO_639
http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes
http://en.wikipedia.org/wiki/ISO_3166

or IETF RFC 4646 and RFC 4647 language tags, whichever of them that is used most today:
http://en.wikipedia.org/wiki/IETF_language_tag

Oo


- ezechiel1917 - 2009-06-11

You can define the behaviour in advancedsettings.xml with <languagecodes>

for example
<languagecodes>
<code><short>en</short><long>English</long></code>
<code><short>eng</short><long>English</long></code>
</languagecodes>

will then recoginze

moviname.en.srt
moviename.eng.srt

to be displayed as English subtitle whe choosing from subtitle list in XBMC OSD

if you don't have defined this in adavancedsettings.xml, XBMC OSD will display them like this:

moviname.en.srt -> subtitle.EN.srt
moviename.eng.srt -> subtitle.ENG.srt


HOWEVER for some reason I'm not able to reproduce <languagecodes> to work like I describe above (seems like setting in does nothing and I'm still getting subtitle.EN.srt displayed in XBMC OSD although I have

<languagecodes>
<code><short>EN</short><long>English</long></code>
</languagecodes>

in advancedsettings.xml

, but I'm hell of sure it was working like I'm suggesting, seems to be a bug because I was using it some time ago.

Can anyone else confirm it before I submit it as a bug on TRAC?


- CapnBry - 2009-06-11

Alright, thanks everyone for the input I think I see how the naming convention works and how they show up in XBMC now. Next question, does anyone have a VobSub sub/idx file I can use to play with? Doesn't matter what language or film. All I can find with some quick googling is SubRip and MicroDVD apparently and don't want to go browsing through pirate sites to try and find one.


- ccMatrix - 2009-06-11

CapnBry Wrote:Alright, thanks everyone for the input I think I see how the naming convention works and how they show up in XBMC now. Next question, does anyone have a VobSub sub/idx file I can use to play with? Doesn't matter what language or film. All I can find with some quick googling is SubRip and MicroDVD apparently and don't want to go browsing through pirate sites to try and find one.

I have uploaded an archive with a VobSub sub/idx to http://www.mediafire.com/?u2izylobvy2.


- CapnBry - 2009-06-11

Do VobSubs even work at all? I tried to use that file you uploaded, ccMatrix, and debugging through the code it tries to get the ffmpeg demuxer to open the sub file and it dies with:
CDVDDemuxFFmpeg::Open - error probing input format, special://temp/subtitle.spa.sub
EDIT: Golly even DirectVobSub doesn't like them.

And ezechiel1917, it seems XBMC only uses those codes for the Audio Language conversion, not the subtitle.


- ccMatrix - 2009-06-11

CapnBry Wrote:Do VobSubs even work at all? I tried to use that file you uploaded, ccMatrix, and debugging through the code it tries to get the ffmpeg demuxer to open the sub file and it dies with:
CDVDDemuxFFmpeg::Open - error probing input format, special://temp/subtitle.spa.sub
EDIT: Golly even DirectVobSub doesn't like them.

And ezechiel1917, it seems XBMC only uses those codes for the Audio Language conversion, not the subtitle.

It is a binary Sub format with the idx containing the index and was the only sub/idx combo I had in my folder.

I had a look at http://www.allsubs.org/ and found some sub format files but they don't contain any language information. Only the idx file seems to contain that information.

All other subtitles I have are srt files, which also do not include language information.


- freezy - 2009-06-11

Hmm I'm getting linking errors this time. Is that my fault?