Configure video metadata using JSON
masterYou can specify video metadata (title, description, tags, etc.) using the -metaJSON flag. Values provided in the JSON file take precedence over command-line flags.
Key Details:
- All fields are optional.
- Use
\nin the description for newlines. - Time formats:
yyyy-mm-dd(UTC) oryyyy-mm-ddThh:mm:ss+zz:zz. - If a URL is provided as a filename, data is streamed through localhost (downloaded from remote, then uploaded to YouTube).
{
"title": "my test title",
"description": "my test description",
"tags": [
"test tag1",
"test tag2"
],
"privacyStatus": "private",
"madeForKids": false,
"embeddable": true,
"license": "creativeCommon",
"publicStatsViewable": true,
"publishAt": "2017-06-01T12:05:00+02:00",
"categoryId": "10",
"recordingDate": "2017-05-21",
"playlistIds": [
"xxxxxxxxxxxxxxxxxx",
"yyyyyyyyyyyyyyyyyy"
],
"playlistTitles": [
"my test playlist"
],
"language": "fr",
"localizations": {
"en": {
"title": "My English Title",
"description": "My English description"
},
"it": {
"title": "Il mio titolo in italiano",
"description": "La mia descrizione in italiano"
}
},
"containsSyntheticMedia": false
}