Enna Mediacenter

  • So habs jetzt ausprobiert: Sweet!


    Gefällt mir sehr gut. Ich habe zwar keinen Vergleich zu xbmc, aber es sieht cool aus und lässt sich gut bedienen. Foto / Musik / und Video funktionieren schon sehr gut. Ist bezüglich Videoplayer auch kein Wunder da mplayer benutzt wird. Wetteranzeige und Comicstore gibts auch, interessiert mich allerdings eher weniger.


    VDR wird automatisch eingebunden und läuft auch incl. lirc, allerdings wie von Davide beschrieben noch etwas rudimentär und ohne vdpau-Unterstützung. Nach dem Zurückwechseln von VDR zu enna musste ich enna beenden, da sonst bei mir keine Tonausgabe mehr erfolgt.


    Grüße, Peter

    KODI, tvh, arch x86_64, Octopus net 2 x Duoflex C/C2/T2 , NUC7i3BNH, Crucial MX300 2TB, LG LM 669S

    Linux is the best OS I have ever seen -- Albert Einstein

  • Zitat

    Originally posted by tomasI
    Is vdpau not fully implemented yet?


    libplayer implements VDPAU for the mplayer wrapper, but not yet for xine. The problem, discussed here, is that the nvidia library requires the use of xlib, which is not thread-safe. We are investigating possible solutions to this problem.


    Also, please note that the enna checked out from hg requires the hg versions of libplayer/libvalhalla/libnfo; it won't build with the released 1.0.0.


    Davide

  • Zitat

    Original von davide


    libplayer implements VDPAU for the mplayer wrapper, but not yet for xine. The problem, discussed here, is that the nvidia library requires the use of xlib, which is not thread-safe. We are investigating possible solutions to this problem.


    OK, I think the solution is to deactivate *LOCKDISPLAY* in xine-vdpau/src/video_out/video_out_vdpau.c


    Code
    // #define LOCKDISPLAY /*define this if you have a buggy libX11/xcb*/



    I just added vdpau support to wrapper_xine.c as described.....and vdpau is working!!!





    But how can I manage/activate the deinterlacing?


    lostinspc: das Soundproblem hab ich nicht.


    btw: was meinst du mit rudimentär? Wenn enna die Ausgabe des VDR übernommen hat, kann man doch den VDR wie gewohnt bedienen.....


    Gruß
    Tomas

  • Hi,


    nach der Anzahl der hits zu urteilen, scheint das Thema ja einige zu interessieren....


    also enna schlägt sich wirklich gut mit vdpau. Habs jetzt mal ne Weile laufen lassen auch HD.....und mal nen Bild gemacht mit top und log. CPU-Last ist vergleichbar mit der direkten Ausgabe über xine.


    Leider ist das Bild etwas unscharf, da ich keinen Blitz verwenden wollte und nen richtigen Screenshot kann man ja bei Ausgabe über vdpau ja nicht machen, weil dann anstatt des Videos nur ein schwarzes Loch erscheint...




    [Blockierte Grafik: http://img64.imageshack.us/img64/9826/artehd.th.jpg]


    Gruß
    Tomas

  • tomas: Nach lesen des threads den Du gepostet hast, ist glaub ich nicht die Frage ob vdpau funktioniert. Es ist aber soweit ich das verstanden habe nicht theadsafe und wird deswegen nicht unterstützt. Grund ist die aktuelle vdpau-Implementation von nvidia, daher dürfte sich das m.E. auch so schnell nicht ändern.


    Bei mir läuft HD auch mit cpu gut (außerdem habe ich sowieso nur ÖR und damit z.Zt wieder Demoschleife), von daher stört mich das jetzt nicht besonders.


    Mit "rudimentär" meinte ich z.B. das tw. fehlenden scaling und ebenfalls tw. etwas pixelig aussehende OSD. Gibt's aber schon ein enhancement-ticket zu: libplayer should enable vdr post process plugins


    Hab mich jetzt mal etwas intensiver mit Musik und Fotos beschäftigt, hakt manchmal noch etwas aber ansonsten echt super.


    Grüße, Peter

    KODI, tvh, arch x86_64, Octopus net 2 x Duoflex C/C2/T2 , NUC7i3BNH, Crucial MX300 2TB, LG LM 669S

    Linux is the best OS I have ever seen -- Albert Einstein

  • Zitat

    Original von lostinspc
    tomas: Nach lesen des threads den Du gepostet hast, ist glaub ich nicht die Frage ob vdpau funktioniert. Es ist aber soweit ich das verstanden habe nicht theadsafe und wird deswegen nicht unterstützt. Grund ist die aktuelle vdpau-Implementation von nvidia, daher dürfte sich das m.E. auch so schnell nicht ändern.


    ..schon klar, aber letztendlich geht es nur um libplayer bzw xinewrapper und wenn die Jungs meinen, dass sie xine-vdpau (es geht ja nicht um vdpau selbst - der mplayer wird ja von enna z.B. mit *-vo vdpau,xv,x11 -vc ffh264vdpau,ffodivxvdpau,ffmpeg12vdpau,ffvc1vdpau,ffwmv3vdpau*aufgerufen!) in der jetzigen Form nicht unterstützen wollen ist das ja auch ihr gutes Recht!


    Ich selbst sehe allerdings nicht ein, warum ich auf vdpau verzichten sollte, ich bin damit sehr zufrieden und benutze dann halt den selbstgebastelten libplayer mit VDPAU-Unterstützung. Das ist ja gerade das schöne an Linux, dass man da selbst Hand anlegen kann.


    Im Prinzip ists auch nur ne Spielerei für mich, der VDR + Plugins kann doch eigentlich so viel...... außer Kaffeekochen ;)



    btw: bei Ausgabe über vpau hat das VDR-OSD auch in enna seine gewohnte Brillianz.


    Gruß
    Tomas

  • Zitat

    Originally posted by tomas
    OK, I think the solution is to deactivate *LOCKDISPLAY* in xine-vdpau/src/video_out/video_out_vdpau.c

    Code
    // #define LOCKDISPLAY /*define this if you have a buggy libX11/xcb*/


    I just added vdpau support to wrapper_xine.c as described.....and vdpau is working!!!


    Doing that won't reliably work in the long term, as you'll eventually trigger a race condition. You could try the following
    - if using libplayer 1.0.0 and enna 0.4.0, do what this post says and then add

    Code
    XInitThreads();


    in the main() function of src/bin/enna.c, before the eina_init() call. This will correctly setup xlib for threading and should avoid races.
    - if you're using the hg versions have a look at this message and try the attached patches.

    Zitat

    But how can I manage/activate the deinterlacing?


    AFAIK, for now you can't (as there's no video filters support in libplayer). You may be able to do it by hacking in src/wrapper_xine.c in libplayer sources.


    Davide

  • Ich hätte auch 2 Fragen an die Schon-Benutzer.


    Wie kann man die Wetterinfostadt ändern bzw. woher kommt der Name in der cfg?
    Ich kann nichts zu Internetradio finden, ist das nicht dabei?


    Danke,
    Faudeer

    Synchronisieren und Backup auch unter Linux! 250MB extra für euch und mich bei Dropbox-Anmeldung (zu den kostenlosen 2GB), wenn ihr meinen Referral nutzt.

  • Die Wetterinfo-Stadt einfach manuell im Klartext in die config (~/.enna/enna.cfg) eintragen, Config-Änderungen über die GUI sind noch nicht möglich.


    "Internetradio" gibts noch nicht, steht aber auf "Soon to be", sollte also nicht mehr SO lange dauern...


    Grüße, Peter

    KODI, tvh, arch x86_64, Octopus net 2 x Duoflex C/C2/T2 , NUC7i3BNH, Crucial MX300 2TB, LG LM 669S

    Linux is the best OS I have ever seen -- Albert Einstein

    Einmal editiert, zuletzt von lostinspc ()

  • Zitat

    Original von davide


    Doing that won't reliably work in the long term, as you'll eventually trigger a race condition. You could try the following
    - if using libplayer 1.0.0 and enna 0.4.0, do what this post says and then add

    Code
    XInitThreads();


    in the main() function of src/bin/enna.c, before the eina_init() call. This will correctly setup xlib for threading and should avoid races.


    Even vdpau was working for me without *XInitThreads();* in the main() function of src/bin/enna.c, firstly I wanted to follow your advice to avoid race condition and secondly I was very interested in testing your patch and the hg versions ;)


    Zitat

    Original von davide
    - if you're using the hg versions have a look at this message and try the attached patches.


    Well, I checked out libplayer and applied the patch:



    Great!



    ......and Enna with *XInitThreads();* .....


    STDOUT look attached enna.txt


    ..... works like a charm!


    Sunday morning I thought that the implementation of xine-vpau had a very low priority for you and the other developers and now IMHO a big step forward has been done within a few hours.


    Thanks a lot!



    Zitat

    Original von davide


    AFAIK, for now you can't (as there's no video filters support in libplayer). You may be able to do it by hacking in src/wrapper_xine.c in libplayer sources.


    I'll take my chance, but my coding knowledge is very small.


    best regards
    Tomas


    BTW: I'll stay tuned reading the ML and if you are interested in someone testing new xine-vdpau related patches just contact me.

  • Zitat

    Original von tomas
    Well, I checked out libplayer and applied the patch:
    (cut)
    ..... works like a charm!


    Sunday morning I thought that the implementation of xine-vpau had a very low priority for you and the other developers and now IMHO a big step forward has been done within a few hours.


    Well, it's for sure a useful feature, and if it can be implemented in a reasonably clean way, why not do it? Plus, I have a vdpau-enabled nvidia card and would very much like watch hdtv with enna :) I have committed a new version of the libplayer patch, could you please test the latest hg? There should be no functional changes, but the VDPAU/Xlib code has been wrapped behind a --enable-xlib-hack configuration option (to make it clear to prospective library users they need to be careful).


    Davide

  • Well, I think


    Code
    --enable-xlib-hack


    combined with the warning


    Code
    *** WARNING ***
    The Xlib hack has been enabled. Programs using libplayer WILL have
    races unless XInitThreads() is called before any Xlib usage.      
    *** WARNING ***


    is a very good solution! one can decide whether to use it or not


    libplayer ist working with the new patch :) output is attached


    best regards


    Tomas

  • Zitat

    Original von FriedDuck
    Hallo,


    hat es evtl. jemand geschaft Enna unter Debian Lenny zu kompilieren?
    Ich sitze schon seit gestern dabei, ohne erfolg, leider... :(


    Hallo,


    hatte es letzte Woche mal testweise angefangen....


    mit dem installscript Easy_e17 von hier und mit den dort genannten Anpassungen, bekommt man nach *Umschiffen von ein paar Klippen* zumindest mal den ganzen e*-stuff installiert. Zu den Enna-Sachen bin ich beim Lenny-System noch nicht gekommen.


    wo klemmts denn genau?


    Gruß
    Tomas

  • Hi,
    mit dem Script habe ich es auch versucht, ohne erfolg.
    Jetzt habe ich alles "händisch" kompilliert, nach dem tut von der selben seite.
    Naja, aufjedenfall habe ich probleme beim übersetzten von libvalhalla, dort ist irgendeine fehlermeldung wegen sqlite3 obwohl sqlite3 + libsqlite3-dev installiert ist.
    Und dann gibts noch nen Fehler beim übersetzen von Enna, dort wird irgendeine lib verlangt(libxdm-basedir oder so) , die ich nirgendwo auftreiben konnte...

  • Hab mich auch gerade nochmal drangemacht


    Zitat

    Original von FriedDuck


    Naja, aufjedenfall habe ich probleme beim übersetzten von libvalhalla, dort ist irgendeine fehlermeldung wegen sqlite3 obwohl sqlite3 + libsqlite3-dev installiert ist.


    Hab sqlite3 von Hand aus aktuellen Source installiert


    Zitat


    Und dann gibts noch nen Fehler beim übersetzen von Enna, dort wird irgendeine lib verlangt(libxdm-basedir oder so) , die ich nirgendwo auftreiben konnte...


    ne genaue Fehlermeldung wär natürlich schön ;)


    aber vielleicht hilft dir


    Code
    dpkg -l |grep libxdm
    ii  libxdmcp-dev                         1:1.0.2-3                      X11 authorisation library (development headers)
    ii  libxdmcp6                            1:1.0.2-3                      X11 Display Manager Control Protocol library


    hast du das drauf?


  • Hi, die Packete sind installiert. Hier die genauere Fehlermeldung:



    Hast du es erfolgreich zum laufen bekommen?

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!