specifying -mcpu and -march makes no difference in the case of the encoder
(mpeg2enc). If giving the flags for one of the most cpu intense programs in
mjpegtools makes no difference then the cpuinfo.sh script should be removed.
Compiling mpeg2enc with -mtune=core2, corei7, generic and none (no flags at all)
and then encoding 10000 frames produced these times:
core2 118.318u 6.571s 2:05.61 99.4% 0+0k 5+43io 0pf+0w
corei7 118.831u 6.539s 2:05.63 99.7% 0+0k 2+24io 0pf+0w
generic 118.462u 6.571s 2:05.26 99.8% 0+0k 0+24io 0pf+0w
none 118.714u 6.597s 2:05.77 99.6% 0+0k 0+73io 0pf+0w
cpuinfo.sh has been removed from mjpegtools.