Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-27 Thread cedric.dew...@telfort.nl

Origineel Bericht
Van : loesc...@gmx.de
Datum : 27/12/2013 22:37
Aan : cedric.dew...@telfort.nl
Onderwerp : Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

Am 12/22/13 10:22, schrieb cedric.dew...@telfort.nl:

 I am trying to install VDR on my NAS, a D-link DNS-323. This goes great,
 I can play  record unencrypted channels. without any problem.


Hi Cedric,

How did you manage to install VDR on the D-Link 323?
Do you have a howto?

Regards,
Stephan.

-- 
loesc...@gmx.de
http://www.loescher-online.de/

Hi Stephan,

I have followed he following manuals:
1) Install debian on the NAS:
http://www.cyrius.com/debian/orion/d-link/dns-323/install/
2) Install VDR on debian: (written by me :-) )
https://wiki.debian.org/VDR

The only thing is that sc does not compile on the NAS. In order to fix that I 
have ported it from FFdecsa to dvbcsa. I will post the solution in this thread:
 http://www.mail-archive.com/vdr@linuxtv.org/msg17681.html

Also the NAS is slow, but watching one encrypted show, or record two encrypted 
shows, or record 4 unencrypted shows works for me. SD quality, I don't receive 
HD here.

Please let me know about your progress.

Regards,
Cedric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-25 Thread cedric.dew...@telfort.nl

 
am not sure if softcam is a legal topic on this list, but I would
advise you to take a look at the dvbapi plugin instead of sc. I am not
sure if it will fix your problem, though - but it is a way more stable
and better solution in my opinion.

I had to go softcam to support Conax as well as there were no hardware
CAMs available at the time.


- -- 
Vidar Tyldum
   vi...@tyldum.com   PGP: 0x3110AA98

Hi Vidar,

Could you please send me your configuration files for oscam and 
vdr-plugin-dvbapi? Not to the VDR list, but just to me?
I can't get the connection to work.

Best regards,
Cedric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-23 Thread cedric.dew...@telfort.nl


On 22. des. 2013 10:22, cedric.dew...@telfort.nl wrote:
 Hi All, I am trying to install VDR on my NAS, a D-link DNS-323.
 This goes great, I can play  record unencrypted channels. without
 any problem. Next I try to compile the connax softcam plugin, as
 per this guide: 
 https://wiki.debian.org/VDR#Install_vdr-plugin-sc_and_libvdr-sc-cardclient_from_source
 
am not sure if softcam is a legal topic on this list, but I would
advise you to take a look at the dvbapi plugin instead of sc. I am not
sure if it will fix your problem, though - but it is a way more stable
and better solution in my opinion.

I had to go softcam to support Conax as well as there were no hardware
CAMs available at the time.
- -- 
Vidar Tyldum

Hi Vidar,

I have compiled the dvbapi plugin, and installed it. VDR runs the plugin, so 
far so good.
Dvbapi tries to connect to oscam via /tmp/something.
Can dvbapi be configured to access oscam via network?

Regards,
Cedric 


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-23 Thread Vidar Tyldum
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23. des. 2013 09:21, cedric.dew...@telfort.nl wrote:
 Can dvbapi be configured to access oscam via network?

Not to my knowledge, though you might be ale to hack something
together. OSCAM does not require much to run, but I realize you are on
a very limited platform.

- -- 
Vidar Tyldum
   vi...@tyldum.com   PGP: 0x3110AA98
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlK4UWkACgkQsJJnSzEQqpjPIwCeM1rPgotT+7X4h1daGkWqPLdD
zZwAnifwYYNn7NN4d70CB+peAfLHfFKH
=Zk0j
-END PGP SIGNATURE-

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-23 Thread cedric.dew...@telfort.nl

Origineel Bericht
Van : vi...@tyldum.com
Datum : 23/12/2013 16:06
Aan : vdr@linuxtv.org
Onderwerp : Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 23. des. 2013 09:21, cedric.dew...@telfort.nl wrote:
 Can dvbapi be configured to access oscam via network?

Not to my knowledge, though you might be ale to hack something
together. OSCAM does not require much to run, but I realize you are on
a very limited platform.

- -- 
A slightly different topic, but I can imagine decrypting a TV station can be 
CPU consuming. I expect the NAS to be too slow to decrypt multiple streams at 
once. Is it possible to record a TV program as an encrypted .ts file? Is it 
possible to decrypt the file afterwards? Is it possible to only decrypt a TV 
signal white watching live?

Tonight I will test if VDR records an encrypted show as-is when no OSCAM is 
available. It looks like streamdev just sends the encrypted file to the 
browser. On my PC I see the buffer fill with 400KB/s, but no moving image, so I 
guess it sends it encrypted.

Best regards,
Cedric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-23 Thread cedric.dew...@telfort.nl

A slightly different topic, but I can imagine decrypting a TV station can be 
CPU consuming. I expect the NAS to be too slow to decrypt multiple streams at 
once. Is it possible to record a TV program as an encrypted .ts file? Is it 
possible to decrypt the file afterwards? Is it possible to only decrypt a TV 
signal white watching live?

Tonight I will test if VDR records an encrypted show as-is when no OSCAM is 
available. It looks like streamdev just sends the encrypted file to the 
browser. On my PC I see the buffer fill with 400KB/s, but no moving image, so 
I guess it sends it encrypted.

Best regards,
Cedric

It looks like tsdecrypt can decrypt a .ts file:
http://georgi.unixsol.org/programs/tsdecrypt/

Regards,
Cedric

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-23 Thread cedric.dew...@telfort.nl
A slightly different topic, but I can imagine decrypting a TV station can be 
CPU consuming. I expect the NAS to be too slow to decrypt multiple streams at 
once. Is it possible to record a TV program as an encrypted .ts file? Is it 
possible to decrypt the file afterwards? Is it possible to only decrypt a TV 
signal white watching live?

Tonight I will test if VDR records an encrypted show as-is when no OSCAM is 
available. It looks like streamdev just sends the encrypted file to the 
browser. On my PC I see the buffer fill with 400KB/s, but no moving image, so 
I guess it sends it encrypted.

Best regards,
Cedric

It looks like tsdecrypt can decrypt a .ts file:
http://georgi.unixsol.org/programs/tsdecrypt/


I have removed libvdr-dvbapi from /usr/lib/vdr/plugins/. VDR does not write an 
encrypted file to my hard drive.
I have downloaded and compiled tsdecrypt. Then I do the following actions (each 
in a separate terminal). Oscam is running on another PC
tzap -a 0 -r 'Discovery Channel'
cat /dev/dvb/adapter0/dvr0  in.ts
After some time i do this:
./tsdecrypt  -I file://in.ts -O file://out.ts -s 192.168.31.111:15050 -U user2 
-P password2 -B 000102030405060708090A0B0C0D -C 0B00 -D 3 -c CONAX -p
2013-12-23 22:05:54 | Syslog : disabled
2013-12-23 22:05:54 | CA System  : CONAX
2013-12-23 22:05:54 | Input file : in.ts
2013-12-23 22:05:54 | Output file: out.ts
2013-12-23 22:05:54 | Out filter : disabled (output everything)
2013-12-23 22:05:54 | TS discont : report
2013-12-23 22:05:54 | Decoding   : single thread
2013-12-23 22:05:54 | CAMD proto : cs378x
2013-12-23 22:05:54 | CAMD addr  : 192.168.31.111:15050 (IPv4/IPv6)
2013-12-23 22:05:54 | CAMD user  : user2
2013-12-23 22:05:54 | CAMD pass  : password2
2013-12-23 22:05:54 | EMM process: No
2013-12-23 22:05:54 | ECM process: Yes
2013-12-23 22:05:54 | ECM report : 60 sec
2013-12-23 22:05:54 | CW warning : 60 sec
2013-12-23 22:05:54 | Start tsdecrypt v10.0 (release, build 2013-12-23_21:37 
libdvbcsa)
2013-12-23 22:05:54 | CAM | Connecting to server 192.168.31.111 port 15050
2013-12-23 22:05:54 | CAM | Connected to server 192.168.31.111 port 15050 
(addr=192.168.31.111 fd=5).
2013-12-23 22:05:57 | ECM | Received 0 (0 dup) and processed 0 in 3 seconds.
2013-12-23 22:06:04 | PID |   228424 packets with PID 0x0bf5 (3061) Unknown
2013-12-23 22:06:04 | PID |14548 packets with PID 0x0bf6 (3062) Unknown
2013-12-23 22:06:04 | Stop tsdecrypt v10.0 (release, build 2013-12-23_21:37 
libdvbcsa)

According to the README file, I am missing ECMs and EMMs streams:
One commonly seen error is not an error in tsdecrypt at all. You
have to make sure that the software that streams channels from the
DVB card is sending ECMs and EMMs along with other streams. If these
streams are missing you'll probably get the following messages from
tsdecrypt:

2012-04-02 22:02:12 | ECM | Received 0 (0 dup) and processed 0 in 3 seconds.
2012-04-02 22:03:09 | CW  | *ERR* No valid code word was received for 60 
seconds!
2012-04-02 22:03:12 | ECM | Received 0 (0 dup) and processed 0 in 60 seconds.

Please configure your software to stream ECMs and EMMs. For dvblast
(version 2.0 and above) the correct options are --ecm-passthrough and
--emm-passthrough. Note that dvblast 2.1 have broken ecm passthrough
so use at least version 2.2.

Let's see if I can get dvblast to work on my NAS :-)


Regards,
Cedric



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-22 Thread cedric.dew...@telfort.nl
Hi All,
I am trying to install VDR on my NAS, a D-link DNS-323. This goes great, I can 
play  record unencrypted channels. without any problem. 
Next I try to compile the connax softcam plugin, as per this guide:
https://wiki.debian.org/VDR#Install_vdr-plugin-sc_and_libvdr-sc-cardclient_from_source
I get the following errors during compile:
make[1]: Nothing to be done for `update-config'.
make[1]: Leaving directory `/home/cedric/sc'
touch debian/stamp-patched
/bin/sh debian/configure_FFdecsa
Processor capabilities: native ( )
Trying various FFdecsa optimizations...
PARALLEL_32_INT: build failed
PARALLEL_32_4CHAR: build failed
PARALLEL_32_4CHARA: build failed
PARALLEL_64_8CHAR: build failed
PARALLEL_64_8CHARA: build failed
PARALLEL_64_2INT: build failed
PARALLEL_64_LONG: build failed
PARALLEL_64_MMX: build failed
PARALLEL_128_16CHAR: build failed
PARALLEL_128_16CHARA: build failed
PARALLEL_128_4INT: build failed
PARALLEL_128_2LONG: build failed
PARALLEL_128_2MMX: build failed
PARALLEL_128_SSE: build failed
PARALLEL_128_SSE2: build failed
Choosing PARALLEL_MODE = PARALLEL_32_INT
/usr/bin/make all DVBDIR=/usr VDRDIR=/usr/include/vdr LIBDIR=. 
LOCALEDIR=debian/tmp/usr/share/locale
make[1]: Entering directory `/home/cedric/sc'
make[1]: Leaving directory `/home/cedric/sc'
make[1]: Entering directory `/home/cedric/sc'
Has anybody succeded in compiling this on an arm system?
Some info on the system:
# uname -a
Linux debian 3.2.0-4-orion5x #1 Debian 3.2.51-1 armv5tel GNU/Linux
# cat /proc/cpuinfo 
Processor: Feroceon rev 0 (v5l)
BogoMIPS: 331.77
Features: swp half thumb fastmult edsp 
CPU implementer: 0x41
CPU architecture: 5TEJ
CPU variant: 0x0
CPU part: 0x926
CPU revision: 0
Hardware: D-Link DNS-323
Revision: 
Serial: 
Best regards,
Cedric
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] vdr on an underpowered NAS (D-link DNS 323)

2013-12-22 Thread Vidar Tyldum
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 22. des. 2013 10:22, cedric.dew...@telfort.nl wrote:
 Hi All, I am trying to install VDR on my NAS, a D-link DNS-323.
 This goes great, I can play  record unencrypted channels. without
 any problem. Next I try to compile the connax softcam plugin, as
 per this guide: 
 https://wiki.debian.org/VDR#Install_vdr-plugin-sc_and_libvdr-sc-cardclient_from_source

I
 
am not sure if softcam is a legal topic on this list, but I would
advise you to take a look at the dvbapi plugin instead of sc. I am not
sure if it will fix your problem, though - but it is a way more stable
and better solution in my opinion.

I had to go softcam to support Conax as well as there were no hardware
CAMs available at the time.


- -- 
Vidar Tyldum
   vi...@tyldum.com   PGP: 0x3110AA98
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlK2tdwACgkQsJJnSzEQqpgEcACfdNNHMG4AqXK9i18y9ilde/vr
M70An38CUOGfmZ3spNZ4/YjuQJg7yVTr
=RxuU
-END PGP SIGNATURE-

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr