Adding streamts to Enigtrino2 - UkCvs.org
 

Go Back   UkCvs.org > Digital Tv Box Section > Dbox Section

Dbox Section All Things Dbox Here

Reply
 
LinkBack Thread Tools Display Modes
Old 14-10-2009, 12:24 AM   #1 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Oct 2009

Age: 25
Posts: 6
iTrader: (0)
Casino cash: $8400
Thanks: 3
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default Adding streamts to Enigtrino2

Hi, the topic says it all.
I'm trying to manually add streamts to the Enigtrino2 image.
I've ripped streamts, streamsec, streampes, udpstreampes and udpstreamts from the ss-enigma v4.0 image and placed them in my enigtrino2 system under /sbin (all have chmod 755).
I've also checked the /etc/inetd.conf
Code:
# /etc/inetd.conf:  see inetd(8) for further informations.

#:STANDARD: These are standard services.
telnet		stream	tcp	nowait	root	/sbin/telnetd		telnetd
ftp		stream	tcp	nowait	root	/sbin/in.ftpd		in.ftpd

# own services
streamsec	stream	tcp	nowait	root	/sbin/streamsec		streamsec
streamavpes	stream	tcp	nowait	root	/sbin/streamts		streamts -pes
streamps	stream	tcp	nowait	root	/sbin/streamts		streamts -ps
streampes	stream	tcp	nowait	root	/sbin/streampes		streampes
streames	stream	tcp	nowait	root	/sbin/streampes		streames
streamts	stream	tcp	nowait	root	/sbin/streamts		streamts -ts
streamtsfile	stream	tcp	nowait	root	/sbin/streamts		streamts -tsfile
udpstreampes	stream	tcp	nowait	root	/sbin/udpstreampes	udpstreampes
and /etc/services
Code:
# /etc/services:
# $Id: services,v 1.8 2005/08/01 06:46:23 digi_casi Exp $

echo		7/tcp
echo		7/udp
discard		9/tcp		sink null
discard		9/udp		sink null
systat		11/tcp		users
daytime		13/tcp
daytime		13/udp
chargen		19/tcp		ttytst source
chargen		19/udp		ttytst source
ftp-data	20/tcp
ftp		21/tcp
ssh		22/tcp				# SSH Remote Login Protocol
ssh		22/udp				# SSH Remote Login Protocol
telnet		23/tcp
smtp		25/tcp		mail
time		37/tcp		timserver
time		37/udp		timserver
whois		43/tcp		nicname
domain		53/tcp		nameserver	# name-domain server
domain		53/udp		nameserver
bootps		67/tcp				# BOOTP server
bootps		67/udp
bootpc		68/tcp				# BOOTP client
bootpc		68/udp
tftp		69/udp
www		80/tcp		http		# WorldWideWeb HTTP
www		80/udp				# HyperText Transfer Protocol
ntp		123/tcp
ntp		123/udp				# Network Time Protocol
ldap		389/tcp				# Lightweight Directory Access Protocol
ldap		389/udp				# Lightweight Directory Access Protocol
https		443/tcp				# MCom
https		443/udp				# MCom
saft		487/tcp				# Simple Asynchronous File Transfer
saft		487/udp				# Simple Asynchronous File Transfer

# Local services

streamsec	31335/tcp
streamavpes	31336/tcp
streamps	31337/tcp
streampes	31338/tcp
streamts	31339/tcp
udpstreampes	31340/tcp
udpstreampes	31341/udp
streamtsfile	31342/tcp
streames	31343/tcp
I've tried both mplayer and vlc with the following link: http://192.168.0.3:31339/0,0064,0058,0059

Mplayer gives the following:
Code:
MPlayer 29092-4.4.0 (C) 2000-2009 MPlayer Team
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 http://192.168.0.3:31339/0,0064,0058,0059.
Resolving 192.168.0.3 for AF_INET6...
Couldn't resolve name for AF_INET6: 192.168.0.3
Connecting to server 192.168.0.3[192.168.0.3]: 31339...
Cache size set to 320 KBytes
Cache fill:  0.00% (0 bytes)   nop_streaming_read error : Resource temporarily unavailable
Cache fill:  0.00% (0 bytes)   


Exiting... (End of file)
Vlc just hangs for a while and doesn't get any buffer either.
I can see the "streamts -ts" process spawning when I check my "ps -A"
Is there any reason why it shouldn't work?
From the source code of streamts I can see that it should open /dev/dvb/adapter0/demux0 and its there on my system.

Also when I just try to open: http://192.168.0.3:31339
I'll get the following in my dmesg: dvb_demux_feed_del: feed not in list (type=0 state=0 pid=ffff)

So that indicates that streamts at least tries to open the dvb demux.

Any ideas?
MastaG is offline   Reply With Quote
Old 14-10-2009, 01:17 AM   #2 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Oct 2009

Age: 25
Posts: 6
iTrader: (0)
Casino cash: $8400
Thanks: 3
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Ah I found that enabling SPTS_Mode under Expert Setup streamts will work.
But not as smooth as I wanted it to be.
When I connect it will wait for me to switch to another channel and it will start buffering but it only works for 5 seconds then mplayer will receive broken frames andpicture on my dbox2 will stop.
MastaG is offline   Reply With Quote
Old 14-10-2009, 08:49 AM   #3 (permalink)
Nagging Old Git
Team-UkCvs Senior Member
 
PaphosAL's Avatar
 
Join Date: Aug 2008

Location: A park bench, near you
Age: 75
Posts: 2,975
iTrader: (0)
Casino cash: $813060
Thanks: 2,495
Thanked 1,531 Times in 836 Posts
Nominated 2 Times in 2 Posts
Nominated TOTW/F/M Award(s): 2
Groans: 1
Groaned at 0 Times in 0 Posts
Default
Don't you need CIFS or NFS / Automount as well, for this to work? Have a dig inside the Add-Ons tarball packs that are packaged with Commando 11.3 - you should find what you need in there, m8.

Careful though- you might be trying to squeeze a quart into a pint pot with a '2 in 1' image like this. You might need to take out some luxuries, like both sets of Channel Icons before going any further. And if you're in C10d mode, don't use 7 Day EPG!!

Cheers- AL
PaphosAL is online now   Reply With Quote
Old 15-10-2009, 01:30 PM   #4 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Oct 2009

Age: 25
Posts: 6
iTrader: (0)
Casino cash: $8400
Thanks: 3
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
I got it to work, it needs an older version of vlc.
I now have enigtrino2 + webinterface + streaming (I have removed all icons and raw icons).
A few questions:

1. When I go to Expert setup -> Communication, a default ip of 192.168.0.3 is filled. DHCP is checked but it only acquires the DNS server from my router, the IP/subnet/Gateway seem to be static and have to be changed by hand.
So dhcp doesn't work for anything besides a 192.168.0.x-network (where 192.168.0.1 is the router).
2. I've been looking around for some decent skins, and I found a few good ones which have a analog clock in the infobar (I fancy those things). But the clock doesn't thick and the arrows point to 12o'clock. I believe this is something implemented in enigma from nabilo/nemesis images I think.
Could this be implemented in enigtrino also?
3. Since PLi opened up their source code I wanted to borrow their zapstream tool. It's an improved version of streamts running on port 31344.
It's much lighter and therefore runs alot smoother.
The only downside is, that it needs a newer API of the dvb-stack (the same goes for most popular and widely tool used for educational-purposes).
So I wanted to compile a 2.6 kernel for my dbox2.
Could you maybe send me the kernel config for your 2.4 kernel (I need to know what modules are used on dbox2 receivers and the init string)?
Also did you compile busybox/tuxbox with support for 2.6-module loading?
MastaG is offline   Reply With Quote
Old 15-10-2009, 03:48 PM   #5 (permalink)
Yorkshire Git Admin
Team-UkCvs Senior Member
 
Satsearching's Avatar
 
Join Date: Aug 2008
8 Highscores

Location: Here
Posts: 1,520
iTrader: (0)
Casino cash: $510332
Thanks: 649
Thanked 1,415 Times in 706 Posts
Nominated 11 Times in 4 Posts
Nominated TOTW/F/M Award(s): 4
Groans: 2
Groaned at 0 Times in 0 Posts
Default
1. It shouldn't be static and should pick up an ip in the range your router wants to hand out, mine pickes up a 192.168.1.xxx fine.

2. Yea, that Analogue clock does look good, but to drive it, the code isn't in the CVS, don't know if the image makers have made the source public, but if you find it, please let me know!.

3. Actually, I posted the full Enigma diff on here used in Enigtrino.

http://www.ukcvs.org/Forums/enigma/1...gma-diffs.html

Now you got 5 posts done, you can download it and do a compile with whatever kernel config or extras you want!

SS

Quote:
Originally Posted by MastaG View Post
I got it to work, it needs an older version of vlc.
I now have enigtrino2 + webinterface + streaming (I have removed all icons and raw icons).
A few questions:

1. When I go to Expert setup -> Communication, a default ip of 192.168.0.3 is filled. DHCP is checked but it only acquires the DNS server from my router, the IP/subnet/Gateway seem to be static and have to be changed by hand.
So dhcp doesn't work for anything besides a 192.168.0.x-network (where 192.168.0.1 is the router).
2. I've been looking around for some decent skins, and I found a few good ones which have a analog clock in the infobar (I fancy those things). But the clock doesn't thick and the arrows point to 12o'clock. I believe this is something implemented in enigma from nabilo/nemesis images I think.
Could this be implemented in enigtrino also?
3. Since PLi opened up their source code I wanted to borrow their zapstream tool. It's an improved version of streamts running on port 31344.
It's much lighter and therefore runs alot smoother.
The only downside is, that it needs a newer API of the dvb-stack (the same goes for most popular and widely tool used for educational-purposes).
So I wanted to compile a 2.6 kernel for my dbox2.
Could you maybe send me the kernel config for your 2.4 kernel (I need to know what modules are used on dbox2 receivers and the init string)?
Also did you compile busybox/tuxbox with support for 2.6-module loading?
__________________

Download Our Toolbar Now !!
DBOX HELPFILE HERE

Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! NO TO SKY AND F1, BBC WAKE UP! HELLO RTL!
Satsearching is offline   Reply With Quote
Old 16-10-2009, 12:08 AM   #6 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Oct 2009

Age: 25
Posts: 6
iTrader: (0)
Casino cash: $8400
Thanks: 3
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
1. /bin/enigmanet calls udhcpc and I found that it gave an error message, something like "file exists". Then I found out there was a static 192.168.0.3 entry for eth0 in /etc/network/interfaces. So udhcpc can only acquire DNS and complains when it tries to setup an ip.
I removed the entry and it's all good now
2. I'll see if I can find some people who can hand out the code. As far as I know only nabilosat team and edg-nemesis team have it.
3. Thanks alot for this! I'm going to experiment with it and post back the results
MastaG is offline   Reply With Quote
Old 14-12-2009, 08:14 AM   #7 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Dec 2009

Posts: 3
iTrader: (0)
Casino cash: $6400
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Hi I'm a bit out of topic here but the argument is the same:

Do you know how to enable UDP stream using either UDPSTREAMPES and/or UDPSTREAMTS on DB7000?
Do you know how to test UDP stream using VLC?

UDPSTREAMTS does not exist on my edg image.
I tried to enable UDPSTREAMPES with the following lines in ETC/INETD.CONF:
udpstreampes stream tcp nowait root /sbin/udpstreampes udpstreampes
udpstreampes stream udp nowait root /sbin/udpstreampes udpstreampes

In ETC/SERVICES I have:
udpstreampes 31340/tcp
udpstreampes 31341/udp

Now I have TCP-listener showing:
tcp 0 0 0.0.0.0:31335 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31338 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31339 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31340 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31341 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31342 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:31343 0.0.0.0:* LISTEN

Whilst UDP listener shows empty list.
What's next?

Thanks!
theromans is offline   Reply With Quote
Old 14-12-2009, 05:03 PM   #8 (permalink)
Junior Member
UkCvs Newbie
 
Join Date: Dec 2009

Posts: 3
iTrader: (0)
Casino cash: $6400
Thanks: 0
Thanked 0 Times in 0 Posts
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Groans: 0
Groaned at 0 Times in 0 Posts
Default
Hi,
I'm trying to get UDP to work.
Could you please tell me how you did rip streamts, streamsec, streampes, udpstreampes and udpstreamts from the image?

Also could you please explain me how UDPSTREAMPES and UDPSTREAMTS work and how I can test them with VLC?

Thanks a lot
theromans is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:42 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Any information provided on this site is not guaranteed in any way. Some articles may discuss topics that are illegal, so this information is provided for educational purposes only, use at your own risk !! Ukcvs.org cannot be held responsible for the content of any post on this forum.