FAQ  •  Register  •  Login

How to transcode 5.1 AAC to AC3?

<<

Hogar

Serviio newbie

Posts: 1

Joined: Sat Sep 27, 2014 10:26 pm

Post Sat Sep 27, 2014 10:55 pm

How to transcode 5.1 AAC to AC3?

I've been searching forums but I can't find the working code (profile) for this.

So I'm using Serviio to stream video files to WD TV Live. BUT the audio is being played through older generation Sony STR-DB930QS AV 5.1 Receiver, which doesn't support decoding AAC stream (and has no HDMI connectors). So I need to transcode AAC audio stream into "standard" Dolby Digital AC3 audio stream (or DTS, whatever is doable).

HELP!

I've tried the solution from this link but it didn't work - I added this line
<Matches container="matroska" vCodec="h264" aCodec="aac" />

BUT after adding it, some of the video files stopped working! WD TV Live started reporting "filetype not supported" - I think that happened with all the files that use H.264 video encoding.

Currently my profile looks like this:
  Code:
   <Profile id="14" name="WDTV Live" extendsProfileId="1">
      <Detection>
         <UPnPSearch>
            <ModelName>WD TV HD Live</ModelName>
         </UPnPSearch>
      </Detection>
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.PacketVideoDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <Transcoding>
         <Video targetContainer="mpeg">
            <Matches container="wtv" />
         </Video>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="flv" /> <!-- this is used by online content, assuming WDTV cannot play local flv either -->
            <Matches container="matroska" vCodec="vp8" />
            <Matches container="rm" />
         </Video>
<!-- transcode H264 MP4 files with LPCM audio -->
            <Video targetContainer="mpegts" targetACodec="ac3">
                <Matches container="mpegts" aCodec="mp2" />
                <Matches container="mp4" aCodec="lpcm" />
                <Matches container="flv" vCodec="h264" />
                <Matches container="matroska" vCodec="h264" aCodec="flac" />
                <Matches container="matroska" vCodec="h264" aCodec="vorbis" />
                <Matches container="matroska" vCodec="h264" aCodec="truehd" />
                <Matches container="matroska" vCodec="vc1" />
                <Matches container="ogg" vCodec="mpeg4" />
                <Matches container="3gp" aCodec="amrnb" />
         </Video>
         </Transcoding>
         <OnlineTranscoding>
         <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="mp4" />
            <Matches container="asf" /> <!-- for mms:// -->
         </Video>
      </OnlineTranscoding>   
      <Subtitles>
         <SoftSubs mime-type="text/srt" />         
      </Subtitles>
   </Profile>


Serviio: 1.4.1.2
WD TV Live: WDBAAP0000NBK-01 (first generation)
Connected via optical audio cable to Sony STR-DB930QS AV 5.1 Reciever (supports Dolby Digital and DTS, but not AAC, mp3 and other "modern" codecs).

THANK YOU!!
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Mon Sep 29, 2014 9:21 am

Re: How to transcode 5.1 AAC to AC3?

Where did you add your line?

Put it above the line:
    <Matches container="matroska" vCodec="h264" aCodec="flac" />
Also, you may want to add a similar line for the MP4 case. If that doesn't work try changing the line:
    <Video targetContainer="mpegts" targetACodec="ac3">
    to
    <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
If still no good, have a look at the transcoded file and post MediaInfo details for it. Remember to restart the Serviio service (or your PC) after changing profiles.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 44 guests

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