Forum Discussion
getting the transcriptions of the videos
I have my Microsoft stream containing videos that has transcription
my goal is to index those transcriptions and be able to use them as a data source for azure open ai
but how am i Supposed to get these transcriptions using an api call?
I tried looking into graph api I was able to get to the videos and get their metadata but not the transcriptions can you please help
call used to get the item:
https://graph.microsoft.com/beta/drives/XXXXXXXXXXX/items/XXXXXXX/children/
5 Replies
- Marc Mroz
Microsoft
Bilaledelbi We don’t have a MS Graph API for transcripts.
What are you wanting to do with sending them to OpenAI? Stream copilot is coming early next year to chat with the transcript and ask questions directly while watching the video. And we are working with M365 copilot to see if they can include video’s transcript in cross tenant copilot queries. So I wonder if your solution could be replaced with what’s coming from Microsoft directly soon?
- BilaledelbiCopper Contributoralso I am facing a problem with getting the azure ai video indexer token
according to this doc:
https://learn.microsoft.com/en-gb/rest/api/videoindexer/generate/access-token?view=rest-videoindexer-2024-01-01&tabs=HTTP#code-try-0
i can get it by calling
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.VideoIndexer/accounts/{accountName}/generateAccessToken?api-version=2024-01-01
but when i do i get an error message requestion an authorization that is not mentioned in the doc is there any solution to this??- Marc Mroz
Microsoft
Bilaledelbi sorry azure video indexer isn’t covered in this forum.
- BilaledelbiCopper Contributor
Marc Mroz Hello Marc.
It's a customer requirement to include a way to ask azure open ai questions and for the azure open ai to answer with the video and the timestamp it was answered at.
I was able to come with a work around (not tested fully yet)
which is to use MS graph api to get the videos and upload them to azure ai video indexer
after that get the transcription as a vtt file
probably not the best approach nor the most efficient but it's gonna have to make do maybe until early next year thank you.