Convert quicker than real time?

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
vaphil
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Apr 2009 18:26

Convert quicker than real time?

Postby vaphil » 12 May 2009 11:15

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Convert quicker than real time?

Postby Jean-Baptiste Kempf » 12 May 2009 12:34

What is your sout chain ?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

vaphil
Blank Cone
Blank Cone
Posts: 10
Joined: 01 Apr 2009 18:26

Re: Convert quicker than real time?

Postby vaphil » 12 May 2009 12:51

(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'}

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Convert quicker than real time?

Postby Jean-Baptiste Kempf » 12 May 2009 13:38

Don't use duplicate, but directly standard
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

asterix86
New Cone
New Cone
Posts: 1
Joined: 05 Aug 2009 23:28

Re: Convert quicker than real time?

Postby asterix86 » 05 Aug 2009 23:29

How can we do that in VLC 1.0.0?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 33 guests