Page 1 of 1
Set SoftWareScaler (SWS) algorithm?
Posted:
Wed Jan 22, 2014 9:18 pm
by TT1
I've tried in vain to choose the scaling algorithm to something other than the default, with no success. In 'Options for MPlayer', I've tried sws=4, sws:4, sws 4, -sws=4, ... The message kicked back from MPlayer is: Option vf-add: sms doesn't exist. Error parsing option on the command line: -vf-add
If I run MPlayer directly, it works perfectly...
mplayer vidfile.avi -sws 4 -vf scale=1280
Does SMPlayer not pass the SWS parameter? I would like to set a different 'permanent' default.
Re: Set SoftWareScaler (SWS) algorithm?
Posted:
Thu Jan 23, 2014 12:05 am
by rvm
You have to add -sws 4 in the Options field, not in the video filters:
- options.png (87.55 KiB) Viewed 1948 times
Re: Set SoftWareScaler (SWS) algorithm?
Posted:
Thu Jan 23, 2014 1:10 am
by TT1
Thanks. The MPlayer log now shows that the option is accepted. However, the actual output is no different. It should look significantly different with -sws 4 since that is a very 'low quality' scaler. I see no difference whatsoever. When I try -sws 4 with MPlayer directly, along with -vf scale=640 to upsize the tiny video, it works okay. So after I added the -scale=640 to the Options in SMPlayer, it worked. It seems that it's necessary to add a -vf scale=640 to the Options, as well as the -sws 4. But then the video will always be scaled to that size. Is there another way?
Re: Set SoftWareScaler (SWS) algorithm?
Posted:
Thu Jan 23, 2014 4:41 am
by rvm
-sws works only with -vf scale and -zoom. You can try -zoom, however the mplayer manpage says that option is for output drivers that do not support hardware scaling.