Jump to content


Photo

ET10000: Does anybody know what is VLAN for?


  • Please log in to reply
75 replies to this topic

Re: ET10000: Does anybody know what is VLAN for? #61 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 27 September 2015 - 15:35

In Dreambox i put in Bouquet like for http stream but only reference: rtp://@239.1.34.... and it works. Like I put it in vlc, dvbviewer or many other software. It works on any dreambox, but dreambox has not XMLTV EPG support and many other functions which are very useful and very important for watching TV, and OpenPli is by far the best.


Dreambox Enigma2 has special code to handle multicast streams ...

attachicon.gifmulticast.png

They are using udpsrc: https://developer.gn...ins-udpsrc.html


My meaning is, that OpenPli could do this very well. It only needs some some script like for http protocol...


Actually it needs somebody to implement this in enigma2 (servicemp3). ;)
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #62 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 27 September 2015 - 16:26

Athoik,

thank you very much. Thats exactly what I meant.

Also big thank to OpenPli team to have such a good image for years.

I would as many other OpenPli user appreciate that to have this working on OpenPli.

Thank you in advance good people!

I can test the streams...

Regards!

ET10000


Re: ET10000: Does anybody know what is VLAN for? #63 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 28 September 2015 - 18:01

Hi,


I just tried multicast streaming on my Formuler F1 and it works!

First I had to create a multicast stream and that is possible using VLC.

VLC -> Media -> Stream -> File Add -> (use a recording.ts) ->
Stream -> New Destination UDP (legacy)-> Address 239.255.255.250 -> Port 1234 ->
Uncheck Activate Transcoding -> Check Stream All elementary Streams -> Stream and Done
 

Generated stream output string

:sout=#udp{dst=239.255.255.250:1234} :sout-all :sout-keep

The reason I used 239.255.255.250 is because my router has this IP defined as LAN in routing table.

Attached File  routing.png   22.41KB   4 downloads

Using other multicst IP addresses did not work, because most probably packets moved to my provider.

Note1. Formuler is on LAN interface of router and my PC is on WIFI (and that matters too...)

Then I added the following entry to one bouquet:
 

#SERVICE 4097:0:1:0:0:0:0:0:0:0:udp%3a//239.255.255.250%3a1234:Test-Multicast

And multicast stream from VLC plays just fine!

Attached File  multicast.jpg   45.93KB   5 downloads`


Some great tools are available using net-tools but is not on the feeds yet. (eg ipmaddr, netstat with -g parameter)
 

root@formuler1:~# ipmaddr
1:      lo
        inet  224.0.0.1
2:      eth0
        link  01:00:5e:00:00:01
        link  01:00:5e:00:00:fb
        link  01:00:5e:7f:ff:fa
        inet  239.255.255.250
        inet  224.0.0.251
        inet  224.0.0.1

root@formuler1:~# netstat -gn
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
eth0            1      239.255.255.250
eth0            1      224.0.0.251
eth0            1      224.0.0.1

Do we need extra code to enigma in order to set multicast-iface to eth0 like Dreambox enigma2 does?

Maybe, although if we have more that one interaface (like eth1 in et10000) i guess we need to use ip route command .
 

ip route add 224.0.0.0/4 dev eth1

Do we need to modify enigma2 in order to set auto-multicast?

 

Maybe, the default is YES so I don't really undrestand what value Dreambox enigma2 sets. No? ;)

 

 

One thing is sure, with proper routing it's sure that multicast stream works in OpenPLi enigma2 with no extra plugins!

 


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #64 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 29 September 2015 - 18:01

My meaning is, that OpenPli could do this very well. It only needs some some script like for http protocol...

Just like I say, if it works, great, if it doesn't, bummer! A STB cannot be compared to a pc.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: ET10000: Does anybody know what is VLAN for? #65 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 18:41

Erik,
it works also on ipad, iphone, where ever you want. Has nothing to do with PC or STB. It only do not work on pli images. On dreambox it works for years without http. You only put directly rtp adresse in bouquet on dreambox. This is up to image.

ET10000


Re: ET10000: Does anybody know what is VLAN for? #66 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 September 2015 - 18:49

It only do not work on pli images.

 

Wrong, works for me... see #63


Edited by athoik, 29 September 2015 - 18:49.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #67 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 20:46

Athoik, you have knowledge in this stuff, for me it is difficult to understand.

What should I do at least to get the streams to work?
is this also for rtp? You tested udp...

1...?
2...?
3...?

Thank you very much!

Edited by mdshd, 29 September 2015 - 20:49.

ET10000


Re: ET10000: Does anybody know what is VLAN for? #68 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 September 2015 - 21:17

is this also for rtp? You tested udp...

 

 

RTP should work with GStreamer too. 

 

Try something like this:

#SERVICE 4097:0:1:0:0:0:0:0:0:0:rtp%3a//239.255.255.250%3a1234:Test-RTP

Note that it uses 4097 serviceref and it doesn't contain @ symbol.


Edited by athoik, 29 September 2015 - 21:26.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #69 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 21:29

I tried but don't work.

What ist ip route? Are the adresses always the same? 224:0:0:0/4 This part I dont understand exactly.

ET10000


Re: ET10000: Does anybody know what is VLAN for? #70 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 September 2015 - 21:45

I tried but don't work.

What ist ip route? Are the adresses always the same? 224:0:0:0/4 This part I dont understand exactly.

 

Those are multicast IP addresses and they are always the same. 224.0.0.0 to 239.255.255.255 reserved for multicast purposes.

 

What multicast IP address are you using?

 

What did you enter in bouquet?

 

Are you subscribed to the multicast ip address? You can use netstat -g in order to see multicast subscriptions.

 

Did you try also udp instead rtp? 

 

Here are some useful commands (need to install net-tools and install tcpdump from feeds)

netstat -ng 
route -n
ipmaddr
tcpdump -i eth0 igmp

Attached Files


Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #71 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 22:04

Thank you very much athoik!

 

I'm subscribed to this austrian package and I use it from 2005-2010 on DVBViewer. (Best DVB Software, but working on Windows) I finaly decided never again to use windows, so I had to use enigma2. Since then I use it on dreambox till 2014 I bought ET10000 and wanted to use OpenPli.

 

https://de.wikipedia...ender_bei_A1_TV

 

I put this one!

 

#SERVICE 4097:0:1:0:0:0:0:0:0:0:rtp%3a//239.2.24.3%3a8208:ServusTV HD

#DESCRIPTION ServusTV HD
 
I tried also udp, but it is not working. 
 
I will try now those commands.
 
Thank you very much for your help! 

ET10000


Re: ET10000: Does anybody know what is VLAN for? #72 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 22:13

openpli 4 et10000


et10000 login: root
root@et10000:~# netstat -ng
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
eth0            1      224.0.0.251
eth0            1      224.0.0.1
lo              1      ff02::1
lo              1      ff01::1
eth0            1      ff02::202
eth0            1      ff02::1:ff07:229
eth0            1      ff02::1
eth0            1      ff01::1
eth1            1      ff02::1
eth1            1      ff01::1
root@et10000:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.0.138      0.0.0.0         UG    0      0        0 eth0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 eth0
root@et10000:~# ipmaddr
1:      lo
        inet  224.0.0.1
        inet6 ff02::1
        inet6 ff01::1
2:      eth0
        link  01:00:5e:00:00:01
        link  33:33:00:00:00:01
        link  33:33:ff:07:02:29
        link  33:33:00:00:02:02
        link  01:00:5e:00:00:fb
        inet  224.0.0.251
        inet  224.0.0.1
        inet6 ff02::202
        inet6 ff02::1:ff07:229
        inet6 ff02::1
        inet6 ff01::1
3:      eth1
        link  33:33:00:00:00:01
        inet6 ff02::1
        inet6 ff01::1
root@et10000:~# tcpdump -i eth0 igmp
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
23:10:22.621676 IP 10.0.0.138 > all-systems.mcast.net: igmp query v2 [max resp time 10]
23:10:23.316154 IP et10000 > 224.0.0.251: igmp v2 report 224.0.0.251
23:12:28.292780 IP 10.0.0.138 > all-systems.mcast.net: igmp query v2 [max resp time 10]
23:12:28.538146 IP et10000 > 224.0.0.251: igmp v2 report 224.0.0.251

This is what I'm getting with those commands...

 

The ET10000 is also in last 2 months very lasy also with telnet and filezilla. I also don't know why. I also did a clean install of OpenPli...


Edited by mdshd, 29 September 2015 - 22:14.

ET10000


Re: ET10000: Does anybody know what is VLAN for? #73 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 29 September 2015 - 22:46

Your default gateway is 138 so that gateway sould forward packets to your provider.

Try also with rtsp:// protocol not rtp://

When you navigate to channel you need to see (channel) multicast ip address under netstat -ng command.

Edited by athoik, 29 September 2015 - 22:51.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: ET10000: Does anybody know what is VLAN for? #74 mdshd

  • Senior Member
  • 140 posts

+3
Neutral

Posted 29 September 2015 - 23:13

openpli 4 et10000


et10000 login: root
root@et10000:~# netstat -ng
IPv6/IPv4 Group Memberships
Interface       RefCnt Group
--------------- ------ ---------------------
lo              1      224.0.0.1
eth0            1      224.0.0.251
eth0            1      224.0.0.1
lo              1      ff02::1
lo              1      ff01::1
eth0            1      ff02::202
eth0            1      ff02::1:ff07:229
eth0            1      ff02::1
eth0            1      ff01::1
eth1            1      ff02::1
eth1            1      ff01::1
root@et10000:~# 

This is what I get when switching on this channel. I do not see any multicast adress...

rtsp also not working. I think there is something wrong with my STB and the Network Adapter. Http streams work fine. But telnet and filezila do not work correctly. lost connections also... maybe is this the problem. 


Edited by mdshd, 29 September 2015 - 23:14.

ET10000


Re: ET10000: Does anybody know what is VLAN for? #75 Erik Slagter

  • PLi® Core member
  • 46,951 posts

+541
Excellent

Posted 30 September 2015 - 13:16

Erik,
it works also on ipad, iphone, where ever you want. Has nothing to do with PC or STB. It only do not work on pli images. On dreambox it works for years without http. You only put directly rtp adresse in bouquet on dreambox. This is up to image.

Tablet is not STB.


* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.


Re: ET10000: Does anybody know what is VLAN for? #76 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 3 October 2015 - 12:02

In case somebody interesting to implement RTP streaming into enigma2 is possible using GStreamer with a custom pipeline or using udpxy.

 

Here is a debug from DMM enigma2 when trying to open RTP stream.

0:00:16.671500033  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<source:src> caps 0x873f00 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.673293181  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<source:src> pad getcaps returned application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.673602589  1247   0x829e18 DEBUG           uridecodebin gsturidecodebin.c:1344:has_all_raw_caps:<source:src> have caps application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.683958255  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<source:src> pad getcaps returned application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.685468996  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:1878:gst_pad_link_check_compatible_unlocked:<source:src> src caps application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.689488922  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<source:src> pad getcaps returned application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.691708737  1247   0x829e18 DEBUG               GST_CAPS gstpad.c:2762:gst_pad_set_caps:<source:src> caps 0x874220 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000 same as existing, updating ptr only
0:00:16.849662413  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<decodebin20:sink> caps 0x874220 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.850203114  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<sink:proxypad0> caps 0x874220 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.851052963  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<decodebin20:sink> caps 0x874220 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.851831183  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<typefind:src> caps 0x874260 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.927705366  1247  0x1b19a38 DEBUG               GST_CAPS gstutils.c:2469:gst_pad_get_fixed_caps_func: using pad caps 0x874260 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.928143292  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2263:gst_pad_get_caps_unlocked:<typefind:src> pad getcaps returned application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.928623255  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2292:gst_pad_get_caps_unlocked:<rtpmp2tdepay0:sink> using pad template 0x1b21b88 with caps 0x8742e0 application/x-rtp, media=(string)video, payload=(int)[ 96, 127 ], clock-rate=(int)[ 1, 2147483647 ], encoding-name=(string){ MP2T-ES, MP2T }; application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)[ 1, 2147483647 ]
0:00:16.929097144  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:1878:gst_pad_link_check_compatible_unlocked:<typefind:src> src caps application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.929393366  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:1880:gst_pad_link_check_compatible_unlocked:<rtpmp2tdepay0:sink> sink caps application/x-rtp, media=(string)video, payload=(int)[ 96, 127 ], clock-rate=(int)[ 1, 2147483647 ], encoding-name=(string){ MP2T-ES, MP2T }; application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)[ 1, 2147483647 ]
0:00:16.935050922  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<typefind:sink> caps 0x874220 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000
0:00:16.936338292  1247  0x1b19a38 DEBUG               GST_CAPS gstpad.c:2741:gst_pad_set_caps:<rtpmp2tdepay0:sink> caps 0x874260 application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000

The caps that pipeline uses is "application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000" and rtpmp2tdepay is plugged in.

rtp:  rtpmp2tdepay: RTP MPEG Transport Stream depayloader

Using RTP streaming from VLC I didn't manage to get it working (not that I tried really hard...). If someone can take it a step further would be nice. I was trying with the following GStreamer pipelines.

gst-launch udpsrc multicast-group=239.255.255.250 port=1234 ! "application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000" ! rtpmp2tdepay ! mpegtsparse ! dvbvideosink

gst-launch udpsrc multicast-group=239.255.255.250 port=1234 ! "application/x-rtp, media=(string)video, payload=(int)33, clock-rate=(int)90000" ! decodebin2

If we make it work we can get rid of udpxy currently required to play rtp streams.


Edited by athoik, 3 October 2015 - 12:02.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users