Author |
Message |
averyml
|
Posted: Fri Oct 05, 2007 8:58 am |
|
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
|
I just got a nokia N800 and I'm trying to get the maemo-mythtv application to work with it. It relies upon the gmyth library on the mythtv backend to work (if I'm understanding this correctly...), and in a comment on MoRpHeUz's blog, cesman said he would try to integrate it into knoppmyth. I cannot, however, seem to find it (locate gmyth on my backend, at least, returns nothing). I am guessing this is because there was a bit of a delay before maemo-myth (renamed to mobile-mythtv) was released, and so the integration was deemed not as important for the most recent release of knoppmyth. But, could somebody confirm this for me before I try to install something that really is already there?
|
|
Top |
|
|
cecil
|
Posted: Fri Oct 05, 2007 9:37 am |
|
|
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
It isn't. Should be in the next release.
|
|
Top |
|
|
averyml
|
Posted: Fri Oct 05, 2007 11:12 am |
|
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
|
ok, great. In the meantime, if I get it working, should I go ahead and post the directions here? or in the wiki?
|
|
Top |
|
|
cecil
|
Posted: Sat Oct 13, 2007 9:15 pm |
|
|
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
Wiki would be find. Once it is in the distro proper, you can update the wiki stating it is in the distro proper.
|
|
Top |
|
|
lucidblue
|
Posted: Thu May 22, 2008 10:16 am |
|
Joined: Thu May 22, 2008 9:00 am
Posts: 4
|
Hey all, anyone have any luck with this? I've got the frontend ready to go on my N800, but I'm not sure what repos to use to install the gms stuff...
I did a search on the wiki for gmyth and didn't find anything. And, I don't know if there are any packages that will work.
The Version I'm running is R5F27
Thanks,
-Lucidblue
|
|
Top |
|
|
averyml
|
Posted: Fri May 23, 2008 8:14 am |
|
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
|
I never could get everything to work correctly...I'm keeping my fingers crossed for R5.5
|
|
Top |
|
|
lucidblue
|
Posted: Fri May 23, 2008 8:21 am |
|
Joined: Thu May 22, 2008 9:00 am
Posts: 4
|
someone suggested on irc to PM cesman, there was talk about him wanting to include it with knoppmyth, I guess he's got an n800 too. Anyway, I've PM'd him, and I'll make sure I post back if I can get it working.
I'm sure it could be built from source, but there's too many dependencies for me to attempt that. I'm not too familiar with debian distros, and I'd rather not hose my myth install doing something dumb...
Thanks for the reply..
-lucidblue
EDIT: for typos I fail at spelling...
|
|
Top |
|
|
Pain
|
Posted: Tue May 27, 2008 1:08 pm |
|
Joined: Sun Mar 19, 2006 5:53 pm
Posts: 41
|
There is a easy way to get Knoppmyth and all your media to sync with a N800/N810. Just have to run a Orb server which is free software.
http://orb.com/
It is easy to map the pretty directory to the orb server and it seems to allow smoother playback on a N800 of recorded shows then if you directly connect to MythTV. If your Orb server has a tv tuner then you also can look at the tv schedules and tune into live TV.
There is even a new upnp plugin for Canola2 that allows direct access to anything the Orb server can see.
http://openbossa.indt.org.br/canola/using.html
http://www.marceloeduardo.com/blog/
|
|
Top |
|
|
elgordo123
|
Posted: Tue May 27, 2008 7:37 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
I just use a script I created (can post if you want it). You just ssh into the mythbox run the script, which will use vlc to stream live tv, recordings, videos or dvd. then point to it from tcpmp (pocket pc), or mplayer or most any other video player.
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
|
cecil
|
Posted: Tue May 27, 2008 11:42 pm |
|
|
Site Admin |
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location:
Whittier, Ca
|
Unfortunately, I'm going to have to go back on my word... I won't be include gmyth in R 5.5. I ran into some issues installing it and I really don't have room on the ISO for it.
|
|
Top |
|
|
lucidblue
|
Posted: Wed May 28, 2008 8:22 am |
|
Joined: Thu May 22, 2008 9:00 am
Posts: 4
|
elgordo123: If you can post that, it'd be awesome, sounds like that would work fine for now anyway. I know there's an option to stream some stuff through mythweb, but I haven't really tried that out... It sounds like the script you have is able to stream more stuff than the mythweb gives for options though.
cecil: I think it's so niche that I'm not sure it really should be 'included', but is it possible to make some packages available so one can just apt-get it? Maybe the complications you had during install would make it too difficult?
Thanks for the replies!
|
|
Top |
|
|
lucidblue
|
Posted: Wed May 28, 2008 8:25 am |
|
Joined: Thu May 22, 2008 9:00 am
Posts: 4
|
pain: I didn't see your post before, looking at the orb server thing right now...
EDIT: Thanks anyway pain, I just looked enough, it says it needs windows, and I do not...
|
|
Top |
|
|
averyml
|
Posted: Wed May 28, 2008 9:07 am |
|
Joined: Thu Mar 16, 2006 1:00 pm
Posts: 87
|
I've been using mediaserv for the time being, which works pretty well for recordings, although it lacks the other capabilities such as live tv and the guide.
|
|
Top |
|
|
Pain
|
Posted: Wed May 28, 2008 2:18 pm |
|
Joined: Sun Mar 19, 2006 5:53 pm
Posts: 41
|
I understand your objection to using Windows just to run Orb. Many of us nerds have windows computers on our network because we have to for software, hardware, and spouse compatibility Orb says they are developing for Mac and Linux but you know alot of them say that and never release anything beyond a crummy alpha version.
Other than no Live TV, Mediaserv from a quick glance seems very limited with no audio or photo support? The big deal about a N800 is that it is small, and travels well. Does it safely handle access outside your local network?
|
|
Top |
|
|
elgordo123
|
Posted: Wed May 28, 2008 4:47 pm |
|
Joined: Thu Feb 12, 2004 2:54 pm
Posts: 392
Location:
Beaumont, CA
|
Here is my script. I call it stream.sh Put it in the home directory for your ssh user. chmod a+x stream.sh as root. You will have to change the password and IP on lines 117 ,119 and 148 (so it can find status of capture cards if viewing live TV). Once it is running point mplayer or vlc, etc to http://your.ip.:8001 (you'll need to open firewall 8001 to point to your mythbox)
ssh into your box then ./stream.sh, it will prompt you for some preset settings (work or pocket pc, but you can change) and then prompt you to view Live, Recordings, Videos or a DVD. I am no programmer, but got it to work for me, feel free to improve it! I'd love to have it launch from mythweb so I dont have to ssh in, but dont know how..
stream.sh
Code: #!/bin/bash
### IF APT-GET REMOVE vlc You MUST also do ### apt-get remove vlc vlc-nox AND libvlc0! ### libvlc0 will not autoremove and will cause problems!
clear VSPEED=0 ASPEED=0 VSIZE=0 VSIZE2=0 FPS=0 CHAPTER=0
## CHECK FOR PRESETS, ADD YOUR OWN HERE echo "Use Presets for work or ppc (work,ppc,n)?" read vPRESET if [ $vPRESET == "work" ]; then VSPEED='300' ASPEED='48' VSIZE='75' VSIZE2='.75' FPS='25' elif [ $vPRESET == "ppc" ]; then VSPEED='128' ASPEED='32' VSIZE='25' VSIZE2='.25' FPS='15' fi
## PROMPT IF NO PRESET SELECTED if [ $VSPEED == "0" ]; then echo "Video Speed (500,300,256,192,128)?" read VSPEED echo fi
if [ $ASPEED == "0" ]; then echo "Audio Speed (128,96,64,48,32)?" read ASPEED echo fi
if [ $VSIZE2 == "0" ]; then echo "Video Size% (100,75,50,25)?" read VSIZE if [ $VSIZE == "100" ]; then VSIZE2='1.0' elif [ $VSIZE == "75" ]; then VSIZE2='.75' elif [ $VSIZE == "50" ]; then VSIZE2='.50' elif [ $VSIZE == "25" ]; then VSIZE2='.25' fi fi echo
if [ $FPS == "0" ]; then echo "FPS (25,20,15,10,5)?" read FPS echo fi
## SELECT STREAM MODE echo "1. Stream Rec." echo "2. Stream Live." echo "3. Stream Video." echo "4. Stream DVD." read vMODE ## BEGIN STREAM RECORDED SCRIPT## if [ $vMODE == "1" ]; then echo echo "Recorded Programs:" echo ls /myth/pretty echo echo "Which File? (d)-view filenames for duplicate titles" read VIDEO
if [ $VIDEO == "d" ]; then ls -All /myth/pretty echo "Which filename?" read VIDEOFILE fi
echo "File: "$VIDEO $VIDEOFILE
if [ $VIDEO == "d" ]; then vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS --sout-transcode-deinterlace /myth/tv/$VIDEOFILE ":sout=#transcode{vcodec=DIV3,acodec=mpga,vb=$VSPEED,ab=$ASPEED,scale=$SIZE2}:std{access=http{user='',pwd='',mime=video/x-ms-asf},mux=asf,url=:8001}" exit 1 fi
vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS --sout-transcode-deinterlace /myth/pretty/$VIDEO ":sout=#transcode{vcodec=DIV3,acodec=mpga,vb=$VSPEED,ab=$ASPEED,scale=$SIZE2}:std{access=http{user='',pwd='',mime=video/x-ms-asf},mux=asf,url=:8001}" # fi exit 1 ### END OF RECORDED SCRIPT ###
## BEGIN LIVE SCRIPT ## elif [ $vMODE == "2" ]; then # wget --http-user=mythtv --http-passwd=mythtv http://192.168.0.1/mythweb/status MYTHWEB_STATUS=status ### Taken from parseTunerStatus of mythstreamtvLive scripts MYTH_WEB_STATUS=http://192.168.0.1/mythweb/status # Figure out if tuner has a recording scheduled and when - add message to ddl FindNextSchedule() { PARM=${1} DEVICE=${2}
TUNER=`echo ${PARM} | awk '{ print $1, $2}'` ScheduleBegin=`grep -n "The next 10 shows" ${STATUS} | cut -f1 -d:` NEXTTIME=`tail -n +${ScheduleBegin} ${STATUS} | \ grep " - ${TUNER} - " | \ head -1 | cut -f2 -d\> | cut -f1 -d- ` if [ -z "${NEXTTIME}" ] then #echo "<option value=\"${DEVICE}\" selected=\"SELECTED\">$LINE - No scheduled recordings</option>" echo "\"$LINE - No scheduled recordings." else #echo "<option value=\"${DEVICE}\" selected=\"SELECTED\">$LINE - Next recording at ${NEXTTIME}</option>" echo "\"$LINE - Next recording at ${NEXTTIME}." fi }
#---------------------------------------------------------------------------- # Main Routine #---------------------------------------------------------------------------- cd /tmp
# get the HTML status page wget --http-user=mythtv --http-passwd=mythtv http://192.168.0.1/mythweb/status 2> /tmp/wget.error STATUS=/tmp/status
# grab local Encoder status lines EncoderStatusBegin=`grep -n "Encoder status" ${STATUS} | cut -f1 -d:`
tail -n +${EncoderStatusBegin} ${STATUS} | head -5 | \ egrep "^[ ]*Encoder.*local" > /tmp/tunerstatus
# Clean up the the status text cat /tmp/tunerstatus | awk '/not recording/ {print $1, $2, "- Free"} /is recording/ {print $1, $2, "- Recording"}' > /tmp/tnrsts.terse
# Now loop through each tuner and create ddl entry while read LINE do TUNER_NUM=`echo ${LINE} | awk '{ print $2}'` DEVICE="/dev/video$((${TUNER_NUM}-1))" if [ ! -z "`echo $LINE | grep Recording`" ] then # if recording - just ues 'cleaned up' terse text echo "<option value=\"${DEVICE}\">$LINE</option>" else # if not recording, figure out next scheduled recording for tuner FindNextSchedule "${LINE}" "${DEVICE}" fi done < /tmp/tnrsts.terse
# cleanup rm -f /tmptnrsts.terse /tmp/tunerstatus /tmp/status
## MY SCRIPT STARTS HERE
echo echo "Use Encoder 1(Myth) or 2(Reg)?" read DEVICE if [ $DEVICE == "1" ]; then DEV='/dev/video0' echo "Channel?" read CHAN echo "Changing to Channel: "$CHAN change_channel.csh $CHAN elif [ $DEVICE == "2" ]; then DEV='/dev/video1' fi echo
echo "Starting VLC..." vlc -I http --http-host=8002 pvr:$DEV --sout-transcode-fps=$FPS --sout="#transcode{vcodec=DIV3,vb=$VSPEED,scale=$VSIZE2,acodec=mpga,ab=$ASPEED}:std{access=http{user='',pwd='',mime=video/x-ms-asf},mux=asf,url=:8001}" # fi exit 1 ## END STREAM LIVE TV ##
## BEGIN STREAM VIDEO SCRIPT ## elif [ $vMODE == "3" ]; then echo echo "Recorded Programs:" echo ls /myth/video echo echo "Which File?" read VIDEO
echo "Starting VLC..." vlc -I http --http-host=:8002 --sout-transcode-fps=$FPS --sout-transcode-deinterlace /myth/video/$VIDEO ":sout=#transcode{vcodec=DIV3,acodec=mpga,vb=$VSPEED,ab=$ASPEED,scale=$SIZE2}:std{access=http{user='',pwd='',mime=video/x-ms-asf},mux=asf,url=:8001}" # fi
elif [ $vMODE == "4" ]; then echo echo "Which Chapter?" read CHAPTER echo "Starting VLC..." vlc -vvv --color dvdsimple:/dev/dvd@1:$CHAPTER --sout udp://192.168.0.255 --ttl 12 --sout-all fi
_________________ ASUS A7N266 Micro-ATX Motherboard
Athlon 2200 processor
512K Kingston PC2100 Memory
MicroAtx Case
2 PVR250's w/remote
eVGA e-GeForce mx4000 (64 Ram with Tv/Out (Svideo))
Lite-on DVD cd-rw combo
120 GB Western Digital
|
|
Top |
|
|