Notices


Reply
Thread Tools
Posts: 306 | Thanked: 106 times | Joined on Feb 2010
#61
I tried building mythtv-0.22 in scratch box today. The packages i needed to install were
Code:
[sbox-FREMANTLE_ARMEL: ~/tmp] > ls -1 *deb
lame_3.98-0.0maemo1_armel.deb
libmp3lame-dev_3.98-0.0maemo1_armel.deb
libmp3lame0_3.98-0.0maemo1_armel.deb
libxinerama-dev_1.0.3-2_armel.deb
libxinerama1_1.0.3-2_armel.deb
libxxf86vm-dev_1.0.2-2maemo1_armel.deb
libxxf86vm1_1.0.2-2maemo1_armel.deb
x11proto-xf86vidmode-dev_2.2.2-5maemo1_all.deb
Unfortunately, the build died since mythtv needs Qt3support which is not present in maemo packages.
Code:
make[2]: Entering directory `/home/sbox/tmp/mythtv-0.22/programs/mythlcdserver'                                                                                                  
ccache g++ -c -pipe -march=armv7-a -fomit-frame-pointer -O3 -mfpu=neon -mfloat-abi=softfp -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -D_REENTRANT -DQT_GL_NO_SCISSOR_TEST -DQT_DEFAULT_TEXTURE_GLYPH_CACHE_WIDTH=1024 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_ARMEL/usr/share/qt4/mkspecs/linux-g++-maemo5 -I. -I/targets/FREMANTLE_ARMEL/usr/include/QtCore -I/targets/FREMANTLE_ARMEL/usr/include/QtNetwork -I/targets/FREMANTLE_ARMEL/usr/include/QtGui -I/targets/FREMANTLE_ARMEL/usr/include/QtXml -I/targets/FREMANTLE_ARMEL/usr/include/QtSql -I/usr/include/Qt3Support -I/targets/FREMANTLE_ARMEL/usr/include -I/targets/FREMANTLE_ARMEL/usr/include -I/opt/mythtv -I../.. -I../../libs -I../../libs/libmyth -I../../libs/libmythtv -I../../libs/libavutil -I../../libs/libavformat -I../../libs/libavcodec -I../../libs/libmythupnp -I../../libs/libmythui -I../../libs/libmythlivemedia -I../../libs/libmythdb -I../../libmythhdhomerun -I../../libs/libmythdvdnav -I. -o main.o main.cpp                                                       
main.cpp:16:26: error: q3textstream.h: No such file or directory                                                                                                                 
In file included from lcdserver.h:13,                                                                                                           from main.cpp:26:                                                                                                                                               
serversocket.h:13:22: error: q3socket.h: No such file or directory                                                                                                               
serversocket.h:14:28: error: q3serversocket.h: No such file or directory                                                                                                         
In file included from lcdserver.h:14,                                                                                                        from main.cpp:26:                                                                                                                                               
lcdprocclient.h:6:27: error: q3valuevector.h: No such file or directory                                                                                                          
lcdprocclient.h:11:21: error: Q3PtrList: No such file or directory
 
Posts: 9 | Thanked: 2 times | Joined on May 2010
#62
To get past the QT3 stuff in .22 edit programs/programs.pro and comment/remove mythlcdserver and mythtranscode, frontend will then build successfully.
 
Posts: 9 | Thanked: 2 times | Joined on May 2010
#63
OK, also got the Xvideo adapter working. The N900 doesnt seem to support the XFree86-VidMode X extension.

In libs/libmythui/mythxdisplay.cpp I modified the function

int MythXDisplay::GetRefreshRate(void)

Commented this

//if (!XF86VidModeGetModeLine(m_disp, m_screen_num, &dot_clock, &mode_line))
//{
// VERBOSE(VB_IMPORTANT, "MythXGetRefreshRate(): "
// "X11 ModeLine query failed");
// return -1;
//}

Added This

mode_line.hdisplay = 800;
mode_line.hsyncstart = 832;
mode_line.hsyncend = 944;
mode_line.htotal = 976;

mode_line.vdisplay = 480;
mode_line.vsyncstart = 490;
mode_line.vsyncend = 495;
mode_line.vtotal = 505;

dot_clock = 29;


Still not usable. Tops 100% CPU. and get pre buffering pauses. The lack of real memory may be causing a lot of swapping to happen also which would slow things down.

I may try overclocking a bit next.

Andrew
 
Posts: 178 | Thanked: 30 times | Joined on Oct 2009 @ Texas
#64
has there been progress on this i would like to test it?
 
Posts: 7 | Thanked: 1 time | Joined on Mar 2010
#65
haven't got time to play with this atm(drowning in work).

But I've got some ideas to reduce the prebuffer pauses:

1) if your recordings are on an nfs accessable drive, try to play them directly in mplayer this could give u an idea if it is actually the decoding or mythfrontend(can be a memory/processor hog)

2) lower the decoding quality on the n900 frontend (TV-settings -> playback -> Playback profile (3/9) )

3) change the recording profile from MPEG-4 to RTJPEG (TV-settings -> recoding profiles) RTJEG is lower quality, bigger files, but requires only very little process time on decoding in comparison to MPEG-4.

Overclocking could be usefull but i doubt that it would be enough(safe overclock) to solve al problems by itself.
2 bad we cant use the DSP for decode offloading, only the standard media player can
 
Posts: 9 | Thanked: 2 times | Joined on May 2010
#66
Overclocking did help, but still not 100% got to a 900mhz stable. But I prefer not to overclock if not needed.

Im using DVB so cant change the recording profile there.

I tried playing the file over NFS using Mplayer and its smooth for the most part. I get about 3% idle CPU, so yea just enough. This is with stock clock speed.

Im playing back Pal DVB so 720x576, above the supported res for the standard media player.

I think its possible to be made to work, its over my head though. I would be happy if the UPNP part of the media player worked then I could just transcode and play back with acceleration, but that doesn't work either. I could use another UPNP server but the integrated mythtv one has all the program names instead of just a number.
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#67
I got this working. Easy Debian + mythfrontend from repos + alsa -utils and keymapping for esc-key.

Everything is working and in my opinion its rather usable...
 
Posts: 7 | Thanked: 1 time | Joined on Mar 2010
#68
did you try livetv? didn't get that working decently in easy debian

If so, could you post your livetv recording profile?
 
Posts: 2 | Thanked: 0 times | Joined on Aug 2010
#69
Originally Posted by idfx View Post
did you try livetv? didn't get that working decently in easy debian

If so, could you post your livetv recording profile?

Well, it worked for me with default livetv recording profile. Only playback profile was significant to get livetv working. Best profile is "slim".

I have frontend version 0.23.1.201000710-1 and backend is release-0-23-fixes [25609] .

I have to say that I don't even know how to change Livetv recording profile. If I select recording profiles menu there is two profile groups: "hardware DVB Encoders and transcoders" If I want to use "Low quality"-profile for livetv what should I do ? Some filter etc. ?

I have played with mythtv for couple of years but I use xbmc for frontend because myth's own frontend was so unstable. Backend is more familiar to me (with conax-card sasc-ng and newcs)
 
Posts: 88 | Thanked: 63 times | Joined on Feb 2008 @ Solingen; Germany
#70
Are there any changes in this thread? I'll get a N900 next weekend and I would invest the time till that to rebuild some applications for this device..
So MythTV .24 is not available as far as I know, right?
 
Reply

Tags
encoding, maemo 5, mobile, mythtv, streaming

Thread Tools

 
Forum Jump


All times are GMT. The time now is 14:25.