If it's a 7.1 THD or DTS track, you have to set the delay manually in mkvtoolnix because the EAE encoder output raw ec3 tracks. You can use mediainfo to get the delay.
If it is a 5.1 lossless audio track, the file is encoded to an mkv and the delay is preserved so I guess your input is 7.1???
If opt to encode EC3 with all the other workflows, the delay is set automatically when it mux.
I'll add the delay in the filename for 7.1 EC3 in the next version.
If it's for the LG TVs kodi, the 5.1 1536kbps tracks will not work. You can use this non-offical not released dovi script version ( a lot changed in this version though, DDP encoding is now 8-1-1):
https://drive.google.com/file/d/128gq8a ... sp=sharing
- MP4 version: External audio(ec3/ac3/aac only) or sub(srt only) with the same filename/path will now get muxed. Will use the the script language local settings.
- MP4 version: Added mp4 muxing in all the batch workflows (1-2) (2-1-5) (2-1-2) (3-1) (2-1-4)
- Added (Line 63) an option to fix appleTV bitstream framerate in all the workflows. Can also be triggered with ''FIXAPPLE'' in the input filename. (Default=NO Expect 23.976 input.)
- Added support for HDR10plus scene cut export in (2-4) (2-5). If input has DV and HDR10plus, DV is selected. HDR10plus can be forced by adding ''FORCEHDR10PLUS'' in the filename
- Added an option to enable/disable SUP to SRT ocr conversion (line 40) (default = NO) if export.subs=NO this option has no effect for the TS and MKV version. Keep in mind that auto ocr is not perfect.
- Added (line 152) an option to generate DV without the 10/100nits floor in 3-2 (madvr or hdr10plus to DV). This may cause invalid metadata in some occasion, always run the final rpu in metafier( now 2-7).
- Added an option to change DD+ 5.1 encoding bitrate and default is now 1024 because 1536 can cause issues on some players (max=1536)
- Added more languages support.
- Removed (8-5) hdr10plus injector extractor. you can inject with (1-1) and extract with (6-6)
- Merged (4-1-1) and (4-2). Simplified Mode 4. Now only have 3 options: STSL / STDL / DTDL. input can be any p7 file (mkv ts bdmv mpls etc..)
- Merged (3-2) and (3-3)
- changed the order in (8) and merged some audio workflows
- (Bugfix) MP4/MKV version: When mux_all_audio=NO and mux_all_sub=NO . The script was still muxing all the audio/subs
- (Bugfix) TS version: can now add silent core to more than one THD track, no longer just the main audio language.