Jump to content

How to stream audio/video from sat?


cenobite
 Share

Recommended Posts

Hi !

 

I got a Sat tuner based upon GPL (Linux), and want to know more about connecting my Linuxbox to the sat tuner for audio/video streaming. I know there are several progs. for this in Windows like: Tuxvision, dreamTV and so on. Is there anyone who know something about this or where to get some more info ?

 

Thanx !

 

Best regards

Ole

Link to comment
Share on other sites

If you want to directly connect the cable to your PC you need a DV card. That is an open standard so it's supported by Linux. Mandrake should detect it and install the neccesary packages.

 

If you want to run a cable between your sat box and your PC you need an analog TV card. Many are supported by Linux and Mandrake automatically detects them. For some (HauppaugePVR250/350 etcetc) you need to build the module yourself (see the tips/tricks forum of this board).

 

There are many TV viewing apps: kdetv, xawtv, tvtime, freevo, mythtv etcetc

Link to comment
Share on other sites

thanx for the reply

 

Yeah, I know there are many solution to this, but I know it's possible to stream, record, watch tv with just some simple commands without the extra cards. Only via Lan.

 

Some examples are;

 

lynx -auth=root:dreambox -dump http://192.168.1.110/cgi-bin/streaminfo > stream.info

PMT=$(cat stream.info | grep PMT | cut -d : -f2 | cut -d 0 -f2)

VPID=$(cat stream.info | grep VPID | cut -d : -f2 | cut -d "(" -f1 | cut -b15-19 )

APID=$(cat stream.info | grep APID | cut -d : -f2 | cut -d "(" -f1 | cut -b15-18 )

vlc "http://192.168.1.110:31338/"$VPID","$APID

 

or just:

 

http://dreambox_ip/cgi-bin/streaminfo

 

Name: Discovery

Provider: Telenor

Service reference: 1:0:1:196:4:46:fff60000:0:0:0:

VPID: 0384h (900d)

APID: 0385h (901d)

PCRPID: 0384h (900d)

TPID: 012dh (301d)

TSID: 0004h

ONID: 0046h

SID: 0196h

PMT: 0025h

Video Format: 544x576 (4:3)

 

and then:

 

mplayer -dumpstream -dumpfile test.mpg http://dreamboxip:31339/0,PMT,VPID,APID

 

or just to watch:

 

mplayer http://192.168.0.19:31339/0,25,384,385

 

I was nearly makeing this work with kaffeine, but when kaffeine was buffering, nothing happend. I thought maybe there was some network configuration to be done or some other commands ?

 

I'm very pleased if somebody got som great links to stuff like this. Or someone who knows something about HOW TO :unsure:

 

thanx

Link to comment
Share on other sites

  • 1 month later...

Hi !

 

It's been a couple of days now since I first postet this question, but I just want to add the soulution so far.....

I got a tuner named "Dreambox" that runs with open source OS (a light version of linux I think), and I know several people got VLC to stream from the tuner to the pc.

Well, I finally made this work without any tv adapter cards or anything. Only via TP LAN cable.

 

The first problem was that my tuner had a software (image) that didn't support both audio/video, so I just upgraded the tuner with the right image. I then ran the script mentioned above, and VLC are now streaming great with both audio/video. In fact, I'm now watching the news while writing this reply B)

 

I've also tried Mplayer, but can't manage to make it work properly..... It all runs well in a couple of minutes before things starting to go slower and slower......until it all stops. Anyone got a clue why ? I thought maybe there are some commands that I need to run ?

 

:beer:

 

Thanx !

 

Best regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...