Page 1 of 1

MP4 video/audio to MP3 audio only

Posted: 18 Apr 2005 16:36
by cod3po37
Dear forum,

I'm having a bit of difficulty hitting on the right combination of containers and codecs to create an audio only MP3 file from an MP4 video/audio stream.

Perhaps someone has done this and can rescue my remaining hair?

I'm using the stock VLC 0.8.1, W2K and digital MP4 output from a DSP card.

Thanks,
Steve

Posted: 18 Apr 2005 23:08
by publius
A suggestion which has some chance of working [steps for the Windows GUI]:
Under "Preferences", disable video [this is an "advanced option"].
Under "File", "Open File" [not Quick Open]. In the dialogue box, select "Stream Output".
In the "Settings" dialogue for "Stream Output", check "Audio" under "Transcode" and select MP3 and the bitrate you want. Under "Encapsulation Method" choose "Raw". Under "Output Methods" select "File" and enter the path for your output recording.
The Destination Target MRL will look soemthing like this:

Code: Select all

:sout=#transcode{acodec=mp3,ab=192,channels=2}:duplicate{dst=std{access=file,mux=raw,url="C:\Documents and Settings\publius\My Documents\My Music\spool\dupe.mp3"}}
I cannot vouch for your particular application, but what I have described works for me with .wav audio files and with MPEG-II video files.