Section Générale > IPTV (La télévision par IP)

IPTV Multicast/Unicast Player Plugin for udp/rtp/http DVB-IP [PLUGIN]

(1/11) > >>

E-D-S:
IPTV Multicast/Unicast Player Plugin for udp/rtp/http DVB-IP conform streams


--- Citer -------------------------------ENGLISH Version-----------------------------

What can you play with this plugin?
- The rtp/udp/http IPTV must be DVB-IP conform
- Only Non-DRM/ Non-CA (unscrambled) SD/HD Streams work with this approach
- SD/HD Streams in h.264 or MPEG2 work with this approach
- Stream starts to play < 1 Sec., zapping less then 1 Sec.

Introduction:
For a long time I try to find a proper solution on the e2, to get SD and HD IPTV streams running. With GStreamer IPTV streams work too, but unfortunatly not reliable and stable.
I´ve tested really a lot. With the presented solution you can enjoy DVB-IP conform IPTV streams in a clean, stable and fast way on your e2 dreambox. Nothing crashes or stucks the streams while playing them.

Multicast or Unicast streams and the used trick:
Before I try to explain how it works, you should inform yourself about multicast and unicast. I´m sure google will help you.
The used trick is a small linux binary called "udpxy". This is a small proxy converting the udp/rtp multicast packets into http unicast one, wihtout creating heavy load on your machine.
The dream can also handle real multicast streams, but completly instable, my opinion. Http unicast works absolut perfect, therefore this small workaround makes fully sense.
Another important advantage is that udpxy handles the IGMP v2 koin/leave protocol reliable. Further, if you would use multicast in your home network, this would flood your LAN clients with useless traffic.
To avoid this I start udpxy on my router (WAN Gateway). Having converted the IPTV multicast streams to unicast, the "Remote TV" lib of Dr.Best will process the DVB-IP conform streams as you know it from usal DVB-S-T-C receiption.

Prerequisites to run this plugin:
- Uptodate OE 1.6 Image
- Uptodate "Partnerbox/RemoteTV Plugin" MUST BE installed, because a lib of this plugin is used. (webtots.so)

Handling of already existing http unicast streams:
If you have already http:// unicast streams (e.g. origin dreambox streams), you don´t need to start udpxy! Just proceed with point A5, and create your *.m3u as described below, and copy it into etc/videostreams folder.

Handling of udp/rtp multicast streams: e.g. udp://239.12.14.133:4000 oder rtp://239.15.66.133:8888
With Udpxy [http://sourceforge.net/projects/udpxy/].
Start udpxy on your dreambox or your router, to be able for converting multicast into unicast. Find below how to start.

Udpxy is started in this way via telnet:

./udpxy -p 4050

-p 4050 -> this means on Port 4050 you will catch the converted unicast packets from udpxy.

Simple instruction how to proceed:
A1. Download udpxy.mipsel here attached and upload it to usr/bin
A2. Rename it to udpxy"
A3. Give the right rights chmod 755
A4. Start via telnet udpxy in this way "udpxy -p 4050 &"
A5. Create your *.m3u with links as shown below, and upload the m3u to etc/videostreams (these links are expamples, no streams available on this URLs)

------------------------------------------------

#EXTINF:0,TVK-1
http://127.0.0.1:4050/udp/239.122.12.187:10000
#EXTINF:0,TVK-2
http://127.0.0.1:4050/udp/239.122.12.188:10000
#EXTINF:0,TVK-3
http://127.0.0.1:4050/udp/239.122.12.189:10000
#EXTINF:0,TVK-3
http://127.0.0.1:4050/udp/239.122.12.181:10000

------------------------------------------------

IPTV Player Plugin installation and handling:

Download the attached zip file and decompress it. The Streamer folder upload to /usr/lib/enigma2/python/Plugins/Extensions. Give the files inside the right rights 755.
Restart your dreambox (don´t forget to start udpxy if did a reboot...). You should find the "IPTV Player" in extensions, open it. Each *.m3u file in etc/videostreams you should see as a kind of bouquet.
Select one and press ok, then you will find the links of your m3u. Select a TV service and the stream should be displayed on your TV screen.
The navigation is simple, with exit you leave the folder or the and the end the plugin. With OK you open the folder, With Up/Down you can zap within a folder from stream to stream and back.

The IPTV Player plugin is based upon the DMvidsDirect Plugin of PCD. He has modded the come to the IPTV Player plugin.


BIG thanks to Dr.Best for his great Remote TV plugin, and to PCD who made the final version of IPTV Player.

P.S. There will be some updates in near future, Audio Selection, Teletext Selection...
--- Fin de citation ---

Source IHAD

 ;)

killminusnine:
Hello,
Désolé de déterrer ce post, mais je suis en train de bosser sur les flux multicasts et je me demande pourquoi il semble absolument nécessaire de passer par un proxy (le logiciel russe udpxy, en l'occurence) qui transforme les flux multicasts de la TVIP en flux unicasts. Nos STB Linux sont pourtant configurés pour recevoir les flux multicasts, si j'en juge ma configuration réseau :

root@dm8000:/etc/enigma2# ifconfig
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX  
          inet addr:192.168.1.102  Bcast:0.0.0.0  Mask:255.255.255.0
          inet6 addr: XXXX::XXXX:XXXX:XXXX:XXXX/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4919 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:770627 (752.5 KiB)  TX bytes:7921394 (7.5 MiB)
          Interrupt:16

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:4 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:336 (336.0 B)  TX bytes:336 (336.0 B)


D'autre part, un post qui m'a été suggéré sur un autre excellllllllllent forum, semble sous-entendre que la lecture directe des flux multicasts est possible depuis Enigma2, si j'en juge la teneur de cet extrait :


--- Citer ---(...) 3 nouveaux bouquets "orangeiptv" sont crées en dessous de ceux existants (sat et/ou tnt ) .., un complet , un drm , et un hd ..
exemple de syntaxe : #SERVICE 4097:0:1:0:0:0:0:0:0:0:rtp%3a//@232.0.2.143%3a8200:M6 HD (DRM)
bien sur , il faut relancer enigma2 pour prise en compte. (...)

--- Fin de citation ---

Ayant modifié la configuration de mon routeur et de mon firewall pour laisser passer les flux multicasts de la TV ADSL d'Orange dans mon réseau data, je n'ai pas de soucis pour lire les flux sans DRM dans VLC.  J'ai intégré les services que j'ai trouvés par écoute de mon réseau dans un bouquet TV d'Enigma2, mais rien n'y fait ! Ecran noir quand on zappe sur les chaines IPTV, même sans DRM !  :'(

Si quelqu'un peut me confirmer que la lecture DVB-IP est possible en multicast, je suis preneur !  ::)

Merci d'avance !

reg:
Hello !


--- Citation de: killminusnine le 20 janvier 2014 à 17:07:28 ---D'autre part, un post qui m'a été suggéré sur un autre excellllllllllent forum, semble sous-entendre que la lecture directe des flux multicasts est possible depuis Enigma2

--- Fin de citation ---

Oui c'est possible. Tu peux ajouter des chaînes IP (multicast ou unicast) à tes bouquets avec Dreambox Edit par exemple, ou modifiant directement les fichiers .tv situés dans /etc/enigma2. Plus besoin de plugins ou de quoi que ce soit d'autre. Je te conseille d'essayer, en espérant que ça résolve ton problème avec les flux multicast au passage.

killminusnine:
Merci Reg, de cette confirmation, et c'est bien ce que j'avais compris et que j'avais fait, mais quand je zappe sur les chaines IPTV du bouquet que j'ai créé à cet effet ... rien, nada, peau de z.. ! :(

Pourtant, dans le même réseau, avec VLC, ça marche impeccable !  J'ai même trouvé sur le forum OpenPli, des posts avec les développeurs qui, outre le fait de valider également que c'est censé fonctionner, donnent les tuyaux nécessaires pour que l'on puisse obtenir n'importe quel autre flux (langue alternative, EPG, ...) pour peut que le SID soit bien positionné.

Pourtant, mes tests sont effectués avec la dernière POD4HD (basée sur l'OpenPli). Je ne veux pas changer d'image pour garder l'AC3+ sur les chaînes HD DVB-T françaises.

Mais grâce à ta confirmation, je vais investiguer plus encore, puisque je sais désormais que c'est possible !

Merci  :)

reg:
Tu n'as pas d'image du tout sur ces chaînes, donc ? Est-ce qu'un message d'erreur est affiché ?

Question bête : ta dreambox est-elle reliée à ton réseau en filaire ou en wifi ?

Ça vaudrait peut-être le coup de tester si le problème est le même sur OE2.0, qui par ailleurs ne va sans doute pas tarder à supporter l'AC3+ également (si c'est pas déjà le cas).

Navigation

[0] Index des messages

[#] Page suivante

Utiliser la version classique