Archive:Codecinfo: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
>Udepub
mNo edit summary
 
(80 intermediate revisions by 11 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). }}


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


Information is split into 7 lines of text:
* 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 ===
[[File:Video codecinfo.png|800px]]
Samples from the screen(s) above:
 
{| class="prettytable"
For fullscreen video playback, the codec information is split into 4 lines of text.
! Audio information
* Audio information - provided by both the 'D'emuxer and the 'P'layer
! Breakdown
* Video information - provided by both the 'D'emuxer and the 'P'layer
|-
* General playback information
| aac || Audio codec
* 'W'indowing and System CPU information
 
Samples from the screen above
{| class="wikitable"
! Audio Information !! Explanation
|-
|-
| aac || Audio Codec
| mp4a / 0x6134706D || Codec ID - Format profile <ref>http://matroska.org/technical/specs/index.html#CodecID</ref>
|-
|-
| mp4a / 0x6134706D || <font size="5">'''?'''</font>
| 48000 Hz || Sampling rate
|-
|-
| 48000 Hz || Sample Rate
| 5.1 || Audio channels
|-
|-
| 5.1 || Audio Channels
| s16 || Sample size (s16 = signed 16-bit value)
|-
|-
| s16 || Sample Size (s16 = Signed 16-bit value)
| fltp || float, planar
|-
|-
| 437 kb/s || Average Audio Bitrate (reported by demuxer)
| 437 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| aq:99% || Audio Queue Saturation
| aq:99% || Audio queue saturation
|-
|-
| Kb/s:437.41 || Current Audio Bitrate (reported by player)
| Kb/s:437.41 || Current audio bitrate (reported by player)
|-
|-
| att:0.0db || Attenuation / Gain added by player
| att:0.0db || Attenuation / gain added by player
|}
 
{| class="wikitable"
! Video Information !! Explanation
|-
|-
| h264 (Main) || Video Codec / Profile
! style="background: #DBDBDB;" | '''Video information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| avc1 / 0x31637661 || <font size="5">'''?'''</font>
| h264 (Main) (avc1 / 0x31637661) || Video codec
|-
|-
| yuv420p || Pixel Format/Color Space
| yuv420p || Color space / Chroma subsampling
|-
|-
| 1920x1080 || Resolution
| 1920x1080 || Resolution
|-
|-
| 9282 kb/s || Average Audio Bitrate (reported by demuxer)
| SAR 1:1 DAR 16x9 || '''S'''ource '''A'''spect '''R'''atio - '''D'''isplay '''A'''spect '''R'''atio
|-
| fr:24.000 || Framerate of Source
|-
| vq:88% || Video Queue Saturation
|-
| dc:ff-h264-dxva2 || Video Library perfoming decode (in this case, ffmpeg/h264) ???
|-
| Mb/s:7.79 || Current Video Bitrate (reported by player)
|-
| drop:12 || Number of Dropped Frames
|-
| pc:1 || Pullup Correction Pattern Length
|}
 
{| class="wikitable"
! General Playback Information !! Explanation
|-
| ad:0.000 || Audio Delay (Configured)
|-
|-
| a/v:0.030 || Audio/Video Sync Difference (Real time)
| 9282 kb/s || Average audio bitrate (reported by demuxer)
|-
|-
| edl:- || [[Edit decision list|Edit Decision List]]
| fr:24.000 || Source framerate
|-
|-
| dcpu: 0% || Relative CPU Usage of the Player Thread
| vq:88% || Video queue saturation
|-
|-
| acpu: 0% || Relative CPU Usage of the Audio Decode Thread
| dc:ff-h264-dxva2 || Video library performing decode
|-
|-
| vcpu:0% || Relative CPU Usage of the Video Decode Thread
| Mb/s:7.79 || Current video bitrate (reported by player)
|-
|-
| cache:0 || Size of Cached Data and % of Cache Utilized
| drop:12 || Number of dropped frames
|-
|-
| B || <font size="5">'''?'''</font>
| skip:13 || Number of skipped frames
|-
|-
| 100% || <font size="5">'''?'''</font>
| pc:1 || Pullup correction pattern length
|}
 
{| class="wikitable"
! Windowing/System Performance Information !! Explanation
|-
|-
| fps:24.00 || Framerate being Displayed
! style="background: #DBDBDB;" | '''General playback information'''
|-
! style="background: #DBDBDB;" | '''Breakdown'''
| CPU 4 core(s) || System Processor Information (this display is OS-dependent)
|-
| average: 4.7% || 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% )
 
{| class="wikitable"
! Sample !! Meaning
|-
|-
| Audio: ac3, 48000hz, 5.1 || audio codec, sample rate, audio channels
| ad:0.000 || Audio delay (configured)
|-
|-
| s16 || bits per sample?
| a/v:0.030 || Audio/video sync difference (real time)
|-
|-
| 448 kb/s || current bitrate
| edl:- || Edit decision list
|-
|-
| aq:99% || audio queue saturation
| dcpu: 0% || Relative CPU Usage of the player thread
|-
|-
| kB/s:440.98 || average bitrate?
| acpu: 0% || Relative CPU usage of the audio decode thread
|-
|-
| Video: mpeg2video || video codec
| vcpu: 0% || Relative CPU Usage of the video decode thread
|-
|-
| yuv420p, 720x480 || colorspace, resolution
| cache:0 B 100% || Size of cached data and % of cache utilized
|-
|-
| [PAR 32:27 DAR 16x9] || pixel aspect ratio / display aspect ratio
! style="background: #DBDBDB;" | '''Windowing information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| 9800 kb/s || average bitrate
| CPU 4 core(s) || System processor information (this display is OS-dependent)
|-
|-
| vq: 98% || video queue saturation
| average: 4.7% || Average CPU load across all cores
|-
|-
| dc:libmpeg2 || demux
! style="background: #DBDBDB;" | '''Sync to screen information'''
! style="background: #DBDBDB;" | '''Breakdown'''
|-
|-
| Mb/S: 3.45 || current video bitrate
| refresh || Actual refresh-rate being displayed
|-
|-
| drop:0, pc:2 || dropped frames, pullup correction pattern length
| missed || Number of missed frames
|-
|-
| ad: 0.000, a/v: 0.047, edl:- || audio delay, a/v sync, [[edit decision list]]
| speed || Audio speed correction to sync
|-
|-
| dcpu: 0%, acpu: 0%, vcpu:4% || demuxer cpu, audio cpu, video cpu
| sync || Video speed to enable sync
|-
|-
| fps:23.98 || frames per second
| avg || Avg amount of correction
|-
|-
| CPU 4 core(s) average: 2.7% || 4 cores, CPU usage
| error || Percentage of errors syncing
|}
|}


== References ==
<references/>


The following example shows some realistic sample data in the approximate form it is displayed:
== Further information/discussion ==
 
* See the [[forum:70743|Video Diagnostic Screen]] forum topic for discussion and more information.
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
|-
| 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 || ? || ?
|}
 
[[Category:XBMC Manual]]

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