Page 1 of 1

Convert quicker than real time?

Posted: 12 May 2009 11:15
by vaphil
Is it possible to convert a video quicker than real time?

I appreciate it depends on complexity of input decoding and output encoding but even after selecting (I presume) very simple output codecs (MJPEG/WAV) it appears to encode at 1:1 speed, i.e. the process takes the same time as the duration of the file, 100% CPU isn't consumed (not even 1 cores worth).

I note that if a complex codec is used (i.e. H264) its understandably slower than real time but still produces perfectly normal output.

(Using the latest nightly build [vlc-1.1.0-git-20090509-2204])

Re: Convert quicker than real time?

Posted: 12 May 2009 12:34
by Jean-Baptiste Kempf
What is your sout chain ?

Re: Convert quicker than real time?

Posted: 12 May 2009 12:51
by vaphil
(BTW - I seem to recall in 0.9.8 sout was available as an editable textbox but cant seem to find it now...)

Was able to find in Messages, Verbose level 2:

Code: Select all

sout=#transcode{vcodec=MJPG,vb=1800,fps=25,scale=1,acodec=s16l,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=avi,dst='C:\out1.avi'}

Re: Convert quicker than real time?

Posted: 12 May 2009 13:38
by Jean-Baptiste Kempf
Don't use duplicate, but directly standard

Re: Convert quicker than real time?

Posted: 05 Aug 2009 23:29
by asterix86
How can we do that in VLC 1.0.0?