Archive:Codecinfo: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(93 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{Incomplete}}
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.
<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" />


{{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). }}


As of Dharma CodecInfo looks as following:
{{-}}
D(Audio: ac3, 48000hz, 5.1, s16, 448 kb/s) P(aq:99%, kB/s:440.98)
== Current stable builds ==
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)
[[File:Helix codecinfo.png|700px|Helix|right]]
C( ad: 0.000, a/v: 0.047, edl:-, dcpu: 0% acpu: 0% vcpu:4%)
;Video codecinfo window as seen in stable Kodi v14.x and newer builds.
W( fps:23.98 CPU 4 core(s) average: 2.7% )


{| class="wikitable"
Information is split into 7 lines of text:
! Sample !! Meaning
* Audio information - '''D'''emuxer
* Audio information - '''P'''layer
* Video information - '''D'''emuxer
* Video information - '''P'''layer
* General playback information '''C'''
* '''W'''indowing and System CPU information
* '''S'''ync to screen information
{{-}}
 
=== Breakdown ===
Samples from the screen(s) above:
{| class="prettytable"
! Audio information
! Breakdown
|-
|-
| Audio: ac3, 48000hz, 5.1 || audio codec, sample rate, audio channels
| aac || Audio codec
|-
|-
| s16 || bits per sample?
| mp4a / 0x6134706D || Codec ID - Format profile <ref>http://matroska.org/technical/specs/index.html#CodecID</ref>
|-
|-
| 448 kb/s || current bitrate
| 48000 Hz || Sampling rate
|-
|-
| aq:99% || audio queue saturation
| 5.1 || Audio channels
|-
|-
| kB/s:440.98 || average bitrate?
| s16 || Sample size (s16 = signed 16-bit value)
|-
|-
| Video: mpeg2video || video codec
| fltp || float, planar
|-
|-
| yuv420p, 720x480 || colorspace, resolution
| 437 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| [PAR 32:27 DAR 16x9] || pixel aspect ratio / display aspect ratio
| aq:99% || Audio queue saturation
|-
|-
| 9800 kb/s || average bitrate
| Kb/s:437.41 || Current audio bitrate (reported by player)
|-
|-
| vq: 98% || video queue saturation
| att:0.0db || Attenuation / gain added by player
|-
|-
| dc:libmpeg2 || demux
! style="background: #DBDBDB;" | '''Video information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| Mb/S: 3.45 || current video bitrate
| h264 (Main) (avc1 / 0x31637661) || Video codec
|-
|-
| drop:0, pc:2 || dropped frames, pullup correction pattern length
| yuv420p || Color space / Chroma subsampling
|-
|-
| ad: 0.000, a/v: 0.047, edl:- || audio delay, a/v sync, edit decision list
| 1920x1080 || Resolution
|-
|-
| dcpu: 0%, acpu: 0%, vcpu:4% || demuxer cpu, audio cpu, video cpu
| SAR 1:1 DAR 16x9 || '''S'''ource '''A'''spect '''R'''atio - '''D'''isplay '''A'''spect '''R'''atio
|-
|-
| fps:23.98 || frames per second
| 9282 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| CPU 4 core(s) average: 2.7% || 4 cores, CPU usage
| fr:24.000 || Source framerate
|}
|-
 
| vq:88% || Video queue saturation
 
|-
The following example shows some realistic sample data in the approximate form it is displayed:
| dc:ff-h264-dxva2 || Video library performing decode
 
|-
audio:(mp3lib MPEG layer-2, layer-3) br:128000 sr:48.00 khz chns:2
| Mb/s:7.79 || Current video bitrate (reported by player)
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
| drop:12 || Number of dropped frames
 
|-
{| class="wikitable"
| skip:13 || Number of skipped frames
|+ Codecinfo Variables
|-
! Sample !! Full Variable Name !! Meaning
| pc:1 || Pullup correction pattern length
|-
! style="background: #DBDBDB;" | '''General playback information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
| ad:0.000 || Audio delay (configured)
|-
| a/v:0.030 || Audio/video sync difference (real time)
|-
| edl:- || Edit decision list
|-
|-
| audio:(mp3lib MPEG layer-2, layer-3) || Audio Codec || Audio decoder used to decode current audio stream
| dcpu: 0% || Relative CPU Usage of the player thread
|-
|-
| br:128000 || Bitrate || Bitrate of audio stream (very inaccurate, often plain wrong)
| acpu: 0% || Relative CPU usage of the audio decode thread
|-
|-
| sr:48.00 khz || Sample rate || Sample rate of audio stream
| vcpu: 0% || Relative CPU Usage of the video decode thread
|-
|-
| chns:2 || Audio Channel Count || Number of audio channels present (very inaccurate, often plain wrong)
| cache:0 B 100% || Size of cached data and % of cache utilized
|-
|-
| video:FFmpeg MPEG-4 || Video Codec || Video decoder used to decode video stream
! style="background: #DBDBDB;" | '''Windowing information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| fps:23.98 512x384 || Source Frames Per Second || Frames Per Second in source video
| CPU 4 core(s) || System processor information (this display is OS-dependent)
|-
|-
| early/late:3/2 ||Early Frames / late Frames || Number of frames that have arrived earlier than expected and later than required.
| average: 4.7% || Average CPU load across all cores
|-
|-
| 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)
! style="background: #DBDBDB;" | '''Sync to screen information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| cpu:0.00 || CPU Usage || Assume Zero due to some mod quirk? (Bug report on SF 1728041)
| refresh || Actual refresh-rate being displayed
|-
|-
| dropped:1 || Dropped Frames || Number of dropped frames
| missed || Number of missed frames
|-
|-
| Q:0 || ? || ?
| speed || Audio speed correction to sync
|-
|-
| 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.
| sync || Video speed to enable sync
|-
|-
| ct:0.05 || Sync Correction || total A-V sync correction done
| avg || Avg amount of correction
|-
|-
| ac:-0.01 || ? || ?
| error || Percentage of errors syncing
|}
|}


[[Category:Usage]]
== 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