I did both of these things, I had my remote set up to cycle through aspect ratios and through zoom levels.
Unfortunately, my htpc died about 3 weeks ago, and I didn't back up the config, but I might rip the hdd out tonight and get the config I used off for you :D The zooming was a little tricky in mplayer. There is no way to arbitrarily zoom. Instead, you can tweak the pan and scan values on the fly. I found that this was good enough for every scenario I found myself in. If you have a 4:3 video, playing on a 16:9 screen at full screen, the top and bottom of the video are at the top and bottom of the screen, and you have empty black space either side. Increasing the pan and scan bit by bit "zooms" the video, cutting off the top and bottom and reducing the space either side until the left and right sides of the video are touching the left and right side of the screen. The same goes the other way. If you are watching a 2.39:1 video on a 16:9 screen, you can zoom in cutting of the left and right until the height of the video is the height of the screen. If you just play mplayer in full screen by hand, the "w" and "e" increase and decrease this value. But I think freevo runs it slave mode. My memory fails me LOL. You can run mplayer in slave mode : From : http://www.mplayerhq.hu/DOCS/tech/slave.txt -------- 8< -------- ... mplayer -slave -quiet <movie> ... ... panscan <-1.0 - 1.0> | <0.0 - 1.0> <abs> Increase or decrease the pan-and-scan range by<value>, 1.0 is the maximum. Negative values decrease the pan-and-scan range. If<abs> is != 0, then the pan-and scan range is interpreted as an absolute range. ... -------- 8< -------- I think you just have one button lirc config emit "panscan 1 0" and the other "panscan -1 0" or something. You can work it out in 5 minutes with trial and error sicne you can run it in slave mode from the command line. Also, I just noticed this in the document : -------- 8< -------- ... switch_ratio [value] Change aspect ratio at runtime. [value] is the new aspect ratio expressed as a float (e.g. 1.77778 for 16/9). There might be problems with some video filters. ... -------- 8< -------- I think I had 4 buttons, one for each normal aspect ration. Jake On 10/06/10 02:14, Toan wrote: > Hi > > I'm new to freevo and is trying to set it up for my old silent HTPC. > Most of the basic > is done and everything is working fine (thanks!). I have a few questions > though: > > - Is there a way to view videos in 2x or 3x zoom. I have an TV overscan > problem (it's a RPTV). Instead using of the whole 1080, I prefer > viewing 480 videos in > 2x zoom and 352 videos in 3x zoom. I think of fine-tuning MPLAYER_ARGS in > local_config.py like "if videoheight< 480, MPLAYER_ARGS_ADD -vf expand=:540" > for 2x zoom but don't know how to do it in local_config.py > > - I want to disable xine all together and want to use mplayer for > everything. This > way, i need to spend time fine-tuning one player only. I know that mplayer DVD > menu is not as good as xine but i can live with that. How do I do that ? > > - I run freevo on top of xfce for the USB drives, CDROM auto-mounter > convenience. > When I shutdown freevo, the PC reverts back to xfce desktop. How do I config > freevo to shutdown everything together ? > > - My remote has an "Aspect" button. Can i setup local_config.py so > that each time > I press it, mplayer would switch to another predefined aspect ratio > like 2.35, 1.78, > 1.33 or 0 (video default)? At the moment, I configure it the button > "1" for 1.78 > and "2" for 1.33,... but it's not optimal. > > - BUGS: the shoutcast and apod plugins are not working properly. Shoutcast > hangs > after selecting genre screen. > > FYI, i use freevo 1.x svn. > > Thanks > Toan > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > Freevo-users mailing list > Freevo-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freevo-users > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users