HDTV and Kodi in your living room - based on Nvidia VDPAU, VDR and Ubuntu Linux

December 01, 2010
11:33 PM CET

Announcing yaVDR-addon-pip (Picture in Picture)

The yaVDR-Team proudly presents the - as we believe - first OSD independent picture in picture (PiP) solution for the VDR. If you own more than one DVB card, you are now able to watch two arbitrary channels at the same time!

Be warned: If your VDR only has a single tuner, you will be restricted to channels that belong to the same transponder!

To get this nice feature, you only have to install the addon package yavdr-addon-pip. The package adds two new functions to the launcher and the VDR OSD menu. With PIP on/off you can switch the PiP on or off, like the name of the function suggests. The function PIP swap replaces the currently displayed channel of the full screen window with the channel within the PiP window. You can find the icons for this functions in the first row of the launcher, or you can use the OSD menu entries available at Applications->PIP.

If you don't like the default dimensions of the PiP window or the size of its distance to the upper right corner of the screen you can create a configuration file to enforce customized values. To understand which values to use there, please read the following explanation:

  • The default value for the PiP window width is set to 720 pixels. This value was crafted for a screen being 1920 pixels wide (Full HD). If your screen has a smaller amount of horizontal pixels, the actual pixel width will be automatically resized proportionally. Example: If your screen is 1280 pixels wide and you don't touch the default value of 720 pixels, the resulting width of the PiP on that screen will be 480 pixels (720/1920*1280).
  • The height of the PiP window will be automatically adapted so that the aspect ratio is maintained.
  • The margins from the top and from the right screen border are 30 pixels by default.

To change size or border values of the PiP windoe, create a file /etc/default/vdr-pip with contents similar to this:

# PiP width relative to a TV screen resolution of 1920 pixles
PIPWIDTH=640 # a little bit smaller than the default of 720 pixels

# Margin from the right border
PIPRIGHTMARGIN=50 # raise margin to compensate overscan

# Margin from the top border
PIPTOPMARGIN=50    # raise margin to compensate overscan

Don't make the window too large. For technical reasons, the PiP window doesn't use VDPAU. The current window size is managed by an Intel Atom 330 without any problems, but with higher resolutions that could get problematic.

To use this functionality with your remote control you have to add two entries to the file /var/lib/vdr/keymacros.conf. For example:

User0          MENU 6 1 1
User1          MENU 6 1 2

In this blog posting, we can't cover how to configure your remote control to send the user keys. Please check other ressources (vdr-wiki, etc.) to find out how to do this.

  • 0 Comment(s)

Your comment


« December 2010»
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Latest Comments

will there be more recent releases?
January 22, 2016 08:43 PM CET
They did it :-)
September 17, 2014 01:51 AM CEST
Happy anniversary!
January 15, 2014 05:37 PM CET
January 15, 2014 01:30 PM CET


Copy and paste this link into your RSS news reader

RSS 0.91Posts
RSS 2.0Posts

This is hot

It's time to talk about upcoming yaVDR 0.4
656121 times viewed
May 10, 2011
New features in upcoming yaVDR 0.3: Gyration and Inputlircd
152996 times viewed
October 15, 2010
Installation from a USB stick: Now smoother with hybrid ISO...
152645 times viewed
July 15, 2013
Finally: Announcing yaVDR 0.4
151049 times viewed
October 25, 2011

Copyright © 2010 yaVDR. This page was last updated on 2016-03-03.