How to make a transcription from audio to text?

#1

Hi everybody,

I have been trying to get any thing that can transcribe an audio from a video into a text, the only thing i found it was this site online: https://www.temi.com/confirmation and they did it well for free, for the first time, now they want to charge ... :angry:

How can i get a transcriber from audio to text, by free? :wink:

Thanks!

EDIT: *There is something i forgot to say here previusly, the reason why we need to get the text from the audio is that we can read a long conference of maybe an hour and a half in a video in 30 mts!!.

#2

Here is google cloud proposals, up to 60 mins is free.

As a "hack" idea and if the video is not private, try to upload to youtube, it has an option to autogenerate subtitles on demand.

#3

Yes, the video is not private ...

Google is not an option for me, they require to "open an account", which is ok, no problem, BUT ... they want my phone number :face_with_raised_eyebrow:

Any other idea?

#4

Continuing hacking the system. You can use google translate. It doesn't require authorization.

You don't even tell, what language do u need.

#5

Here is wit.ai one more service from facebook, but it requires some programming skills.

#6

https://translate.google.com/translate?hl=es&sl=auto&tl=es&u=https%3A%2F%2Fcloud.google.com%2Fspeech-to-text%2F

It says the URL is not good ... ERROR

#7

No in google translate you can find a "micro button", you can press it and, i don't know, put your speakers close to the micro. Something like that.

#8

It looks to me that i didn't explain myself very well, what i want to get is an audio from a video and put it into any a text.

#9

okay if I correct, you need:

  1. extract text from audio speech
  2. make it free
  3. without google account
  4. any language
  5. you need "ready to use" service without programming skills

Am I correct?

P.S. in google translate you can use two devices, for example laptop and smartphone, open your video on smartphone, put smartphone close to the micro on your laptop, press micro button Screenshot_20190501_211439 It should work.

#10

Have a look at this:


Edit for another addition

The package is in AUR.

1 Like
#11

Yes, it is like that but i don't use smarphone -- i need to get it into my pc, by any means, dowloading the URL into my pc and creating a file, get it online, wherever ... and ... without to much skills.

I'm back tomorrow, thank you!:slightly_smiling_face:

@bogdancovaciu, thanks, but if anybody want have an idea of what really i need, i think it will be a good idea to go into this website and see what they are doing, https://www.temi.com/confirmation sorry, my english it very limited, i don't know how to explain myself much better. :hot_face:

#12

Yes, those two i mentioned above do that :wink:

#13

@bogdancovaciu,

Agermanidis/autosub:

I installed this aplication than extract the file but when i’m go to open it there is not an option for pamac-manager …

Parlatype:

Installed from AUR, from the graphic i went to β€˜open’ find for the file i want to transcribe, a window is open for β€˜reproduction’, β€˜click’ (start working) when it is finished a full black window was opened and that is all (?) :astonished:

#14

Not sure what that means ...

How about follow the instruction for installing autosub
pip install autosub
and then
autosub -h
to find the commands to extract a txt file from a video with audio on it.
An example would be
autosub -S pt -D pt video1.wmv
but you need the Google Web Speech API for it


Regarding the second application i don't know why is closing on you, should play with it and see what options are there, where it saves the files, what formats supports...

#15
[keos@kaos ~]$ pip install autosub
Collecting autosub
  Downloading https://files.pythonhosted.org/packages/f3/31/d3d677e97ec3e24ae6131df91eb5d20650309e3ed5122361613792180fb7/autosub-0.3.12.tar.gz
Collecting google-api-python-client>=1.4.2 (from autosub)
  Downloading https://files.pythonhosted.org/packages/55/e9/e8fb2e3a031cb69b9524b80a92b126665d9a17421700a219555e3233ab6a/google_api_python_client-1.7.8-py3-none-any.whl (56kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 837kB/s 
Requirement already satisfied: requests>=2.3.0 in /usr/lib/python3.7/site-packages (from autosub) (2.21.0)
Collecting pysrt>=1.0.1 (from autosub)
  Downloading https://files.pythonhosted.org/packages/f6/33/16ad65a8973cb8bcb494af09ee1b9ab5ffdd6ff300bce5d3ac7d3cb1f2cc/pysrt-1.1.1.tar.gz (104kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 112kB 3.7MB/s 
Collecting progressbar>=2.3 (from autosub)
  Downloading https://files.pythonhosted.org/packages/a3/a6/b8e451f6cff1c99b4747a2f7235aa904d2d49e8e1464e0b798272aa84358/progressbar-2.5.tar.gz
Collecting httplib2<1dev,>=0.9.2 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/e8/b3/b34037575d6d75ff8dcfcf75315f56befbe409952be9f95c9b8cc9ee0499/httplib2-0.12.3-py3-none-any.whl (94kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 102kB 397kB/s 
Requirement already satisfied: six<2dev,>=1.6.1 in /usr/lib/python3.7/site-packages (from google-api-python-client>=1.4.2->autosub) (1.12.0)
Collecting google-auth>=1.4.1 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/c5/9b/ed0516cc1f7609fb0217e3057ff4f0f9f3e3ce79a369c6af4a6c5ca25664/google_auth-1.6.3-py2.py3-none-any.whl (73kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 1.6MB/s 
Collecting google-auth-httplib2>=0.0.3 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/33/49/c814d6d438b823441552198f096fcd0377fd6c88714dbed34f1d3c8c4389/google_auth_httplib2-0.0.3-py2.py3-none-any.whl
Collecting uritemplate<4dev,>=3.0.0 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/e5/7d/9d5a640c4f8bf2c8b1afc015e9a9d8de32e13c9016dcc4b0ec03481fb396/uritemplate-3.0.0-py2.py3-none-any.whl
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (3.0.4)
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (2.8)
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (1.24.2)
Collecting cachetools>=2.0.0 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/39/2b/d87fc2369242bd743883232c463f28205902b8579cb68dcf5b11eee1652f/cachetools-3.1.0-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl (74kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 442kB/s 
Collecting pyasn1>=0.1.3 (from rsa>=3.1.4->google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 709kB/s 
Installing collected packages: httplib2, cachetools, pyasn1, rsa, pyasn1-modules, google-auth, google-auth-httplib2, uritemplate, google-api-python-client, pysrt, progressbar, autosub
Could not install packages due to an EnvironmentError: [Errno 13] Permiso denegado: '/usr/lib/python3.7/site-packages/httplib2-0.12.3.dist-info'
Consider using the `--user` option or check the permissions.

[keos@kaos ~]$ su
ContraseΓ±a: 
[kaos keos]# pip install autosub
Collecting autosub
  Downloading https://files.pythonhosted.org/packages/f3/31/d3d677e97ec3e24ae6131df91eb5d20650309e3ed5122361613792180fb7/autosub-0.3.12.tar.gz
Collecting google-api-python-client>=1.4.2 (from autosub)
  Downloading https://files.pythonhosted.org/packages/55/e9/e8fb2e3a031cb69b9524b80a92b126665d9a17421700a219555e3233ab6a/google_api_python_client-1.7.8-py3-none-any.whl (56kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 61kB 5.0MB/s 
Requirement already satisfied: requests>=2.3.0 in /usr/lib/python3.7/site-packages (from autosub) (2.21.0)
Collecting pysrt>=1.0.1 (from autosub)
  Downloading https://files.pythonhosted.org/packages/f6/33/16ad65a8973cb8bcb494af09ee1b9ab5ffdd6ff300bce5d3ac7d3cb1f2cc/pysrt-1.1.1.tar.gz (104kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 112kB 4.6MB/s 
Collecting progressbar>=2.3 (from autosub)
  Downloading https://files.pythonhosted.org/packages/a3/a6/b8e451f6cff1c99b4747a2f7235aa904d2d49e8e1464e0b798272aa84358/progressbar-2.5.tar.gz
Collecting google-auth>=1.4.1 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/c5/9b/ed0516cc1f7609fb0217e3057ff4f0f9f3e3ce79a369c6af4a6c5ca25664/google_auth-1.6.3-py2.py3-none-any.whl (73kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 7.2MB/s 
Collecting google-auth-httplib2>=0.0.3 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/33/49/c814d6d438b823441552198f096fcd0377fd6c88714dbed34f1d3c8c4389/google_auth_httplib2-0.0.3-py2.py3-none-any.whl
Requirement already satisfied: six<2dev,>=1.6.1 in /usr/lib/python3.7/site-packages (from google-api-python-client>=1.4.2->autosub) (1.12.0)
Collecting uritemplate<4dev,>=3.0.0 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/e5/7d/9d5a640c4f8bf2c8b1afc015e9a9d8de32e13c9016dcc4b0ec03481fb396/uritemplate-3.0.0-py2.py3-none-any.whl
Collecting httplib2<1dev,>=0.9.2 (from google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/e8/b3/b34037575d6d75ff8dcfcf75315f56befbe409952be9f95c9b8cc9ee0499/httplib2-0.12.3-py3-none-any.whl (94kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 102kB 7.3MB/s 
Requirement already satisfied: chardet>=3.0.2 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (3.0.4)
Requirement already satisfied: idna>=2.5 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (2.8)
Requirement already satisfied: urllib3>=1.21.1 in /usr/lib/python3.7/site-packages (from requests>=2.3.0->autosub) (1.24.2)
Collecting cachetools>=2.0.0 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/39/2b/d87fc2369242bd743883232c463f28205902b8579cb68dcf5b11eee1652f/cachetools-3.1.0-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/91/f0/b03e00ce9fddf4827c42df1c3ce10c74eadebfb706231e8d6d1c356a4062/pyasn1_modules-0.2.5-py2.py3-none-any.whl (74kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 6.6MB/s 
Collecting rsa>=3.1.4 (from google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1-modules>=0.2.1->google-auth>=1.4.1->google-api-python-client>=1.4.2->autosub)
  Downloading https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl (73kB)
     |β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 81kB 5.4MB/s 
Installing collected packages: cachetools, pyasn1, pyasn1-modules, rsa, google-auth, httplib2, google-auth-httplib2, uritemplate, google-api-python-client, pysrt, progressbar, autosub
  Running setup.py install for pysrt ... done
  Running setup.py install for progressbar ... done
  Running setup.py install for autosub ... done
Successfully installed autosub-0.3.12 cachetools-3.1.0 google-api-python-client-1.7.8 google-auth-1.6.3 google-auth-httplib2-0.0.3 httplib2-0.12.3 progressbar-2.5 pyasn1-0.4.5 pyasn1-modules-0.2.5 pysrt-1.1.1 rsa-4.0 uritemplate-3.0.0
[kaos keos]# autosub -h
  File "/usr/bin/autosub", line 136
    print "The given file does not exist: {0}".format(filename)
                                             ^
SyntaxError: invalid syntax
[kaos keos]#

And any way i forgot that i have to open an acount in Google for the Google Web Speech API
And i don't understad what happened with parlatype, it is not a very clear aplication.

Thank you very much but ...

Better wait to see if in the future Manjaro developers ...

#16

I may not be an NSA grade code breaker, but it's pretty obvious what the sub-text of that is all about.

Maybe it's just me but I'm really not seeing the great need to transcribe these pornos into your native tongue. I mean most of it's just grunting and groaning with the average smut film topping out at about a hundred word vocabulary for the entire show.

Surely we can find a greater use for this technology.

But then again I guess there could be some really juicy dialogue you just wouldn't want to miss out on. :upside_down_face:

1 Like
#17

I don't know, i'm not an NSA agent neither, most of them are antichristians, so that is maybe why ...

this is one of those i was trying to get transcribed to text:

#18

I hope I didn't offend you too much. I was just kidding around. My apologies for the sidetrack.

#19

No problem, no hard feelings. God bless you.

2 Likes
#20

I went back yesterday later to parlatype, and I found that in β€˜details’ there were two dependencies no installed, I no remember now, please, don’t ask me i’m 65 … i installed both of them without much expectation for to try again tomorrow…

Today what it was before (yesterday) a black full window now it is a video…

What do I have to do now in order to get transcribed apart this subtitle from the video to a text for reading?. i don't see how ...