YouTube live streaming captions - more than one language

限于喜欢 提交于 2019-12-07 19:10:35

问题


I'm currently live streaming a tv channel (beta phase yet) using YouTube.

  • How do I add captions in more than 1 language for a live stream (with POST caption URL)?

  • Even using just one language captions, how can I change the language? (The only option to the user - on web or app - is "EN" even if the caption is in other language)

  • When using POST approach do send captions on live streams how/where to set/define duration of each subtitle?

Please don't refer this url link. I know it already.


回答1:


AFAIK you can do only one language, if any at all. I have tried using the POST method YouTube describes on the page you link to - without success. Only get

Result 299: "Error donwloading [...] Can't parse HTTP POST body."

Tried searching all kinds of support forums, but it seems no one has any advice and YouTube never replies to questions related to live caption. Including here...




回答2:


According to the docs on contentDetails.closedCaptionsType, you can embed captions in your video stream using the option closedCaptionsEmbedded and provide EIA-608 and/or CEA-708 formatted captions in your video from your encoder.

Sending multiple caption tracks muxed with your video with different languages specified by the "Language" tag on the caption stream should allow the user to switch between different captions in the web player.



来源:https://stackoverflow.com/questions/32614603/youtube-live-streaming-captions-more-than-one-language

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!