View 4:3 content with layover
#1
Hi all,

I have a large collection of old TV Shows in. These old Shows do all have an aspect ratio of 4:3 and since i don't like the black bars left and right, i wonder if there is some way to use a png of, for instance an old tv set, to use as a layover. (like in batocera or retropie with classic computer games)

I found exactly what i need here:
https://forums.libretro.com/t/using-retr...tent/11852

The Problem is, i run kodi on Pi4/Vero 4k...

Is there any way to do this on a stand alone Kodi-device like the Raspberry Pi or the Vero 4k?

Any help will be highly appreciated
Reply
#2
(2023-07-25, 12:00)koenig_67 Wrote: Hi all,

I have a large collection of old TV Shows in. These old Shows do all have an aspect ratio of 4:3 and since i don't like the black bars left and right, i wonder if there is some way to use a png of, for instance an old tv set, to use as a layover. (like in batocera or retropie with classic computer games)

I found exactly what i need here:
https://forums.libretro.com/t/using-retr...tent/11852

The Problem is, i run kodi on Pi4/Vero 4k...

Is there any way to do this on a stand alone Kodi-device like the Raspberry Pi or the Vero 4k?

Any help will be highly appreciated

Have u tried the the settings to remove the black bars , change menu to expert , then go to settings then to player then finally to videos . You will see a part that says " display 4.3 video as " click on it try the option name stretch 16:9 non liner .
Reply
#3
That's a fun idea but I don't think there is built-in support for it. Definitely not with shaders to curve the picture like an old CRT. There are ways to achieve something similar to what you're looking for. but not conveniently packaged.
for example, modify a skin to display an image instead of the black bars, or build an image-based sub that contain the image you to surround the video...
Always read the Kodi online-manual, the FAQ and search the forum before posting.
Do not e-mail Kodi Team members directly asking for support. Read/follow the forum rules (wiki).
For troubleshooting and bug reporting please make sure you read this first.
Reply
#4
@Sidewinder_2011

I'm aware of all the options to stretch or zoom the videos, but i prefer to watch them in their original size and aspect ratio.

Thanx anyway

@CrystalP

OK... some interesting approaches... i'll look into that.

Thank you very much for the answer
Reply
#5
Yes, I think using the skin videowindow control in a custom window with the control sized to 4:3, then add an image with alpha set to 00 where you want the video to "show through".

Image

xml:
<window id="1119" type="window">
<controls>
<control type="videowindow" id="11192">
    <left>438</left>
    <top>120</top>
    <width>1043</width>
    <height>782</height>
    <visible>true</visible>
    <animation type="WindowOpen" reversible="true">
        <effect type="zoom" center="auto" start="0" end="100" time="1000" tween="quadratic" easing="out"/>
    </animation>
</control>
<control type="image" id="11191">
    <description>Overlay image</description>
    <left>0</left>
    <top>0</top>
    <width>1920</width>
    <height>1080</height>
    <visible>true</visible>
    <texture>oldtv.png</texture>
    <colordiffuse>FFFFFFFF</colordiffuse>
    <aspectratio>stretch</aspectratio>
</control>
</controls>
</window>

Assuming you want to display on 16:9 device, other aspect screens will cause skin gui to adjust to new aspect.

scott s.
.
Reply
#6
@scott

That looks really promising. :-)

The problem is, I'm not a coder... can you give me a hint where to put this, or to which file i have to add this?

Thank You
Reply

Logout Mark Read Team Forum Stats Members Help
View 4:3 content with layover0