Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-19-10, 09:23 AM   #1
JaserLet
Registered User
 
Join Date: Feb 2010
Location: Albuquerque, NM
Posts: 9
Question VDPAU on Multiple Monitors simultaneously?

Is it possible to run mplayer w/ VDPAU on multiple monitors? For example, play 1920x1080 video at full resolution via HDMI and play the same video at the same time letterboxed and scaled on 1280x1024 monitor via VGA? I have found options for specifying which monitor but no example for outputting to two displays at once.
JaserLet is offline   Reply With Quote
Old 02-19-10, 10:13 AM   #2
piotrq__
Registered User
 
Join Date: Jan 2006
Posts: 193
Default Re: VDPAU on Multiple Monitors simultaneously?

Can't run another insance of mplayer on that second screen?
piotrq__ is offline   Reply With Quote
Old 02-19-10, 10:25 AM   #3
JaserLet
Registered User
 
Join Date: Feb 2010
Location: Albuquerque, NM
Posts: 9
Default Re: VDPAU on Multiple Monitors simultaneously?

I can do that, but the two videos aren't synchronized that way. Only one is in sync with the audio track.
JaserLet is offline   Reply With Quote
Old 02-19-10, 12:01 PM   #4
Stephen Warren
Moderator
 
Stephen Warren's Avatar
 
Join Date: Aug 2005
Posts: 1,327
Default Re: VDPAU on Multiple Monitors simultaneously?

VDPAU the API certainly allows that.

However, you would need to implement this one of two ways, neither of which is implemented in MPlayer:

a) Create output surfaces the size of the entire desktop, and have MPlayer use VDPAU's rendering operations to render the video twice, based on the portions of the desktop that the displays scan out (Xinerama information would be useful to determine this, I think).

b) Create two separate windows, one per display device (assuming zero overlap), and a separate presentation queue for each window, and then display each frame via each presentation queue at the same time. MPlayer would probably need to use timestamps for presentation to ensure that the displays did not drift apart, which it doesn't currently do in SVN versions.
Stephen Warren is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 02:13 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.