i-have-a-dreambox.com | Dreambox - Support

Register Calendar Members List Team Members Galerie to Portal Go to the Main Page

Boardrules Frequently Asked Questions Statistik Statistik Search Pinwand Dreambox Blog Ihad/Gemini Fan-Shop
i-have-a-dreambox.com | Dreambox - Support » Developer Bereich (CVS, Openembedded) » OpenEmbedded (Enigma) » Need some help on E1 multicast udp streaming client plugin » Hello Guest [Login|Register]
Last Post | First Unread Post Print Page | Add Thread to Favorites
Go to the bottom of this page Need some help on E1 multicast udp streaming client plugin
Author
Post « Previous Thread | Next Thread »
rafik24
Newbie


Registration Date: 10.04.2011
Posts: 4
Which box: DM 500S
External Storage: NFS
Which Image: Gemini

Need some help on E1 multicast udp streaming client plugin Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi All,

I'm quiet new in this scene, and i would require some help and advise.

I would like to make a E1 plugin in order to look at sap requests on my network then select the desired channel and play it over udp.

I did look at the E1 plugin bible, movieplayer etc.

cross compiled an sap client which works on the dm500 as an executable.

I did rtfm a lot and i would need some advise.

could you please be kind enough to give me some directives or let me know if something similar ish already exists.

The main goal in the long term would be to use a dm500 as an iptv client without the dvb-s stuff.

Best Reagrds,

Rafik
29.04.2011 16:48 rafik24 is offline Send an Email to rafik24 Search for Posts by rafik24 Add rafik24 to your Buddy List
pcd pcd is a male
V.I.P.


Registration Date: 31.08.2004
Posts: 4,021
Which box: siehe Signatur
External Storage: NFS
Which Image: Sonstige
Origin: UK

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi,

I will try to help if I can. Please give some more detail. For example - the typical url you are trying to stream from. Also - do you want to playback on tv via the dreambox ?

What worked before ? What is different from movieplayer ?

Cheers, pcd.
29.04.2011 23:08 pcd is offline Send an Email to pcd Search for Posts by pcd Add pcd to your Buddy List
rafik24
Newbie


Registration Date: 10.04.2011
Posts: 4
Which box: DM 500S
External Storage: NFS
Which Image: Gemini

Thread Starter Thread Started by rafik24
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi pcd,

thanks for your reply,

basically i would like to do the following.

get an m3u file from a server on 192.168.1.20:4242/playlist.m3u

playlist.m3u looks like this:


#EXTM3U

#EXTINF:0,KTO

http://192.168.1.20:4242/bysid/6902

#EXTINF:0,Russia Today

http://192.168.1.20:4242/bysid/6904

#EXTINF:0,France 24 (en Français)

http://192.168.1.20:4242/bysid/6905

#EXTINF:0,France 24 (in English)

http://192.168.1.20:4242/bysid/6906

#EXTINF:0,EWTN Europe

http://192.168.1.20:4242/bysid/6907

#EXTINF:0,France 24 (in Arabic)

http://192.168.1.20:4242/bysid/6910

#EXTINF:0,CCTV F

http://192.168.1.20:4242/bysid/6913

#EXTINF:0,CCTV NEWS

http://192.168.1.20:4242/bysid/6914

#EXTINF:0,TV5MONDE EUROPE

http://192.168.1.20:4242/bysid/6915

then display the name of each available channel ie CCTV NEWS

then select a channel and start playing the stream.

Therefore i'm streaming from a server to the dreambox.

I'm looking into movieplayer code in order to add this feature but all the vlc stuff makes it a bit messy for my understanding.

So in movieplayer i have seen that a request is made to vlc in order to list the available files
==> requests/browse.xml?dir=/media/DATA/Storage/movies


what i would like to do instead is /requests/playlist.xml then use the uri and name fields in order to display the channel names then stream

playlist.xml:

<node id="1" name="Undefined" ro="rw">
<node id="2" name="Playlist" ro="ro">
<leaf id="18" current="current" uri="http://192.168.1.20:4242/bysid/6902" name="KTO" ro="rw" duration="3300000000">
<title>KTO</title>
<artist></artist>
<genre></genre>
<copyright></copyright>
<album></album>
<track></track>
<description></description>
<rating></rating>
<date></date>
<url></url>
<language></language>
<now_playing>HORS SERIE</now_playing>
<publisher>GlobeCast</publisher>
<encoded_by></encoded_by>
<art_url></art_url>
<track_id></track_id>
</leaf>

so what is different from movieplayer is that instead of playing a file on the vlc host i would like to play a stream and be able to select the stream from the m3u file or vlc playlist.xml eighter way.


Regards,

Rafik
30.04.2011 17:22 rafik24 is offline Send an Email to rafik24 Search for Posts by rafik24 Add rafik24 to your Buddy List
pcd pcd is a male
V.I.P.


Registration Date: 31.08.2004
Posts: 4,021
Which box: siehe Signatur
External Storage: NFS
Which Image: Sonstige
Origin: UK

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi,

If you can play the streams on pc with vlc - then it may be fairly simple to stream in the ts format to the dreambox and play.

I may be wrong - but I do not think it is possible to play dvb streams directly with a Enigma1 image.

Cheers, pcd.
30.04.2011 19:45 pcd is offline Send an Email to pcd Search for Posts by pcd Add pcd to your Buddy List
rafik24
Newbie


Registration Date: 10.04.2011
Posts: 4
Which box: DM 500S
External Storage: NFS
Which Image: Gemini

Thread Starter Thread Started by rafik24
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi pcd,

the stream is already in ts format, exactly as moviplayer plays from vlc.

I just need to change the logic on how to play the stream rather than telling vlc what file to play.

I'll try to add an additional button to movieplayer and write a specific part for it in order to retrieve the available channels over sap or m3u file.

However i will need to brush up my cpp skills as i have not coded for a while.

thanks for your advise.

Could you please let me know how i could debug on the dm500 itself or just
try to emulate somehow a pc a ppc vm from an image.

all the best,

Rafik
30.04.2011 20:42 rafik24 is offline Send an Email to rafik24 Search for Posts by rafik24 Add rafik24 to your Buddy List
pcd pcd is a male
V.I.P.


Registration Date: 31.08.2004
Posts: 4,021
Which box: siehe Signatur
External Storage: NFS
Which Image: Sonstige
Origin: UK

Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi,

The eDebug statements will output to a log /tmp/enigma.log - if you run the attached debug script before running your plugin.

I also attach my youtubeplayerE1 v.6 code as example. It has many items you will not need. Basically it finds the selected youtube video http url . Then gets vlc to stream that as pcip:9090/dboxstream.ts to the dreambox. You may eliminate the vlc part and stream your selected url directly.

You will see that my plugin code is the total of movieplayer lib and plugin.

Cheers, pcd.

Attachments:
unknown movieplayer.cpp (79.38 KB, 42 downloads)
txt movieplayer.h.txt (7 KB, 43 downloads)
unknown debug.sh (76 Byte, 25 downloads)

This post has been edited 1 time(s), it was last edited by pcd: 30.04.2011 21:21.

30.04.2011 21:14 pcd is offline Send an Email to pcd Search for Posts by pcd Add pcd to your Buddy List
rafik24
Newbie


Registration Date: 10.04.2011
Posts: 4
Which box: DM 500S
External Storage: NFS
Which Image: Gemini

Thread Starter Thread Started by rafik24
Reply to this Post Post Reply with Quote Edit/Delete Posts Report Post to a Moderator       Go to the top of this page

Hi pcd,

Thanks for your help,

i can see that you went digging in your files, much appreciated ;-)

I shall give this a go event if it takes long.

Thank you so much.

Take care,

Rafik
30.04.2011 21:25 rafik24 is offline Send an Email to rafik24 Search for Posts by rafik24 Add rafik24 to your Buddy List
Tree Structure | Board Structure
Jump to:
i-have-a-dreambox.com | Dreambox - Support » Developer Bereich (CVS, Openembedded) » OpenEmbedded (Enigma) » Need some help on E1 multicast udp streaming client plugin

Privacy policy | Team | Suchen | Hilfe


Powered by Burning Board 2.3.6 © 2001-2003 WoltLab GbR