Page 1 of 1

Faster than realtime encoding tracker music to WAV

Posted: 19 Mar 2011 22:52
by mediaio
Hello,

I'd like to convert some tracker music to WAV using VLC.

Here's what I've come up with so far

Code: Select all

cvlc -vvv --no-plugins-cache --no-media-library --aout aout_file --ignore-config --no-video --no-sout-video --play-and-exit --audiofile-format s16_le --audiofile-channels 2 --audiofile-file foo.wav --audiofile-wav ~/Downloads/Elements/Audio/Drum\ N\ Bass/Dynamix\ -\ Frontal\ Outbreak.xm
This works but it's only realtime. I'd like the conversion to go as fast as possible.

Is this possible?

Thanks :)

Re: Faster than realtime encoding tracker music to WAV

Posted: 20 Mar 2011 08:27
by Rémi Denis-Courmont
You need to use the stream output, not the audio output then.

Re: Faster than realtime encoding tracker music to WAV

Posted: 20 Mar 2011 13:21
by mediaio
Thanks Rémi, can you tell me how?

I tried

Code: Select all

time cvlc -vvv --no-plugins-cache --no-media-library --sout-transcode-aenc aout_file --sout-transcode-acodec wav --sout-transcode-channels 2 --sout-transcode-samplerate 44100 --ignore-config --no-video --no-sout-video --play-and-exit ~/Downloads/Elements/Audio/Drum\ N\ Bass/Dynamix\ -\ Frontal\ Outbreak.xm
but that didn't work --just played the track.

Re: Faster than realtime encoding tracker music to WAV

Posted: 22 Mar 2011 10:41
by mediaio
Remi,

I think I got it to work thanks to this. Here's what I have:

Code: Select all

cvlc --no-plugins-cache --no-media-library --ignore-config --no-video --no-sout-video --play-and-exit --sout '#std{access=file,dst=rofl/copter.wav} file/mod://fnuh.xm
I might need some more tweaks but I guess I'll figure them out. :D

Thanks for your help.

Re: Faster than realtime encoding tracker music to WAV

Posted: 14 May 2011 18:06
by mediaio
FYI: For VLC 0.8.6h Janus which I have to use on the media.io audio converter, this looks like this

Code: Select all

vlc -q -I dummy --no-plugins-cache --no-video --no-sout-video --sout '#std{access=file,dst=keks/blub.wav} file/mod://fnuh.mod vlc:quit