Play FLAC files on DM7025 (yes I do)

Wir haben aktuell ein Problem mit dem Board und arbeiten an der Lösung...
  • Is anybody interested in playing FLAC file with DM7025?
    I succeed in doing it after compiling all needed packages.
    libflac7_1.1.2-r4_mipsel.ipk
    flac_1.1.2-r4_mipsel.ipk
    liboggflac3_1.1.2-r4_mipsel.ipk
    gstreamer_0.10.14-r0_mipsel.ipk (rebuild)
    gst-plugins-good_0.10.6-r0_mipsel.ipk (rebuild)
    gst-plugin-flac_0.10.6-r0_mipsel.ipk


    ..but I have a little problem because *.flac files are not listed in MediaPlayer
    After simply renaming .flac to .ogg I can play them.
    I tried to edit /usr/lib/enigma2/python/Components/FileList.py and
    /usr/lib/enigma2/python/Plugins/Extensions/MediaPlayer/plugin.py
    to get them listed but it's not enough. Where to?

  • do u mean flv? youtube files?
    i think all files supported by vlc player can be played with VLCF
    can do this by adding this:
    <setup name="File" pic="divx.png" ext="FLV" Videorate="2048" Videotranscode="1" Videocodec="mpgv" Videosize="704x576" Audiorate="192" Audiotranscode="1" fps="25" soutadd="soverlay,senc" />


    to vlcf.xml file



    :wmbiggrin:

    :smiling_face_with_sunglasses: DM500s / DVB2000 / SkystarHD / Humax5400
    MAC pro,Quad Xeon2.8GHz ,2GB ECC,2TB

    2 Mal editiert, zuletzt von ajeeb ()

  • I think he means .flac (free lossless audio codec). And yes, I am very interested in a mediaplayer extension.


    Have a look into /usr/lib/enigma2/python/Components/Scanner.py, too - There is a function "getType(file)" that hardcodes additional mimetypes into the filescanner which are unknown to the dm7025 otherwise

  • Yes. I mean flac : free lossless audio codec
    Thanks Steckel. I already tried to modify /usr/lib/enigma2/python/Components/Scanner.py
    and added mimetype but *flac files are not listed.
    If you want to try with ipackages attached:
    cd /tmp
    tar -zxf flac-bundle.tar.gz
    ipkg install *.ipk


    Test library

    Code
    root@dm7025:/> gst-inspect|grep flac
    flac:  flacdec: FLAC audio decoder
    flac:  flacenc: FLAC audio encoder
    typefindfunctions: audio/x-flac: flac
    typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
    typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta


    Enigma python changes (but that are not enough):


  • Zitat

    Originally posted by YannisA
    Hello to all.
    I'm also very interested to stream my flac files to the box. Pls see my question Streaming FLAC from PC to Dreambox
    Did you finally maged to do it? and how? any other workarounds?
    thanks


    That was a favour for a friend of mine who own a DM7025 like me. He is encoding his huge CD collection in FLAC and ask me to add FLAC decoding capability.
    He is happy renaming file from .flac to .ogg.
    Did you try my flac plugin bundle ?

  • Zitat

    Originally posted by vakerui


    That was a favour for a friend of mine who own a DM7025 like me. He is encoding his huge CD collection in FLAC and ask me to add FLAC decoding capability.
    He is happy renaming file from .flac to .ogg.
    Did you try my flac plugin bundle ?


    Do you mean to install the bundle by putting it in the /tmp directory and then by "manual install"?

  • Zitat

    Originally posted by YannisA


    Do you mean to install the bundle by putting it in the /tmp directory and then by "manual install"?


    Ehm, you need to manually unpack the bundle and install all packages:
    cd /tmp
    tar -zxf flac-bundle.tar.gz
    ipkg install *.ipk

  • It seems to stop while getting the list of playable services/files from FileList.py.
    Here is where it stops on my 7025:

    Code
    while 1:
    	s = list.getNext()
    	if not s.valid():  <---------
    		del list
    		break


    It checks to see if the file is a valid service and as it is not, it deletes the list and breaks out of the loop. Therefore you don't see the flac file.


    Add the flac ending in servicefs.cpp and it should probably turn up :winking_face:

  • Zitat

    Original von vakerui
    Is anybody interested in playing FLAC file with DM7025?...


    Great Stuff, thanks!


    Is there also a solution for playing OggVorbis?
    FLAC does well for me, but OggVorbis would be nice, cause some webradios also play OggVorbis-Streams.


    SB