[Solved] Desktop replicated on TV does not show videos

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

[Solved] Desktop replicated on TV does not show videos

Post by laplume »

Hello Salix users,
I have an oddity when I connect my salix laptop to the home TV via vga cable. Basically the laptop's screen is replicated on the tv (except the wallpaper which defaults to the standard xfce one) and applications are duly replicated except videos. Each time I try to play a .flv or .mp4 file the application works fine on laptop's screen, whereas the TV replica shows only the player window completely blank. Is there any way to fix this?

Thanks in advance for you support.
Antonio
Last edited by laplume on 5. Dec 2014, 21:45, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop replicated on TV does not show videos

Post by gapan »

Can you try disabling the internal monitor and have the TV as the only one?
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Desktop replicated on TV does not show videos

Post by laplume »

Hello Gapan,
This would be perfect for me. Shall I run a specific command or is it something I can do from xfce settings manager?
Thanks
Antonio
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop replicated on TV does not show videos

Post by gapan »

There is an xfce app for changing the screen settings. It should be somewhere in the settings menu. And in the xfce control panel.

Otherwise you can use xrandr from the command line. We'll come to that if the GUI doesn't work properly (I know sometimes it doesn't).
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Desktop replicated on TV does not show videos

Post by laplume »

Hello Gapan,
Tried different screen resolutions but problem still persists. I can use the TV as a second screen if I work with spreadsheets, text editor and image viewer. but no possibility to see display videos using VLC (or any other media payer). On the other hand youtube vides are displayed fine using the browser.
That's quite odd, since it appears to be a matter related to media players exclusively. For me everyday not a big issue but a bit annoying.
Let me know if you may have further advice on this.
Regards,
Antonio
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Desktop replicated on TV does not show videos

Post by gapan »

OK, let's try something else. Can you install the mplayer2 package? Then from a command line run:

Code: Select all

mplayer -vo help
this will show you all available video outputs.

Now try some with a video. Like:

Code: Select all

mplayer -vo sdl your_video_file
try at least the sdl, xv and x11 outputs. maybe also the gl ones. Some of them are not actual video outputs, but save the frames as picture files (png, bmp etc). caca is interesting. :D
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: Desktop replicated on TV does not show videos

Post by laplume »

Hello Gapan,

You got it!
mplayer x11
and
mplayer gl2

did the trick (especially the latter for a full screen view). :D
I'll mark the thread as solved.
Thanks again.
Antonio
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: [Solved] Desktop replicated on TV does not show videos

Post by gapan »

Good, now you can add a line like this:

Code: Select all

vo=gl2
in your ~/.mplayer/config file. If you don't have one you can create it. This will make it permanent.

If you want an actual GUI, you can use smplayer or gnome-mplayer as a frontend. You'll probably need to set the output in there too though.

I guess vlc has some kind of option somewhere to change the output, but as I'm not using vlc at all, I'm not familiar with it.
Image
Image
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: [Solved] Desktop replicated on TV does not show videos

Post by laplume »

Hello Gapan,
Thanks for the tip, I will add it to my mplayer config. file.
Anyway I have discovered I can still launch mplayer via terminal adding the extra options with the command gmplayer. I will keep this in mind just to practice and get more confident with CLI.

Thanks again for your support. The more I use this distro, the more I like it.

Regards,
Antonio
Post Reply