Video to mp3
Page 1 of 1
Ankh




Posts: 23251
Location: Trelleborg
PostPosted: Sun, 22nd Oct 2023 12:41    Post subject: Video to mp3
Anyone know a good/free video to mp3 converter that can handle 5+ gb files?


shitloads of new stuff in my pc. Cant keep track of it all.
Back to top
Ankh




Posts: 23251
Location: Trelleborg
PostPosted: Sun, 22nd Oct 2023 13:17    Post subject:
Ah, i see now that vlc can do it. Smile


shitloads of new stuff in my pc. Cant keep track of it all.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Sun, 22nd Oct 2023 18:59    Post subject:
mp3 Laughing
Back to top
Ankh




Posts: 23251
Location: Trelleborg
PostPosted: Sun, 22nd Oct 2023 19:33    Post subject:
LeoNatan wrote:
mp3 Laughing


Yeah, mp3. I could go for other soundfiles, but mp3 is what i need.
Its a 5h soundfile and i want to listen to it at work tomorrow. I could go for flc or ogg, but the sound isnt THAT good anyway so Razz

Edit: Also, the other people that need access to it can definitely listen to mp3 files.

Edit: Unfortunatly vlc seem to fail at making as it get some strange loop sound. It's a 5.17gb mkv file.


shitloads of new stuff in my pc. Cant keep track of it all.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Mon, 23rd Oct 2023 01:34    Post subject:
What do you need to achieve? Take an mkv and extract the mp3 track as is, or convert the track in the mkv to mp3?

For either case, just use ffmpeg from the command line. It allows you to either copy the track as is, or you can specify codec and parameters to encode on the fly.

Also mp3 Laughing
Back to top
Ankh




Posts: 23251
Location: Trelleborg
PostPosted: Mon, 23rd Oct 2023 05:43    Post subject:
LeoNatan wrote:
What do you need to achieve? Take an mkv and extract the mp3 track as is, or convert the track in the mkv to mp3?

For either case, just use ffmpeg from the command line. It allows you to either copy the track as is, or you can specify codec and parameters to encode on the fly.

Also mp3 Laughing


"just use" - if i knew how to do it i would not have asked in the first case. I've never had a reason to rip the sound before.
I want the audiotrack as I don't need the actual video.

What's wrong with mp3 btw? The players they use can't play ogg, but I do know they can play mp3.


shitloads of new stuff in my pc. Cant keep track of it all.
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Mon, 23rd Oct 2023 17:20    Post subject:
Use ffprobe (comes with the ffmpeg package) to inspect the container file (mkv) to see what audio stream there is there.

If it's the codec you want, use ffmpeg to extract the audio:

Code:
ffmpeg -i <file.mkv> -map 0:a:0 -c copy <audio.mp3>


If your input mkv container has multiple audio streams, change the -map 0:a:0 to whatever stream you'd like.

If it's not the codec you want, you need to convert it. Use the following command:

Code:
ffmpeg -i <file.mkv> -map 0:a:0 -q:a 0 -c:a libmp3lame -ac 2 <audio.mp3>


This will use variable bitrate (-q:a 0), the LAME mp3 encoder and downmix to stereo (-ac 2).

Also, mp3 Laughing
Any audio playback device from the last 15 years supports AAC, which is a far, far, far,
 Spoiler:
 
far, far, far superior codec.


My IMDb Ratings | Fix NFOHump Cookies | Hide Users / Threads | Embedded Content (Videos/GIFs/Twitter/Reddit) | The Derps Collection

Death smiles at us all; all we can do is smile back.


Last edited by LeoNatan on Mon, 23rd Oct 2023 17:22; edited 1 time in total
Back to top
LeoNatan
Banned



Posts: 73193
Location: Ramat Gan, Israel 🇮🇱
PostPosted: Mon, 23rd Oct 2023 17:22    Post subject:
If you want to try AAC, change the codec to "libfdk_aac" and the file extension to "aac" or "m4a".
Back to top
Ankh




Posts: 23251
Location: Trelleborg
PostPosted: Mon, 23rd Oct 2023 18:13    Post subject:
cheers!


shitloads of new stuff in my pc. Cant keep track of it all.
Back to top
Page 1 of 1 All times are GMT + 1 Hour
NFOHump.com Forum Index - Applications
Signature/Avatar nuking: none (can be changed in your profile)  


Display posts from previous:   

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.8 © 2001, 2002 phpBB Group