Page 1 of 1

PasLibVLC and transcoding.

Posted: 24 Sep 2014 00:24
by gbestwick
Hello everyone!

I've managed to script some transcoding of CDG files with a command line: (And this works just fine)

Example:

vlc.exe -vvv "c:\temp\test.mp3" :sub-file="c:\temp\test.cdg" --sout=#transcode{vcodec=h264,vb=64,scale=Auto,acodec=mp4a,ab=256,channels=2,samplerate=44100}:standard{access=file,mux=mp4,dst="c:\temp\test output.mp4"} vlc://quit

Now, within Delphi (Embarcadero Radstudio XE6) I have used the PasLibVLC wrapper for a long time and enjoyed it. It occurred to me that it should *also* be able to do the transcoding for me without having to resort to a command line.

Can anyone assist me with how I would go about this?

Code examples would rock my socks.

Thanks!