I was thinking that some users could need that. Look for them automatically like thumbnails & NFO.
Both peertube and youtube seems to have support for this in their API:
Both called them "Captions" so I suggest to use this term instead of subtitle?
Both treat that as separated requests, so we need to add caption after uploading the video (like thumbnail or playlist on youtube for example)
As we work on newly updated video, no need to treat the case where caption already exists, no need to list existent captions for the video.
We may easily detect caption file the same way we do for NFO and thumbnail, based on the name of the video, however it could be interesting to allow the use of more than one caption files.
Perhaps something indexed with a langage choice? (eg, use
And as an option in prismedia, you may pass the different langages you need to upload, eg
--caption="en,fr" like tags. Perhaps inherited from langage option?
Another possibility could be a multi-option, eg an option that could be used multiple time so the user could pass
--caption videoname_en.sub --caption videoname_fr.sub
Adding the strict option
--with-caption is also necessary.
Wow thanks for the quick search.
Perhaps something indexed with a langage choice? (eg, use videoname_en.sub, videoname_fr.sub, etc)
I was thinking to that yes, maybe
videoname.<language>.<sub/str/…> with a dot and the language in full form. I think the dot is more or less common, the long language name let us use the same dictionary as the languages for the
Adding the strict option --with-caption is also necessary.
I am unsure about this: maybe
Deleting a branch is permanent. It CANNOT be undone. Continue?