Faster than realtime encoding tracker music to WAV

About encoding, codec settings, muxers and filter usage
mediaio
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:43
VLC version: 1.1.4
Operating System: Linux

Faster than realtime encoding tracker music to WAV

Postby mediaio » 19 Mar 2011 22:52

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 :)

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Faster than realtime encoding tracker music to WAV

Postby Rémi Denis-Courmont » 20 Mar 2011 08:27

You need to use the stream output, not the audio output then.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

mediaio
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:43
VLC version: 1.1.4
Operating System: Linux

Re: Faster than realtime encoding tracker music to WAV

Postby mediaio » 20 Mar 2011 13:21

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.

mediaio
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:43
VLC version: 1.1.4
Operating System: Linux

Re: Faster than realtime encoding tracker music to WAV

Postby mediaio » 22 Mar 2011 10:41

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.
Last edited by mediaio on 14 May 2011 18:07, edited 1 time in total.

mediaio
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:43
VLC version: 1.1.4
Operating System: Linux

Re: Faster than realtime encoding tracker music to WAV

Postby mediaio » 14 May 2011 18:06

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


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 12 guests