On Thu, Jan 7, 2010 at 1:34 PM, Dwight Hubbard
<[email protected]>wrote:

> If you don't need to transcode the video to stream it you might want to try
> mplayer.
>
> Since with mplayer you can ssh into the box, set the display to the desired
> display and run mplayer.  Mplayer will continue to take control commands
> via
> the ssh session that started it, but will use the display variable to
> determine the display that it plays back to.
>
> Here's a session were I played a mpeg on the 42" LCD connected to my mythtv
> box and controlled everything via the ssh session from my laptop:
>
> f...@laptop:~$ ssh mythtv
> f...@mythtv's password:
> Last login: Sun Jan  3 23:29:47 2010 from laptop.foo.com
> [...@mythtv ~]$ export DISPLAY=:0
> [...@mythtv ~]$ mplayer /var/lib/mythtv/videos/red_dwarf/red_dwarf-
> better_than_life.mp4
>
> One curiosity is that using that export command first also controls which
display vlc uses. Well curiosity is probably a bad word for it. More like a
feature, I guess. But I found out because I was curious and tried it.

With Larry's command it worked, but I was having issues with disabling the
screensaver. For some reason it just wouldn't do it, no matter if I told it
explicitly or not. So far by using the export command first I can simply
tell either VLC or mplayer to play without using the cvlc or any other
options and they both look like they've disabled the screensaver properly as
well. Having the display set that way seems like it should be the same as
setting it as an option to vlc, but for whatever reason it's not working
that way for me.

Now I just need to use screen to be able to close the ssh session without
killing the video and it looks like I'm set. (I might be misunderstanding
nohup, but I've tried it, and every time I close the ssh session it kills
the movie, even with the nohup first on the cli. Oh well, not a big deal.)

Thanks again to everyone, I've learned quite a bit in this little adventure.

Erik
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to