Article 5RS22 [SOLVED] [vlc] Save audio as mp3

[SOLVED] [vlc] Save audio as mp3

by
gregors
from LinuxQuestions.org on (#5RS22)
Hi there!

I have an very old mp3 player (Archos, 4GB) which I like to use to listen to audio books. Now I want to use this player to listen to movies I have already seen. With xine and lame this is no problem - it just can take hours because xine only saves its audio output when playing at normal (1x) speed.

VLC can do this a lot faster. But the documents I found don't help me with achieving this task on the command line. Using the GUI is a torture (imagine saving the audio tracks of a TV serial, having to wait 30 to 45 minutes for every episode to finish).

Is there anyone around who has done this with VLC? It seems the VLC docs aren't very helpful when it comes to scripting (or I didn't find the right docs).

TIA

Gregor

PS: This is how I do it using xine and lame:
Code:DESTFILE=`basename $1 | cut -d. -f1`
echo "Zieldatei: $DESTFILE.mp3"

xine $1 --auto-play=q -A file
lame --preset standard xine-out.wav $DESTFILE.mp3; rm xine-out.wavPPS: ffmpeg does it:
Code:/usr/bin/ffmpeg -i /home/gszaktilla/dokumente/platz/s04e01.mp4 -c:a mp3 s04e01.mp3latest?d=yIl2AUoC8zA latest?i=pXORB8NyfCA:hqFiadRiACI:F7zBnMy latest?i=pXORB8NyfCA:hqFiadRiACI:V_sGLiP latest?d=qj6IDK7rITs latest?i=pXORB8NyfCA:hqFiadRiACI:gIN9vFw
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments