phelum
Posts: 100
Joined: Thu Jul 17, 2014 7:05 am
Location: Sydney, AUS

MPlayer and Tvheadend

Thu Jul 29, 2021 10:18 pm

Hi,

I'm using mplayer to display a stream from Tvheadend. I'm getting an incorrect aspect ratio on the display. The reported aspect ration is 1.78:1 and mplayer says it's prescaling 720x576 to 1024x576. However although the display window is 1024x576 the image in the window is 720x576 and the picture is squashed horizontally (is this letterboxing?).

The only "-vo" option I can find that corrects this is "-vo sdl". But "sdl" is listed as deprecated in the mplayer man. More significantly the problem I have with "sdl" is that the window generally appears partially off the screen and if I try any fullscreen option I lose the display and the Pi4 running buster becomes unresponsive and I have to power-off reboot.

I've tried "-scale" but the software overhead reduces the frame rate to about three per second.

Can anybody suggest any mplayer configuration options that might be better or perhaps any hardware acceleration libraries I can install to improve the display ?

Thanks,
Steven

pidiv
Posts: 50
Joined: Mon May 24, 2021 8:03 am

Re: MPlayer and Tvheadend

Fri Jul 30, 2021 9:40 am

Versions of software ?
Are both ends running on (different) rpi's ?

phelum
Posts: 100
Joined: Thu Jul 17, 2014 7:05 am
Location: Sydney, AUS

Re: MPlayer and Tvheadend

Fri Jul 30, 2021 10:08 am

pidiv wrote:
Fri Jul 30, 2021 9:40 am
Versions of software ?
Are both ends running on (different) rpi's ?
The server is an RPi Zero with kernel 5.10.17, all buster updates, Tvheadend 4.2.8-34~g24a2f59e9.
The display unit is an Rpi4B with kernel 5.10.52, all buster updates, mplayer 2:1.3.0-8+b5.

I get the same problem when the display unit is an RPi3B running stretch with mplayer 1.3.0.
Also on a CubieTruck when running stretch but not when running wheezy.
I no longer have a wheezy installation for a Pi.

Thanks,
Steven

Return to “Beginners”