Jump to content

Question regarding DD 5.1 output


andyblac644
 Share

Recommended Posts

andyblac644

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.

 

5ace10aa9ba5f_ScreenShot20180411at144141

Archive.zip

Edited by andyblac644
Link to comment
Share on other sites

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

andyblac644

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

andyblac644

Restart the app and see if it behaves differently.

 

@@ebr yup, working :D thanks 

5ace1e2fe6c15_ScreenShot20180411at153850

 

any chance of a DDP logo in the episode details screen ?

Edited by andyblac644
Link to comment
Share on other sites

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

andyblac644

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 by andyblac644
Link to comment
Share on other sites

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

andyblac644

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.

 

5ad0cea9643b8_ScreenShot20180413at163633

Edited by andyblac644
Link to comment
Share on other sites

andyblac644

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 by andyblac644
Link to comment
Share on other sites

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

andyblac644

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

andyblac644

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 by andyblac644
Link to comment
Share on other sites

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
 Share

×
×
  • Create New...