[MPlayer-users] Optimize video output from tv card

Giacomo Comes comes at naic.edu
Fri Sep 4 16:23:32 CEST 2009


On Fri, Sep 04, 2009 at 03:52:18PM +0200, Michael wrote:
> Hmm, without the -fixed-vo option I haven't had any garbled video playback 
> now for several hours. Maybe that's the cause.
> 
> So, I have nearly everything running. Great!
> 
> The only think I am still fighting with is the mplayer options. I want to 
> position the video playback at 100,50 on a 800x600 screen. The video 
> resolution should be 640x480. If the video is of a different size, I would 
> like to resize it while keeping the original aspect ratio. Furthermore, if 
> the resulting video is smaller than 640x480 it would be great if black 
> borders would be added automatically.
> 
> I've tried nearly a hundred combinations of options. None delivered this. 
> The one that came closest, was -screenw 640 -screenh 480 -fs . However, in 
> this case -geometry 100:50 does no longer work, so the video is always on 
> the topleft side.
> 
> More fancy stuff such as -geometry 100:50 -vf dsize=640:480:0,expand=640x480 
> deliver not the expected result (mostly bigger video screens).
> 
> Does anybody know, what options would be best to attain the result I want?

Have you tryed -geometry 100:50 -xy 640 ?
Giacomo

> 
> Thanks again and cheers from Switzerland
> 
> Michael
> 
> Michael wrote:
> 
> > Thanks, I've got everything working now.
> > 
> > Python-SDL fortunately also works with X11. :-)
> > 
> > The only problem is that the nsc driver seems to be quite a bit buggy
> > still. I infrequently get garbled video playback :-(
> > 
> > The screen then shows many several small copies of the video, all of them
> > just in two colors (red and green).
> > 
> > So far I only see these problems when I am not fullscreen. But I need more
> > test to find out where these come from.
> > 
> > Is the driver still actively maintained? Anybody knows who the developer
> > is?
> > 
> > Thanks and best regards from Switzerland
> > 
> > Michael
> > 
> > Reimar Döffinger wrote:
> > 
> >> On Thu, Sep 03, 2009 at 06:01:48PM +0200, Michael wrote:
> >>> Now I just need to find some tutorials on how to access the X11 screen
> >>> from python (as Mplayer shall only use about 80% of the screen, the rest
> >>> shall be a scrolling text display).
> >> 
> >> May I recommend reading man mplayer, particularly the -geometry part?
> >> 
> >>> I also want to get rid of the xterm. Need to find out what I need it for
> >>> at all. I see that I cannot simply start mplayer from xinit. It seems to
> >>> need xterm.
> >> 
> >> No it doesn't. You _might_ need to use -noconsolecontrols and/or
> >> redirect stdin/stdout.
> 
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

-- 


More information about the MPlayer-users mailing list