{"id":23527923,"url":"https://github.com/nerdingitout/video-stt","last_synced_at":"2025-05-14T10:34:47.478Z","repository":{"id":84626971,"uuid":"356541102","full_name":"nerdingitout/video-stt","owner":"nerdingitout","description":"This GitHut repo is for a video transcriber demo","archived":false,"fork":false,"pushed_at":"2021-04-11T12:16:03.000Z","size":292,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-14T10:32:08.735Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nerdingitout.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-04-10T10:01:07.000Z","updated_at":"2021-04-15T09:11:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"282e74ad-8266-497a-bf93-1bc6b3658758","html_url":"https://github.com/nerdingitout/video-stt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fvideo-stt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fvideo-stt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fvideo-stt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nerdingitout%2Fvideo-stt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nerdingitout","download_url":"https://codeload.github.com/nerdingitout/video-stt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254120895,"owners_count":22018061,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-25T20:18:55.407Z","updated_at":"2025-05-14T10:34:47.457Z","avatar_url":"https://github.com/nerdingitout.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# video-stt\nThis GitHut repo is for a video transcriber demo\n## Prerequisites\n- Create a free IBM Cloud account: https://ibm.biz/ArabAISummit\n- Create a CloudantDB service on IBM Cloud\n- Create Watson Speech to Text service on IBM Cloud\n- Create a \u003ca href=\"https://developer.ibm.com/tutorials/how-to-create-a-node-red-starter-application/\"\u003eNode-RED starter application on IBM Cloud\u003c/a\u003e\n## Explore Watson Speech to Text API\nFor this section, you will be exploring the Watson Speech to Text API from the \u003ca href=\"https://cloud.ibm.com/apidocs/speech-to-text\"\u003eAPI documentation\u003c/a\u003e.\n#### Audio Formats\naudio/alaw, audio/basic, audio/flac, audio/g729, audio/l16, audio/mp3, audio/mpeg, audio/mulaw, audio/ogg, audio/ogg;codecs=opus, audio/ogg;codecs=vorbis, audio/wav, audio/webm, audio/webm;codecs=opus, audio/webm;codecs=vorbis\n\n#### Get list of Models\n```\ncurl -X GET -u \"apikey:{apikey}\" \"{url}/v1/models/en-US_BroadbandModel\"\n```\n\n#### Sample Request\n(download sample file \u003ca href=\"https://watson-developer-cloud.github.io/doc-tutorial-downloads/speech-to-text/reference/audio-file2.flac\"\u003eaudio-file2.flac\u003c/a\u003e or replace the type and file name with your own files)\n```\ncurl -X POST -u \"apikey:{apikey}\" --header \"Content-Type: audio/flac\" --data-binary @audio-file2.flac \"{url}/v1/recognize?word_alternatives_threshold=0.9\u0026keywords=colorado%2Ctornado%2Ctornadoes\u0026keywords_threshold=0.5\"\n```\n## Add environment variables\nCreate a ```config.py``` file and add the following lines of code, replace with your own credentials.\n```\nSTT_API_KEY=\"\u003cADD YOUR STT API KEY HERE\"\nSTT_URL=\"ADD STT ENDPOINT URL\"\nCLOUDANT_URL=\"ADD CLOUDANTDB URL\"\nCLOUDANT_USERNAME=\"ADD CLOUDANTDB USERNAME\"\nCLOUDANT_PASSWORD=\"ADD CLOUDANTDB PASSWORD\"\nCLOUDANT_API_KEY=\"ADD CLOUDANTDB API KEY\"\n```\n## Running the application\nTo convert the video to audio, you can run ```toaud.py``` file. Then run ```todb.py``` file to convert Speech to Text and save to CloudantDB. You can make your own changes to make the code more dynamic or add it to your application.\n## Flask Application\nFor this section, you can check out the steps and resources in this \u003ca href=\"https://github.com/Call-for-Code/cfc-covid-19-video-transcriber\"\u003eGitHub repository\u003c/a\u003e. This is another example of building video transcriber.\n![image](https://user-images.githubusercontent.com/36239840/114268661-3ccc2500-9a13-11eb-8aa3-68363b136976.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdingitout%2Fvideo-stt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnerdingitout%2Fvideo-stt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnerdingitout%2Fvideo-stt/lists"}