Page 1 of 1

How can I avoid transcoding mp3

PostPosted: Wed Apr 04, 2012 4:11 pm
by jalla
I use the following profile for my HTC Desire

  Code:
<Profile id="21" name="HTC Desire mediumQ" extendsProfileId="1">
        <Detection>
            <HttpHeaders>
                <User-Agent>.*HTC.*</User-Agent>
            </HttpHeaders>
        </Detection>
        <Transcoding>
            <Video targetContainer="mpegts" targetVCodec="mpeg2video" maxVBitrate="10000">
                <Matches container="avi" />
                <Matches container="mp4" />
                <Matches container="matroska" />
                <Matches container="flv" />
                <Matches container="wtv" />
            </Video>
            <Audio targetContainer="mp3">
                <Matches container="flac" />
            </Audio>
        </Transcoding>
        <AutomaticImageRotation>true</AutomaticImageRotation>
        <LimitImageResolution>false</LimitImageResolution>
    </Profile>


I would expect this to transcode audio only for media of type flac? However Serviio insists on transcoding mp3 files like this one

  Code:
ffmpeg -i /medialib/audio/Susanne\ Sundfør\ -\ The\ Brothel/01\ The\ Brothel.mp3
[snip]
  Duration: 00:06:15.69, start: 0.000000, bitrate: 257 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 256 kb/s

using a command like this

  Code:
/usr/local/bin/ffmpeg -i /medialib/audio/Susanne Sundfør - The Brothel/01\ The\ Brothel.mp3 -y -ab 64k -ac 2 -f mp3 /stage/Serviio/transcoding-temp-3384-MP3.stf


What is it I'm missing here?

Re: How can I avoid transcoding mp3

PostPosted: Wed Apr 04, 2012 5:00 pm
by moltra
What profile is selected for the renderer?

Re: How can I avoid transcoding mp3

PostPosted: Wed Apr 04, 2012 5:17 pm
by jalla
Oops, my mistake. I had managed to misconfigure the profile setting for the device.

Sorry for the noise.