Author Topic: Watching Live Tv From Mythtv - Possible?  (Read 5924 times)

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Watching Live Tv From Mythtv - Possible?
« on: October 20, 2005, 08:45:28 am »
Since I have setup my mythtv box, I successfully use it to record and zaurus-encode my preferred tv programs.

But,

1) does anyone have mythfrontend for zaurus?

2) if 1) is not possible, is it possible to view live tv using mplayer on zaurus? how can I stream live tv with a mythtv box, so it can be viewed using just plain mplayer (at this stage, other mythfrontend capabilities like channel change should be needed)?

Thanks
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

Sna

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #1 on: October 20, 2005, 09:54:34 am »
i dont know abouy mplayer and mythtv, but you can watch tv streaming by using VLC, server on the desktop and VLC client (it's the same) on the Zaurus, a version of vlc is compiled at least for pdaxrom

VLC can use V4L driver and can directly stream output compressed to mpeg for example, to the zaurus over wifi (i use this at home to have tv in the kitchen )
« Last Edit: October 20, 2005, 09:55:51 am by Sna »

ThirtyOne

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #2 on: October 21, 2005, 08:19:14 am »
What I do in a similar situation is I have a zaurus-compatible video file created in a directory under a web server.  Then I stream it to my zaurus using mplayer and http.  It works pretty well and is simpler than vlc (IMHO).

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #3 on: October 21, 2005, 04:59:20 pm »
i have a http server setup.
what you do something like this?
cat /dev/video0 >> file
and then open it with mplayer on the Z?
it will grow and grow until it will eat all your HD
plz explain how you did that coz i want to watch TV also

pelrun

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • http://
Watching Live Tv From Mythtv - Possible?
« Reply #4 on: October 21, 2005, 05:29:09 pm »
Check out MythStreamTV if you have a digital tuner or one of the Hauppages that hardware encodes to MPEG2. It seems to be a pain to set up though

(We Z owners are used to that, right?   )

Quote
what you do something like this?
cat /dev/video0 >> file
[div align=\"right\"][a href=\"index.php?act=findpost&pid=100423\"][{POST_SNAPBACK}][/a][/div]
He's using MythTV, which manages all of that itself.
SL-C3100 with usb power mod running debian eabi
pdaXii13 still on the NAND for dualbooting
16GB SDHC! (a new one, after I sat on the old one and it went kaput)
D-Link 660 wifi, Socket Bluetooth rev H
External 9800mAh LiIon battery and slimline dvd drive
Homebrew microphone and remote

urielka

  • Full Member
  • ***
  • Posts: 178
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #5 on: October 21, 2005, 07:09:11 pm »
i am asking   ThirtyOne he didn`t menttion MythTV

zmiq2

  • Sr. Member
  • ****
  • Posts: 383
    • View Profile
    • http://
Watching Live Tv From Mythtv - Possible?
« Reply #6 on: October 21, 2005, 07:31:25 pm »
1) I'm now going through the pain of having vlc compiled (default rpms don't have --enable-pvr option, so no hauppauge-pvr module is included in binaries). I might have it compiled in a week or so (I'm still handling first errors in ./configure).

Sna,

What software do you use to remotelly control vlc, so you can change channels remotelly?


2) I checked Mythstream, and it's based on VLC, also without binaries compiled, so it's the same problem as having vlc running.


3) using the cat /dev/video0 > file.mpeg doesn't seem an option, since I really thing that taking care of my HD is important; I'll investigate this option, since maybe it could be possible to have this idea working like using a pipe ?
sl-c750, archos av580, socket cf [bt, wifi, modem], noname cf lan, audiovox rtm800 gsm-gprs cf, rom: sharp -> oz3.5.3 -> cacko -> oz3.5.4.1

ThirtyOne

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #7 on: October 22, 2005, 12:52:41 am »
Well, my specific scenario is that I pull mlb.tv streams off of the internet and re-encode them using mencoder to a zaurus-compatiible format (mpeg 4 at 15 fps).  Three hours of video come out at about 200 meg.

Sna

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #8 on: October 23, 2005, 07:59:32 am »
with vlc i use it in console mode, so i can control it from the Zaurus in SSH

and to know what line to enter, just make one setting that works with the gui, and copy paste the resulting option line just after the vlc command in the console
this must work just the same
and to know the frequency of the channels, just edit your mythtv config file, they should be there

after that just make some little scripts for channels and call them in ssh from the Z
and it's all

(i can't give you directly the lines i use, because of a recent disk crash, i've lost them  )
« Last Edit: October 23, 2005, 08:04:22 am by Sna »

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #9 on: September 01, 2007, 07:54:16 pm »
the "state of the art" has moved on a bit since this thread started, so I thought I'd revive it!

is anyone still doing video streaming to their zaurus? in general I think audio streaming, and shoutcast, is a pretty well-known science and works well (for me, it works over bluetooth PAND as well as wifi).

I've tried playing internet tv streams but no luck, I sometimes get sound but that's all; I don't have my own video streaming server but I'd consider setting one up if anyone else has it working.

thanks for any thoughts.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

ogrefish

  • Newbie
  • *
  • Posts: 16
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #10 on: September 01, 2007, 09:40:21 pm »
funny you should post this.

I was looking to get something streamed yesterday. I managed to get sound using mplayer but apparantly it didnt like the windows media vid codec or something like that....VLC just gave up instantly..I figure mplayer could handle the stream with its up to date version, but i have an old version for cacko..
SL-C760 Running Cacko full - Ambicom WL1100C, 2gig sandisk sd, 2gig sandisk cf. Socket Bluetooth CF card rev L (cant get that working for some reason, any help would be welcome)

SL5500 - hanging out in my draw.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #11 on: September 04, 2007, 05:15:49 pm »
if I encode a video to have sufficiently low bit rate, put it on a web server, could I play it directly from mplayer by simply pointing mplayer at the http URL?

I'll go and try!
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
Watching Live Tv From Mythtv - Possible?
« Reply #12 on: September 07, 2007, 11:49:56 am »
Quote
if I encode a video to have sufficiently low bit rate, put it on a web server, could I play it directly from mplayer by simply pointing mplayer at the http URL?

I'll go and try!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=167013\"][{POST_SNAPBACK}][/a][/div]

I converted a 640x480x30fps video to 320x240x15fps using VirtualDub from my canon powershot, stored it on my linux server, and was able to play it over wifi link using mplayer without problems. I was unable to play the same movie at 640x480x15 - mplayer said it was too slow, but I hadn't pre-rotated it nor was I doing anything clever with the "-vo" option (I did try framebuffer output but quickly discovered the issue with prerotation).

BTW, I'm using Angstrom latest,  so hopefully the improved latency of the kernel and latest wifi drivers should give it the best chance of working.

I'll try recoding and seeing how well it goes.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.