Archive:Codecinfo: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Mtubesing
mNo edit summary
 
(83 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{cleanup}}


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).
<section begin="intro" />Whilst Kodi is playing media on screen you can activate the '''codecinfo''' overlay {{keypress|o}} key on a keyboard. 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 overlay displays a number of real time variables describing detailed information on the codecs currently in use.<section end="intro" />


The codecinfo popup displays a number of real time variables describing detailed information on the codecs currently in use.
{{note|The codecinfo screen is not entirely accurate for some of the reported data, due to the fact that the codecinfo screen itself will reduce performance on low powered devices (i.e., Raspberry Pi, some Android/ARM boxes). }}


== Eden Release ==
{{-}}
[[File:Video.codecinfo.jpg|720px]]
== Current stable builds ==
[[File:Helix codecinfo.png|700px|Helix|right]]
;Video codecinfo window as seen in stable Kodi v14.x and newer builds.


For fullscreen video playback, the codec information is split into 4 lines of text.
Information is split into 7 lines of text:
* Audio information - provided by both the 'D'emuxer and the 'P'layer
* Audio information - '''D'''emuxer
* Video information - provided by both the 'D'emuxer and the 'P'layer
* Audio information - '''P'''layer
* General playback information
* Video information - '''D'''emuxer
* 'W'indowing and System CPU information
* Video information - '''P'''layer
* General playback information '''C'''
* '''W'''indowing and System CPU information
* '''S'''ync to screen information
{{-}}


Samples from the screen above
=== Breakdown ===
{| class="wikitable"
Samples from the screen(s) above:
! Audio Information !! Explanation
{| class="prettytable"
! Audio information
! Breakdown
|-
|-
| aac || Audio Codec
| aac || Audio codec
|-
|-
| 48000 Hz || Sample Rate
| mp4a / 0x6134706D || Codec ID - Format profile <ref>http://matroska.org/technical/specs/index.html#CodecID</ref>
|-
|-
| stereo || Audio Channels
| 48000 Hz || Sampling rate
|-
|-
| s16 || Sample Size (s16 = Signed 16-bit value)
| 5.1 || Audio channels
|-
|-
| 317 kb/s || Average Audio Bitrate (reported by demuxer)
| s16 || Sample size (s16 = signed 16-bit value)
|-
|-
| aq:96% || Audio Queue Saturation
| fltp || float, planar
|-
|-
| kB/s:307.60 || Current Audio Bitrate (reported by player)
| 437 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| att:0.0db || Attenuation / Gain added by player
| aq:99% || Audio queue saturation
|}
 
{| class="wikitable"
! Video Information !! Explanation
|-
|-
| h264 (High) || Video Codec / Profile
| Kb/s:437.41 || Current audio bitrate (reported by player)
|-
|-
| yuv420p || Pixel Format/Color Space
| att:0.0db || Attenuation / gain added by player
|-
|-
| 1920x1080 [PAR 1:1 DAR 16:9] || Resolution / Pixel Aspect Ratio / Display Aspect Ratio
! style="background: #DBDBDB;" | '''Video information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| 28402 kb/s || Average Audio Bitrate (reported by demuxer)
| h264 (Main) (avc1 / 0x31637661) || Video codec
|-
|-
| fr:23.976 || Framerate of Source
| yuv420p || Color space / Chroma subsampling
|-
|-
| vq:99% || Video Queue Saturation
| 1920x1080 || Resolution
|-
|-
| dc:ff-h264 || Video Library perfoming decode (in this case, ffmpeg/h264)
| SAR 1:1 DAR 16x9 || '''S'''ource '''A'''spect '''R'''atio - '''D'''isplay '''A'''spect '''R'''atio
|-
|-
| Mb/s:29.64 || Current Video Bitrate (reported by player)
| 9282 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| drop:87 || Number of Dropped Frames
| fr:24.000 || Source framerate
|-
|-
| pc:none || Pullup Correction Pattern Length
| vq:88% || Video queue saturation
|}
 
== 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% )
 
{| class="wikitable"
! Sample !! Meaning
|-
|-
| Audio: ac3, 48000hz, 5.1 || audio codec, sample rate, audio channels
| dc:ff-h264-dxva2 || Video library performing decode
|-
|-
| s16 || bits per sample?
| Mb/s:7.79 || Current video bitrate (reported by player)
|-
|-
| 448 kb/s || current bitrate
| drop:12 || Number of dropped frames
|-
|-
| aq:99% || audio queue saturation
| skip:13 || Number of skipped frames
|-
|-
| kB/s:440.98 || average bitrate?
| pc:1 || Pullup correction pattern length
|-
|-
| Video: mpeg2video || video codec
! style="background: #DBDBDB;" | '''General playback information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| yuv420p, 720x480 || colorspace, resolution
| ad:0.000 || Audio delay (configured)
|-
|-
| [PAR 32:27 DAR 16x9] || pixel aspect ratio / display aspect ratio
| a/v:0.030 || Audio/video sync difference (real time)
|-
|-
| 9800 kb/s || average bitrate
| edl:- || Edit decision list
|-
|-
| vq: 98% || video queue saturation
| dcpu: 0% || Relative CPU Usage of the player thread
|-
|-
| dc:libmpeg2 || demux
| acpu: 0% || Relative CPU usage of the audio decode thread
|-
|-
| Mb/S: 3.45 || current video bitrate
| vcpu: 0% || Relative CPU Usage of the video decode thread
|-
|-
| drop:0, pc:2 || dropped frames, pullup correction pattern length
| cache:0 B 100% || Size of cached data and % of cache utilized
|-
|-
| ad: 0.000, a/v: 0.047, edl:- || audio delay, a/v sync, [[edit decision list]]
! style="background: #DBDBDB;" | '''Windowing information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| dcpu: 0%, acpu: 0%, vcpu:4% || demuxer cpu, audio cpu, video cpu
| CPU 4 core(s) || System processor information (this display is OS-dependent)
|-
|-
| fps:23.98 || frames per second
| average: 4.7% || Average CPU load across all cores
|-
|-
| CPU 4 core(s) average: 2.7% || 4 cores, CPU usage
! style="background: #DBDBDB;" | '''Sync to screen information'''
|}
! style="background: #DBDBDB;" | '''Breakdown'''
 
 
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
 
{| class="wikitable"
|+ Codecinfo Variables
! Sample !! Full Variable Name !! Meaning
|-
|-
| audio:(mp3lib MPEG layer-2, layer-3) || Audio Codec || Audio decoder used to decode current audio stream
| refresh || Actual refresh-rate being displayed
|-
|-
| br:128000 || Bitrate || Bitrate of audio stream (very inaccurate, often plain wrong)
| missed || Number of missed frames
|-
|-
| sr:48.00 khz || Sample rate || Sample rate of audio stream
| speed || Audio speed correction to sync
|-
|-
| chns:2 || Audio Channel Count || Number of audio channels present (very inaccurate, often plain wrong)
| sync || Video speed to enable sync
|-
|-
| video:FFmpeg MPEG-4 || Video Codec || Video decoder used to decode video stream
| avg || Avg amount of correction
|-
|-
| fps:23.98 512x384 || Source Frames Per Second || Frames Per Second in source video
| error || Percentage of errors syncing
|-
| 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 || ? || ?
|}
|}


[[Category:XBMC Manual]]
== References ==
<references/>
 
== Further information/discussion ==
* See the [[forum:70743|Video Diagnostic Screen]] forum topic for discussion and more information.

Latest revision as of 02:17, 7 December 2020

Whilst Kodi is playing media on screen you can activate the codecinfo overlay o key on a keyboard. 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 overlay displays a number of real time variables describing detailed information on the codecs currently in use.

Note: The codecinfo screen is not entirely accurate for some of the reported data, due to the fact that the codecinfo screen itself will reduce performance on low powered devices (i.e., Raspberry Pi, some Android/ARM boxes).


Current stable builds

Helix
Video codecinfo window as seen in stable Kodi v14.x and newer builds.

Information is split into 7 lines of text:

  • Audio information - Demuxer
  • Audio information - Player
  • Video information - Demuxer
  • Video information - Player
  • General playback information C
  • Windowing and System CPU information
  • Sync to screen information


Breakdown

Samples from the screen(s) above:

Audio information Breakdown
aac Audio codec
mp4a / 0x6134706D Codec ID - Format profile [1]
48000 Hz Sampling rate
5.1 Audio channels
s16 Sample size (s16 = signed 16-bit value)
fltp float, planar
437 kb/s Average audio bitrate (reported by demuxer)
aq:99% Audio queue saturation
Kb/s:437.41 Current audio bitrate (reported by player)
att:0.0db Attenuation / gain added by player
Video information Breakdown
h264 (Main) (avc1 / 0x31637661) Video codec
yuv420p Color space / Chroma subsampling
1920x1080 Resolution
SAR 1:1 DAR 16x9 Source Aspect Ratio - Display Aspect Ratio
9282 kb/s Average audio bitrate (reported by demuxer)
fr:24.000 Source framerate
vq:88% Video queue saturation
dc:ff-h264-dxva2 Video library performing decode
Mb/s:7.79 Current video bitrate (reported by player)
drop:12 Number of dropped frames
skip:13 Number of skipped frames
pc:1 Pullup correction pattern length
General playback information Breakdown
ad:0.000 Audio delay (configured)
a/v:0.030 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: 0% Relative CPU Usage of the video decode thread
cache:0 B 100% Size of cached data and % of cache utilized
Windowing information Breakdown
CPU 4 core(s) System processor information (this display is OS-dependent)
average: 4.7% Average CPU load across all cores
Sync to screen information Breakdown
refresh Actual refresh-rate being displayed
missed Number of missed frames
speed Audio speed correction to sync
sync Video speed to enable sync
avg Avg amount of correction
error Percentage of errors syncing

References

Further information/discussion