PDA

View Full Version : [ubuntu] videos blank with second screen



neiljansons
August 25th, 2010, 05:46 AM
Hi there
Video files (eg. .mpg, .avi, .flv) work fine on my Dell Inspiron 6400 laptop until I plug a second monitor (or data projector) in.
Once the second screen is plugged in the sound plays but the videos are blacked out.
It was a bit embarrassing when I went to do a presentation today.
Running Ubuntu 10.04
Thanks
Neil

neiljansons
August 27th, 2010, 08:28 AM
I did another test.
If I change the monitor settings to duplicate the desktop rather than extend it (tick the box that says "Same image on all monitors") then they work correctly.
But if that box is not ticked then the video is black but the sound plays.

Plippo
September 6th, 2010, 11:08 AM
Have you tried moving the window with the video on the other screen? Some graphics cards can only display video on one screen. This also happened on Windows for me with an ATI card.

neiljansons
September 6th, 2010, 01:27 PM
Have you tried moving the window with the video on the other screen? Some graphics cards can only display video on one screen. This also happened on Windows for me with an ATI card.

No it doesn't matter which screen I run the video on. It is black on either.

BTW the computer is a Dell Inspiron 6400. I often have a 19" LCD monitor plugged into the VGA port or sometimes a data projector. The result is the same.

neiljansons
September 20th, 2010, 06:38 AM
I guess I must be the only one with this problem.

If I go to the Monitor Preferences, select the second monitor and then click on off, the video clips will run on the first screen.
If I turn the second screen back on they go black / blank again.
(basically the same as removing the second screen but easier and quicker to do)

neiljansons
September 20th, 2010, 07:12 AM
Just doing some searching and found this - http://ubuntuforums.org/showpost.php?p=9774192&postcount=9

You may have set "ximagesink" ("X Window System (No Xv)") as video-output.
This means, that your cpu is doing all the work. Change it to "xvimagesink"
("X Window System (X11/XShm/Xv)") in order to let your graphics card do the work.

Mine was already at "xvimagesink" but when I changed it to "ximagesink" (which was NOT recommended) - now it works.

What is happening here?

jessiehilty
September 20th, 2010, 12:34 PM
Just download vlc. It's much better than the average media player since it plays virtually any video/audio file format out there and has already all the codecs preinstalled. There are lots of other near features too. If you don't know where to look then check out the vlc player download page.

neiljansons
September 20th, 2010, 01:04 PM
Just download vlc. It's much better than the average media player since it plays virtually any video/audio file format out there and has already all the codecs preinstalled. There are lots of other near features too. If you don't know where to look then check out the vlc player download page.

VLC is not the panacea you think it is.
Changing the video output plugin to "X Window System (No Xv)" allows me to view video with any player EXCEPT vlc.
VLC displays a black screen either way.