Recording direct from soundcard...

Similar to a previous post,

I have a MP4 video with which I’d like to extract the audio from in order to make an MP3 playable on my Walkman.

I have been able to do this using Vista by allowing PCM to be recorded using the default volume control mixer. Then as the video file plays, click record on audacity. However, it would appear the opensuse version (Kmix) doesn’t have this same feature in terms of allowing PCM (audio direct off the soundcard) to be recorded.

Instead, I can check Capture, then when ticked I get a selection of Mic, Ext Mic and Line to choose from, but no PCM.

I’ve tried using sound recorder and audacity, even played with the settings but to no avail.

As I’m still fairly new to opensuse, there maybe some commands that I need to run in order to activate the feature I need, or find out info which maybe required to diagnose the prob.

Any help would be very much appreciated!

Baldrick.

You can use ffmpeg to extract the audio from a video. But you would need to familiarize yourself with CLI.
FFmpeg

Thanks for that. I notice I have this installed, but it doesn’t show up as an application. Is this where CLI comes in? What is CLI?

Command Line Interface (Yikes!)

eg: You have a video called joe.avi
Probe the file:

ffmpeg -i joe.avi

If it identifies the audio as mp3 for eg

ffmpeg -i joe.avi -vn -acodec copy joe-audio.mp3

You must do this from the directory location of joe.avi It will output a file called “joe-audio.mp3”
I hope that’s correct, there are many more qualified than me at this @microchip8 @oldcpu

Thanks for that. I tried it and got this…

Seems stream 1 codec frame rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop encoding
size=    2923kB time=201.06 bitrate= 119.1kbits/s
video:0kB audio:2923kB global headers:0kB muxing overhead 0.001069%

It created a file which comes with .mp3, but no player recognises it (Songbird,audacity or VLC).

Any other ideas?

Cheers.

What was the output of the probe?

There are many ways to do this.

What desktop?

If you are running kde-3.5.10, and if you have pacpl installed, you simply open konqueror file manager, right click on the file, and select Actions > PACPL convert > mp3 and it creates an mp3 of the file.

That sounds way easier. Thanks for stepping in there Lee.

I’m running kde4.2, and noticed there’s an updated version of PACPL for 4.2 which I have installed - and works a treat!

Thanks!

Super !!

PACPL is an application I really like. I’m glad to read it works for KDE4. Its looking more and more like I’ll be switching to KDE4 in Nov-2009 with openSUSE-11.2.

Yes PACPL is very cool!

You might know, opensuse 11.2 will be kde4.3? Will it be downloadable as an automatic update?

Also, what configurable software is available to convert wav to MP3 in opensuse?

What software can I use to convert HQ MP4 to something my MP4 walkman can resolve?

Sorry about all the questions. :wink:

I made a stickie, with a call for testers for openSUSE-11.2 here: openSUSE-11.2 - CALL FOR TESTERS - openSUSE Forums Note I recommend users install 11.2 on a test PC, and NOT (I repeat NOT) on their main PC. Again, NOT on one’s main PC.

If one reads the links on that stickie, one can see the plans for openSUSE-11.2, and yes, the plans include KDE-4.3.

There will NOT be an automatic update to 11.1. That would draw incredible criticism of openSUSE if such an automatic update were implemented. There are semi-automatic ways to update (over the Internet) from 11.x to 11.x+1, but I NEVER recommend such an approach. I always do a fresh install (keeping my /home partition). When one is experienced, and as long as one does not have custom compiled applications, doing an openSUSE installation is incredibly quick.

PACPL.

I don’t have a walkman.

I have a feeling avidemux-qt4 (if using kde) from Packman. It has an auto ->MP4 for iPod or you can use manual configuration.

There is also this (not in any repo’s though that I know of) HandBrake

I would echo @oldcpu on doing fresh install and keep /home (when updating)

PACPL.

How would this be configured to encode MP3 @ 320kbps CBR?

Ok, thanks. Might buy an old PC and join the test group.

I have 3 o/s on my laptop, opensuse KDE4.2 is by far my fav, followed by Ubuntu 9.04 then trailing way behind, Vista.

If you wish to force very specific values, you can either research the details of PACPL to see if that is even possible, or use another application. There are many applications that allow conversion of wav to mp3. For example, audacity, rezound, sweep, Jokosher (all available from Packman packagers web site for openSUSE-11.1.).

Edit: An overview:

Packman web site: