Beiträge von niemand0815

    es gibt bei oe2 das plugin enigma2-plugin-demoplugins-upnpmediaserverdemo


    das stellt per upnp auch die livetv-streams zur verfügung. das funktioniert teilweise recht gut (z.B. am LG-BP420 blueray Player), wobei viele mediaplayer recht miese umschaltzeiten haben.
    manche Player gehen auch gar nicht (z.B. wd-tv).


    besser geht natürlich (da damit z.B. auch epg geht und es ohne upnp läuft) wenn du xbmc frodo hast.
    dort gibt es das sog. "vu+" pvr plugin, welches auch dreamboxen problemlos bedient und epg sowie aufnahmeprogrammierung ermöglicht.


    bei mir ist das z.B. mit openelec auf einem raspberry pi im Einsatz (noch etwas wackelig, aber wird von RC zu RC besser).


    es gibt auch andere player-Software welche entsprchende plugins bietet um ohne upnp per webif zu streamen. das ist aber playerspezifisch.


    cool wäre natürlich eine OE2 Version für raspberry um das partnerbox plugin mit einem pi verwenden zu können :smiling_face: aber das gibt's soweit ich weiss noch nicht.

    sorry for that. but i ran out of time :frowning_face:


    first Thing is that you Need to install tcpdump on the box. with this installed you can get a trace of the Network traffic directly from the box.


    i installed the following 2 packages:
    tcpdump - 4.1.1-r1
    tcpdump-doc - 4.1.1-r1



    after that you should be able to run "tcpdump -?" on via Telnet.
    the command "tcpdump -i eth0 -s 1500 -w test.pcap" captures all traffic on the ehternet Interface to the file test.pcap


    be Aware that you must not locate this file on the Flash Memory or other small storage. maybe run this command from the hdd or any device with enough space.
    you can of course also run this from tmp.


    after that you can get the file on the pc and use wireshark to look into it.


    hope this helped.


    edit:


    "tcpdump -i eth0 -s 1500 -w test.pcap host 192.168.2.1" captures only the traffic to and from ip 192.168.2.1, for example.

    ich habe mich ja nicht getraut das zu posten... aber ich habe auch das gefühl das mehr speicher frei ist.


    bisher waren nach dem boot auf meiner 8000 so um die 20m frei (entspecktes Image). jetzt scheinen es 40m zu sein. warum auch immer.

    Code
    root@dm8000:~# free -m 
    total used free shared buffers cached 
    Mem: 146 105 40 0 2 25 
    -/+ buffers/cache: 77 68 
    Swap: 0 0 0


    ausserdem kommt es mir so vor als ob die cpu load von enigma gesunken wäre. aber das kann auch Einbildung sein.

    trotzdem ist es immer wieder lehrreich deinen ausführungen zu lauschen :smiling_face:


    aber deswegen auch wieder zurück ontopic für dmm:


    1) es wäre schön wenn man aus dem bios ohne tricks direkt von einem beliebigen device booten könnte incl. sata.


    2) es wäre schön wenn der kernel auch labelmounten könnte oder wenn die devices immer den gleichen namen hätten *g*

    trotzdem wär es doch mit direktem boot noch viel schöner :smiling_face: und ohne den flashspeicher überhaupt noch zu verwenden.


    wie kommt da jetzt dflash mit in die argumente rein? den zusammenhang hab ich jetzt noch nicht so verstanden :smiling_face:


    ich kenn mich damit noch nicht so aus, verusche aber sobald mein stick da ist für die 8000 mal in flash nur noch den kernel zu haben und den rest von sata stick zu ziehen.
    also so wie ich das sehe rambo von hand :smiling_face: ich will ja auch was dabei lernen.


    alternativ dazu dachte ich an boot per usb und dann ber autoexec den kernel von der ssd. aber das denke ich ist ja irgendwie sinnfrei.


    gibt es eigentlich irgendwo ein wiki oder so das den bootvorgang genau beschreibt bei der 8000?


    ich versuch das ganze möglichst ohne zusatztools zu machen ... deswegen der umstand ohne dumbo, rambo etc.
    von usb mag ich nicht da sich ja die devices auf der 8000 immer ändern je nachdem was drinsteckt und wann es erkannt wird (deshalb die frage nach labelmount).


    bei sata sollte das ja immer sda (hdd) und sdb (satastick) sein, oder?


    zur zeit verwende ich den kernel aus lowfat wegen labelmount (tnx @ gutemine) in einem mediaboot usb stick mit dmm root partition.
    natürlich so nicht kernelupdatesicher :smiling_face:

    sorry wenn ich mal dieses alte thema hochhole.


    aber spätestens seit oe2 wäre es denke ich wirklich sinnvoll über eine erweiterung der bootoptionen für ein direktes booten von sata platte/sata stick nachzudenken :smiling_face:
    das würde so manches einfacher machen.


    bei der gelegenheit könnte man ja auch gleich noch labelmount in den kernel einbauen *g*


    hat sich an den beiden "fronten" inzwischen etwas getan?

    hehe.. btw this was the answer from lg for my request to analyse the trace:



    Zitat

    Hier scheint der BP 420 nicht mit dem Mediaserver der Dreambox kommunizieren zu koennen. Wir empfehlen die Nutzung der "Plex"-Software.


    Translated:


    "It seems the BP420 can not communicate with the Dreambox Mediaserver. We recommend using the "Plex" Software."

    no problem, take your time. if you need additional traces i will try to provide them provided i will get my family to do something else *g*


    btw:
    during testing i needed to reboot the lg every time because this s* thing caches the mediaserver information :smiling_face:


    btw2:
    we may also continue in a german speaking thread if needed. i just started in english because this is the english forum and i didnt want to open a new thread.

    it did not work.
    traces attached.


    tracefiles:
    1) with-ps.zip: setting MPEG_PS (default)
    2) with-ts.zip: setting MPEG_TS
    3) without-dp.zip: setting neither of above, but ending with : after the mpeg
    4) without.zip: ending with mpeg, no :.... results in endless loading of the player (no crash. still network traffic going on?!?).


    but the more i think about it and look into the traces, there may be another problem with coherence.


    the lg tries to get metadata for the files in advance because coherence announces that it has this ability. but on the request for metadate it answers with error 500.


    sample of the last request:


    and coherence's answer to it:

    HTTP
    HTTP/1.1 500 Internal Server Error 
    Date: Tue, 05 Feb 2013 20:38:04 GMT 
    Content-Length: 435 
    Content-Type: text/xml; charset="UTF-8" 
    Ext: 
    Server: Linux,3.2-dm8000,UPnP/1.0,Coherence UPnP framework,0.6.7 
    
    
    <?xml version="1.0" encoding="utf-8"?><s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="s:ClientUPnPErrorhttp://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring>UPnPError</faultstring><detail><UPnPError xmlns="urn:schemas-upnp-org:control-1-0"><errorCode>500</errorCode><errorDescription>without words</errorDescription></UPnPError></detail></s:Fault></s:Body></s:Envelope>


    the lg seems to prescan all info from the mediaserver somehow before displaying the content list. at least it seems so.
    btw:


    if you look into the trace you can also see the possible formats for the lg, which should play anything the dreambox can present to it :smiling_face:


    Code
    <SinkProtocolInfo>http-get:*:image/jpegLNA.ORG_PN=JPEG_TN,http-get:*:image/jpegLNA.ORG_PN=JPEG_SM,http-get:*:image/pngLNA.ORG_PN=PNG_TN,http-get:*:image/pngLNA.ORG_PN=PNG_LRG,http-get:*:image/jpegLNA.ORG_PN=JPEG_MED,http-get:*:image/jpegLNA.ORG_PN=JPEG_LRG,http-get:*:audio/L16LNA.ORG_PN=LPCM,http-get:*:audio/x-ms-wmaLNA.ORG_PN=WMABASE,http-get:*:audio/x-ms-wmaLNA.ORG_PN=WMAFULL,http-get:*:audio/x-ms-wmaLNA.ORG_PN=WMAPRO,http-get:*:audio/mpegLNA.ORG_PN=MP3,http-get:*:audio/mpegLNA.ORG_PN=MP3X,http-get:*:audio/mp4LNA.ORG_PN=AAC_ISO_320,http-get:*:audio/mp4LNA.ORG_PN=HEAAC_L2_ISO,http-get:*:audio/mp4LNA.ORG_PN=AAC_ISO,http-get:*:audio/vnd.dlna.adtsLNA.ORG_PN=AAC_ADTS_320,http-get:*:video/x-ms-asfLNA.ORG_PN=MPEG4_P2_ASF_ASP_L4_SO_G726,http-get:*:video/mpegLNA.ORG_PN=MPEG_PS_PAL,http-get:*:video/mpegLNA.ORG_PN=MPEG_TS_SD_NA_ISO,http-get:*:video/mpegLNA.ORG_PN=MPEG_TS_HD_NA_ISO,http-get:*:video/mpegLNA.ORG_PN=MPEG_PS_PAL_XAC3,http-get:*:video/x-ms-asfLNA.ORG_PN=MPEG4_P2_ASF_SP_G726,http-get:*:video/x-ms-asfLNA.ORG_PN=MPEGSO_G726,http-get:*:video/mpegLNA.ORG_PN=MPEG_TS_SD_EU_ISO,http-get:*:video/mpegLNA.ORG_PN=MPEG_TS_HD_KO_ISO,http-get:*:video/mpegLNA.ORG_PN=MPEG_TS_SD_KO_ISO,http-get:*:video/mpegLNA.ORG_PN=MPEG_PS_NTSC,http-get:*:video/mpegLNA.ORG_PN=MPEG1,http-get:*:video/mpegLNA.ORG_PN=MPEG_PS_NTSC_XAC3,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_JP_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_HD_NA_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_NA_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_KO_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_EU_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_HD_KO_T,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_KO,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_HD_KO,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_NA,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_SD_EU,http-get:*:video/vnd.dlna.mpeg-ttsLNA.ORG_PN=MPEG_TS_HD_NA,http-get:*:video/3gppLNA.ORG_PN=MPEG4_H263_MP4_P0_L10_AAC,http-get:*:video/mp4LNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520,http-get:*:image/vnd.ms-photo:*,http-get:*:image/gif:*,http-get:*:image/x-ycbcr-yuv420:*,http-get:*:image/jpeg:*,http-get:*:image/bmp:*,http-get:*:image/png:*,http-get:*:image/tiff:*,http-get:*:image/x-icon:*,http-get:*:image/x-quicktime:*,http-get:*:image/jpe:*,http-get:*:image/x-ycbcr-yuv420:*,http-get:*:audio/L16:*,http-get:*:get:*:audio/mp1:*,http-get:*:audio/mp2:*,http-get:*:audio/mpeg:*,http-get:*:audio/basic:*,http-get:*:audio/aiff:*,http-get:*:audio/mid:*,http-get:*:audio/x-ms-wax:*,http-get:*:audio/wav:*,http-get:*:audio/x-ms-wma:*,http-get:*:audio/vnd.rn-realaudio:*,http-get:*:audio/x-mpegurl:*,http-get:*:audio/x-wav:*,http-get:*:audio/mp4:*,http-get:*:audio/vnd.dlna.adts:*,http-get:*:audio/x-ms-wmv:*,http-get:*:audio/x-ogg:*,http-get:*:audio/midi:*,http-get:*:audio/x-aac:*,http-get:*:audio/x-ac3:*,http-get:*:audio/x-atrac3:*,http-get:*:audio/x-dts:*,http-get:*:audio/x-pn-realaudio:*,http-get:*:audio/x-quicktime:*,http-get:*:audio/dolby:*,http-get:*:audio/adts:*,http-get:*:audio/3gpp:*,http-get:*:audio/sonyoma:*,http-get:*:video/vnd.dlna.mpeg-tts:*,http-get:*:video/mp4:*,http-get:*:video/3gpp:*,http-get:*:video/mp2p:*,http-get:*:video/mpeg2:*,http-get:*:video/quicktime:*,http-get:*:video/x-dv:*,http-get:*:video/x-motion-jpeg:*,http-get:*:video/x-nerodigital-ps:*,http-get:*:video/mp1s:*,http-get:*:video/tts:*,http-get:*:video/x-msvideo:*,http-get:*:video/divx:*,http-get:*:video/xiid:*,http-get:*:video/asf:*,http-get:*:video/x-matroska:*,http-get:*:video/rtml:*,http-get:*:video/x-ms-wmx:*,http-get:*:video/x-ms-wm:*,http-get:*:video/x-ms-asf:*,http-get:*:video/x-ms-wvx:*,http-get:*:video/x-ms-dvr:*,http-get:*:video/avi:*,http-get:*:video/mpeg:*,http-get:*:video/vnd.rn-realvideo:*,http-get:*:video/x-pn-realmedia:*</SinkProtocolrty>


    you also find the mediatomb capture attached (mediatomb.zip) as a reference to how mediatomb handles things. looks quiete different as mediatomb obviously supports much fewer functions, but i really believe from that that this has something to do with metadata scanning.

    here is the answer to the play request coming from the lg bp to the mediatombed dm8000:





    And i attached the complete trace from booting the lg, selecting the mediaserver, navigating to the folder, starting playback, ending playback, navigating back to home and poweroff the lg.

    Maybe you can see the the result from this short capture of the directory browsing with a windows media player pc.


    it is the answer of mediatomb to the browse request of a folder created manually in mediatomb.


    This fits with what you manually enter:


    protocol: http-get
    class: object.item.videItem
    Mimetype: video/mpeg


    nevertheless i will check with the lg on my mediatomb and post a trace as soon as i get to it.



    i did a tcpdump capture of the request packet sent from the lg bp420:


    and the response from the dreambox:

    HTTP
    HTTP/1.1 200 OK 
    Date: Sun, 03 Feb 2013 19:00:39 GMT 
    Content-Length: 1686 
    Content-Type: text/xml; charset="UTF-8" 
    Ext: 
    Server: Linux,3.2-dm8000,UPnP/1.0,Coherence UPnP framework,0.6.7 
    
    
    <?xml version="1.0" encoding="utf-8"?><s:Envelope xmlns:ns0="urn:schemas-upnp-org:service:ContentDirectory:1" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="&lt;DIDL-Lite'>http://schemas.xmlsoap.org/soap/envelope/"><s:Body><ns0:BrowseResponse><Result>&lt;DIDL-Lite xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/" xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dlna="urn:schemas-dlna-org:metadata-1-0" xmlns:pv="http://www.pv.com/pvns/" xmlns:upnp="urn:schemas-upnp-org:metadata-1-0/upnp/"&gt;&lt;container id="0:1000" parentID="0" restricted="0"&gt;&lt;dc:title&gt;Bouquets (TV)&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;dc:date&gt;2003-07-23T01:18:00+02:00&lt;/dc:date&gt;&lt;/container&gt;&lt;container id="0:1001" parentID="0" restricted="0"&gt;&lt;dc:title&gt;Anbieter (TV)&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;dc:date&gt;1997-02-28T17:20:00+01:00&lt;/dc:date&gt;&lt;/container&gt;&lt;container id="0:1002" parentID="0" restricted="0"&gt;&lt;dc:title&gt;Bouquets (Radio)&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;dc:date&gt;2003-07-23T01:18:00+02:00&lt;/dc:date&gt;&lt;/container&gt;&lt;container id="0:1003" parentID="0" restricted="0"&gt;&lt;dc:title&gt;Anbieter (Radio)&lt;/dc:title&gt;&lt;upnp:class&gt;object.container&lt;/upnp:class&gt;&lt;dc:date&gt;1999-09-19T04:12:00+02:00&lt;/dc:date&gt;&lt;/container&gt;&lt;/DIDL-Lite&gt;</Result><NumberReturned>4</NumberReturned><TotalMatches>4</TotalMatches><UpdateID>0</UpdateID></ns0:BrowseResponse></s:Body></s:Envelope>


    does anyone have a idea?


    it looks to me like there is some incompatibility there. the box seems to send everything ok, but the lg then has problems interpreting this :smiling_face:


    i maybe have an idea:
    could it be that the lg can not interpret playlists?


    the tv and radio bouquets are sent as "playlist" when i look onto the mediaserver with windows media player.
    wouldnt it make more sense to sens this as "video" and just create "subdirectories" like with the directory oriented listing for normal video files?


    btw:
    playback of recoded video with minidlna and the lg bp420 works. but i didnt do a trace for it.