How to set audio transcoding to WAV format

Help
2009-08-22
2013-04-25
  • BeterHans PAN
    BeterHans PAN
    2009-08-22

    Hi I've compiled fuppes 0.640 on my
    Linux Galaxy 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686 GNU/Linux
    and works fine with my Xbox 360

    but the default config file is set to transcode the flac lossless audio to a loss format mp3 by using lame encoder.
    I want to change it to Wav/PCM out put for lossless Audio!

    so I tried

    <file ext="wav">
              <type>AUDIO_ITEM</type>
              <mime_type>audio/x-wav</mime_type>
            </file>

    <file ext="flac">
              <type>AUDIO_ITEM</type>
              <mime_type>audio/x-flac</mime_type>
              <transcode enabled="true">
                <ext>wav</ext>
                <mime_type>audio/x-wav</mime_type>
                <http_encoding>chunked</http_encoding>
                <decoder>flac</decoder>
                <encoder>pcm</encoder>
              </transcode>
            </file>

    but with this config file my xbox 360 stop to play all flac files :(

    please show me the right config

     
    • BeterHans PAN
      BeterHans PAN
      2009-08-22

      here is how I configured fuppes

      ##############
      Build conmand
      ##############
      autoreconf -vfi
      ./configure --prefix=/usr --sysconfdir=/etc --enable-video-transcoding --enable-mad --enable-faad --enable-dlna --enable-lame

      ############
      Results
      ############
        SUMMARY

        audio transcoding plugins
          encoder:
            lame       : yes
            twolame    : no
            pcm/wav    : yes
          decoder:
            vorbis     : yes (libvorbisfile)
            mpc        : yes
            flac       : yes
            faad       : yes (aac/mp4/m4a)
            mad        : yes (mpeg Layer I, II & III)

        video transcoding plugins
          ffmpeg     : enabled

        image conversion/rescaling plugins
          ImageMagick: disabled (Wand C-API)

        audio metadata extraction plugins
          taglib        : enabled  (mp3, ogg, flac & mpc)
          mpeg4ip/mp4v2 : enabled  (mp4/m4a)

        image metadata extraction plugins
          Exiv2         : disabled
          ImageMagick   : disabled (Wand C-API)
          simage        : disabled (jpeg, png, gif, tiff, rgb, pic, tga, eps)

        video metadata extraction plugins
          libavformat   : enabled

        miscellaneous
          iconv      : enabled (charset conversion)
          uuid       : enabled
          inotify    : enabled

      Thanks for using fuppes
      please report bugs

      Run Fuppes and press i
      hans@Galaxy:~/.fuppes$ sudo fuppes
                  FUPPES - 0.640
          the Free UPnP Entertainment Service
            http://fuppes.ulrich-voelkel.de

      webinterface: http://135.251.214.2:5080

      r = rebuild database
      u = update database
      i = print system info
      h = print help

      press "ctrl-c" or "q" to quit

      == lib/Fuppes.cpp (352) :: Sat Aug 22 23:37:21 2009 ==
      new device: Xbox 360 :: MediaRenderer

      new UPnP device:
      Xbox 360 (MediaRenderer)
      i
      general information:
        version     : 0.640
        hostname    : Galaxy
        OS          : Linux 2.6.28-14-generic
        build at    : Aug 22 2009 23:08:40
        build with  : 4.3.3
        address     : 135.251.214.2
        log-level   : 1 (normal)
        webinterface: http://135.251.214.2:5080/

      configuration file:
        /home/hans/.fuppes/fuppes.cfg

      registered plugins
      database:
        sqlite3 (Ulrich Voelkel)

      misc:
        dlna-profiles
        presentation

      metadata:
        libavformat (Ulrich Voelkel)
        mp4v2 (Ulrich Voelkel)
        taglib (Ulrich Voelkel)

      transcoder:
        ffmpeg (Ulrich Voelkel)

      audio decoder:
        FLAC (Ulrich Voelkel)
        musepack (Ulrich Voelkel)
        vorbis (Ulrich Voelkel)

      audio encoder:
        pcm (Ulrich Voelkel)

      iconv: enabled
      inotify: enabled
      uuid: enabled

       
    • BeterHans PAN
      BeterHans PAN
      2009-08-22

      HI Again
      I found a topic about the same thing but he is using PS3 and the config not work for me
      https://sourceforge.net/forum/forum.php?thread_id=1907154&forum_id=475749
      <file ext="flac">
      <type>AUDIO_ITEM</type>
      <mime_type>audio/x-flac</mime_type>
      <transcode enabled="true">
      <ext>wav</ext>
      <mime_type>audio/wav</mime_type>
      <dlna>WAV</dlna>
      <http_encoding>stream</http_encoding>
      <decoder>flac</decoder>
      <encoder>wav</encoder>
      </transcode>
      </file>

       
    • BeterHans PAN
      BeterHans PAN
      2009-08-23

      Looks like X360 event not support wav/pcm ?
      I even put a wav file in usb driver, and 360 can't play it :(

       
  • I have had no problems with wmv files, and windows should be able to play it's own audio wma files, so I was wondering if you could give me the file in question and I'll test it out myself. Or give me a link to it.

    Thanks.