mediatomb transcoding for flac to do replaygain decoding? - diyAudio
Go Back   Home > Forums > Source & Line > PC Based

PC Based Computer music servers, crossovers, and equalization

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 28th May 2015, 07:50 PM   #1
diyAudio Member
 
davygrvy's Avatar
 
Join Date: Mar 2007
Location: Oakland, CA
Blog Entries: 1
Default mediatomb transcoding for flac to do replaygain decoding?

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.
__________________
Think out of the box

Last edited by davygrvy; 28th May 2015 at 10:37 PM.
  Reply With Quote
Old 29th May 2015, 04:15 AM   #2
diyAudio Member
 
davygrvy's Avatar
 
Join Date: Mar 2007
Location: Oakland, CA
Blog Entries: 1
ok, got it.. I was missing this line under the profile section

<first-resource>yes</first-resource>
__________________
Think out of the box
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MidSide decoding robertopisa Digital Line Level 3 20th December 2014 07:55 PM
Me again... matrix decoding w/ tubes? sixSixSeven Tubes / Valves 1 23rd March 2011 03:33 PM
Decoding LFE cujo75 Subwoofers 12 28th November 2006 07:06 PM
decoding input guinness Car Audio 1 16th November 2004 11:22 PM
Dolby digital 5.1 and decoding... scottylans Digital Source 5 22nd November 2002 03:13 PM


New To Site? Need Help?

All times are GMT. The time now is 11:08 AM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2015 DragonByte Technologies Ltd.
Copyright 1999-2015 diyAudio

Content Relevant URLs by vBSEO 3.3.2