Problem playing AAC on old yamaha Amp
Hi All
After much trial and error , and reading other forums, my Yamaha Amp cant handle AVC/AAC in an MP4. It only plays it as two channel stereo. Sounds fine and with the inbuilt effects I get a quite reasonable fake 5.1
Doesn't matter if the mp4 is on a USB or DLNA.
The DLNA player is a Samsung BD 5300 and i'm useing the Samsung C/D player profile. The info from the player correctly determins that the Audio is 5.1 AAC so Serviio is working fine. All other files are fine and no other formats have any problems .....works great.
Since this will be a permanent solution I thought about modifying the MP4 section to transcode all *.MP4 from AAC 5.1 to AC3 5.1 in the profile. As per.
<Matches container="mp4" aCodec="ac3" />
And force it to transcode. Good news is that the receiver now sees 5 channels but ...... It sounds like they are playing in a trash can. Truely awfull. It's tinny and all distorted. I tried useing the latest FFMPEG build to convet it manually "-vcodec copy -acodec ac3 etc" and is exactly the same sounds awful.
Again doesn't matter if the mp4 is on a USB or DLNA.
I used Handbrake to convert the files to MKV and the force ac3 passthrough and that works really well.
Since I dont plan on changing the Amp any time soon , do I have to transcode all the MP4's using handbrake of can this be accomodated inthe profile.
Video fileinfo.
General
Complete name : C:\Users\Public\Videos\Drama Films\Cowboys\Cowboys.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.19 GiB
Duration : 2h 15mn
Overall bit rate mode : Variable
Overall bit rate : 2 315 Kbps
Encoded date : UTC 2011-11-21 16:25:55
Tagged date : UTC 2011-11-21 16:25:55
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 15mn
Bit rate : 1 992 Kbps
Maximum bit rate : 17.9 Mbps
Width : 1 280 pixels
Height : 528 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.123
Stream size : 1.88 GiB (86%)
Writing library : x264 core 119 r2106 07efeb4
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1992 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-11-21 16:25:55
Tagged date : UTC 2011-11-21 16:28:14
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 15mn
Bit rate mode : Variable
Bit rate : 320 Kbps
Maximum bit rate : 338 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 : 309 MiB (14%)
Language : English
Encoded date : UTC 2011-11-21 16:27:39
Tagged date : UTC 2011-11-21 16:28:14
----------------------------------------------
ffmpeg.exe -i "C:\Users\Public\Videos\Drama Films\Cowboys\Cowboys.mp4"
ffmpeg version N-35057-g2c44aed, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 21 2011 02:41:21 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 26. 0 / 51. 26. 0
libavcodec 53. 36. 0 / 53. 36. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 49. 0 / 2. 49. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Public\Videos\Drama Films\Cowb
oys\Cowboys.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2011-11-21 16:25:55
Duration: 02:15:13.47, start: 0.000000, bitrate: 2314 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x528,
1990 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
Metadata:
creation_time : 2011-11-21 16:25:55
handler_name :
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 319 kb/s
Metadata:
creation_time : 2011-11-21 16:27:39
handler_name : GPAC ISO Audio Handler
At least one output file must be specified
After much trial and error , and reading other forums, my Yamaha Amp cant handle AVC/AAC in an MP4. It only plays it as two channel stereo. Sounds fine and with the inbuilt effects I get a quite reasonable fake 5.1
Doesn't matter if the mp4 is on a USB or DLNA.
The DLNA player is a Samsung BD 5300 and i'm useing the Samsung C/D player profile. The info from the player correctly determins that the Audio is 5.1 AAC so Serviio is working fine. All other files are fine and no other formats have any problems .....works great.
Since this will be a permanent solution I thought about modifying the MP4 section to transcode all *.MP4 from AAC 5.1 to AC3 5.1 in the profile. As per.
<Matches container="mp4" aCodec="ac3" />
And force it to transcode. Good news is that the receiver now sees 5 channels but ...... It sounds like they are playing in a trash can. Truely awfull. It's tinny and all distorted. I tried useing the latest FFMPEG build to convet it manually "-vcodec copy -acodec ac3 etc" and is exactly the same sounds awful.
Again doesn't matter if the mp4 is on a USB or DLNA.
I used Handbrake to convert the files to MKV and the force ac3 passthrough and that works really well.
Since I dont plan on changing the Amp any time soon , do I have to transcode all the MP4's using handbrake of can this be accomodated inthe profile.
Video fileinfo.
General
Complete name : C:\Users\Public\Videos\Drama Films\Cowboys\Cowboys.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom
File size : 2.19 GiB
Duration : 2h 15mn
Overall bit rate mode : Variable
Overall bit rate : 2 315 Kbps
Encoded date : UTC 2011-11-21 16:25:55
Tagged date : UTC 2011-11-21 16:25:55
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L4.1
Format settings, CABAC : Yes
Format settings, ReFrames : 4 frames
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 2h 15mn
Bit rate : 1 992 Kbps
Maximum bit rate : 17.9 Mbps
Width : 1 280 pixels
Height : 528 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.123
Stream size : 1.88 GiB (86%)
Writing library : x264 core 119 r2106 07efeb4
Encoding settings : cabac=1 / ref=4 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1992 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=50000 / vbv_bufsize=50000 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00
Encoded date : UTC 2011-11-21 16:25:55
Tagged date : UTC 2011-11-21 16:28:14
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 2h 15mn
Bit rate mode : Variable
Bit rate : 320 Kbps
Maximum bit rate : 338 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 : 309 MiB (14%)
Language : English
Encoded date : UTC 2011-11-21 16:27:39
Tagged date : UTC 2011-11-21 16:28:14
----------------------------------------------
ffmpeg.exe -i "C:\Users\Public\Videos\Drama Films\Cowboys\Cowboys.mp4"
ffmpeg version N-35057-g2c44aed, Copyright (c) 2000-2011 the FFmpeg developers
built on Nov 21 2011 02:41:21 with gcc 4.6.2
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
-enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
libxvid --enable-zlib
libavutil 51. 26. 0 / 51. 26. 0
libavcodec 53. 36. 0 / 53. 36. 0
libavformat 53. 21. 0 / 53. 21. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 49. 0 / 2. 49. 0
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'C:\Users\Public\Videos\Drama Films\Cowb
oys\Cowboys.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2011-11-21 16:25:55
Duration: 02:15:13.47, start: 0.000000, bitrate: 2314 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x528,
1990 kb/s, 23.98 fps, 23.98 tbr, 96k tbn, 47.95 tbc
Metadata:
creation_time : 2011-11-21 16:25:55
handler_name :
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, 5.1, s16, 319 kb/s
Metadata:
creation_time : 2011-11-21 16:27:39
handler_name : GPAC ISO Audio Handler
At least one output file must be specified