SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Placeshifter
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Placeshifter Discussion related to the SageTV Placeshifter application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV Placeshifter software application should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-03-2007, 12:29 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Linux Placeshifter Problem-Overlay Problem

So, I've used Linux for programming projects for years but now I'm trying to switch to it (nearly) full-time on my laptop. I'm having problems getting the placeshifter to work. I would really appreciate some help here, but I don't exactly know what information you need to help me troubleshoot. I'm running Ubuntu and have loaded Sun's java 1.6. I also made sure the libraries in the readme file were already installed.

Placeshifter loads fine, but when I try watch a video I get an error in the console, that seems to describe my problem.

Code:
Tue 4/3 1:09:40.575 stderr:It seems there is no Xvideo support for your video card available.
Tue 4/3 1:09:40.575 stderr:Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/video.html#xv!
Tue 4/3 1:09:40.575 stderr:See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
Tue 4/3 1:09:40.575 stderr:Error opening/initializing the selected video_out (-vo) device.
If I run mplayer -vo help, then I get the following:
Code:
MPlayer dev-SVN-r-3.4.4 (C) 2000-2006 MPlayer Team
CPU:         Intel(R) Pentium(R) M processor 1.60GHz (Family: 6, Model: 13, Stepping: 8)
SSE2 supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Available video output drivers:
        stv     SageTV Miniclient
        xv      X11/Xv
        x11     X11 ( XImage/Shm )
        xover   General X11 driver for overlay capable video output drivers
        null    Null video output
        mpegpes Mpeg-PES file
        yuv4mpeg        yuv4mpeg output for mjpegtools
I'm sorry if I haven't provided enough information. Again, I will appreciate any help I can get.


Update:
I think I got xvideo support working by running a tool that came with my video card drivers (ATI x300) that modified the xorg.conf file. Now I get video started, but it only flashes on the screen before it goes dark. The sound keeps playing, but the video stops. This is the error I can in the console, which seems to be relevant to my problem.

Code:
Tue 4/3 1:49:44.345 stdout:==========================================================================
Tue 4/3 1:49:44.345 stdout:Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Tue 4/3 1:49:44.346 stderr:Trying to parse MPEG1/2 video stream but MPEG4 start codes were detected. Switching to MPEG4 video format.
Tue 4/3 1:49:44.476 stdout:Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
Tue 4/3 1:49:44.476 stdout:==========================================================================
The file I am playing is an mpeg2 file. I'm on my LAN at home, so the server shouldn't be transcoding it. So, I don't know why it thinks it should use Mpeg4. Any ideas?

Last edited by reggie14; 04-03-2007 at 11:46 AM.
Reply With Quote
  #2  
Old 04-03-2007, 11:45 AM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
I got it working, sort of. I removed ATI's proprietary drivers and after that it starting work.

But, I'd really like to use those drivers, so I'd still appreciate some help trying to figure out what was causing the problem. It must be some sort of overlay issue. I would start a video, it would flash on the screen, then it would go blank. It would actually keep playing. When Sage's UI would appear on top of the video I could see the video playing in some little rectangular boxes "underneath" the Sage UI.

I said before that I used an ATI config tool to modify the xorg.conf file. It added the following lines to the device section.

Code:
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Evidently only one can be on at a time and enabling OpenGLOverlay takes a lot of CPU power, according to the ATI Proprietary Driver entry at MythTV's wiki. (http://www.mythtv.org/wiki/index.php...prietaryDriver)

Would this setting prevent Sage from working? Is there anything I can do to make Sage, mplayer and ATI's drivers play nicely together?

Thanks in advance.
Reply With Quote
  #3  
Old 04-03-2007, 01:34 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I don't have an ATI card, but the symptoms sound similar to what I had. Try telling Placeshifter to use OpenGL by adding the following line in your ~/.sagetv/SageTVPlaceshifter.properties file.

Code:
opengl=true
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #4  
Old 04-03-2007, 07:31 PM
reggie14 reggie14 is offline
SageTVaholic
 
Join Date: Aug 2003
Location: Maryland
Posts: 2,760
Thanks for the suggestion, but that didn't do the trick. That gave me a javax.media.opengl.GLException.

Interestingly enough, I tried running the mplayer application that came with sage alone. It was able to play videos fine.

I noticed when I type "mplayer -vo help" I see "stv SageTV Miniclient" as one of the available video output drivers. I tried playing a video file using the command "mplayer -vo stv filename", but it said there was an error opening/initializing the selected video-out device.

Thinking that video out driver might be the problem I tried creating a .mplayer/config file and included the line "vo=xv". It didn't seem to do anything.

Last edited by reggie14; 04-03-2007 at 07:38 PM.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with Placeshifter video playback on linux g-man SageTV Placeshifter 6 02-23-2007 02:25 AM
Odd video stuttering problem Axeman SageTV Software 5 02-22-2007 06:06 PM
Improve Placeshifter PQ over LAN? zubblwump SageTV Placeshifter 7 11-06-2006 04:21 PM


All times are GMT -6. The time now is 05:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.