I use VLC to extract audio. It allows different formats like wav and mp3 and its free.Hi guys, i am newbie. Which app or software/technique to use to extract only mp3/audio version from the video. I am planning to use Whisper.
I use VLC to extract audio. It allows different formats like wav and mp3 and its free.Hi guys, i am newbie. Which app or software/technique to use to extract only mp3/audio version from the video. I am planning to use Whisper.
You gotta be careful since extracting(aka demuxing or demultiplexing) audio isn't the same as converting(aka re-encoding) audio to a specific format. Both will give you an audio file on its own as a result(so you can technically say re-encoding it is extracting it too) so the difference might not be obvious to those unfamiliar with how these things work.I use VLC to extract audio. It allows different formats like wav and mp3 and its free.
Thank you. I was able to follow easily and had success!Recently, people are interested in whisper as subtitles and encountered some errors when installing.
I will guide you to install Whisper with VAD on colab. (no need to install python, git, pytorch... If you want to install whisper python see Post #4,513 by @SamKook)
-Upload the mp3 file to colab. (many of you fail at this step)Google Colab
colab.research.google.com
View attachment 3128360
Method 1: Mount Google Drive
View attachment 3128361View attachment 3128362
Method 2: Add the command !gdown "id&confirm=t"
View attachment 3128365View attachment 3128366View attachment 3128374View attachment 3128369
Method 3: Install Google Drive App refer to @mei2
View attachment 3128370
And this is the result:
View attachment 3128371View attachment 3128372View attachment 3128373
This is very true.You gotta be careful since extracting(aka demuxing or demultiplexing) audio isn't the same as converting(aka re-encoding) audio to a specific format. Both will give you an audio file on its own as a result(so you can technically say re-encoding it is extracting it too) so the difference might not be obvious to those unfamiliar with how these things work.
The former doesn't change the audio in any way and is basically instantaneous or takes a couples secs to do, it just takes the audio part out of the file container that holds both video and audio and the latter takes that audio part and completely re-encodes it to a different format or even the same to create an entirely new file and can take a few seconds or minutes depending on your pc.
I think VLC can do both of those things though, but the first one is better since re-encoding means quality loss(unless it's to a lossless format like wav, but those files are huge).
There it says that you are missing an essential audio codec to work. ffmpegAfter Jux-45 just sat there for hours then timed out yesterday, decided to try a different file. Crapped out again, but differently and with different error messages. I'll try a couple other files but I highly doubt this will ever work. This software should not be up on the web because it isn't done yet. There are too many failure triggers in this code.
View attachment 3129755
Akari Mitani's movies are mostly incredible, many have a good story, she and Nao Jinguji share my No 1.DASS-070 Akari Mitani
One on the things I have always liked about JAV is that they often commit to telling a real story with genuine acting. This video is a prime example of that. In fact, I actually found myself fast-forwarding through the sex scenes to see where the plot was going. Hope others enjoy it.
View attachment 3129788
It is failing in the most important part of Whisper to encode the audioAfter Jux-45 just sat there for hours then timed out yesterday, decided to try a different file. Crapped out again, but differently and with different error messages. I'll try a couple other files but I highly doubt this will ever work. This software should not be up on the web because it isn't done yet. There are too many failure triggers in this code.
View attachment 3129755
I have read that many other colleagues did not have to install anything on their computers, but each one of us has different versions of computers, in my case, the first time I tried to use the collab, it gave me precisely a codec error, ffmpeg I had to install it manually on my computer (I'm sorry to report that it was quite difficult for me to install). but that solved the error that you mentioned in your files.After Jux-45 just sat there for hours then timed out yesterday, decided to try a different file. Crapped out again, but differently and with different error messages. I'll try a couple other files but I highly doubt this will ever work. This software should not be up on the web because it isn't done yet. There are too many failure triggers in this code.
View attachment 3129755
There it says that you are missing an essential audio codec to work. ffmpeg
That doesn't make any sense, it's doing the processing entirely off of your computer once you upload the file so installing anything locally wouldn't help in any way.I have read that many other colleagues did not have to install anything on their computers, but each one of us has different versions of computers, in my case, the first time I tried to use the collab, it gave me precisely a codec error, ffmpeg I had to install it manually on my computer (I'm sorry to report that it was quite difficult for me to install). but that solved the error that you mentioned in your files.
I only mentioned what worked in my case, watching several videos, because I don't know about codes, but some youtuber that I see from time to time, mentioned that the codec was necessary, but I don't know anything about that, I just followed the instructions to be able to use the collab that I got to use before.That doesn't make any sense, it's doing the processing entirely off of your computer once you upload the file so installing anything locally wouldn't help in any way.
What that error means is that ffmpeg had an error while running, not that it's missing. More specifically, it's unable to create the temporary uncompressed wav file for processing.
If you look at the Setup Whisper code, you'll clearly see the line where it installs ffmpeg on the remote system used for the processing: "pip install deepl srt ffmpeg-python spleeter".
What I'm saying is that you doing that did nothing, you must have done something differently after installing it that fixed it(or your audio file was corrupt before).I only mentioned what worked in my case, watching several videos, because I don't know about codes, but some youtuber that I see from time to time, mentioned that the codec was necessary, but I don't know anything about that, I just followed the instructions to be able to use the collab that I got to use before.
Indeed I didn't install anything, I don't think...What I'm saying is that you doing that did nothing, you must have done something differently after installing it that fixed it(or your audio file was corrupt before).
It's true ffmpeg is required, but only on the pc whisper is running on.
Yes. All our computers are different. I force myself to do it on mines just in case others needed help.I have read that many other colleagues did not have to install anything on their computers, but each one of us has different versions of computers, in my case, the first time I tried to use the collab, it gave me precisely a codec error, ffmpeg I had to install it manually on my computer (I'm sorry to report that it was quite difficult for me to install). but that solved the error that you mentioned in your fileView attachment 3129813s.
You're making me feel bad now since all I had to do the first time I installed it was to copy paste the command and run it, lol.Yes. All our computers are different. I forced myself to do it on mine just in case others needed help.
Not sure why it was so hard to get started on my computer but... its buggy...
Oh well... back to cleaning my subs.
But they are deviating from the main topic, I only see that they correct what worked for me, but what solution can they give to the partner, simply do nothing and it is solved by itself? I don't know ...You're making me feel bad now since all I had to do the first time I installed it was to copy paste the command and run it, lol.
^ That is very likely the solution, uploading an audio file(that you tested to make sure is working first).That's the same error I got when I uploaded a corrupted audio file. I suspect the issue is that you're uploading video files instead of only the audio file. whisper can handle those fine but considering the colab has extra restrictions, it might not be able to use the extracted audio because you're telling it the input is the video file. The interface they made for it might not be smart enough to find the audio file after it gets demuxed by ffmpeg.
hahaha no way. I'm so glad it was easy for you.You're making me feel bad now since all I had to do the first time I installed it was to copy paste the command and run it, lol.
^ That is very likely the solution, uploading an audio file(that you tested to make sure is working first).
What that ffmpeg error means is the input file isn't detected as audio basically so either the uploaded file got corrupted, was corrupt to begin with or the colab version can't handle extracting the audio from a video file(haven't tested using a video so I don't know).