Page 1 of 1

MC-0.8.61: Source filter Mencoder do not utilyse multithread ?

Posted: Sun Aug 16, 2020 11:04 pm
by kawamoto76
MC-0.8.61: Source filter Mencoder do not utilyse multithread ?

When Mencoder is used as source filter, conversion speed is too slow than that when ffpmeg used.
In my typically case, ffmpeg gives 4.0x, Mencoder gives 1.6x. Mencoder gives much slower speed !
I use 16core-32thread dual-Xeon system.
Viewing the performance with Windows TaskManager, there is 32 logical CPUs.
CPUs' performance is observed during conversions, usage results are as follows.
(1)When Mencoder is used as source
only 1 CPU is about 90%, 16 CPU are about 20-30%(average), rest 15 CPU are few percents.
(2)When ffmpeg is used as source
all 32 CPU are 80-90%.

I suppose, in Mediacoder, x264 encoder will receive input through the pipe from source filter such as Mencoder or ffmpeg.
When Mencoder is used for source filter, only one processor seems to be used for input source filtering as TaskManeger shows.
It is ovbious, x264 uses multi-thread. Also ffmpeg uses multi-thread.
On the other hand, Mencoder may use only 1 CPU. Mencoder's process acts as a bottle-neck, totally processing speed is supressed.

I hear, Mencoder can utilyze multithread operation.
However, It seems to be invalid in MC-0.8.61

Parameter settings are below,
Tasking: all cores(32CPU in my system)
Input source: 3,2-pulldowned mpeg2-aac TS file(1920x1080,29.97i, 17Mbps)
Target output: H.264/AC3 m2ts file, 23.976fps, progressive, 4000kbpsAVR, audio-448kbps
video source decoder: Mencoder or ffmpeg
video output format: H.264
video encoder: x.264
video out Rate mode : AVR
audio source decoder: Auto(Default)
audio output format: AC-3
audio encoder: Auto(ffmpeg)
output container: M2TS
Picture Effect from: Source_Filters
IVTC mode select: File -> Settings -> Video_filters -> Inverse_Telecine_Filter -> disabled