-
Notifications
You must be signed in to change notification settings - Fork 218
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve optional remote video transcription network usage #1802
Comments
What would be a good compressed audio format to send, without taking to long to convert the audio format? Or should we just send the original extracted audio channel from the videos as is? |
In theory, FLAC would be a good format (fast encoder/decoder, good quality and compression). Another option would be using other tools, like FFmpeg or Mencoder. But that would add another dependency for a very Maybe we could use the same conversion done in the server side (PCM), and leave the usage of a better format as a future improvement. Although the WAV files are large, they usually are much smaller than the videos themselves. And it won't be necessary to run another conversion on the server side. One important thing, the current command already includes |
Hi @tc-wleite, thanks for the performance tests! Sure, we can add the About the audio format to send, is it possible to extract the audio from videos as is, without any conversion, using mplayer? So we could benefit from the original used compression. |
I tried to do that, but couldn't find how to do it with MPlayer. It is focused in reproduction, so it supports a lot of input formats but not many output ones. |
I found MPlayer's option |
That's bad news, thanks for investigating @tc-wleite! |
Hi @tc-wleite, a simple idea would be to use a general file compression algorithm already supported by Apache Commons Compress, . I run a few compression algorithms using 7zip on TEDx pt-BR test set slice (1033 audios):
Apache Commons Compress also supports other compression schemes. PS: Measuring running times using 1 thread now... |
Running times using one 7z thread (non-solid mode) and FFmpeg executed multiple times for each file to convert to/from FLAC:
Of course Apache Commons Compress running times should be different than above. |
I thought about that too. |
As suggested on #1801 (comment)
The text was updated successfully, but these errors were encountered: