Skip to contentSkip to conversation

Technotrend S2-3200 Scanning

linux-dvb Jelle De Loecker 6 participants 16 messages May 15, 2008 – May 18, 2008 1 message not in the archive Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi again,

It's been a busy day. So I temporarily removed LinuxMCE to install the newer Mythbuntu 8.04 - the drivers finally recognize the S2-3200!

But now I'm stuck again, and it seems to me this is a problem which has been faced, and fixed, before - I just can't fix it now because apparently so much has changed that all the patches don't work on the new source files anymore: any hacked "scan" or "szap" program won't compile.

(Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - will this cause any problems?)

This is the problem you've no doubt seen before.

$ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
Quoted 1 line

channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 12551500 V 22000000 5

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument
ERROR: initial tuning failed
dumping lists (0 services)
Done.

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

Hi Igor,

I've tried using a version from the repository, dvb-utils 1.1.1-3

I also tried to compile the originals from the source tree, unpatched,
http://linuxtv.org/hg/dvb-apps

I tried to patch "scan" with this scan source:
http://jusst.de/manu/scan.tar.bz2

And I tried to patch szap with this file:
http://abraham.manu.googlepages.com/szap.c

But those patched versions won't compile, except for ONE time:

I finally got to compile the patched "scan" (but trying to recompile afterwards failed again, very strange) but it *still* didn't scan:

$ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
scanning dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 22000000
ioctl DVBFE_GET_INFO failed: Operation not supported
ERROR: initial tuning failed
dumping lists (0 services)
Done.

Igor schreef:

Quoted 34 lines

which version of multiproto, szap2, scan did you use ?

-----Original Message-----
From: Jelle De Loecker <[email protected]>
To: [email protected]
Date: Fri, 16 May 2008 01:02:08 +0200
Subject: [linux-dvb] Technotrend S2-3200 Scanning

Quoted 25 lines

But now I'm stuck again, and it seems to me this is a problem which has been faced, and fixed, before - I just can't fix it now because apparently so much has changed that all the patches don't work on the new source files anymore: any hacked "scan" or "szap" program won't compile.

(Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - will this cause any problems?)

This is the problem you've no doubt seen before.

$ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
Quoted 1 line

channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 12551500 V 22000000 5

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument
ERROR: initial tuning failed
dumping lists (0 services)
Done

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#3 lore raw
Quoted 4 lines

I've tried using a version from the repository, dvb-utils 1.1.1-3

I also tried to compile the originals from the source tree, unpatched,
http://linuxtv.org/hg/dvb-apps

yes, you have to use szap2 in the TEST directory with the latest multiproto
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Quoted 5 lines

I tried to patch "scan" with this scan source:
http://jusst.de/manu/scan.tar.bz2

And I tried to patch szap with this file:
http://abraham.manu.googlepages.com/szap.c

imho, this versions are not actually.
It seems to me there's not any working scan's version for currently multiproto.

Igor

Quoted 16 lines

But those patched versions won't compile, except for ONE time:

I finally got to compile the patched "scan" (but trying to recompile afterwards failed again, very strange) but it *still* didn't scan:

$ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
scanning dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 22000000
ioctl DVBFE_GET_INFO failed: Operation not supported
ERROR: initial tuning failed
dumping lists (0 services)
Done.
Quoted 36 lines

Igor schreef:

Quoted 34 lines

which version of multiproto, szap2, scan did you use ?

-----Original Message-----
From: Jelle De Loecker <[email protected]>
To: [email protected]
Date: Fri, 16 May 2008 01:02:08 +0200
Subject: [linux-dvb] Technotrend S2-3200 Scanning

Quoted 25 lines

But now I'm stuck again, and it seems to me this is a problem which has been faced, and fixed, before - I just can't fix it now because apparently so much has changed that all the patches don't work on the new source files anymore: any hacked "scan" or "szap" program won't compile.

(Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - will this cause any problems?)

This is the problem you've no doubt seen before.

$ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
Quoted 1 line

channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 12551500 V 22000000 5

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument
ERROR: initial tuning failed
dumping lists (0 services)
Done

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#4 lore raw
Quoted 9 lines · Igor
Quoted 4 lines

I've tried using a version from the repository, dvb-utils 1.1.1-3

I also tried to compile the originals from the source tree, unpatched, http://linuxtv.org/hg/dvb-apps

yes, you have to use szap2 in the TEST directory with the latest multiproto
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Quoted 7 lines
Quoted 4 lines

I tried to patch "scan" with this scan source: http://jusst.de/manu/scan.tar.bz2

And I tried to patch szap with this file: http://abraham.manu.googlepages.com/szap.c

imho, this versions are not actually. It seems to me there's not any working scan's version for currently multiproto.

I postet a patch a few weeks ago (here again).
These szap and scan patches prepare the apps for actual multiproto (well for multiproto a few weeks ago, if the api hasn't changed again, these should work).

you have to patch the szap and scan from this sources:

http://abraham.manu.googlepages.com/szap.c
http://abraham.manu.googlepages.com/szap.c

Jens

scan.c +8 -5
diff -Naur 1/scan.c 2/scan.c
@@ -1674,15 +1674,18 @@
 	}
 
         struct dvbfe_info fe_info1;
+	enum dvbfe_delsys delivery;
 
         // a temporary hack, need to clean
         memset(&fe_info1, 0, sizeof (struct dvbfe_info));
             
         if(t->modulation_system == 0)
-            fe_info1.delivery = DVBFE_DELSYS_DVBS;
+            delivery = DVBFE_DELSYS_DVBS;
         else if(t->modulation_system == 1)
-            fe_info1.delivery = DVBFE_DELSYS_DVBS2;
-            
+            delivery = DVBFE_DELSYS_DVBS2;
+
+        ioctl(frontend_fd, DVBFE_SET_DELSYS, &delivery); //switch system 
+
         int result = ioctl(frontend_fd, DVBFE_GET_INFO, &fe_info1);
         if (result < 0) {
             perror("ioctl DVBFE_GET_INFO failed");
@@ -1690,7 +1693,7 @@
             return -1;
         }
         
-        switch (fe_info1.delivery) {
+        switch (delivery) {
             case DVBFE_DELSYS_DVBS:
                 info("----------------------------------> Using '%s' DVB-S\n", fe_info.name);
                 break;
@@ -1701,7 +1704,7 @@
                 info("----------------------------------> Using '%s' DVB-S2\n", fe_info.name);
                 break;
             default:
-                info("Unsupported Delivery system (%d)!\n", fe_info1.delivery);
+                info("Unsupported Delivery system (%d)!\n", delivery);
                 t->last_tuning_failed = 1;
                 return -1;
         }
szap.c +8 -5
@@ -351,6 +351,7 @@
 	uint32_t ifreq;
 	int hiband, result;
 	struct dvbfe_info fe_info;
+	enum dvbfe_delsys delivery;
 
 	// a temporary hack, need to clean
 	memset(&fe_info, 0, sizeof (&fe_info));
@@ -365,15 +366,15 @@
 	switch (delsys) {
 	case DVBS:
 		printf("Querying info .. Delivery system=DVB-S\n");
-		fe_info.delivery = DVBFE_DELSYS_DVBS;	
+		delivery = DVBFE_DELSYS_DVBS;
 		break;
 	case DSS:
 		printf("Querying info .. Delivery system=DSS\n");
-		fe_info.delivery = DVBFE_DELSYS_DSS;
+		delivery = DVBFE_DELSYS_DSS;
 		break;
 	case DVBS2:
 		printf("Querying info .. Delivery system=DVB-S2\n");
-		fe_info.delivery = DVBFE_DELSYS_DVBS2;
+		delivery = DVBFE_DELSYS_DVBS2;
 		break;
 	default:
 		printf("Unsupported delivery system\n");
@@ -391,6 +392,8 @@
 			return FALSE;
 		}
 
+		ioctl(fefd, DVBFE_SET_DELSYS, &delivery); //switch system
+
 		result = ioctl(fefd, DVBFE_GET_INFO, &fe_info);
 		if (result < 0) {
 			perror("ioctl DVBFE_GET_INFO failed");
@@ -398,7 +401,7 @@
 			return FALSE;
 		}
 		
-		switch (fe_info.delivery) {
+		switch (delivery) {
 		case DVBFE_DELSYS_DVBS:
 			printf("----------------------------------> Using '%s' DVB-S", fe_info.name);
 			break;
@@ -409,7 +412,7 @@
 			printf("----------------------------------> Using '%s' DVB-S2", fe_info.name);
 			break;
 		default:
-			printf("Unsupported Delivery system (%d)!\n", fe_info.delivery);
+			printf("Unsupported Delivery system (%d)!\n", delivery);
 			close(fefd);
 			return FALSE;
 		}

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#5 lore raw

Jens Krehbiel-Gräther schreef:

Quoted 9 lines

I postet a patch a few weeks ago (here again).
These szap and scan patches prepare the apps for actual multiproto (well for multiproto a few weeks ago, if the api hasn't changed again, these should work).

you have to patch the szap and scan from this sources:

http://abraham.manu.googlepages.com/szap.c
http://abraham.manu.googlepages.com/szap.c

I fear things have changed too much for the patches to work. (Or I'm messing up a simple command like patch)

Szap: (Using the other szap.c file I can actually apply the patch, but the new szap.c seems to be incompatible)

# wget http://abraham.manu.googlepages.com/szap.c
# sudo mv szap.c.1 szap.c
# patch < szap-multiproto-apiv33.diff
patching file szap.c
# make
CC lnb.o
CC azap
CC czap
CC szap
szap.c: In function ‘do_tune’:
szap.c:243: error: storage size of ‘fe_params’ isn’t known
szap.c:282: error: ‘DVBFE_SET_PARAMS’ undeclared (first use in this 
function)
szap.c:282: error: (Each undeclared identifier is reported only once
szap.c:282: error: for each function it appears in.)
szap.c:243: warning: unused variable ‘fe_params’
szap.c: In function ‘zap_to’:
szap.c:353: error: storage size of ‘fe_info’ isn’t known
szap.c:354: error: storage size of ‘delivery’ isn’t known
szap.c:369: error: ‘DVBFE_DELSYS_DVBS’ undeclared (first use in this 
function)
szap.c:373: error: ‘DVBFE_DELSYS_DSS’ undeclared (first use in this 
function)
szap.c:377: error: ‘DVBFE_DELSYS_DVBS2’ undeclared (first use in this 
function)
szap.c:395: error: ‘DVBFE_SET_DELSYS’ undeclared (first use in this 
function)
szap.c:397: error: ‘DVBFE_GET_INFO’ undeclared (first use in this function)
szap.c:354: warning: unused variable ‘delivery’
szap.c:353: warning: unused variable ‘fe_info’
make: *** [szap] Error 1

Scan: (I'm using the original file, since I can't find another version on Manu's googlepages)

# patch -i scan-multiproto-3.3.patch

patching file scan.c
Hunk #1 FAILED at 1674.
Hunk #2 FAILED at 1693.
Hunk #3 FAILED at 1704.
3 out of 3 hunks FAILED -- saving rejects to file scan.c.rej

Thank you for your time

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#6 lore raw
Quoted 12 lines
Quoted 6 lines

you have to patch the szap and scan from this sources:

http://abraham.manu.googlepages.com/szap.c
http://abraham.manu.googlepages.com/szap.c

I fear things have changed too much for the patches to work. (Or I'm messing up a simple command like patch)

Szap: (Using the other szap.c file I can actually apply the patch, but the new szap.c seems to be incompatible)

hi, i installed multiproto a couple of weeks ago and tried a lot of patches for szap / scan or already patched szap2 sources and none would work..

But i did find out that szap2 available in v4l dvb-apps tree, in the test directory, works fine with current multiproto.

I've tested it with my tt s2-3200 and can tune to dvb-s2 transponders with no problem, although i noticed it misses some options from some other szap2 i first tested..

Marc

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#7 lore raw
In reply to Jelle De Loecker
Quoted 1 line

I've tried using a version from the repository, dvb-utils 1.1.1-3

with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Igor

Quoted 25 lines

I also tried to compile the originals from the source tree, unpatched,
http://linuxtv.org/hg/dvb-apps

I tried to patch "scan" with this scan source:
http://jusst.de/manu/scan.tar.bz2

And I tried to patch szap with this file:
http://abraham.manu.googlepages.com/szap.c

But those patched versions won't compile, except for ONE time:

I finally got to compile the patched "scan" (but trying to recompile afterwards failed again, very strange) but it *still* didn't scan:

$ sudo scan -t 1 -s 1 dvb-s/Astra-19.2E > ~/channels.conf
scanning dvb-s/Astra-19.2E
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 12551500 V 22000000 22000000
ioctl DVBFE_GET_INFO failed: Operation not supported
ERROR: initial tuning failed
dumping lists (0 services)
Done.
Quoted 36 lines

Igor schreef:

Quoted 34 lines

which version of multiproto, szap2, scan did you use ?

-----Original Message-----
From: Jelle De Loecker <[email protected]>
To: [email protected]
Date: Fri, 16 May 2008 01:02:08 +0200
Subject: [linux-dvb] Technotrend S2-3200 Scanning

Quoted 25 lines

But now I'm stuck again, and it seems to me this is a problem which has been faced, and fixed, before - I just can't fix it now because apparently so much has changed that all the patches don't work on the new source files anymore: any hacked "scan" or "szap" program won't compile.

(Keep in mind I'm using a switch between my S2-3200 card and my 4 LNBs - will this cause any problems?)

This is the problem you've no doubt seen before.

$ sudo scan /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E 
Quoted 1 line

channels.conf

scanning /usr/share/doc/dvb-utils/examples/scan/dvb-s/Astra-19.2E using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' initial transponder 12551500 V 22000000 5

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument

Quoted 1 line
Quoted 1 line
Quoted 1 line

tune to: 12551:v:0:22000

__tune_to_transponder:1491: ERROR: FE_READ_STATUS failed: 22 Invalid argument
ERROR: initial tuning failed
dumping lists (0 services)
Done

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#8 lore raw

Igor Nikanov schreef:

Quoted 6 lines

with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Igor

Yes, thank you, I finally got szap2 to actually catch a signal and get a lock on it.

But since only szap2 works - what do I do now?
How can I watch the stream? (I tried to run "mplayer -fs /dev/dvb/adapter0/vdr0 but that never worked)
Or how can I get it to work in MythTV? Do I have to wait for the new utilities, which would seem rather strange since they're not used by mythtv, right?

Thank you,

Jelle De Loecker

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#9 lore raw
Quoted 10 lines

Yes, thank you, I finally got szap2 to actually catch a signal and get a lock on it.

But since only szap2 works - what do I do now?
How can I watch the stream? (I tried to run "mplayer -fs /dev/dvb/adapter0/vdr0 but that never worked)
Or how can I get it to work in MythTV? Do I have to wait for the new utilities, which would seem rather strange since they're not used by mythtv, right?

Quoted 3 lines

Thank you,

Jelle De Loecker

This means you did the channel scan and saved channel.conf file in /home/username/.szap

szap -rp "BBC World" (you can replace BBC World with any channel in
your channel.conf) and make sure you get FE_HAS_LOCK before you start mplayer.

mplayer /dev/dvb/adapter0/dvr0

mythtv: there is multiproto patch for mythtv-svn. I tried it but it always failed med after 1 hour of compiling it's nothing to do with the patch anyway here is the link to the patch.

http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz

easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version. if you want to use the stable version you have to search for this patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing list and patch the vdr source.

There is vdr developer version 1.7.0 which support multiproto but you still going to need H.264 support patch which can be found at vdr mailing list.

Faruk

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#10 lore raw

Faruk A schreef:

Quoted 7 lines

szap -rp "BBC World" (you can replace BBC World with any channel in
your channel.conf) and make sure you get FE_HAS_LOCK before you start mplayer.

mplayer /dev/dvb/adapter0/dvr0

I've managed to get a lock - well no problem there actually, but when I try to use mplayer I'm lost:

$ mplayer /dev/dvb/adapter0/dvr0 (or mplayer -fs /dev/dvb/adapter0/dvr0)
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15, Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /dev/dvb/adapter0/dvr0.

So it says it's playing (the "could not connect to socket" is purely a lirc problem) but where's the video? I also tried gmplayer, but that just locks up.

Quoted 11 lines

mythtv: there is multiproto patch for mythtv-svn. I tried it but it always failed med after 1 hour of compiling it's nothing to do with the patch anyway here is the link to the patch.

http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz

easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version. if you want to use the stable version you have to search for this patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing list and patch the vdr source.

Thanks for the info, I'll be sure to give that a go this evening!

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#11 lore raw
Quoted 26 lines

I've managed to get a lock - well no problem there actually, but when I try to use mplayer I'm lost:

$ mplayer /dev/dvb/adapter0/dvr0 (or mplayer -fs /dev/dvb/adapter0/dvr0)
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing /dev/dvb/adapter0/dvr0.

So it says it's playing (the "could not connect to socket" is purely a lirc problem) but where's the video?
I also tried gmplayer, but that just locks up.

mythtv: there is multiproto patch for mythtv-svn. I tried it but it always failed med after 1 hour of compiling it's nothing to do with the patch anyway here is the link to the patch.

http://pansy.at/gernot/mythtv-multiproto-hack.diff.gz

Quoted 7 lines

easiest way is to use vdr, I'm using vdr-1.6.0-1 stable version. if you want to use the stable version you have to search for this patch [ANNOUNCE] DVB-S2 + H.264 support for VDR-1.5.18 in vdr mailing list and patch the vdr source.

Thanks for the info, I'll be sure to give that a go this evening!

did you run szap with -rp ? make sure the channel you tuned to is not encrypted.

here is another ugly way of doing it.
u need dvbstream and vlc

szap -rp "BBC World"
dvbstream -o | vlc -
or with with mplayer: dvbstream -o | mplayer -

There is two version of dvbstream out there, patched and unpatched. it should work with both of them, but with multiproto patched version you dont need to run szap it can tune and lock to channels by it self.

link to the patched version:
http://www.coolatoola.com/dvbstream.multiproto.tgz

Faruk

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#12 lore raw

Faruk A schreef:

Quoted 10 lines

did you run szap with -rp ? make sure the channel you tuned to is not encrypted.

here is another ugly way of doing it.
u need dvbstream and vlc

szap -rp "BBC World"
dvbstream -o | vlc -
or with with mplayer: dvbstream -o | mplayer -

Very strange,

when I run dvbstream -o, without piping it into anything, I get a lot of binary feedback in the console, but I just can't open it in any program. (I tuned it using szap2, with the -rp option. I only tried unencrypted channels, so no problem there) dvbstream always says "streaming 0 streams" which is probably not so good.

   $ dvbstream -o | vlc -
   dvbstream will stop after -1 seconds (71582788 minutes)
   Output to stdout
   Streaming 0 streams
   VLC media player 0.8.6e Janus
   libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
   libdvdread: Using libdvdcss version 1.2.5 for DVD access
   libdvdread: Can't stat -
   No such file or directory
   libdvdnav: vm: faild to open/read the DVD
   libdvbpsi error (PSI decoder): TS discontinuity (received 3,
   expected 0) for PID 0

I even tried to output it to a file, but the file stays blank

   $ dvbstream -o:test.mpg
   Open file test.mpg

MAP 0, file test.mpg: From -1 secs, To -1 secs, 0 PIDs - dvbstream will stop after -1 seconds (71582788 minutes) Streaming 0 streams

And when I give mplayer a go I get this:

   $ dvbstream -o | mplayer -
   dvbstream will stop after -1 seconds (71582788 minutes)
   Output to stdout
   Streaming 0 streams
   MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
   CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6,
   Model: 15, Stepping: 6)
   CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
   Compiled with runtime CPU detection.
   mplayer: could not connect to socket
   mplayer: No such file or directory
   Failed to open LIRC support. You will not be able to use your remote
   control.

Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed

Sorry for extensively testing your patience! I, too, wish it would have "just worked" :)

Thank you,

Jelle De Loecker

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#13 lore raw
Quoted 51 lines

Very strange,

when I run dvbstream -o, without piping it into anything, I get a lot of binary feedback in the console, but I just can't open it in any program. (I tuned it using szap2, with the -rp option. I only tried unencrypted channels, so no problem there) dvbstream always says "streaming 0 streams" which is probably not so good.

$ dvbstream -o | vlc -
dvbstream will stop after -1 seconds (71582788 minutes)
Output to stdout
Streaming 0 streams
VLC media player 0.8.6e Janus
libdvdnav: Using dvdnav version 0.1.10 from http://dvd.sf.net
libdvdread: Using libdvdcss version 1.2.5 for DVD access
libdvdread: Can't stat -
No such file or directory
libdvdnav: vm: faild to open/read the DVD
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for
PID 0

I even tried to output it to a file, but the file stays blank

$ dvbstream -o:test.mpg
Open file test.mpg

MAP 0, file test.mpg: From -1 secs, To -1 secs, 0 PIDs - dvbstream will stop after -1 seconds (71582788 minutes) Streaming 0 streams

And when I give mplayer a go I get this:

$ dvbstream -o | mplayer -
dvbstream will stop after -1 seconds (71582788 minutes)
Output to stdout
Streaming 0 streams
MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family: 6, Model: 15,
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote
control.

Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed

Quoted 7 lines

Sorry for extensively testing your patience! I, too, wish it would have "just worked" :)

Thank you,

Jelle De Loecker

Thats all that i know, i started with dvb about 2 months ago and your card is supported unlike my TT Connect S2-3650 CI, but some how i managed it to work.

output to a file this two command should work.
as always run szip2 first.

cat /dev/dvb/adapter0/dvr0 > test.mpg
or
dvbstream -o > test2.mpg

dvbstream v0.5 - (C) Dave Chapman 2001-2004 Released under the GPL.
Latest version available from http://www.linuxstb.org/
Output to stdout
Streaming 0 streams

works 100% here Streaming 0 streams i thinks because we are using output to file instead of streaming over network.

to stream i use:
dvbstream 8192 -i 192.168.0.103 -r 1234

dvbstream v0.5 - (C) Dave Chapman 2001-2004 Released under the GPL.
Latest version available from http://www.linuxstb.org/
Setting filter for PID 8192
Using 192.168.0.103:1234:2
version=2
Streaming 1 stream

8192 means stream the whole TS stream, -i your ip address and -r is port number.

then run vlc (mine is in Swedish so I'm guessing here) File-> Open Networkstream or press Ctrl+N. The first option UDP/RTP enter port number press OK.

or from command line: vlc udp://@:1234

Don't worry if nothing shows as i said before you are streaming the whole TS stream. you can select the channels you wanna watch. To select channels click on (in swedish Navigering) translates Navigation -> Program-> you should see list of channels.

Faruk

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#14 lore raw
In reply to Jelle De Loecker
Quoted 15 lines · Jelle De Loecker

And when I give mplayer a go I get this:

        $ dvbstream -o | mplayer -
        dvbstream will stop after -1 seconds (71582788 minutes)
        Output to stdout
        Streaming 0 streams
        MPlayer 1.0rc2-4.2.3 (C) 2000-2007 MPlayer Team
        CPU: Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz (Family:
        6, Model: 15, Stepping: 6)
        CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
        Compiled with runtime CPU detection.
        mplayer: could not connect to socket
        mplayer: No such file or directory
        Failed to open LIRC support. You will not be able to use your
        remote control.
Quoted 6 lines

Playing -.
Reading from stdin...
Cannot seek backward in linear streams!
Seek failed
Sorry for extensively testing your patience! I, too, wish it would have "just worked" :)

This "just worked" for me using mplayer with a digital video broadcast from my HVR-1600 with the cx18 driver (I'm in ATSC country):

$ scandvb -A 1 -v -a 0  /usr/share/dvb-apps/atsc/us-ATSC-center-frequencies-8VSB \
	> channels.conf
$ cp channels.conf ~/.mplayer/channels.conf
$ mplayer dvb://WRC-1 -vf scale=960:540

The "scandvb" command name might be a rename by Fedora/Redhat of the standard command name.

I had to use the '-vf scale=960:540' to display the 1080i content on my 1024 line display. Also note that mplayer sometimes wrongly decodes a52 audio (at least from ATSC streams) so it'll gripe every so often.

For reference:

$ mplayer --help | head -1
MPlayer 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
$ uname -rvi
2.6.23.15-80.fc7 #1 SMP Sun Feb 10 16:52:18 EST 2008 x86_64

Regards,
Andy

Quoted 3 lines

Thank you,

Jelle De Loecker

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#15 lore raw

Andy Walls schreef:

Quoted 5 lines · Jelle De Loecker

This "just worked" for me using mplayer with a digital video broadcast from my HVR-1600 with the cx18 driver (I'm in ATSC country):

Apparently /dev/dvb/adapter0/dvr0 is a very sensitive "file" - when I directly open it using mplayer, or even cat, it won't output to anything else afterwards.

I'm using Faruk's solution to stream it like this:

dvbstream 8192 -i 192.168.1.2 -r 1234

and then opening that stream with VLC - which works rather well (even if I have to always manually change the frequency using szap)

By the way, I scribbled down my notes in a small tutorial on how to get the "old drivers" working again (using an older revision made the scan tool work again!) If any other beginner needs any help it can be found here:

http://skerit.kipdola.com/?p=5&language=en

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

#16 lore raw
In reply to Igor Nikanov

Igor Nikanov schreef:

Quoted 6 lines

with the latest multiproto you have to use testing version of szap2 from test directory of dvb-apps
http://linuxtv.org/hg/dvb-apps/file/31a6dd437b9a/test/szap2.c

Igor

Yes, thank you, I finally got szap2 to actually catch a signal and get a lock on it.

But since only szap2 works - what do I do now?
How can I watch the stream? (I tried to run "mplayer -fs /dev/dvb/adapter0/vdr0 but that never worked)
Or how can I get it to work in MythTV? Do I have to wait for the new utilities, which would seem rather strange since they're not used by mythtv, right?

Thank you,

Jelle De Loecker

_______________________________________________
linux-dvb mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb