Page 1 of 1

Tag files with Dolby Digital Plus audio streams

Posted: 18 Dec 2019, 12:13
by rednoah
Check if there's any audio stream where the FormatCommercial field matches "Dolby Digital Plus", and then yield either "DD+" or null accordingly:

Format: Select all

{ audio.FormatCommercial =~ /Dolby Digital Plus/ ? /DD+/ : null }

Screenshot

Re: Tag files with Dolby Digital Plus audio streams

Posted: 18 Dec 2019, 23:17
by kim
Or you can use my format and change "EAC3" to e.g. DD+ ;)

viewtopic.php?f=5&t=5285&p=43834#p43844

btw: remember to only choice the (line) output you want

Code: Select all

	allStreams.join(' & ').space('.')
	preferredStream.space('.')
	defaultStream.space('.')
	bestBitRate.space('.')
	[bestBitRate, preferredStream].unique().join(' & ').space('.')
	[defaultStream, bestBitRate].unique().join(' & ').space('.')