mediatomb transcoding for flac to do replaygain decoding?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
Hi,

I'm trying to get transcoding to work on mediatomb such that my FLAC media files are decoded with replaygain effect and sent to the client in the uncompressed wave format.

Without transcoding by the UPnP server directly, clients appear to not have access to this tag or just plain don't support playback with replaygain trimming.

So far, this is what I tried, but doesn't appear to work. I tried a full rescan of my media files, but no luck and I'm not sure how to enabling debugging of mediatomb for it to tell me.
Code:
  <transcoding enabled="yes">
    <mimetype-profile-mappings>
      <transcode mimetype="audio/x-flac" using="flacReplayGain"/>
...
    </mimetype-profile-mappings>
    <profiles>
      <profile name="flacReplayGain" enabled="yes" type="external">
        <mimetype>audio/wav</mimetype>
        <accept-url>no</accept-url>
        <accept-ogg-theora>no</accept-ogg-theora>
        <agent command="flac" arguments="--force --decode --no-delete-input-file --apply-replaygain-which-is-not-lossless=0aln1 --output-name=%out %in"/>
        <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
      </profile>
...
While streaming, I'm not seeing any external flac process with 'ps -A' either.
 
Last edited:
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.