61 sao GitHub và vẫn tăng — ftlabs/transcription-service là dự án JavaScript mà TopGit đang theo dõi trên nền tảng. A Node.js server that accepts audio/video files and transcribes the content
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Time-based transcriptions of media content, powered by Google's Speech APIs
This service currently lives on Heroku.
Media Formats
This service can transcribe the following media formats:
mp4
wav
mp3
ogg
m4a
mxf
Any files sent to the service for transcription must not be larger than 419430400 bytes (40 mb). If a file is uploaded/a resource is passed to the service, and it is too big, the transcription will not be performed.
Usage
There are two ways to start a transcription:
You can pass a file to /transcribe as binary data
You can pass a URL that points to a valid media file
In order to start a transcription, you must obtain a token to include in your request as a query parameter
Acquiring A token
Tokens can only be created by FT staff.
To create a token head to /token/generate.
This endpoint is protected by S3O. If authentication is successful, you'll receieve a JSON response containing your token, and your S3O username.
{
token: "VALID_TOKEN",
owner: "your.name"
}
For every other endpoint, this token must be included as a query parameter ?token=VALID_TOKEN.
Posting a file for transcription
You can upload a file for transcription like so:
curl --request POST --data-binary "@file_to_transcribe.mp3" https://ftlabs-transcription.herokuapp.com/transcribe?token=VALID_TOKEN
Passing a resource for transcriptions
You can also point the transcription service to a valid resource on the internet for transcription. These files mist be publically accessible, and are still subject to the same constraints as files that are uploaded for transcription.
You can pass a url pointing to the resource for transcription like so:
This will not trigger a new transcription, it will rearrange the existing data into the VTT format.
WEBVTT
1
00:00:00.000 --> 00:01:86.000
This is just a short
2
00:01:86.000 --> 00:03:18.000
demo of the transcription service
Languages
The transcription service can transcribe files with different languages in them (though it cannot distinguish between more than one language per file). Telling the service which language the media file you wish to have transcribed predominantly features will likely improve the quality of that transcription.
By default, all media files are assumed to be British English, and will be transcribed as such.
To specify a language to be used in the transcription process, pass the language code with a query parameter when you make a request to the transcribe endpoint.
?token=[VALID_TOKEN]&languagecode=en-us
For a list of supported language codes, refer here.
Process
The process for transcribing the content is as follows:
The passed media file is converted into a WAV file
If the converted wav file is longer than 30 seconds, it is divided into 30 second chunks.
Each 30 second chunk is transcribed with the Google Speech API
When all transcriptions have completed, they are concatenated to form a transcript of the original WAV file in its entirety.
The original WAV file is then split according at each point of silence (< -20DBs) detected in the audio that is more than 0.2s long.
if no silences are detected, the WAV file is divided into equal 4 second long chunks
If the time between silences (a clip) is longer than 8 seconds, the clip is divided into 4 second chunks
These individual chunks are then transcribed with the same settings that were used to transribe the 30 second chunks earlier in the process. Each chunk has the combined transcript of the original WAV file passed along with it as a 'phrase' to help the Google Speech API determine what each chunk is supposed to say.
On completion of the transcriptions for each chunk, the data is returned to the client.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/ftlabs/transcription-service là nguồn chính thức.
ftlabs/transcription-service có bao nhiêu sao?
ftlabs/transcription-service có 61 sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/ftlabs/transcription-service. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
ftlabs/transcription-service có tag gì không?
Bản đồng bộ chưa ghi nhận topic GitHub nào cho ftlabs/transcription-service. GitHub topics hiển thị ở thanh bên phải trang repo — đó là nơi đáng kiểm tra nhất.
ftlabs/transcription-service có trang demo không?
Dự án có trang chủ ở https://ftlabs-transcription.herokuapp.com/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
ftlabs/transcription-service còn đang phát triển không?
Commit gần nhất trên ftlabs/transcription-service là 5.5 năm trước (theo timestamp GitHub). Repo có 15 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
ftlabs/transcription-service viết bằng ngôn ngữ gì?
ftlabs/transcription-service chủ yếu viết bằng JavaScript. Trường "language" của GitHub dựa trên phần lớn byte ở nhánh mặc định.
Đọc đầy đủ README ở tab phía trên.
Vẫn đang phân vân về transcription-service?
Một cú bấm sẽ gửi câu hỏi kèm trang này cho AI — xem AI nói gì về transcription-service.