Skip to content

Adding subtitles to a video file #493

Answered by MarshalX
basinbasin asked this question in Questions
Discussion options

You must be logged in to vote

@basinbasin try this and let me know about results pls

instead of

upload_vtt = client.com.atproto.repo.upload_blob(vtt_data)

do

response = client.invoke_procedure(
    'com.atproto.repo.uploadBlob', data=vtt_data, input_encoding='text/vtt', output_encoding='application/json'
)
upload_vtt = get_response_model(response, models.ComAtprotoRepoUploadBlob.Response)

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@MarshalX
Comment options

@basinbasin
Comment options

@MarshalX
Comment options

@MarshalX
Comment options

Answer selected by basinbasin
@basinbasin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants