E.g. for the first audio track (a:0). This example also resets the title of the audio track.
ffmpeg -i Godzilla.vs..Megalon.1973.1080p.mp4 \
-c copy \
\
-metadata:s:a:0 language=jpn \| <?php | |
| /* | |
| --------------------------------------- | |
| CSP | |
| --------------------------------------- | |
| */ | |
| $csp_nonce = base64_encode(random_bytes(20)); | |
| $csp_header = "Content-Security-Policy: default-src 'self'; script-src 'self' 'nonce-" . $csp_nonce . "';"; | |
| // set `csp-nonce` so it's accessable |