Videocodec 'x264' not showing up as media info when scrolling through library
#1
Hello,

I just refreshed my library and I noticed something. I have Radarr generate an .nfo file for metadata for kodi. If the .nfo file says the videocodec is H264, then I get a normal H264 videocodec label visible when scrolling movies. When the .nfo file says the videocodec is x264, then there is no label showing. Is there a list of videocodecs the have a label? Or should x264 just show as h264?

To make things clear, what I am talking about are the labels you see on the right bottom corner for the media info:

Image

Is there a list of codecs that are shown here or should x264 just be shown as h264?

Thanks for thinking with me.
Reply
#2
Post the NFO please.
Reply
#3
(2024-10-25, 20:22)Hitcher Wrote: Post the NFO please.
Hello,

Sorry for the delayed response. Here is the .nfo file: https://paste.kodi.tv/igaqowecew.kodi

Thanks for your help.
Reply
#4
I think that Kodi ignores stream details in an NFO and gets them direct from the file instead. And h264 is the only one of the 2 available for the ListItem.VideoCodec label.

Quote:ListItem.VideoCodec
Shows the video codec of the currently selected video (common values: 3iv2, avc1, div2, div3, divx, divx 4, dx50, flv, h264, microsoft, mp42, mp43, mp4v, mpeg1video, mpeg2video, mpg4, rv40, svq1, svq3, theora, vp6f, wmv2, wmv3, wvc1, xvid)
Reply
#5
(2024-10-25, 18:23)Rikkertt24 Wrote: Is there a list of codecs that are shown here or should x264 just be shown as h264?
x264 doesn't seem to be a recognized codec name.
This is what is used... https://github.com/xbmc/xbmc/blob/master...#L750-L774

(2024-11-06, 19:40)Hitcher Wrote: I think that Kodi ignores stream details in an NFO
That was changed in v21
https://github.com/xbmc/xbmc/pull/24386
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#6
(2024-11-06, 20:14)Karellen Wrote: That was changed in v21
https://github.com/xbmc/xbmc/pull/24386
Thanks.
Reply
#7
X264 is not a codec, it is the name of the popular open source encoder for encoding to H264.
Reply
#8
Thanks for the replies. So is there a way where I can have Kodi show H264 in case the .nfo file says x264?
If I disable the option in Radarr to create the .nfo files, would Kodi read the file as h264 and show it as that?
Reply
#9
The issue is the nfo details override everything else, but in this case x264 is not a valid codec (as it's not a codec) so Kodi doesn't display anything. So yes if the nfo wasn't there Kodi would correctly display h.264 which is the actual codec.
Reply
#10
The ''fix" would be a change in Radarr. Sonarr will likely be the same.
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#11
of course, given kodi is open source, in lieu of an actual fix one could simply add a variable to their skin so that x264 gets identified and displayed as h264
get creative and you could add an x264 icon for it as well
Reply
#12
You'd have to do a match of the filename string to do anything from the skin, since x264 won't be passed by core to the skin as it's not valid.
Reply

Logout Mark Read Team Forum Stats Members Help
Videocodec 'x264' not showing up as media info when scrolling through library0