Archive:Codecinfo

From Official Kodi Wiki
Revision as of 22:38, 29 August 2012 by >Mtubesing
Jump to navigation Jump to search
Cleanup.png This page or section may require cleanup, updating, spellchecking, reformatting and/or updated images. Please improve this page if you can. The discussion page may contain suggestions.


Whilst XBMC is playing media on screen you can activate the codecinfo pop-up/overlay. This normally appears as white text on a black background bar located near the top of the screen (dependent on the skin being used).

The codecinfo popup displays a number of real time variables describing detailed information on the codecs currently in use.

Eden Release

File:Video.codecinfo.jpg

For fullscreen video playback, the codec information is split into 4 lines of text.

  • Audio information - provided by both the 'D'emuxer and the 'P'layer
  • Video information - provided by both the 'D'emuxer and the 'P'layer
  • General playback information
  • 'W'indowing and System CPU information

Samples from the screen above

Audio Information Explanation
aac Audio Codec
48000 Hz Sample Rate
stereo Audio Channels
s16 Sample Size (s16 = Signed 16-bit value)
317 kb/s Average Audio Bitrate (reported by demuxer)
aq:96% Audio Queue Saturation
kB/s:307.60 Current Audio Bitrate (reported by player)
att:0.0db Attenuation / Gain added by player
Video Information Explanation
h264 (High) Video Codec / Profile
yuv420p Pixel Format/Color Space
1920x1080 [PAR 1:1 DAR 16:9] Resolution / Pixel Aspect Ratio / Display Aspect Ratio
28402 kb/s Average Audio Bitrate (reported by demuxer)
fr:23.976 Framerate of Source
vq:99% Video Queue Saturation
dc:ff-h264 Video Library perfoming decode (in this case, ffmpeg/h264)
Mb/s:29.64 Current Video Bitrate (reported by player)
drop:87 Number of Dropped Frames
pc:none Pullup Correction Pattern Length
General Playback Information Explanation
ad:0.000 Audio Delay (Configured)
a/v:0.029 Audio/Video Sync Difference (Real time)
edl:- Edit Decision List
dcpu: 0% Relative CPU Usage of the Player Thread
acpu: 0% Relative CPU Usage of the Audio Decode Thread
vcpu:95% Relative CPU Usage of the Video Decode Thread
cache:30.71MB 100% Size of Cached Data and % of Cache Utilized
Windowing/System Performance Information Explanation
fps:21.00 Framerate being Displayed
CPU 4 core(s) System Processor Information (this display is OS-dependent)
average: 31.6% Average CPU Load across all Cores

Pre-Eden Release Information

As of Dharma CodecInfo looks as following:

D(Audio: ac3, 48000hz, 5.1, s16, 448 kb/s) P(aq:99%, kB/s:440.98)
D(Video: mpeg2video, yuv420p, 720x480 [PAR 32:27 DAR 16x9], 9800 kb/s) P(vq: 98%, dc:libmpeg2, Mb/S: 3.45, drop:0, pc:2)
C( ad: 0.000, a/v: 0.047, edl:-, dcpu: 0% acpu: 0% vcpu:4%)
W( fps:23.98 CPU 4 core(s) average: 2.7% ) 
Sample Meaning
Audio: ac3, 48000hz, 5.1 audio codec, sample rate, audio channels
s16 bits per sample?
448 kb/s current bitrate
aq:99% audio queue saturation
kB/s:440.98 average bitrate?
Video: mpeg2video video codec
yuv420p, 720x480 colorspace, resolution
[PAR 32:27 DAR 16x9] pixel aspect ratio / display aspect ratio
9800 kb/s average bitrate
vq: 98% video queue saturation
dc:libmpeg2 demux
Mb/S: 3.45 current video bitrate
drop:0, pc:2 dropped frames, pullup correction pattern length
ad: 0.000, a/v: 0.047, edl:- audio delay, a/v sync, edit decision list
dcpu: 0%, acpu: 0%, vcpu:4% demuxer cpu, audio cpu, video cpu
fps:23.98 frames per second
CPU 4 core(s) average: 2.7% 4 cores, CPU usage


The following example shows some realistic sample data in the approximate form it is displayed:

audio:(mp3lib MPEG layer-2, layer-3) br:128000 sr:48.00 khz chns:2
video:FFmpeg MPEG-4 fps:23.98 512x384 early/late:3/2
fps:23.93 cpu:0.00 dropped:1 Q:0 cache:80% ct:0.05 ac:-0.01
Codecinfo Variables
Sample Full Variable Name Meaning
audio:(mp3lib MPEG layer-2, layer-3) Audio Codec Audio decoder used to decode current audio stream
br:128000 Bitrate Bitrate of audio stream (very inaccurate, often plain wrong)
sr:48.00 khz Sample rate Sample rate of audio stream
chns:2 Audio Channel Count Number of audio channels present (very inaccurate, often plain wrong)
video:FFmpeg MPEG-4 Video Codec Video decoder used to decode video stream
fps:23.98 512x384 Source Frames Per Second Frames Per Second in source video
early/late:3/2 Early Frames / late Frames Number of frames that have arrived earlier than expected and later than required.
fps:23.93 Actual Frames Per Second Actual Frames per Second shown onscreen (can vary if you show video in a different resolution than source material)
cpu:0.00 CPU Usage Assume Zero due to some mod quirk? (Bug report on SF 1728041)
dropped:1 Dropped Frames Number of dropped frames
Q:0 ? ?
cache:80% Cache XBMC caches the media locally to ensure continuous uninterrupted playback. If this figure drops it is due to either XBMC or the network struggling to keep up with the data throughput.
ct:0.05 Sync Correction total A-V sync correction done
ac:-0.01 ? ?