FAQ  •  Register  •  Login

no audio with aac using chaneru or RMP

<<

duketg

Serviio newbie

Posts: 3

Joined: Sat Sep 19, 2015 2:47 am

Post Sat Sep 19, 2015 3:08 am

no audio with aac using chaneru or RMP

Hello,

I searched the forum and didn't see anything like this, so hopefully I'm not just repeating an old problem. I have a roku 3 and I'm trying to play a .mp4 with audio encoded as aac (see first mediainfo printout below). When I try to stream this with either Chaneru or RMP I get no audio (I've tried setting the profile as both Chaneru and Roku). Most of the files I have are encoded with AC3 audio, and so I used Handbrake to re-encode the movie as a .mp4 with AC3 (see second mediainfo below). This worked fine, and I get audio.

It seems like it should be pretty easy to edit the profiles.xml file to have Serviio just transcode from aac to ac3, but I cannot seem to figure out where I should put those commands. Hopefully this is a pretty simple addition?

Thanks in advance!

Movie with AAC encoding

  Code:
General
Complete name                            : C:\Users\XXX\Videos\Movies\Whiplash.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 3.19 GiB
Duration                                 : 1h 46mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 4 271 Kbps
Movie name                               : Whiplash
Album                                    : Whiplash
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:02:20
Writing application                      : DVDFab 9.1.8.5
Cover                                    : Yes

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 1 frame
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 46mn
Source duration                          : 1h 46mn
Bit rate                                 : 3 819 Kbps
Width                                    : 1 600 pixels
Height                                   : 668 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.149
Stream size                              : 2.83 GiB (89%)
Source stream size                       : 2.83 GiB (89%)
Writing library                          : x264 core 142
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=umh / subme=6 / psy=0 / mixed_ref=0 / me_range=12 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=8 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=0 / weightp=0 / keyint=24 / keyint_min=13 / scenecut=40 / intra_refresh=0 / rc=abr / mbtree=0 / bitrate=3819 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:02:20
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 1h 46mn
Bit rate mode                            : Variable
Bit rate                                 : 448 Kbps
Maximum bit rate                         : 453 Kbps
Channel(s)                               : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 342 MiB (10%)
Title                                    : English (aac 5.1)
Language                                 : English
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:02:20

Text #1
ID                                       : 3
Format                                   : mp4s
Codec ID                                 : E0
Duration                                 : 1h 37mn
Bit rate mode                            : Variable
Bit rate                                 : 5 788 bps
Maximum bit rate                         : 4 249 Mbps
Stream size                              : 4.03 MiB (0%)
Language                                 : English
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-27 23:57:36

Text #2
ID                                       : 4
Format                                   : mp4s
Codec ID                                 : E0
Duration                                 : 1h 44mn
Bit rate mode                            : Variable
Bit rate                                 : 4 759 bps
Maximum bit rate                         : 4 249 Mbps
Stream size                              : 3.57 MiB (0%)
Language                                 : English
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:01:33

Text #3
ID                                       : 5
Format                                   : mp4s
Codec ID                                 : E0
Duration                                 : 1h 37mn
Bit rate mode                            : Variable
Bit rate                                 : 5 785 bps
Maximum bit rate                         : 4 249 Mbps
Stream size                              : 4.03 MiB (0%)
Language                                 : English
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-27 23:57:36

Text #4
ID                                       : 6
Format                                   : mp4s
Codec ID                                 : E0
Duration                                 : 1h 44mn
Bit rate mode                            : Variable
Bit rate                                 : 4 759 bps
Maximum bit rate                         : 4 249 Mbps
Stream size                              : 3.57 MiB (0%)
Language                                 : English
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:01:33

Menu
ID                                       : 7
Codec ID                                 : text
Duration                                 : 1h 46mn
Encoded date                             : UTC 2015-02-27 22:51:44
Tagged date                              : UTC 2015-02-28 00:02:20
Source duration                          : 6405399
Source frame count                       : 16
Source stream size                       : 375
Frame count                              : 16
Stream size                              : 375
00:00:00.000                             : Chapter 1
00:06:51.828                             : Chapter 2
00:14:34.498                             : Chapter 3
00:24:26.423                             : Chapter 4
00:30:06.137                             : Chapter 5
00:35:43.975                             : Chapter 6
00:43:31.358                             : Chapter 7
00:46:55.312                             : Chapter 8
00:53:12.522                             : Chapter 9
01:02:37.503                             : Chapter 10
01:10:30.601                             : Chapter 11
01:14:03.605                             : Chapter 12
01:17:48.788                             : Chapter 13
01:23:06.105                             : Chapter 14
01:25:28.289                             : Chapter 15
01:31:56.218                             : Chapter 16
Bit rate mode                            : VBR


Re-encoded with AC3

  Code:
General
Complete name                            : C:\Users\XXX\Videos\Movies\Whiplash_conv.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 1.50 GiB
Duration                                 : 1h 46mn
Overall bit rate                         : 2 005 Kbps
Movie name                               : Whiplash
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16
Writing application                      : HandBrake 0.10.2 2015060900

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1h 46mn
Bit rate                                 : 1 840 Kbps
Width                                    : 1 600 pixels
Height                                   : 668 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 11.987 fps
Maximum frame rate                       : 24.000 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.072
Stream size                              : 1.37 GiB (92%)
Writing library                          : x264 core 142 r2479 dd79a61
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x1:0x111 / me=hex / subme=2 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=0 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=10 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=20000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Format profile                           : Dolby Digital
Mode extension                           : CM (complete main)
Format settings, Endianness              : Big
Codec ID                                 : ac-3
Duration                                 : 1h 46mn
Bit rate mode                            : Constant
Bit rate                                 : 160 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Bit depth                                : 16 bits
Compression mode                         : Lossy
Stream size                              : 122 MiB (8%)
Title                                    : Stereo / Stereo
Language                                 : English
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16

Menu
ID                                       : 3
Codec ID                                 : text
Duration                                 : 1h 46mn
Language                                 : English
Encoded date                             : UTC 2036-02-06 06:28:16
Tagged date                              : UTC 2036-02-06 06:28:16
00:00:00.000                             : Chapter 1
00:06:51.953                             : Chapter 2
00:14:34.624                             : Chapter 3
00:24:26.548                             : Chapter 4
00:30:06.263                             : Chapter 5
00:35:44.100                             : Chapter 6
00:43:31.484                             : Chapter 7
00:46:55.438                             : Chapter 8
00:53:12.648                             : Chapter 9
01:02:37.629                             : Chapter 10
01:10:30.726                             : Chapter 11
01:14:03.731                             : Chapter 12
01:17:48.914                             : Chapter 13
01:23:06.231                             : Chapter 14
01:25:28.415                             : Chapter 15
01:31:56.344                             : Chapter 16
Bit rate mode                            : VBR
<<

duketg

Serviio newbie

Posts: 3

Joined: Sat Sep 19, 2015 2:47 am

Post Sat Sep 19, 2015 3:13 am

Re: no audio with aac using chaneru or RMP

Crap, sorry for the double post. It appears I need more practice working my internet machine.
<<

atc98092

User avatar

DLNA master

Posts: 5445

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Sun Sep 20, 2015 12:10 am

Re: no audio with aac using chaneru or RMP

This should be all that's necessary. However, the Roku profile has a similar line so you should be good. Are you using either the Chaneru or Roku profile, or the default profile? If default, change it to Roku. Roku does not advertise itself accurately, so Serviio cannot assign the correct profile without help.

  Code:
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="320">
            <Matches container="mp4" aCodec="aac"/> 
</Video>
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: AMD Ryzen 5 5600GT, 32 gig ram, Windows 11 Pro, 22 TB hard drive space | Test server: Intel i5-6400, 16 gig ram, Windows 10 Pro

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 45 guests

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