All about user-defined episode / movie / file name format expressions
-
dseto
- Posts: 9
- Joined: 26 Dec 2015, 13:24
Post
by dseto »
Is there a way to detail the audio bitrate like the video bitrate.
I am looking to change the khz = "48.0 kHz" to the mbps instead , if that is possible.
code example
Code: Select all
{n} ({y}) - {vf} - {mbps} - {fps} - {hd} - {vs} - {hdr} - {bitdepth} - {aco} - {khz}
result
Code: Select all
1917 (2019) - 2160p - 90.6 Mbps - 23.976 - UHD - BluRay - HDR10+ - 10 - Dolby TrueHD with Dolby Atmos - 48.0 kHz
-
rednoah
- The Source
- Posts: 23946
- Joined: 16 Nov 2011, 08:59
- Location: Taipei
-
Contact:
Post
by rednoah »
You can access and format the Audio Stream #1 bitrate like so:
Code: Select all
{((audio[0].'BitRate' as float) / 1e6).round(1)}
or
Code: Select all
{audio[0].'BitRate/String'.slash('p')}
viewtopic.php?t=4285
EDIT:
FileBot r8434 adds
{vbr} video bitrate and
{abr} audio bitrate bindings with automatic unit scaling.
-
dseto
- Posts: 9
- Joined: 26 Dec 2015, 13:24
Post
by dseto »
Thanks so much for the fast reply, it works great!!