Jump to content

Emby server on imac streaming to Chromecast 2.0 : no sound with mkv AC3

Raph Gill

Recommended Posts

Raph Gill

Hi guys,


I am new to this community and plan to by a lifetime subscription since the UI is much better than plex and the server is more responsive.

However I encounter the same problem I have on Plex :


I use a imac running on high sierra to stream my movies to Chromecast 2.0. But... I have no sound with mkv AC3, ie 90% of my files... I can only get a continuons awful spitting noise. How can I make my sound to work?


Looking forward to read from you mates! :)






Link to comment
Share on other sites

Raph Gill

Hi Luke,

Thanks for this quick answer.

Here is an example of the sound I get : click
Here is the log.

2019-03-25 16:36:49.531
Application version:,vp8&AudioCodec=ac3,aac,mp3,opus,flac,vorbis&VideoBitrate=30000000&AudioBitrate=320000&StartTimeTicks=32752594330&PlaySessionId=a4b60779820649bf9162d2dfcc3282f7&api_key=cf9b28b8e2f7403aa89771440dc4392a&AudioStreamIndex=1&SubtitleMethod=Encode&TranscodingMaxAudioChannels=6&CopyTimestamps=true&h264-profile=high,main,baseline,constrainedbaseline&h264-level=42&aac-audiochannels=2&TranscodeReasons=AudioChannelsNotSupported

{"Protocol":"File","Id":"5457970a02dceb737ef8706338a36e88","Path":"/Volumes/DISQUE2T/Videos/Movies/HD/Allegiant.2016.mkv","Type":"Default","Container":"mkv","Size":2358077793,"Name":"Allegiant.2016","IsRemote":false,"RunTimeTicks":72332263424,"ReadAtNativeFramerate":false,"DiscardCorruptPts":false,"FillWallClockDts":false,"IgnoreDts":false,"IgnoreIndex":false,"SupportsTranscoding":true,"SupportsDirectStream":true,"SupportsDirectPlay":true,"IsInfiniteStream":false,"RequiresOpening":false,"RequiresClosing":false,"RequiresLooping":false,"SupportsProbing":true,"MediaStreams":[{"Codec":"h264","TimeBase":"1/1000","CodecTimeBase":"1001/48000","VideoRange":"SDR","DisplayTitle":"1080p H264","NalLengthSize":"4","IsInterlaced":false,"IsAVC":true,"BitRate":2608051,"BitDepth":8,"RefFrames":1,"IsDefault":true,"IsForced":false,"Height":800,"Width":1920,"AverageFrameRate":23.9760246,"RealFrameRate":23.9760246,"Profile":"High","Type":"Video","AspectRatio":"2.40:1","Index":0,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"PixelFormat":"yuv420p","Level":40,"IsAnamorphic":false},{"Codec":"aac","Language":"eng","TimeBase":"1/1000","CodecTimeBase":"1/48000","DisplayTitle":"Eng AAC 5.1 Default","IsInterlaced":false,"ChannelLayout":"5.1","BitRate":320000,"Channels":6,"SampleRate":48000,"IsDefault":true,"IsForced":false,"Profile":"HE-AAC","Type":"Audio","Index":1,"IsExternal":false,"IsTextSubtitleStream":false,"SupportsExternalStream":false,"Level":0},{"Codec":"srt","DisplayTitle":"Und","IsInterlaced":false,"IsDefault":false,"IsForced":false,"Type":"Subtitle","Index":2,"IsExternal":true,"IsTextSubtitleStream":true,"SupportsExternalStream":true,"Path":"/Volumes/DISQUE2T/Videos/Movies/HD/Allegiant.2016.srt"}],"Formats":[],"Bitrate":2608051,"RequiredHttpHeaders":{}}

User policy for imac: EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True

/private/var/folders/mb/v_b424xx7292xyhfqccsl9300000gn/T/AppTranslocation/0051726D-E168-425D-9A99-135B277C4F6B/d/EmbyServer.app/Contents/MacOS/ffmpeg -ss 00:54:35.259 -f matroska -i file:"/Volumes/DISQUE2T/Videos/Movies/HD/Allegiant.2016.mkv" -map 0:0 -map 0:1 -map -0:s -c:v:0 copy -copyts -avoid_negative_ts disabled -start_at_zero -vsync -1 -map_metadata -1 -map_chapters -1 -threads 0 -codec:a:0 ac3 -metadata:s:a:0 language=eng -disposition:a:0 default -ac:a:0 6 -ab:a:0 320000 -ar:a:0 48000 -y "/Users/imac/.config/emby-server/transcoding-temp/9d22871b5fb4c07f0b2875c58c88f197.mkv"

ffmpeg version 4.0.2-emby_2018_10_29 Copyright © 2000-2018 the FFmpeg developers
built with Apple LLVM version 10.0.0 (clang-1000.11.45.2)
configuration: --enable-static --disable-shared --disable-doc --disable-ffplay --enable-gmp --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-fontconfig --enable-gnutls --enable-libass --enable-libbluray --enable-libfreetype --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libwavpack --enable-libwebp --enable-libxml2 --enable-libzimg --enable-libshine --enable-gpl --enable-avisynth --enable-libxvid --enable-libaom --enable-version3 --enable-libzvbi
libavutil 56. 14.100 / 56. 14.100
libavcodec 58. 18.100 / 58. 18.100
libavformat 58. 12.100 / 58. 12.100
libavdevice 58. 3.100 / 58. 3.100
libavfilter 7. 16.100 / 7. 16.100
libswscale 5. 1.100 / 5. 1.100
libswresample 3. 1.100 / 3. 1.100
libpostproc 55. 1.100 / 55. 1.100
Input #0, matroska,webm, from 'file:/Volumes/DISQUE2T/Videos/Movies/HD/Allegiant.2016.mkv':
encoder : libebml v1.3.1 + libmatroska v1.4.2
creation_time : 2016-06-30T00:17:25.000000Z
Duration: 02:00:33.23, start: 0.000000, bitrate: 2608 kb/s
Stream #0:0: Video: h264 (High), yuv420p(progressive), 1920x800 [sAR 1:1 DAR 12:5], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
BPS : 2418154
BPS-eng : 2418154
DURATION : 02:00:33.226000000
DURATION-eng : 02:00:33.226000000
NUMBER_OF_FRAMES-eng: 173424
NUMBER_OF_BYTES : 2186381981
NUMBER_OF_BYTES-eng: 2186381981
_STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
_STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
_STATISTICS_WRITING_DATE_UTC: 2016-06-30 00:17:25
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-30 00:17:25
Stream #0:1(eng): Audio: aac (HE-AAC), 48000 Hz, 5.1, fltp (default)
BPS : 188030
BPS-eng : 188030
DURATION : 02:00:33.195000000
DURATION-eng : 02:00:33.195000000
NUMBER_OF_FRAMES-eng: 169528
NUMBER_OF_BYTES : 170007443
NUMBER_OF_BYTES-eng: 170007443
_STATISTICS_WRITING_APP: mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
_STATISTICS_WRITING_APP-eng: mkvmerge v7.8.0 ('River Man') 32bit built on Mar 27 2015 16:18:02
_STATISTICS_WRITING_DATE_UTC: 2016-06-30 00:17:25
_STATISTICS_WRITING_DATE_UTC-eng: 2016-06-30 00:17:25
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (native) -> ac3 (native))
Press [q] to stop, [?] for help
Output #0, matroska, to '/Users/imac/.config/emby-server/transcoding-temp/9d22871b5fb4c07f0b2875c58c88f197.mkv':
encoder : Lavf58.12.100
Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x800 [sAR 1:1 DAR 12:5], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn, 1k tbc (default)
Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, 5.1, fltp, 320 kb/s (default)
encoder : Lavc58.18.100 ac3
frame= 626 fps=0.0 q=-1.0 size= 11816kB time=00:54:59.12 bitrate= 29.3kbits/s speed=6.59e+03x
frame= 1326 fps=1325 q=-1.0 size= 23443kB time=00:55:28.43 bitrate= 57.7kbits/s speed=3.33e+03x
frame= 2002 fps=1333 q=-1.0 size= 35052kB time=00:55:56.34 bitrate= 85.6kbits/s speed=2.24e+03x
frame= 2713 fps=1355 q=-1.0 size= 45184kB time=00:56:26.19 bitrate= 109.3kbits/s speed=1.69e+03x
frame= 3479 fps=1390 q=-1.0 size= 52932kB time=00:56:58.03 bitrate= 126.9kbits/s speed=1.37e+03x
frame= 4249 fps=1415 q=-1.0 size= 60015kB time=00:57:30.00 bitrate= 142.5kbits/s speed=1.15e+03x
frame= 4993 fps=1425 q=-1.0 size= 66923kB time=00:58:01.23 bitrate= 157.5kbits/s speed= 994x
frame= 5726 fps=1430 q=-1.0 size= 74758kB time=00:58:31.82 bitrate= 174.4kbits/s speed= 877x
frame= 6485 fps=1440 q=-1.0 size= 80022kB time=00:59:03.57 bitrate= 185.0kbits/s speed= 787x
frame= 7047 fps=1408 q=-1.0 size= 96308kB time=00:59:26.90 bitrate= 221.2kbits/s speed= 713x
frame= 7782 fps=1414 q=-1.0 size= 104842kB time=00:59:57.46 bitrate= 238.7kbits/s speed= 653x
frame= 8347 fps=1390 q=-1.0 size= 121395kB time=01:00:21.04 bitrate= 274.6kbits/s speed= 603x
frame= 8983 fps=1381 q=-1.0 size= 133225kB time=01:00:47.76 bitrate= 299.2kbits/s speed= 561x
frame= 9614 fps=1372 q=-1.0 size= 147983kB time=01:01:13.81 bitrate= 330.0kbits/s speed= 524x
frame=10233 fps=1363 q=-1.0 size= 162706kB time=01:01:39.86 bitrate= 360.3kbits/s speed= 493x
frame=10882 fps=1359 q=-1.0 size= 177876kB time=01:02:06.93 bitrate= 391.0kbits/s speed= 465x
frame=11477 fps=1349 q=-1.0 size= 195063kB time=01:02:31.70 bitrate= 425.9kbits/s speed= 441x
frame=12178 fps=1352 q=-1.0 size= 205048kB time=01:03:01.01 bitrate= 444.3kbits/s speed= 420x
frame=12890 fps=1356 q=-1.0 size= 212563kB time=01:03:30.61 bitrate= 457.0kbits/s speed= 401x
frame=13467 fps=1346 q=-1.0 size= 227955kB time=01:03:54.64 bitrate= 487.0kbits/s speed= 383x
frame=13518 fps=1276 q=-1.0 size= 229280kB time=01:03:56.63 bitrate= 489.6kbits/s speed= 362x
frame=14249 fps=1284 q=-1.0 size= 237367kB time=01:04:27.41 bitrate= 502.8kbits/s speed= 349x
frame=14940 fps=1289 q=-1.0 size= 249018kB time=01:04:56.11 bitrate= 523.6kbits/s speed= 336x
frame=15677 fps=1296 q=-1.0 size= 257858kB time=01:05:26.99 bitrate= 537.9kbits/s speed= 325x
frame=15872 fps=1255 q=-1.0 size= 260022kB time=01:05:34.80 bitrate= 541.3kbits/s speed= 311x
frame=16501 fps=1255 q=-1.0 size= 273510kB time=01:06:01.39 bitrate= 565.6kbits/s speed= 301x
frame=17213 fps=1261 q=-1.0 size= 283174kB time=01:06:30.99 bitrate= 581.2kbits/s speed= 292x
frame=17659 fps=1248 q=-1.0 size= 302057kB time=01:06:49.52 bitrate= 617.1kbits/s speed= 283x
frame=18357 fps=1253 q=-1.0 size= 313518kB time=01:07:18.67 bitrate= 635.9kbits/s speed= 276x
frame=19078 fps=1259 q=-1.0 size= 323031kB time=01:07:48.75 bitrate= 650.4kbits/s speed= 269x
frame=19829 fps=1267 q=-1.0 size= 330764kB time=01:08:20.14 bitrate= 660.9kbits/s speed= 262x
frame=20591 fps=1275 q=-1.0 size= 337684kB time=01:08:51.86 bitrate= 669.5kbits/s speed= 256x
frame=21366 fps=1283 q=-1.0 size= 343908kB time=01:09:24.02 bitrate= 676.6kbits/s speed= 250x
frame=22127 fps=1290 q=-1.0 size= 351227kB time=01:09:55.92 bitrate= 685.7kbits/s speed= 245x
frame=22852 fps=1295 q=-1.0 size= 360784kB time=01:10:26.10 bitrate= 699.4kbits/s speed= 239x
frame=23591 fps=1300 q=-1.0 size= 370071kB time=01:10:57.04 bitrate= 712.1kbits/s speed= 235x
frame=24349 fps=1305 q=-1.0 size= 378322kB time=01:11:28.56 bitrate= 722.7kbits/s speed= 230x
frame=25111 fps=1311 q=-1.0 size= 384670kB time=01:12:00.40 bitrate= 729.4kbits/s speed= 226x
frame=25788 fps=1312 q=-1.0 size= 398127kB time=01:12:28.56 bitrate= 750.0kbits/s speed= 221x
frame=26433 fps=1312 q=-1.0 size= 412785kB time=01:12:55.60 bitrate= 772.8kbits/s speed= 217x
frame=27117 fps=1313 q=-1.0 size= 424183kB time=01:13:23.92 bitrate= 789.0kbits/s speed= 213x
frame=27796 fps=1314 q=-1.0 size= 436541kB time=01:13:52.21 bitrate= 806.9kbits/s speed= 210x
frame=28515 fps=1317 q=-1.0 size= 443061kB time=01:14:22.26 bitrate= 813.4kbits/s speed= 206x
frame=29254 fps=1320 q=-1.0 size= 447796kB time=01:14:53.23 bitrate= 816.4kbits/s speed= 203x
frame=29960 fps=1322 q=-1.0 size= 452541kB time=01:15:22.67 bitrate= 819.7kbits/s speed= 200x
frame=30710 fps=1326 q=-1.0 size= 459466kB time=01:15:54.00 bitrate= 826.5kbits/s speed= 197x
frame=31477 fps=1331 q=-1.0 size= 466464kB time=01:16:26.00 bitrate= 833.2kbits/s speed= 194x
frame=32161 fps=1331 q=-1.0 size= 477850kB time=01:16:54.19 bitrate= 848.4kbits/s speed= 191x
frame=32856 fps=1332 q=-1.0 size= 486876kB time=01:17:23.25 bitrate= 859.0kbits/s speed= 188x
frame=33543 fps=1333 q=-1.0 size= 496011kB time=01:17:52.18 bitrate= 869.7kbits/s speed= 186x
frame=34220 fps=1334 q=-1.0 size= 505178kB time=01:18:20.21 bitrate= 880.5kbits/s speed= 183x
frame=34567 fps=1321 q=-1.0 size= 509230kB time=01:18:34.70 bitrate= 884.8kbits/s speed= 180x
frame=34813 fps=1306 q=-1.0 size= 512834kB time=01:18:45.14 bitrate= 889.1kbits/s speed= 177x
frame=35299 fps=1300 q=-1.0 size= 517006kB time=01:19:05.26 bitrate= 892.5kbits/s speed= 175x
frame=35944 fps=1298 q=-1.0 size= 528570kB time=01:19:32.14 bitrate= 907.4kbits/s speed= 172x
frame=36658 fps=1301 q=-1.0 size= 537413kB time=01:20:01.81 bitrate= 916.8kbits/s speed= 170x
frame=37463 fps=1306 q=-1.0 size= 543067kB time=01:20:35.50 bitrate= 920.0kbits/s speed= 169x
frame=38225 fps=1310 q=-1.0 size= 549205kB time=01:21:07.41 bitrate= 924.3kbits/s speed= 167x
frame=38899 fps=1310 q=-1.0 size= 562266kB time=01:21:35.41 bitrate= 940.9kbits/s speed= 165x
frame=39556 fps=1310 q=-1.0 size= 575899kB time=01:22:02.64 bitrate= 958.4kbits/s speed= 163x
frame=40235 fps=1311 q=-1.0 size= 586095kB time=01:22:30.99 bitrate= 969.8kbits/s speed= 161x
frame=40986 fps=1314 q=-1.0 size= 592804kB time=01:23:02.35 bitrate= 974.7kbits/s speed= 160x
frame=41717 fps=1316 q=-1.0 size= 600299kB time=01:23:32.88 bitrate= 981.0kbits/s speed= 158x
frame=42427 fps=1318 q=-1.0 size= 609815kB time=01:24:02.48 bitrate= 990.7kbits/s speed= 157x
frame=43164 fps=1320 q=-1.0 size= 615286kB time=01:24:33.17 bitrate= 993.5kbits/s speed= 155x
frame=43770 fps=1318 q=-1.0 size= 620630kB time=01:24:58.64 bitrate= 997.2kbits/s speed= 154x
frame=44530 fps=1321 q=-1.0 size= 627791kB time=01:25:30.32 bitrate=1002.4kbits/s speed= 152x
frame=45227 fps=1322 q=-1.0 size= 639508kB time=01:25:59.44 bitrate=1015.4kbits/s speed= 151x
frame=45960 fps=1324 q=-1.0 size= 646926kB time=01:26:29.78 bitrate=1021.2kbits/s speed= 150x
frame=46700 fps=1327 q=-1.0 size= 656248kB time=01:27:00.82 bitrate=1029.7kbits/s speed= 148x
frame=47475 fps=1330 q=-1.0 size= 662342kB time=01:27:33.17 bitrate=1032.9kbits/s speed= 147x
frame=48199 fps=1331 q=-1.0 size= 672099kB time=01:28:03.22 bitrate=1042.1kbits/s speed= 146x
frame=48902 fps=1332 q=-1.0 size= 681045kB time=01:28:32.69 bitrate=1050.1kbits/s speed= 145x
frame=49629 fps=1334 q=-1.0 size= 691848kB time=01:29:03.06 bitrate=1060.7kbits/s speed= 144x
frame=50356 fps=1336 q=-1.0 size= 700590kB time=01:29:33.33 bitrate=1068.1kbits/s speed= 143x
frame=51052 fps=1336 q=-1.0 size= 711161kB time=01:30:02.26 bitrate=1078.4kbits/s speed= 141x
frame=51675 fps=1335 q=-1.0 size= 726146kB time=01:30:28.40 bitrate=1095.8kbits/s speed= 140x
frame=52199 fps=1331 q=-1.0 size= 736761kB time=01:30:50.19 bitrate=1107.4kbits/s speed= 139x
frame=52884 fps=1332 q=-1.0 size= 748074kB time=01:31:18.67 bitrate=1118.6kbits/s speed= 138x
frame=53501 fps=1331 q=-1.0 size= 767878kB time=01:31:44.43 bitrate=1142.8kbits/s speed= 137x
frame=54183 fps=1331 q=-1.0 size= 782379kB time=01:32:12.94 bitrate=1158.4kbits/s speed= 136x
frame=54854 fps=1331 q=-1.0 size= 796842kB time=01:32:40.78 bitrate=1173.9kbits/s speed= 135x
frame=55511 fps=1331 q=-1.0 size= 812411kB time=01:33:08.37 bitrate=1190.9kbits/s speed= 134x
frame=56263 fps=1333 q=-1.0 size= 821329kB time=01:33:39.60 bitrate=1197.3kbits/s speed= 133x
frame=56963 fps=1334 q=-1.0 size= 831030kB time=01:34:08.85 bitrate=1205.2kbits/s speed= 132x
frame=57688 fps=1335 q=-1.0 size= 838931kB time=01:34:39.06 bitrate=1210.2kbits/s speed= 131x
frame=58426 fps=1337 q=-1.0 size= 846465kB time=01:35:09.78 bitrate=1214.4kbits/s speed= 131x
frame=59186 fps=1339 q=-1.0 size= 854345kB time=01:35:41.58 bitrate=1219.0kbits/s speed= 130x
frame=59907 fps=1340 q=-1.0 size= 864115kB time=01:36:11.54 bitrate=1226.5kbits/s speed= 129x
frame=60675 fps=1342 q=-1.0 size= 871662kB time=01:36:43.44 bitrate=1230.4kbits/s speed= 128x
frame=61419 fps=1344 q=-1.0 size= 878846kB time=01:37:14.64 bitrate=1233.9kbits/s speed= 128x
frame=62193 fps=1346 q=-1.0 size= 887286kB time=01:37:46.96 bitrate=1238.9kbits/s speed= 127x
frame=62922 fps=1347 q=-1.0 size= 897622kB time=01:38:17.49 bitrate=1246.9kbits/s speed= 126x
frame=63690 fps=1349 q=-1.0 size= 905498kB time=01:38:49.43 bitrate=1251.0kbits/s speed= 126x
frame=64496 fps=1352 q=-1.0 size= 911628kB time=01:39:23.02 bitrate=1252.4kbits/s speed= 125x

Link to comment
Share on other sites

What's happening is Chromecast is detecting that your equipment supports AC3, when it actually doesn't. So that's why we're outputting AC3 and then you end up with no sound.


Do you really have to use the hdmi splitter? If you can simplify your connections, I'm sure this problem will go away.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...