Author Topic: ripping music out of videos?  (Read 826 times)

Offline stealth

  • Hero Member
  • *****
  • Posts: 642
ripping music out of videos?
« on: February 01, 2010, 12:26:41 AM »
Okay, I have not considered this before. This is totally new for me.

I guessing there is a way to grab audio files out of movie DVD (separate the audio from the video so you have only the sound bytes) and there is probably some software on Linux to do it with, but I don't know what it is called and my search attempts haven't revealed anything because I am probably not using the write search words.

Can this be done?
If so what are the names of the apps?
What search words or phrases will help me find what I am looking for if it exists?

Offline stealth

  • Hero Member
  • *****
  • Posts: 642
Re: ripping music out of videos?
« Reply #1 on: February 01, 2010, 01:11:00 AM »
Okay, I have figured out that searching with "extract audio from vob files" reveals a lot of winblows software that is not free.

Using that same search phrase in Synaptic reveals nothing. I am believing there has to be something in the repo that will let me do this.

flux

  • Guest
Re: ripping music out of videos?
« Reply #2 on: February 01, 2010, 02:16:45 AM »
mplayer/mencoder might be your choice ...

http://fluxcoil.net/doku.php/snippets/mencoder

flux.

Offline exwintech

  • Hero Member
  • *****
  • Posts: 4340
  • 80% SandBox Rating Only
Re: ripping music out of videos?
« Reply #3 on: February 01, 2010, 04:47:40 AM »
Stealth - You can do this directly with Avidemux - from the DVD in the drive. Open the DVD on the Desktop. From there open it in Avidemux.

Make a directory to put the Audio in. Go to > Audio > Save - or just Ctrl + Alt > S. In the dialog that opens, go to the directory you made, type a name - Vidmusic.ac3 (etc) - and OK.

In a couple of minutes you'll have the AC3 (or other) - file in the directory.

Close Avidemux and remove the DVD from the drive.

Convert the AC3 file to WAV with SoundKonverter.

Do the conversion to WAV - so that you have a lossless format to work with.

Open the WAV file in Audacity. Most of a DVD's track you won't want - just the music you prefer. Select each piece you want - and a little more at each end... (A bit extra trims easily - cut off short, you'll need to re-do it.)

When you have all the pieces you need, close Audacity with the WAV file (or save it as backup in FLAC.)

Open each of your pieces in Audacity - spread the waveform out, so you can see the exact starts-finishes to trim to. Leave a small amount - say 3-5 seconds - each end, and use those as your fade-in and fade-out from and to silence.

If that's not clear, Post back, and we can go through it by steps... Not everyone is familiar with Avidemux and Audacity.

Regards, Dave.
Registered Linux User #412504          Trainee Linuxer, jg

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8589
  • Aurum nostrum non est aurum vulgi.
Re: ripping music out of videos?
« Reply #4 on: February 01, 2010, 05:15:34 AM »
that is one excellent tip, exwintech. this should be a sticky. although there are several ways one can do the same thing, avidemux is surely the way to go. actually i prefer the command line ffmpeg but that'd be making it harder for a lot of other users. ;)
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: ripping music out of videos?
« Reply #5 on: February 01, 2010, 09:06:02 AM »
I make it so...
DVD2MP3

Offline T6

  • Super Villain
  • ******
  • Posts: 19077
  • xmas is comming!
Re: ripping music out of videos?
« Reply #6 on: February 01, 2010, 10:05:42 AM »
as mentioned before, it depends on what file or content you have

avidemux can do it and also audacity if my memory serves me well(it opens the audio form the video)

vlc could do it but i haven't tested this extensively
"If you wish to make an apple pie from scratch, you must first invent the universe."

Carl Sagan

Offline stealth

  • Hero Member
  • *****
  • Posts: 642
Re: ripping music out of videos?
« Reply #7 on: February 01, 2010, 11:22:27 AM »
Thanks for all the suggestions. I will check this out.