FAQ  •  Register  •  Login

Can't convert to aac

<<

jmaurin

Serviio newbie

Posts: 3

Joined: Fri Mar 15, 2013 12:55 am

Post Fri Mar 15, 2013 1:01 am

Can't convert to aac

Hi.

I'm trying to convert all my audio files to aac (or mp3), but i always get AC3. What i'm doing wrong?

This is a sample log (debug), my TV are getting right profile.....but ffmpeg is getting instructions to convert to ac3.
  Code:
2013-03-14 21:52:47,122 DEBUG [VideoDAOImpl] Reading a Video (id = 24)
2013-03-14 21:52:47,125 DEBUG [VideoDeliveryEngine] Retrieving resource information for item 24, format MPEG_PS_PAL and profile Toshiba Jonis
2013-03-14 21:52:47,125 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,127 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,128 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,130 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,130 DEBUG [AbstractTranscodingDeliveryEngine] Getting media info for transcoded version of file The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4
2013-03-14 21:52:47,130 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,133 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,133 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4: MPEG_PS_PAL
2013-03-14 21:52:47,133 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4: MPEG_PS_NTSC
2013-03-14 21:52:47,138 DEBUG [MediaResourceRetrievalStrategy] Getting information about media item 24 (local)
2013-03-14 21:52:47,138 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 24)
2013-03-14 21:52:47,140 DEBUG [VideoDAOImpl] Reading a Video (id = 24)
2013-03-14 21:52:47,143 DEBUG [VideoDeliveryEngine] Delivering item '24' for client 'Identifier=192.168.22.133, Profile=Toshiba Jonis'
2013-03-14 21:52:47,143 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,145 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,145 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,148 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,148 DEBUG [VideoDeliveryEngine] Delivering file 'The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4' using transcoding
2013-03-14 21:52:47,148 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,151 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,154 DEBUG [AbstractTranscodingDeliveryEngine] No suitable transcoding job exists yet, start one for client 'Identifier=192.168.22.133, Profile=Toshiba Jonis'
2013-03-14 21:52:47,155 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,163 DEBUG [FFMPEGWrapper] Invoking FFmpeg to transcode video file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4
2013-03-14 21:52:47,164 DEBUG [ProcessExecutor] Starting ffmpeg -threads auto -i /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4 -y -c:v mpeg2video -qscale:v 1 -vf subtitles=filename='/var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt':original_size=720x404 -r 24000/1001 -g 15 -c:a ac3 -b:a 384k -ac 2 -map 0:0 -map 0:1 -sn -f vob /tmp/Serviio/transcoding-temp-24-1212-ORIGINAL-6e0c8dc7d3c09d23a1f48dc2130518c7.stf
2013-03-14 21:52:47,665 DEBUG [FileBasedTranscodingDeliveryStrategy] Sending transcoding stream
2013-03-14 21:52:47,666 DEBUG [MediaItemDAOImpl] Getting file of media item 24
2013-03-14 21:52:47,668 DEBUG [SubtitlesService] Found external subtitle file: /var/flexshare/shares/tv/Series/The Neighbors 2012/Temporada 01/The.Neighbors.2012.S01E01.HDTV.x264-LOL.srt
2013-03-14 21:52:47,668 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4: MPEG_PS_PAL
2013-03-14 21:52:47,668 DEBUG [VideoDeliveryEngine] Found Format profile for transcoded file The.Neighbors.2012.S01E01.HDTV.x264-LOL.mp4: MPEG_PS_NTSC
2013-03-14 21:52:47,669 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 24) as read
2013-03-14 21:52:47,737 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2013-03-14 21:52:47,738 DEBUG [GETMethodProcessor] Stream entity has length: 50000000000
2013-03-14 21:52:47,740 DEBUG [ResourceTransportRequestHandler] Creating entity with chunked transfer
2013-03-14 21:52:47,743 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mpeg,Date: Fri, 15 Mar 2013 00:52:47 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/1.2,Cache-control: no-cache,transferMode.dlna.org: Streaming,realTimeInfo.dlna.org: DLNA.ORG_TLAG=*]]
2013-03-14 21:53:03,523 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.22.133:52304s
2013-03-14 21:53:03,525 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.22.133:52304
2013-03-14 21:53:03,774 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.22.133:52304s
2013-03-14 21:53:03,775 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.22.133:52304
2013-03-14 21:53:04,026 DEBUG [DiscoverySSDPMessageListener] Received a valid M-SEARCH message for search target urn:schemas-upnp-org:device:MediaServer:1 from address /192.168.22.133:52304s
2013-03-14 21:53:04,026 DEBUG [DiscoverySearchResponder] Sending 1 M-SEARCH response message(s) to /192.168.22.133:52304



And this is my profile:

  Code:
<Profile id="1212" name="Toshiba Jonis" extendsProfileId="1">
                <Transcoding>
                        <Video targetContainer="mpegts" targetACodec="aac">
                                <Matches container="*" />
                        </Video>
                        <Audio targetContainer="mp3">
                                <Matches container="*" />
                        </Audio>
                </Transcoding>

        </Profile>



Tks!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Mar 15, 2013 5:03 pm

Re: Can't convert to aac

It's because this file invokes subtitles transcoding (hardsubs), which needs additional HardSubsTranscoding config (it uses the one from profile 1 in your case).

http://www.serviio.org/index.php?option ... icle&id=24
<<

jmaurin

Serviio newbie

Posts: 3

Joined: Fri Mar 15, 2013 12:55 am

Post Fri Mar 15, 2013 7:52 pm

Re: Can't convert to aac

So this should work, right?

  Code:
<HardSubsTranscoding>
                        <Video targetContainer="mpeg" targetVCodec="mpeg2video" targetACodec="aac" />
                </HardSubsTranscoding>


I'm at work now, but i'll try this in my profile at home. Hope it work!

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 31 guests

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