Configuring bootimages

In 3.8.X a demo.config could look like the example below.

# Applications

# Started in front
kreatv-app-portal:startinfront,toijs=1

# Started on boot
kreatv-app-navigator:start
kreatv-app-tv:start
kreatv-app-reboot-popup:start

# Installed
kreatv-app-vod
kreatv-app-web
kreatv-app-settings
kreatv-app-teletext

# Options
kreatv-option-streamclients:basic,rtsp,bitband,http
kreatv-option-gtk-font-encoding:iso8859-1
kreatv-option-xkb:en-GB,en-US,sv-SE
kreatv-option-theme-ether
kreatv-option-ui-langs:da-DK,en-US,fi-FI,no-NO,sv-SE
kreatv-option-timezones:Europe/London,Europe/Stockholm
kreatv-option-usb

# Font
kreatv-font-kreativ

# Change default settings
kreatv-option-is-default:config.minfontsize=12,config.defaultfontsize=14

# Config streamer
kreatv-option-streamer-config:buftime=200,startmode=fast

# Logging and Telnet support
kreatv-tool-logging
kreatv-option-extralogging
kreatv-tool-telnet

In 4.2.X the demo.config can look like the example below.

# HTML Portal Application
kreatv-app-webkit-portal::cache=0
kreatv-app-webkit-portal::database_storage_path=/flash/database/webkit/
kreatv-app-webkit-portal::gfx_pixmap_memory_limit=32
kreatv-app-webkit-portal::http_secure_mode=0
kreatv-app-webkit-portal::ntp_wait_limit=5
kreatv-app-webkit-portal::startinfront
kreatv-app-webkit-portal::sys_pixmap_memory_limit=64
kreatv-app-webkit-portal::prop(GfxMemory)=27540
kreatv-app-webkit-portal::prop(DoubleBufferingEnabled)=true
kreatv-app-webkit-portal::prop(ShareOutputBufferEnabled)=false
kreatv-app-webkit-portal::prop(RenderingBufferMaxWidth)=1920
kreatv-app-webkit-portal::prop(RenderingBufferMaxHeight)=1080
kreatv-app-webkit-portal::prop(HdDisplayBufferMaxWidth)=1920
kreatv-app-webkit-portal::prop(HdDisplayBufferMaxHeight)=1080
kreatv-app-webkit-portal::prop(SdDisplayBufferMaxWidth)=720
kreatv-app-webkit-portal::prop(SdDisplayBufferMaxHeight)=576

# Fonts
kreatv-font-kreativ

# Options
kreatv-option-toi2
kreatv-option-dvr::timeshift-buffer-max-bitrate=20
kreatv-option-dvr::timeshift-buffer-max-framerate=60
kreatv-option-dvr::timeshift-buffer-max-time=30
kreatv-option-dvr::timeshift-circular-buffer=true

kreatv-option-streamclients:rtsp,basic,http

# Central European Time
kreatv-option-tz:CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00
kreatv-option-ui-langs:da-DK,en-US,fi-FI,no-NO,sv-SE
kreatv-option-usb
kreatv-option-kreatvinput-keymaps:pc-en
kreatv-option-kreatvgfx-stack
kreatv-option-kreatvgfx-subtitlerenderer:dvb,teletext,dvd,xsub

# Changed default settings
kreatv-option-streamer-config::buftime=300
kreatv-option-streamer-config::h264buftime=500

# Tools
kreatv-tool-logging
kreatv-tool-telnet

This demo.config in 4.2.X will not be able to show H264 and MPEG-2 encoded video. Special license files has to be put in the bootimage when building to get this working. The licence IIP:s also handles downmixing of sound automaticly. That means that the old IIP:s kreatv-option-ac3downmix or kreatv-option-aacdownmix are handled within the license IIP.

Add following in the bootimage.

kreatv-option-license::file=/extra/licenses/kreatv_audio_decode_aac.license
kreatv-option-license::file=/extra/licenses/kreatv_audio_decode_ac3.license
kreatv-option-license::file=/extra/licenses/kreatv_video_decode_h264.license
kreatv-option-license::file=/extra/licenses/kreatv_video_decode_mpeg2.license

Notice also the writing:

kreatv-option-license::file=/extra/licenses/kreatv_audio_decode_aac.license
kreatv-option-license::file=/extra/licenses/kreatv_audio_decode_ac3.license

Instead of:

kreatv-option-license:file=/extra/licenses/kreatv_audio_decode_aac.license, file=/extra/licenses/kreatv_audio_decode_ac3.license

Both ways work, it's just a matter of design and readability.

Looking at following parameters to the Webkit HTML portal application and the Ekioh SVG portal application several parameters can be used as below.

kreatv-app-webkit-portal::http_secure_mode=0
kreatv-app-webkit-portal::ntp_wait_limit=5
kreatv-app-webkit-portal::startinfront
kreatv-app-webkit-portal::sys_pixmap_memory_limit=64
kreatv-app-webkit-portal::prop(GfxMemory)=27540
kreatv-app-webkit-portal::prop(DoubleBufferingEnabled)=true
kreatv-app-webkit-portal::prop(ShareOutputBufferEnabled)=false
kreatv-app-webkit-portal::prop(RenderingBufferMaxWidth)=1920
kreatv-app-webkit-portal::prop(RenderingBufferMaxHeight)=1080
kreatv-app-webkit-portal::prop(HdDisplayBufferMaxWidth)=1920
kreatv-app-webkit-portal::prop(HdDisplayBufferMaxHeight)=1080
kreatv-app-webkit-portal::prop(SdDisplayBufferMaxWidth)=720
kreatv-app-webkit-portal::prop(SdDisplayBufferMaxHeight)=576
kreatv-app-ekioh-portal::startinfront
kreatv-app-ekioh-portal::prop(GfxMemory)=27540
kreatv-app-ekioh-portal::prop(DoubleBufferingEnabled)=true
kreatv-app-ekioh-portal::prop(ShareOutputBufferEnabled)=false
kreatv-app-ekioh-portal::prop(RenderingBufferMaxWidth)=1920
kreatv-app-ekioh-portal::prop(RenderingBufferMaxHeight)=1080
kreatv-app-ekioh-portal::prop(HdDisplayBufferMaxWidth)=1920
kreatv-app-ekioh-portal::prop(HdDisplayBufferMaxHeight)=1080
kreatv-app-ekioh-portal::prop(SdDisplayBufferMaxWidth)=720
kreatv-app-ekioh-portal::prop(SdDisplayBufferMaxHeight)=576

Parameters like the ones above are described in the IIP documentation API Reference and graphics configuration.

Other relevant information regarding Ekio SVG and Webkit HTML portal applications can be read about in Webkit HTML portal introduction and Ekioh SVG portal introduction.

A new IIP in KreaTV 4.2.X is the timezones IIP.

kreatv-option-tz:CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

The syntax of this IIP is the following two ways below.

std offset
std offset[dst[offset][,start[/time],end[/time]]]

kreatv-option-tz:CET-1CEST-2,M3.5.0/02:00:00,M10.5.0/03:00:00

The syntax above will set the local time to:

For more detailed information regarding the kreatv-option-tz IIP one can check Time Service documentation.