eclispe / rydeplayer

Ryde Player provides a on screen interface and video player for Longmynd compatible tuners.
GNU General Public License v3.0
4 stars 6 forks source link

Add 4:3 vs 16:9 switching for Comp Vid Output based on config file entry #54

Closed davecrump closed 3 years ago

davecrump commented 3 years ago

Currently, the Composite Video output (when selected) uses a 4:3 output format (which is logical and correct). In this case, when 16:9 format signals are received they are displayed in letterbox format (again, correctly to maintain the aspect ratio).

Some repeaters use the Composite video output to drive a 16:9 streamer and transmitter. This results in 16:9 received signals being relayed squashed in letterbox format, and 4:3 received signals being stretched to full screen.

By adding the parameter --monitor-par 4:3 to the vlc arguments (around line 660 of /home/pi/ryde/rydeplayer/player.py), 16:9 input signals can be relayed as 16:9 and 4:3 signals are displayed with the correct aspect ratio. Please can this parameter by made switchable from the config file?

eclispe commented 3 years ago

Currently testing a new PyDispmanx that supports non square pixels and can report the PAR so it can be sent to VLC. The display aspect ratio will need to be set correctly in /boot/config.txt with sdtv_aspect and can be viewed with tvservice -s