Page 1 of 1

mp3 transcoding?

PostPosted: Sun Nov 03, 2013 4:29 pm
by CandyCorn
Is it possible to create a profile to transcode .mp3 files to a lower bitrate/file size for streaming over 3g? I'm new to this, but this is what I attempted:

<Profile id="AndroidPhone" name="AndroidPhone" extendsProfileId="1">
<Detection>
<HttpHeaders>
<User-Agent>.*AndroidPhone.*</User-Agent>
</HttpHeaders>
</Detection>
<Transcoding>
<Audio targetContainer="mp3" aBitrate="64">
<Matches container="mp3" />
</Audio>
</Transcoding>
<ThumbnailsResolution>HD</ThumbnailsResolution>
</Profile>

I was able to assign the profile to my device, but serviio did not transcode any of the files. I am using the serviigo app for android.

Thanks

Re: mp3 transcoding?

PostPosted: Sun Nov 03, 2013 4:44 pm
by will
CandyCorn wrote:Is it possible to create a profile to transcode .mp3 files to a lower bitrate/file size for streaming over 3g? I'm new to this, but this is what I attempted:

<Profile id="AndroidPhone" name="AndroidPhone" extendsProfileId="1">
<Detection>
<HttpHeaders>
<User-Agent>.*AndroidPhone.*</User-Agent>
</HttpHeaders>
</Detection>
<Transcoding>
<Audio targetContainer="mp3" aBitrate="64">
<Matches container="mp3" />
</Audio>
</Transcoding>
<ThumbnailsResolution>HD</ThumbnailsResolution>
</Profile>

I was able to assign the profile to my device, but serviio did not transcode any of the files. I am using the serviigo app for android.

Thanks


ServiiGo doesn't use DLNA and doesn't use profiles set in the console (as that wouldn't work when over 3G).

You will want to instead make those changes to the serviigo_standard profile in the application-profiles.xml file.

I.e. change the audio transcoding block from

  Code:
   <!-- Transcode non .mp3 audio for the Media Player -->
<Audio targetContainer="mp3" forceInheritance="true" >
<Matches container="mp4" />
<Matches container="asf" />
<Matches container="lpcm" />
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="flv" />
<Matches container="rtp" />
<Matches container="rtsp" />
<Matches container="adts" />
<Matches container="wavpack" />
<Matches container="mpc" />
<Matches container="ape" />
</Audio>

to something like
  Code:
   <!-- Transcode everything to mp3 at 64Kbit/s for the Media Player -->
<Audio targetContainer="mp3" forceInheritance="true" aBitrate="64">
<Matches container="*" />
</Audio>

Re: mp3 transcoding?

PostPosted: Sun Nov 03, 2013 6:02 pm
by CandyCorn
That worked perfectly, Thanks!