FAQ  •  Register  •  Login

mp3 transcoding?

<<

CandyCorn

Serviio newbie

Posts: 2

Joined: Sun Nov 03, 2013 4:24 pm

Post Sun Nov 03, 2013 4:29 pm

mp3 transcoding?

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
<<

will

DLNA master

Posts: 2138

Joined: Mon Aug 30, 2010 11:18 am

Location: UK

Post Sun Nov 03, 2013 4:44 pm

Re: mp3 transcoding?

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>
Will

ServiiDroid (Android Console) Developer: Download | Home | Support
ServiiGo (Android 3G/4G/WiFi Playback App) Developer: Download | Home | Support
<<

CandyCorn

Serviio newbie

Posts: 2

Joined: Sun Nov 03, 2013 4:24 pm

Post Sun Nov 03, 2013 6:02 pm

Re: mp3 transcoding?

That worked perfectly, Thanks!

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 24 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.