High priority transcoding and threads

About encoding, codec settings, muxers and filter usage
charlest
Blank Cone
Blank Cone
Posts: 51
Joined: 24 May 2007 13:28
Location: Sydney, Australia

High priority transcoding and threads

Postby charlest » 09 Jul 2007 07:02

If I've switched on high priority transcoding, how many transcode threads should I be allocating?
If you've time, could you explain the ideas behind these two parameters?

According to help the two corresponding parameters are "transocde-threads" and "transcode-high-priority".

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: High priority transcoding and threads

Postby dionoea » 09 Jul 2007 12:56

The threads options tells VLC how many threads the encoder can use (if the codec supports it). It's usually a good idea to set this to the number of CPU cores you have (or CPU x2 if they're hyperthreaded). This enables using more than 1 CPU at a time.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

charlest
Blank Cone
Blank Cone
Posts: 51
Joined: 24 May 2007 13:28
Location: Sydney, Australia

Re: High priority transcoding and threads

Postby charlest » 10 Jul 2007 00:45

Thanks for your reply. I've several related questions.

If I don't specify the "transcode-threads" option, am I correct to assume only one thread would be used by the encoder?
If I'm DirectShow as the software encoder, would VideoLAN supports the parameters "transocde-threads" and "transcode-high-priority"?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: High priority transcoding and threads

Postby dionoea » 10 Jul 2007 10:43

Default is to only use one thread per encoder (which is what most encoders support anyway. The only one I know to be able to use more than 1 thread is x264).

About the directshow stuff, I don't have a clue. You should ask Trax on our IRC channel.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests