Jump to content

Dvico FusionHDTV DVB-T and Linux


Recommended Posts

Hi,

I have a FusionHDTV DVB-T card in a Shuttle XPC witj Celeron 2.6GHz, 512MB RAM running Fedora Core 2 (with appropriate patches as per http://www.itee.uq.edu.au/~chrisp/DVICO-Linux/).

My goal is to get MythTV running, but there is no picture when I try to watch live TV, so I went back a step to try capturing video from the command line.

Following suggestions from dcallan over on http://www.dtvforum.info/index.php?showtopic=52&hl= I tried dvbstream:

dvbstream -qam 64 -cr 3_4 -gi 16 -bw 7 -tm 8 -f 177500 -ps -n 10 -o 1025 1026 > /tmp/test7.mpg

This results in:

FE_STATUS: FE_HAS_SIGNAL
polling....
polling....

It remains doing this and does not capture anything.

However, if I try:

dvbstream -qam 64 -cr 3_4 -gi 16 -bw 7 -tm 8 -ps -n 10 -o -v 1025 -a 1026 > /tmp/test7.mpg

the output is:

dvbstream v0.6 - (C) Dave Chapman 2001-2004
Released under the GPL.
Latest version available from http://www.linuxstb.org/
dvbstream will stop after 10 seconds (0 minutes)
Setting filter for PID 1025
Setting filter for PID 1026
Output to stdout
Streaming 2 streams
Caught signal 1 - closing cleanly.

and still nothing is captured.

If I let it run for longer, then after about 20 seconds, this:

Videostream: ASPECT: 16:9  Size = 720x576  FRate: 25 fps  BRate: 15.00 Mbit/s

is added to the output (stderr). Then after another 20 or so seconds, I see

Audiostream: Layer: 2  BRate: 256 kb/s  Freq: 48.0 kHz

So I guess I am tuning into the audio/video OK, but why would it be taking so long?

When I play the captured video with mplayer, it is jumpy, full of noise (multicoloured splotches) and lasts about 2 seconds (despite having run dvbstream for 100 seconds). That's pretty good compression! :blink:

ALso, if I run tzap, I get great results:

pvr1:mythtv> tzap -c ~/.tzap/channels.conf -r "7 HD Digital"
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 177500000 Hz
video pid 0x0441, audio pid 0x0442
status 00 | signal f5be | snr 0000 | ber 00000000 | unc 00000000 |
status 1f | signal f5ba | snr eeee | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal f5c7 | snr eded | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal f5ca | snr eeee | ber 00000000 | unc 00000000 | FE_HAS_LOCK

Any suggestions please???

Thanks,

Matt

Link to comment
Share on other sites



I tried dvbstream: ...

However, if I try:

dvbstream -qam 64 -cr 3_4 -gi 16 -bw 7 -tm 8 -ps -n 10 -o -v 1025 -a 1026 > /tmp/test7.mpg

Yeah, sorry about that but it looks like the syntax for dvbstream's commandline args has changed a little since the version I was using back then (v0.4pre3) :P

It looks like it now has a better system for specifying the A/V PIDs.

Off the top of my head it sounds like your reception strength is not so good (but could very easily be wrong and there may be some other reason for the stream errors). Also, you said you got 100 seconds but your commandline example only specified 10 seconds (I assume this was just a cut+paste issue though).

The only other issue is that I was doing all that with a nebula (SD streams only too) rather than a fusion so I am not sure about exactly to what to expect from dvbstream and that card. Anyone else?

Have you tried recording about 5 min worth and then running it thru a re-packetiser like "replex" or something like that (to make it "DVD compliant" mux)? Though I would have thought Myth could handle a DVB stream (any Myth gurus out there?).

Sorry I am not much help on this one. :blink:

Link to comment
Share on other sites

MythTV can handle DVB streams. When setting channels within the Mythtvsetup program, ensure that you select the correct channel information and set a channel.

Im using MythTV with my 2 x Avermedia Cards and it works a treat.

Most Mythtv packages have DVB support. Provided the drivers are working with the kernel, you should be able to specify the DVB card in the cards option of the Mythtv Setup utility.

Link to comment
Share on other sites



Off the top of my head it sounds like your reception strength is not so good (but could very easily be wrong and there may be some other reason for the stream errors).

But the results from tzap indicate excellent reception strength?

Also, you said you got 100 seconds but your commandline example only specified 10 seconds (I assume this was just a cut+paste issue though).

Yep. Sorry about that.

Have you tried recording about 5 min worth and then running it thru a re-packetiser like "replex" or something like that (to make it "DVD compliant" mux)? Though I would have thought Myth could handle a DVB stream (any Myth gurus out there?).

No I haven't, but will give it a shot.

Thanks for your help.

Link to comment
Share on other sites

Hi mjlee,

I too had a tough time getting the MythTV configured right.. the good news is that the DVICO FusionHDTV works a treat with Myth (under Gentoo).... turns out that you have to be spot on with all the channel settings when you configure them... I used KaxTV which is a linux DVB player based on xine... I plugged in the channel frequencies from dba.org.au and it did a sweep and found all the channels and their PIDs... then I just copied the data into the MythTV channel setup... if you setup the channel names correctly then you can also use tv_grab_au to download the EPG data too :blink:

Good luck!

Viktor

Link to comment
Share on other sites

Hi mjlee,

I too had a tough time getting the MythTV configured right.. the good news is that the DVICO FusionHDTV works a treat with Myth (under Gentoo).... turns out that you have to be spot on with all the channel settings when you configure them... I used KaxTV which is a linux DVB player based on xine... I plugged in the channel frequencies from dba.org.au and it did a sweep and found all the channels and their PIDs... then I just copied the data into the MythTV channel setup... if you setup the channel names correctly then you can also use tv_grab_au to download the EPG data too :blink:

Good luck!

Viktor

I've tried KaxTV, and got uninspiring results.

Attempting to scan ABC, I set up the following parameters:

Freq=226500, Transmission=8K, FECLow=NONE, FECHigh=3/4, BW=7MHz, Inv=OFF, Mod=QAM64, Hierarchy=NONE, GuardInterval=1/16.

Starting the scan indicates a signal strength of 96%, an SNR of 90% and the Lock light is green.

The output on the console is:

Using DVB card "DVICO FusionHDTV DVB-T1"
tuning DVB-T to 226500000 Hz
inv:0 bw:1 fecH:3 fecL:0 mod:3 tm:1 gi:1 hier:0
polling....
Getting frontend event
polling....
Getting frontend event
Event:  Frequency: 226503169
Invalid section length or timeout : pid=16
Invalid section length or timeout : pid=17 
Invalid section length or timeout : pid=0 
dvbsi : The end :)

but no channels are located.

If I set up a channel manually (ABC TV Brisbane) with the same parameters as above, but manually entered ServiceID=577, VideoPID=512, AudioPID=650, I get no video for a couple of minutes, then garbled video. The upper 1/4 of the screen is reasonable quality, the rest is green with scattered multicoloured squares.

Any ideas?

Link to comment
Share on other sites

Could be a few things ...

KaxTV is the 'latest' and probably needs up-to-date system support. Make sure you have the latest version of xine-lib as Xine used to have a lot of trouble with HD. Same with your video driver. What kernel are you using?

The other possibility is reception ... good signal strength and quality readings do not guarantee great reception in digital. Maybe try pointing the antenna slightly in other directions in case you have interference from reflected local signals.

I'm not familiar with the fusion linux driver so couldn't say how 'mature' this is ie whether your problems might be development issues with the fusion driver.

Link to comment
Share on other sites



Could be a few things ...

KaxTV is the 'latest' and probably needs up-to-date system support. Make sure you have the latest version of xine-lib as Xine used to have a lot of trouble with HD. Same with your video driver. What kernel are you using?

The other possibility is reception ... good signal strength and quality readings do not guarantee great reception in digital. Maybe try pointing the antenna slightly in other directions in case you have interference from reflected local signals.

I'm not familiar with the fusion linux driver so couldn't say how 'mature' this is ie whether your problems might be development issues with the fusion driver.

I'm using a patched 2.6.5-1.358 kernel (what came with Fedora Core 2). I just downloaded xine and xine-lib yesterday, so they should be up to date. I get the same results whether I'm viewing HD or SD.

Reception MAY be a problem, though we also have a HD set top box, and reception though that is perfect. One thing has just occurred to me.... I'm taking my RF input to the DVB-T card from the RF output of the STB (it has a RF loop-through). Maybe that's causing some problems? I'll try taking the RF signal directly from the antenna.

Link to comment
Share on other sites

I'm using a patched 2.6.5-1.358 kernel (what came with Fedora Core 2).  I just downloaded xine and xine-lib yesterday, so they should be up to date.  I get the same results whether I'm viewing HD or SD.

Have you tried removing the existing dvb support from the kernel before installing cx88-dvb &

the dvb-kernel stuff?

This was the first thing that tripped me.

The other was after I fixed the device numbers, a kernel install changed them back :P

(can't remember if it was cx88-dvb or dvb-kernel)

That however gives the immediately obvious" no such device" error message :blink:

Cheers,

Carl

:P

Link to comment
Share on other sites

Have you tried removing the existing dvb support from the kernel before installing cx88-dvb &

the dvb-kernel stuff?

No, I haven't...... would you mind elaborating a bit more on how I should do that? Should I be removing dvb support from a virgin kernel (via .config file)? And then building the kernel and then adding in the cx88 and dvb-kernel stuff?

Thanks.

Link to comment
Share on other sites

  • 3 months later...

Hi.

I am currently working on a MythTV project using the FusionHDTV Full Version, I will be constructing an easy to read HOWTO on it soon.

Have you tried removing the existing dvb support from the kernel before installing cx88-dvb & the dvb-kernel stuff?

Edit your .config, and make sure that CONFIG_I2C=m, CONFIG_I2C_ALGOBIT=m and CONFIG_VIDEO_DEV=m. Also make sure that DVB support is disabled. Recompile after, and recompile Chris Pascoe's drivers.

Try also using the scan utility (a part of the linux-dvb apps package) to grab a good copy of the channels you can recieve. Edit the template file for australia in the dvb-t folder to match your area, if there isn't a template for you already there.

run:

# scan dvb-t/au_yourarea > channels.conf

And that should give you a tuned channels.conf.

- iosa

Link to comment
Share on other sites

Hi.

I am currently working on a MythTV project using the FusionHDTV Full Version, I will be constructing an easy to read HOWTO on it soon.

Have you tried removing the existing dvb support from the kernel before installing cx88-dvb & the dvb-kernel stuff?

Edit your .config, and make sure that CONFIG_I2C=m, CONFIG_I2C_ALGOBIT=m and CONFIG_VIDEO_DEV=m. Also make sure that DVB support is disabled. Recompile after, and recompile Chris Pascoe's drivers.

Try also using the scan utility (a part of the linux-dvb apps package) to grab a good copy of the channels you can recieve. Edit the template file for australia in the dvb-t folder to match your area, if there isn't a template for you already there.

run:

# scan dvb-t/au_yourarea > channels.conf

And that should give you a tuned channels.conf.

- iosa

Have a look here,

Installing MythTV using a DVICO Fusion

Link to comment
Share on other sites



  • Recently Browsing   0 members

    • No registered users viewing this page.




×
×
  • Create New...
To Top