youtube-upload
youtube-upload copied to clipboard
Uploading subtitle/captions file
I'd like to automate publishing twitch videos onto youtube, with twitch chat as subtitles. I have the .srt file, and just need a way to upload it along with the video file. I think a flag could be added (e.g. --captions {file path}
) to allow this.
Hi, as far as I am interpreting the google API correctly, that would be possible. I am no programmer and especially I am not into python, but I think it is possible to implement this with just a few lines of code. Usually tokland does not implement feature requests, but maybe this time he will as it should be very easy ;-)
https://github.com/youtube/api-samples/blob/master/python/captions.py
Since the dev seems to not work on this project anymore and I also needed this feature, I forked it and am implementing here: https://github.com/evertonstz/youtube-upload
Feel free to test and leave me a feedback.
@evertonstz PR ?
@BurhanDanger what do you mean, mate?
I meant submit a pull request here maybe
Oh, I'll eventually, but it's not ready for now as I have some bugs to solve first.
You can upload captions with curl
and a very simple shell script.
Since the dev seems to not work on this project anymore and I also needed this feature, I forked it and am implementing here: https://github.com/evertonstz/youtube-upload
Feel free to test and leave me a feedback.
This is not working , i uploaded videos using it, it uploads the video successfully, but then it keeps showing "upload" again and again in new line,and doesn't upload caption file