Dualcore / SMP not used for encoding

Bug #312878 reported by EricDHH
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DeVeDe
Invalid
Undecided
auto-raster
devede (Ubuntu)
Invalid
Wishlist
Unassigned
mplayer (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: devede

Hello
since intrepid a dvd conversion took double time, use 1 core with 50% instead of 70 - 80% like in hardy. This could be a bug in mencoder or devede, dont know.

Description: Ubuntu 8.10
Release: 8.10

devede:
  Installiert: 3.11-0ubuntu1
  Kandidat: 3.11-0ubuntu1
  Versions-Tabelle:
 *** 3.11-0ubuntu1 0
        500 http://de.archive.ubuntu.com intrepid/multiverse Packages

Mencoder see the dualcore but use 1 core. The mencoder process is jumping by kernel around the cores.

MEncoder 2:1.0~rc2-0ubuntu17+medibuntu1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz (Family: 6, Model: 15, Step ping: 2)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

When giving threads=2 as extra option ist does not help.

threads=2
Launching program: ['mencoder', '-oac', 'lavc', '-aid', '0', '-ovc', 'lavc', '-of', 'mpeg', '-mpegopts', 'format=dvd:tsaf', '-channels', '6', '-ofps', '25', '-vf', 'harddup', '-lavcopts', 'vcodec=mpeg2video:trell:mbd=2:sc_threshold=1000000000:cgop:vstrict=0:vrc_maxrate=4000:vrc_buf_size=1835:vbitrate=2000:keyint=12:acodec=ac3:abitrate=384:aspect=16/9', '-o', '/home/eric/titanen-village_01_01.mpg', '/home/unsicher/08-12-29 - ProSieben - The Village - Das Dorf.vdr', 'threads=2']

Someone out to check this behaviour? Encoding with hardy took the half time as by now.

Bye
Eric

Changed in devede (Ubuntu):
importance: Undecided → Low
importance: Low → Wishlist
status: New → Triaged
Revision history for this message
Sergio Costas (rastersoft-gmail) wrote :

Devede just passes the number of threads to Mencoder, and assumes that it will make a good use of them. Unfortunately, mencoder seems to not take much advantage from it. It's a mencoder problem, not a devede's one.

The only way of using both cores directly from Devede could be launching several mencoder instances, one for each film to be converted, but that would work only when there are more than one film to convert.

Changed in devede (Ubuntu):
status: Triaged → Invalid
Changed in devede:
status: New → Invalid
madbiologist (me-again)
summary: - Dualcore / SMP not used
+ Dualcore / SMP not used for encoding
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.