Page 1 of 1

MP4 with 6-channel AAC can only play with remux on PS3

Posted: Fri Jan 03, 2014 5:57 am
by Cabal
Background: I was playing around with Handbrake's various audio and container formats using the channel test videos for Dolby Digital Plus (http://www.dolby.com/us/en/consumer/tec ... nload.html).

With only the tsMuxer engine enabled, I discovered that a file with 6-channel AAC that play natively on PS3 - either as local media or a dumb DLNA server without transcoding/remuxing - will only offer the tsMuxer option on UMS 3.3.0, no "No encode" option. Test files are here:

https://dl.dropboxusercontent.com/u/318 ... 1_test.zip

The AAC file plays as expected with either remuxing or native, whereas AAC-5.1 offers no native play option, even though it's supported on the PS3.

Thanks.

Re: MP4 with 6-channel AAC can only play with remux on PS3

Posted: Sat Jan 04, 2014 3:14 am
by ExSport

Code: Select all

Delete "n:2" part in PS3.conf file in RENDERERS folder. Restart UMS
https://github.com/UniversalMediaServer ... .conf#L536

SubJunk removed direct AAC support for more than 2 channels for PS3 due some problems?

Re: MP4 with 6-channel AAC can only play with remux on PS3

Posted: Sun Jan 05, 2014 12:29 pm
by Cabal
Oh, weird. I hadn't run into any issues on my dumb DLNA server (TVersity on a ZyXEL NSA320).

At least it's intentional, good to know.

Re: MP4 with 6-channel AAC can only play with remux on PS3

Posted: Tue Jan 07, 2014 12:39 am
by ExSport
Did it work for you? If yes, you can post mediainfo for the working file with AAC-6 channels so it can be tuned for PS3.
What I remember SubJunk found some AAC 6 channels sample which didn't worked so better to support all files with transcoding instead of playing 50% natively and the rest will be totally unplayable.
Maybe some AAC coding (LC/HC/...) is the culprit why some 6channels works and some not...

Re: MP4 with 6-channel AAC can only play with remux on PS3

Posted: Tue Jan 07, 2014 3:26 am
by Cabal
I haven't had a chance to test again, I'll do some more thorough testing with various types of AAC and report my findings.

Re: MP4 with 6-channel AAC can only play with remux on PS3

Posted: Tue Jan 07, 2014 6:20 am
by Cabal
ExSport wrote:Did it work for you? If yes, you can post mediainfo for the working file with AAC-6 channels so it can be tuned for PS3.
What I remember SubJunk found some AAC 6 channels sample which didn't worked so better to support all files with transcoding instead of playing 50% natively and the rest will be totally unplayable.
Maybe some AAC coding (LC/HC/...) is the culprit why some 6channels works and some not...
Summary:

I made the edit and tested with two 6-channel AAC files (one CoreAudio, one FAAC), and one 6-channel HE-AAC. It looks like Handbrake does LC by default.

The first two worked without issue playing natively. Even with the edit, the HE-AAC file wouldn't play natively, I had to edit further on that line and do "a:aac|aac-he".

With that change, it attemped to play the HE-AAC file, but it failed (rapid video, no audio). I don't have many other test files, but it seems like 6-channel AAC (excluding the already-excluded HE-AAC) works fine.

Details:

Files: https://dl.dropboxusercontent.com/u/318 ... _test2.zip

Mediainfo:

6-channel AAC, CoreAudio, works fine natively

Code: Select all

General
Complete name                            : /tmp/01-aac51_coreaudio-cfr.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 9.54 MiB
Duration                                 : 1mn 21s
Overall bit rate mode                    : Variable
Overall bit rate                         : 977 Kbps
Encoded date                             : UTC 2014-01-06 17:36:17
Tagged date                              : UTC 2014-01-06 17:36:42
Writing application                      : HandBrake 0.9.9 2013051800

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 621 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 6.04 MiB (63%)
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / 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=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-01-06 17:36:17
Tagged date                              : UTC 2014-01-06 17:36:42
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                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 353 Kbps
Maximum bit rate                         : 576 Kbps
Channel count                            : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : 67ms
Stream size                              : 3.44 MiB (36%)
Encoded date                             : UTC 2014-01-06 17:36:17
Tagged date                              : UTC 2014-01-06 17:36:42
6-channel AAC, FAAC, works fine natively

Code: Select all

General
Complete name                            : /tmp/02-aac51_faac-cfr.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 8.53 MiB
Duration                                 : 1mn 21s
Overall bit rate mode                    : Variable
Overall bit rate                         : 873 Kbps
Encoded date                             : UTC 2014-01-06 17:38:58
Tagged date                              : UTC 2014-01-06 17:39:23
Writing application                      : HandBrake 0.9.9 2013051800

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 621 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 6.04 MiB (71%)
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / 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=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-01-06 17:38:58
Tagged date                              : UTC 2014-01-06 17:39:23
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                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 249 Kbps
Maximum bit rate                         : 717 Kbps
Channel count                            : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : 67ms
Stream size                              : 2.43 MiB (29%)
Encoded date                             : UTC 2014-01-06 17:38:58
Tagged date                              : UTC 2014-01-06 17:39:23
6-channel HE-AAC, CoreAudio, fails to play natively with 2nd edit, transcodes correctly

Code: Select all

General
Complete name                            : /tmp/03-heaac51_coreaudio-cfr.mp4
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 7.62 MiB
Duration                                 : 1mn 21s
Overall bit rate mode                    : Variable
Overall bit rate                         : 780 Kbps
Encoded date                             : UTC 2014-01-06 17:37:18
Tagged date                              : UTC 2014-01-06 17:37:43
Writing application                      : HandBrake 0.9.9 2013051800

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 621 Kbps
Width                                    : 1 280 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.022
Stream size                              : 6.04 MiB (79%)
Writing library                          : x264 core 130 r2273 b3065e6
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / lookahead_threads=2 / 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=2 / keyint=300 / keyint_min=30 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=62500 / vbv_bufsize=78125 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2014-01-06 17:37:18
Tagged date                              : UTC 2014-01-06 17:37:43
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : HE-AAC / LC
Codec ID                                 : 40
Duration                                 : 1mn 21s
Bit rate mode                            : Variable
Bit rate                                 : 157 Kbps
Maximum bit rate                         : 287 Kbps
Channel count                            : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz / 24.0 KHz
Compression mode                         : Lossy
Delay relative to video                  : 67ms
Stream size                              : 1.53 MiB (20%)
Encoded date                             : UTC 2014-01-06 17:37:18
Tagged date                              : UTC 2014-01-06 17:37:42