File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -97,9 +97,12 @@ package export::transcode;
9797 $transcode = " nice -n $Args {'nice'} transcode"
9898 # -V is now the default, but need to keep using it because people are still using an older version of transcode
9999 .' -V' # use YV12/I420 instead of RGB, for faster processing
100- # .' -u 100,'.($num_cpus); # Take advantage of multiple CPU's? currently disabled because it actually seems to slow things down
101100 .' --print_status 16' # Only print status every 16 frames -- prevents buffer-related slowdowns
102101 ;
102+ # Take advantage of multiple CPU's?
103+ if ($num_cpus > 1) {
104+ $transcode .= ' -u 100,' .($num_cpus );
105+ }
103106 # Not an mpeg
104107 unless ($episode -> {' finfo' }{' is_mpeg' }) {
105108 # swap red/blue -- used with svcd, need to see if it's needed everywhere
You can’t perform that action at this time.
0 commit comments