[mythtv] Re: Changing channels via myth protocol from a python

Mudit Wahal mwahal at gmail.com
Thu May 26 20:41:05 UTC 2005


Issac,

The 0.18.1 binary is linked with all 0.18.1.so libraries. I've added
the paths where the new libraries are present (in the /etc/ld.so.conf)
file. Before I did that mythfrontend.0.18.1 was complaining about
libmythtv.0.18.1.so not found. After the ld.so.conf change and running
ldconfig, mythfrontend.0.18.1 no longer complains and starts fine.

----- in my /etc/ld.so.conf ----
/myth/packages/mythtv-0.18.1/libs/libmyth
/myth/packages/mythtv-0.18.1/libs/libavformat
/myth/packages/mythtv-0.18.1/libs/libavcodec
/myth/packages/mythtv-0.18.1/libs/libmythtv
/myth/packages/mythtv-0.18.1/filters
---------------------------------------

I'm only interested in watching Live TV and changing channel/volume.
The new 0.18.1 binary runs fine. Unfortunately I'm at work so can't
watch live TV via vnc :( Will have to continue this little experiment
after I get back home. Right now if I try to watch liveTV, I'm getting
some xv error messages etc in the logfile, which is understandable as
there is no graphics device connected on the vnc. Or it may be just a
configuration issue at the build time (like xv directory not defined
etc).

-- current messages in frontend log file -----

2005-05-26 13:28:39.995 New DB connection, total: 1
Total desktop width=640, height=480, numscreens=1
2005-05-26 13:28:39.999 Using screen 0, 640x480 at 0,0
2005-05-26 13:28:40.001 mythfrontend version: 0.18.1.20050510-1 www.mythtv.org
2005-05-26 13:28:40.002 Enabled verbose msgs : important general
Xlib:  extension "RANDR" missing on display ":1.0".
DisplaResX: Unable to XRRgetScreenInfo
Xlib:  extension "RANDR" missing on display ":1.0".
DisplaResX: Unable to XRRgetScreenInfo
testdir 1: /root/.mythtv/themes/blue
testdir 2: /usr/local/share/mythtv/themes/blue
testdir 1: /root/.mythtv/themes/blue
testdir 2: /usr/local/share/mythtv/themes/blue
2005-05-26 13:28:40.117 Switching to square mode (blue)
testdir 1: /root/.mythtv/themes/Default
testdir 2: /usr/local/share/mythtv/themes/Default
testdir 3: ../menutest/Default
testdir 4: /usr/local/share/mythtv/
2005-05-26 13:28:40.501 Registering Internal as a media playback plugin.
mythtv: could not connect to socket
mythtv: No such file or directory
lirc_init failed for mythtv, see preceding messages
2005-05-26 13:28:40.502 Joystick disabled.
2005-05-26 13:28:48.071 New DB connection, total: 2
2005-05-26 13:28:48.084 Connecting to backend server:
192.168.123.3:6543 (try 1 of 5)
2005-05-26 13:28:48.096 Using protocol version 15
2005-05-26 13:28:48.142 Using protocol version 15
adding pes stream at pid 0x41 with type 2
adding pes stream at pid 0x44 with type 129
2005-05-26 13:28:49.969 Opening audio device '/dev/dsp'.
2005-05-26 13:28:49.969 Opening OSS audio device '/dev/dsp'.
Xlib:  extension "XVideo" missing on display ":1.0".
Xlib:  extension "XVideo" missing on display ":1.0".
Xlib:  extension "XVideo" missing on display ":1.0".
Xlib:  extension "XVideo" missing on display ":1.0".
XvQueryExtension failed.
XvQueryAdaptors failed.
***
* Couldn't find Xv support, falling back to non-Xv mode.
* MythTV performance will be much slower since color
* conversion and scaling will be done in software.
* Consider upgrading your video card or X server if
* you would like better performance.
2005-05-26 13:28:49.982 Couldn't get the color key color, and we need it.
You likely won't get any video.
2005-05-26 13:28:50.779 The realtime priority setting is not enabled.
2005-05-26 13:28:50.796 FilterManager: failed to load filter
'linearblend', no such filter exists
2005-05-26 13:28:50.797 Couldn't load deinterlace filter linearblend
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
2005-05-26 13:28:50.845 Changing from None to WatchingLiveTV
Xlib:  extension "XFree86-VidModeExtension" missing on display ":1.0".
2005-05-26 13:28:50.939 Video timing method: RTC
2005-05-26 13:28:51.082 Non Xv mode only supports 16, 24, and 32 bpp displays
2005-05-26 13:28:51.082 VideoOutputXv::Show() called while IsErrored istrue.
2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput
after Show(), aborting playback.
2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while
IsErrored is true.
2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput
before PrepareFrame(), aborting playback.
2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while
IsErrored is true.
2005-05-26 13:28:51.082 NVP: Error condition detected in videoOutput
before PrepareFrame(), aborting playback.
2005-05-26 13:28:51.082 VideoOutputXv::ProcessFrame() called while
IsErrored is true.
====================

Thanks
Mudit

On 5/26/05, Isaac Richards <ijr at case.edu> wrote:
> On Thursday 26 May 2005 04:13 pm, Mudit Wahal wrote:
> > Solved the problem by putting some printfs in mythcontext.cpp file in
> > function QString MythContext::FindThemeDir
> >
> > Then simply linked /usr/share/mythtv to /usr/local/share/mythtv :-)
> 
> That doesn't solve anything.  The binary you're running will be using the
> libraries from 0.18.  You can't run myth without installing it.  You can't
> run different versions at the same time without using two different
> databases.
> 
> Isaac
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>


More information about the mythtv-dev mailing list