andyblac644 69 Posted April 11, 2018 Share Posted April 11, 2018 (edited) I see that the AppleTV 4K has a Dolby Digital Plus decoder but it can't atm can't output as bitstream, it has to output as PCM when using the Auto setting, but when Surround setting is use it should output as Dolby Digital 5.1. now here is the question why is Emby server transcoding to AC3 when the AppleTV 4K could do this on the fly, I know the AppleTV 4K can do this for AAC 5.1, if I play a media with a AAC 5.1 Emby client direct plays and my Surround Bar see it as bitstream DD5.1, so as the AppleTV has a DDP decoder and a DD encoder why is emby doing a transcode and not the leave it to AppleTV 4K and allow emby to Direct Play the file. Archive.zip Edited April 11, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 11, 2018 Share Posted April 11, 2018 We probably just haven't taken that into account as a new capability. Are you already running the beta of the app? Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 We probably just haven't taken that into account as a new capability. Are you already running the beta of the app? yes Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 11, 2018 Share Posted April 11, 2018 Restart the app and see if it behaves differently. Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 Restart the app and see if it behaves differently. I'll be right back. Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 (edited) Restart the app and see if it behaves differently. @@ebr yup, working thanks any chance of a DDP logo in the episode details screen ? Edited April 11, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 (edited) @@ebr hmmmm it lies. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (eac3 (native) -> ac3 (native)) ffmpeg-remux-defd86de-a8f1-4522-a771-bb3a81effe14.txt Edited April 11, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 11, 2018 Share Posted April 11, 2018 I can't access your attachment above... Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 I can't access your attachment above... @@ebr this one ok ? ffmpeg-remux-defd86de-a8f1-4522-a771-bb3a81effe14.txt Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 11, 2018 Share Posted April 11, 2018 That's an mkv. It will always need to be remuxed. I only modified the profile for true direct playing (mp4). Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 (edited) That's an mkv. It will always need to be remuxed. I only modified the profile for true direct playing (mp4). @@ebr remuxed yes, but audio should be direct streamed, not transcoded. EAC3 -> AC3, just like video is h264 is not transcoded but direct streamed. ie the audio track should be -copy not like it is see below. Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (eac3 (native) -> ac3 (native)) Edited April 11, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 11, 2018 Author Share Posted April 11, 2018 if I manually remux to M4V then it does indeed DirectStream Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 13, 2018 Author Share Posted April 13, 2018 (edited) @@ebr @@corey is this something you can fix ? Edited April 13, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
corey 312 Posted April 13, 2018 Share Posted April 13, 2018 I defer to @@ebr on this one. He knows much more about this stuff than I do Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 13, 2018 Share Posted April 13, 2018 @@ebr @@corey is this something you can fix ? Have you tried it again? Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 13, 2018 Author Share Posted April 13, 2018 (edited) Have you tried it again? since when ? #11 Edited April 13, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 13, 2018 Share Posted April 13, 2018 Since yesterday morning - but you would have had to force restart the app. Can you please try that? Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 13, 2018 Author Share Posted April 13, 2018 (edited) Since yesterday morning - but you would have had to force restart the app. Can you please try that? yes, just same thing it still transcoding for an MKV. Edited April 13, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 13, 2018 Share Posted April 13, 2018 Can I please see the ffmpeg log from that? Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 13, 2018 Author Share Posted April 13, 2018 (edited) Can I please see the ffmpeg log from that? sure /bin/ffmpeg -noaccurate_seek -f matroska,webm -i file:"/video2/TVShows/Blacklist, The/Season 05/The Blacklist - S05E16 - The Capricorn Killer - WEBDL-1080p - h264 EAC3 5.1.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 ac3 -ac 6 -ab 384000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 6 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 0 -segment_list "/config/transcoding-temp/eb9b25c3bdda5c6a760ebbb91215a349.m3u8" -y "/config/transcoding-temp/eb9b25c3bdda5c6a760ebbb91215a349%d.ts" Stream mapping: Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (eac3 (native) -> ac3 (native)) ffmpeg-remux-49e78317-4312-4319-811c-17b9d891d468.txt Edited April 13, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 13, 2018 Share Posted April 13, 2018 Okay, the reason is because of the higher bitrate for DD+. While the device may be able to handle it in the proper container (mp4) the method we use to deliver the content when transcoding is limited to 384kb/s on the audio bitrate. We put this limit in specifically because of problems discovered (and published specs) with Apple. We can try some things in beta to see if maybe those restrictions can be relaxed in some circumstances. Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 14, 2018 Author Share Posted April 14, 2018 thx, or maybe a user setting to override "Allow higher bitrate audio (this can cause some compatibility issues)" Link to comment Share on other sites More sharing options...
ebr 14344 Posted April 14, 2018 Share Posted April 14, 2018 Please try it with the latest beta server. Link to comment Share on other sites More sharing options...
andyblac644 69 Posted April 14, 2018 Author Share Posted April 14, 2018 (edited) Please try it with the latest beta server. sorry, but just the sane with Version 3.3.1.17 beta http://192.168.2.1:8096/emby/videos/fafc9e685e1d7e2d7b5247ac0f21d68b/hls1/main/72.ts?DeviceId=CA339CCC-A59D-4855-94CB-6FE73DE97BE6&MediaSourceId=fafc9e685e1d7e2d7b5247ac0f21d68b&VideoCodec=h264&AudioCodec=ac3,aac,mp3&AudioStreamIndex=1&VideoBitrate=139872000&AudioBitrate=128000&MaxWidth=3840&PlaySessionId=402c1b0d2e314cddbe6aa319071e23d8&api_key=57c32daf44384780b4225ac3490bbb3c&EnableSubtitlesInManifest=true&RequireAvc=false&Tag=5c502369281dcb26c90e89581ad3fb1c&SegmentContainer=ts&BreakOnNonKeyFrames=True&h264-profile=high,main,baseline,constrainedbaseline&h264-deinterlace=true&h264-level=42&audiochannels=6&TranscodeReasons=ContainerNotSupported,VideoCodecNotSupported,AudioCodecNotSupported /bin/ffmpeg -ss 00:07:12.000 -noaccurate_seek -f matroska,webm -i file:"/video2/TVShows/Grey's Anatomy/Season 14/Grey's Anatomy - S14E19 - Beautiful Dreamer - WEBDL-1080p - h264 EAC3 5.1.mkv" -threads 0 -map 0:0 -map 0:1 -map -0:s -codec:v:0 copy -bsf:v h264_mp4toannexb -copyts -vsync -1 -codec:a:0 ac3 -ac 6 -ab 128000 -f segment -max_delay 5000000 -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 -start_at_zero -segment_time 6 -segment_time_delta -432 -individual_header_trailer 0 -break_non_keyframes 1 -segment_format mpegts -segment_list_type m3u8 -segment_start_number 72 -segment_list "/config/transcoding-temp/2aab17488ec7119f3ac5ec2a309151cb.m3u8" -y "/config/transcoding-temp/2aab17488ec7119f3ac5ec2a309151cb%d.ts" ffmpeg-remux-d3b756dd-aac7-4461-a24d-3598bdc7e7a4.txt Edited April 14, 2018 by andyblac644 Link to comment Share on other sites More sharing options...
Luke 34673 Posted April 14, 2018 Share Posted April 14, 2018 Please try the next beta, thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now