Kodi Community Forum

Full Version: ListItem.VideoCodec
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
What are all that is available with the recent build of XBMC? So far i have only been able to code xvid, and h.264 I have looked in the wiki for a list but haven't found anything.
There's a blog post by theuni with a link to the forum post with the list.
Yeah I'm actually looking at that very page: http://forum.xbmc.org/showpost.php?p=347...tcount=342

However it does not contain a list more so just instructions for use and examples. i'm just curious what's all available.

Resolution has 480, 540, 720, and 1080

I'm looking for the rest Smile
thats because its not decided by us its decided by the video. What it actually does is scan the video and see what its fourcc code tells us. If you want to see what it comes back as add a label with this line in it
Code:
<label>Video - $INFO[ListItem.VideoResolution] - $INFO[ListItem.VideoCodec] - $INFO[ListItem.VideoAspect] - Audio - $INFO[ListItem.AudioCodec] - $INFO[ListItem.AudioChannels] - $INFO[ListItem.AudioLanguage] - Subtitle - $INFO[ListItem.SubtitleLanguage]</label>

but common examples would be divx, xvid, h.264, AVC1
This is the list so far:

ListItem.VideoResolution
- 480
- 540
- 720
- 1080
ListItem.VideoCodec
- avc1
- div3
- dx50
- h264
- mp4v
- mpeg1video
- svq3
- wvc1
- xvid
- divx
ListItem.VideoAspect
- 1.33
- 1.66
- 1.78
- 1.85
- 2.20
- 2.35
ListItem.AudioCodec
- aac
- ac3
- dca
- mp2
- mp3
- wmapro
- wmav2
ListItem.AudioChannels
- 0 (Videos with no sound)
- 1 (mono)
- 2 (2.0)
- 4 (3.1)
- 5 (4.1)
- 6 (5.1)
- 8 (7.1)
Man you got all of those types in your video library :\
No I actually only have 4 so far, wish ratings worked like this ...
maybe other skinners could add audio / video codecs to this list, so we can get a 'somewhat' complete list of the most popular codecs.

oh, and yes, i have all of those in my collection ;-)
Credit for that list is to ronie, I'm keep adding what i can. I'll pm u what i have found shortly ronie.
I've got an additional vidcodec "divx", AR "2.5", audiochannels "4" which is 3.1 and "5" which is 4.1.
divx I forgot about

Not sure what the AR is ...

Added the others.
Yeah there should be no possible way to get a 2.5 AR. The list posted by XBMCG33K is complete at this time.
So I shouldn't see this then... http://pastebin.ca/1462995
I guess they could be over cropped, I haven't gone to the trouble of actually looking at them yet.

EDIT: Checked a few, they look fine by my eye.
XBMCG33K Wrote:ListItem.VideoAspect
- 1.33
- 1.66
- 1.78
- 1.85
- 2.20
- 2.35
http://en.wikipedia.org/wiki/Aspect_ratio_(image)

On DVD-Video cover cases these or more commonly written out as:
1:33:1
1.66:1
1:78:1
1:85:1
2:20:1
2:35:1

or referred to as:

1:33:1 = 4:3
1.66:1 ~ 16:9 = Widescreen (American Widesceen)
1:78:1 ~ 16:9 = Widescreen (Standard Widescreen)
1:85:1 ~ 16:9 = Widescreen (American Widesceen)
2:20:1 ~ 16:9 = Widescreen (American Widesceen)
2:35:1 ~ CinemaScope = Anamorphic Widescreen

XBMCG33K Wrote:ListItem.AudioChannels
- 0 (Videos with no sound)
- 1 (mono)
- 2 (2.0)
- 4 (3.1)
- 5 (4.1)
- 6 (5.1)
- 8 (7.1)
Is 4-channels not "4.0" as in Dolby Pro Logic?
http://en.wikipedia.org/wiki/Surround_sound

...I have never heard about 3.1

Huh
Was one that althekiller added. Have not run across it myself ...
Pages: 1 2