adafruit / pi_video_looper

Application to turn your Raspberry Pi into a dedicated looping video playback device, good for art installations, information displays, or just playing cat videos all day.
GNU General Public License v2.0
443 stars 240 forks source link

Specify omxplayer aspect ratio #194

Closed ole-worm closed 1 year ago

ole-worm commented 1 year ago

My 16:9 video is getting cut off in the display. I configured the PiOS display correctly, but omxplayer will extend past the display. With omxplayer I can set the aspect ratio using CLI options (ex. omxplayer --loop --blank --no-osd --aspect-mode letterbox --win 32,0,675,480 /file.mp4). Where can I add this in the omxplayer.py and/or video_looper.py script?

tofuSCHNITZEL commented 1 year ago

Hi, check /boot/video_looper.ini option "extra_args". cheers